New Phosh image - first impressions
#24
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:

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 -"Hello world"
usageofonoctl [-h] {list,poweron,poweroff,online,offline,operators,wan} ...
ofonoctlerrorargument actioninvalid 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


Messages In This Thread
RE: New Phosh image - first impressions - by hex - 02-18-2020, 07:42 AM
RE: New Phosh image - first impressions - by undo - 02-20-2020, 04:14 AM
RE: New Phosh image - first impressions - by dukla2000 - 02-20-2020, 05:22 PM
RE: New Phosh image - first impressions - by pjsf - 02-21-2020, 12:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Phosh] : Nheko and gnome-keyring freelectro 1 401 12-17-2024, 04:46 PM
Last Post: zeb11
  Fresh install pmos+phosh does not boot user641 1 1,334 10-08-2023, 04:04 AM
Last Post: user641
  [Not Pinephone] Phosh Autologin LienRag 11 5,367 09-01-2023, 10:55 PM
Last Post: rocket2nfinity
  pmos/phosh edge update and audio disappears robthebold 9 8,465 07-10-2022, 03:26 AM
Last Post: arkadione
  How to delete single sms in phosh? bircoph 1 2,115 07-06-2022, 08:10 AM
Last Post: bircoph
  no screen rotation on pinephone pro with postmarketOS + phosh elode 2 3,679 07-03-2022, 09:13 AM
Last Post: a.h.littorin
  closing apps rather than leaving them running (phosh) lordearl 7 8,846 02-03-2022, 09:14 PM
Last Post: parry
  Application list PMOS-Phosh jmorris 6 8,370 12-04-2021, 02:26 AM
Last Post: Juergen
  Phosh beta 10, no send button on Chatty? Rainer 0 2,075 05-24-2021, 08:17 AM
Last Post: Rainer
  Where is the original PM OS image for Pinephone? mw4jet 1 3,236 03-14-2021, 07:37 AM
Last Post: ludix

Forum Jump:


Users browsing this thread: 1 Guest(s)