...
How to connect to the network:
1. Install “modemmanager” package on your debian.Code Block $ sudo apt install modemmanager
2. Search for your modem location:
Code Block $ mmcli -L
3. Connect to your modem:
Code Block $ mmcli --modem=/your/modem/location
4. Enable the modem:
Code Block $ mmcli --modem=/your/modem/location -e
5. Scan for networks:
Code Block $ mmcli --modem=/your/modem/location --3gpp-scan
6. connect to 3gpp network:
Code Block $ mmcli --modem=/your/modem/location --3gpp-register-in-operator=<network ID>
7. Make sure the connection was created:
Code Block $ mmcli --modem=/your/modem/location
For some cellular modules to be connected, please refer to Cellular Modules .
GUI On Debian
There is an option with the Debian image, up to the user, to work with a GUI like Weston, GNOME and etc.
For applying this option do the following steps:
First, connect your device to a screen using the working output (HDMI / uHDMI).
For working with Weston GUI:
Install the Weston package.
Code Block $ sudo apt install weston
Make a directory for the output of the Weston GUI.
Code Block $ mkdir /your/directory/location
Give permissions to this directory.
Code Block $ chmod 0700 /your/directory/location
Set the XDG_RUNTIME_DIR env param to your directory.
Code Block $ su -c 'echo XDG_RUNTIME_DIR=/your/directory/location >> /etc/environment'
Run Weston.
Code Block $ weston
For working with GNOME GUI on top of Xorg:
Install Xorg.
Code Block sudo apt install xorg
Install your desired gnome.
Code Block sudo apt install gnome-session
NOTE: ‘gnome-session’ is an example of gnome that we can work with, you can replace the ‘session' with another GNOME extention.
Start your GNOME GUI.
Code Block sudo systemctl start gdm
For logging in you need a user on your device to log into it. You can create one before step 3 by this command (replace the ‘username’ with name that you want) :
Code Block $ sudo adduser username
You can jump between GUIs that you install (like gnome-session) by the setting button that locates in the down right corner.