PINE64
Help with modem and internet - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone Pro (https://forum.pine64.org/forumdisplay.php?fid=177)
+--- Forum: General Discussion of PinePhone Pro (https://forum.pine64.org/forumdisplay.php?fid=178)
+--- Thread: Help with modem and internet (/showthread.php?tid=19535)



Help with modem and internet - JadenSki - 11-27-2024

Hello all, 

I recently aquired a Pinephone Pro with Sailfish OS preinstalled. After playing with it for a while I decided I didn't really care for it, so I installed Towboot on it and flashed Manjaro with Plasma to the emmc. I really liked this one, so I got a T-moble sim card through tracfone. I was able to quickly activate the card without any issues at all, and phone calls and sms messages worked right off the bat. The modem would dissconnect periodically but would be back up in seconds. So over all a seamless experence. I then installed waydroid so I could run android apps, this also worked very well with no issues at all. I used the phone for about 3 days with no problems. Then last night after receving a text, things begain to act up. I kept “receving” the same text over and over again. As there was no sign of this stopping I restarted the phone and turned on airplane mode. The next day the phone would not send or recive calls or messages, it said the apn needed to be configured in order to inable moble data. I thought this was odd because I had already done this but I went to the settings and played around with the settings. I found out that the modem was disabled so I clicked the button to force modem restart, however this did nothing. After some searching around online I ran this command: “sudo mmcli -m any -e” this gave the following error: “ error: couldn't enable the modem: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Retry: Invalid transition'” I then tried turning off and restarting the phone, at some point I ran the command again and this time it worked, and it inabled the modem. However, it still did not allow me to turn on moble data, or change the apn settings. After a minute or so the modem once again said it was disabled. So I tried the command again, and it reinabled it, then a little later it was disabled again. The same thing keeps happening except half the time it throws the error. I also noticed that the waydroid container stopped having internet access even when conected to wifi. I don't know if this is related at all but it happend around the same time as everything else. I cannot figure out how to fix either of these problems and I am new to moble linux, so any help would be very much appreciated. Thanks in advance.


RE: Help with modem and internet - Kevin Kofler - 11-29-2024

You have to turn on your modem through nmcli (NetworkManager), not mmcli (ModemManager):
Code:
sudo nmcli radio wwan on

For the WiFi issue, you will want:
Code:
sudo nmcli radio wifi on



RE: Help with modem and internet - JadenSki - 12-06-2024

(11-29-2024, 01:20 AM)Kevin Kofler Wrote: You have to turn on your modem through nmcli (NetworkManager), not mmcli (ModemManager):
Code:
sudo nmcli radio wwan on

For the WiFi issue, you will want:
Code:
sudo nmcli radio wifi on

Thank you for taking the time to reply, I ended up switching to Mobian with posh, because it seems to have less issues and be slightly more stable. I do miss how Plasma looked though.