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.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC


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
  Fresh install pmos+phosh does not boot user641 1 542 10-08-2023, 04:04 AM
Last Post: user641
  [Not Pinephone] Phosh Autologin LienRag 11 2,215 09-01-2023, 10:55 PM
Last Post: rocket2nfinity
  pmos/phosh edge update and audio disappears robthebold 9 5,634 07-10-2022, 03:26 AM
Last Post: arkadione
  How to delete single sms in phosh? bircoph 1 1,393 07-06-2022, 08:10 AM
Last Post: bircoph
  no screen rotation on pinephone pro with postmarketOS + phosh elode 2 2,727 07-03-2022, 09:13 AM
Last Post: a.h.littorin
  closing apps rather than leaving them running (phosh) lordearl 7 6,281 02-03-2022, 09:14 PM
Last Post: parry
  Application list PMOS-Phosh jmorris 6 6,222 12-04-2021, 02:26 AM
Last Post: Juergen
  Phosh beta 10, no send button on Chatty? Rainer 0 1,648 05-24-2021, 08:17 AM
Last Post: Rainer
  Where is the original PM OS image for Pinephone? mw4jet 1 2,643 03-14-2021, 07:37 AM
Last Post: ludix
  PMOS test image: failed EG25 test broke modem fw MtnSk8 4 5,773 02-28-2021, 02:20 PM
Last Post: MtnSk8

Forum Jump:


Users browsing this thread: 1 Guest(s)