02-20-2020, 05:22 PM
OK, so I have modemmanager in the default runlevel and WiFi disabled (because I have learned how to ssh via USB).
Now I want to get mobile data running but get this:
After the poweron Chats throws its toys out the cot as the modem has gone away and never recovers. The dialler/phone calls recover after I restart modemmanager.
Then again I have yet to work out how to send an SMS using Chats - it says hit the + at the top which only opens a search bar ...
Or more realistically how to send an SMS? ofonoctl no longer cuts it
I think for my purposes best to take modemmanager out of the default runlevel anyway and start it after I get the mobile data up and running.
Now I want to get mobile data running but get this:
Code:
DuklaPP:~$ sudo ofonoctl poweron
[sudo] password for demo:
Powered on quectelqmi_0
DuklaPP:~$ sudo ofonoctl online
Brought quectelqmi_0 online
DuklaPP:~$ sudo ofonoctl wan --connect --append-dns
Traceback (most recent call last):
File "/usr/bin/ofonoctl", line 11, in <module>
load_entry_point('ofonoctl==0.3.1', 'console_scripts', 'ofonoctl')()
File "/usr/lib/python3.8/site-packages/ofonoctl/__init__.py", line 240, in main
action_wan(args.connect, args.resolv)
File "/usr/lib/python3.8/site-packages/ofonoctl/__init__.py", line 148, in action_wan
for path, properties in connman.GetContexts():
File "/usr/lib/python3.8/site-packages/dbus/proxies.py", line 72, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python3.8/site-packages/dbus/proxies.py", line 141, in __call__
return self._connection.call_blocking(self._named_service,
File "/usr/lib/python3.8/site-packages/dbus/connection.py", line 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "GetContexts" with signature "" on interface "org.ofono.ConnectionManager" doesn't exist
After the poweron Chats throws its toys out the cot as the modem has gone away and never recovers. The dialler/phone calls recover after I restart modemmanager.
Then again I have yet to work out how to send an SMS using Chats - it says hit the + at the top which only opens a search bar ...
Or more realistically how to send an SMS? ofonoctl no longer cuts it
PHP Code:
DuklaPP:~$ ofonoctl sms +447771234567 -m "Hello world"
usage: ofonoctl [-h] {list,poweron,poweroff,online,offline,operators,wan} ...
ofonoctl: error: argument action: invalid choice: 'sms' (choose from 'list', 'poweron', 'poweroff', 'online', 'offline', 'operators', 'wan')
I think for my purposes best to take modemmanager out of the default runlevel anyway and start it after I get the mobile data up and running.
- PinePhone BraveHeart now v1.2b 3/32Gb daily driver, Tow-boot with pmOS/SXMO on eMMC
- PinePhone Pro Explorer Edition, Tow-boot on SPI, Arch/SXMO on eMMC
- ROCKPro64 v2.1 2GB, 16Gb eMMC retired in favour of a fruity upgrade