ofono - стек мобильной телефонии (фоновая служба)
[3.12] 4G DATA CONFIG
[3.12.1] Do you have a problem with 4G ?
-go to the menu -> internet -> connman ui setup
go to « mobile » tab
click « powered »
if you have this message :
« cmst warning
We received a DBUS reply message indicating an error.
Error Name: org.freedesktop.DBus.Error.UnknownObject
Error Message: Method "SetProperty"with signature "sv"on interface "net.conman.Technology" doesn't exist «
you have to manualy install modem 4G
[3.12.2] INSTALL MANUALY 4G
[3.12.2.1] INSTALL 4G
-in qTerminal, on root account :
$ systemctl enable ofono
$ systemctl start ofono
$ apt install ofono-scripts
$ cd /usr/share/ofono/scripts
$ ofono-setup
$ ./create-internet-context ebouygtel.com (change with your isp APN)
$ ./create-mms-context wap.bouygtel.fr (change with your isp MMSC)
$ ./activate-context
[3.12.2.2] ACTIVATE 4G (one time for each new session)
$ ./enable-modem
$ ./enter-pin pin 1234 (change with your pin number)
[3.12.2.2] TURN ON (each time you need)
$ ./online-modem
[3.12.2.2] TURN OFF (each time you need)
$ ./offline-modem
[3.12.3] CREATE SCRIPTS for automation
[3.12.3.1] CREATE .SH FILES
-in qTerminal, on root account :
$ cd /home/gemini/
$ mkdir 4G
$ cd 4G
$ touch 4G-enable.sh
$ chmod 755 4G-enable.sh
$ nano 4G-enable.sh
in the file enter :
#!/bin/bash
xterm -e « cd /usr/share/ofono/scripts ; ./enable-modem ; ./enter-pin pin 1234 ; ./activate-context » &
$ touch 4G-on.sh
$ chmod 755 4G-on.sh
$ nano 4G-on.sh
in the file enter :
#!/bin/bash
xterm -e « cd /usr/share/ofono/scripts ; ./online-modem » &
$ touch 4G-off.sh
$ chmod 755 4G-off.sh
$ nano 4G-off.sh
in the file enter :
#!/bin/bash
xterm -e « cd /usr/share/ofono/scripts ; ./offline-modem » &
[3.12.3.2] COPY FILES .SH on the DESK
copy the .sh files on the screen, with the file manager
-go to : menu -> accessories
open file manager PCManFM
go to 4G directory
drag and drop 4G directory on the desk
[3.12.3.3] 4G ON / OFF
click on file « 4G-enable.sh » to initialize the modem (click on « execute » button in the window pop-up). (just one time on new session)
click on file « 4G-on.sh » to make 4G ON (click on « execute » button in the window pop-up)
click on file « 4G-off.sh » to make 4G OFF (click on « execute » button in the window pop-up)
https://www.oesf.org/forum/index.php?topic=36209.0