No broadband on Faiphone 3 with 20.04 stable
-
Hello,
Since upgrading from 18.04 to 20.04, I have trouble with my broadband network, could you please help me ?System details:
Fairphone 3
Ubuntu Touch 20.04 stable (also tested on devel with same problem) with Halium 10 (was 9 with same problem)
Free (French ISP) SIM card in slot 1The problem:
Connecting to network just after boot/switching off airplane mode work (or restarting both ofono and NetworkManager services), but, after 1 to 5 minutes, i get disconnected and, after that point, nothing I tried except for going into airplane mode and off or restarting ofono and NetworkManager services got me to reconnect successfullyWhenever I get disconnected, it seems that ofono manage to reconnect, but nmcli get stuck on Connecting (Prepare).
In the top of the screen indicator, I get cell and empty wifi icon (aka, no LTE/3G), but it show cell and 3G/LTE in the expanded view next to the cell icon and provider name
Please tell me if you need any more logs or information, or if there is anything that I could try.
nmcli d show ril_0:
GENERAL.TYPE: gsm GENERAL.HWADDR: (unknown) GENERAL.MTU: 1500 GENERAL.STATE: 40 (connecting (prepare)) GENERAL.CONNECTION: Free Mobile GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/26``` Ofono List context show active and preferred to 0 for every context, and Activate context answer `org.ofono.Error.NotAttached: GPRS is not attached` Systemctl log for NetworkManager: ```Oct 01 13:02:37 ubuntu-phablet NetworkManager[1377]: <info> [1727780557.2045] modem-ofono[ril_0]: Attached true -> false Oct 01 13:02:37 ubuntu-phablet NetworkManager[1377]: <info> [1727780557.2048] modem-ofono[ril_0]: 'Attached': false 'Online': true 'Powered': true 'IMSI': 208150129558883 Oct 01 13:02:38 ubuntu-phablet NetworkManager[1377]: <info> [1727780558.3737] modem-ofono[ril_0]: Attached false -> true Oct 01 13:02:38 ubuntu-phablet NetworkManager[1377]: <info> [1727780558.3738] modem-ofono[ril_0]: 'Attached': true 'Online': true 'Powered': true 'IMSI': 208150129558883 Oct 01 13:02:39 ubuntu-phablet NetworkManager[1377]: <info> [1727780559.5899] modem-ofono[ril_1]: modem is now Online Oct 01 13:02:39 ubuntu-phablet NetworkManager[1377]: <info> [1727780559.5900] modem-ofono[ril_1]: 'Attached': false 'Online': true 'Powered': false 'IMSI': (null) Oct 01 13:02:39 ubuntu-phablet NetworkManager[1377]: <info> [1727780559.7836] device (ril_0): state change: unavailable -> disconnected (reason 'modem-available', sys-iface-st> Oct 01 13:02:39 ubuntu-phablet NetworkManager[1377]: <info> [1727780559.7853] policy: auto-activating connection 'Free Mobile' (109aa1e3-21a4-5281-a9d4-32415a660ef3) Oct 01 13:02:39 ubuntu-phablet NetworkManager[1377]: <info> [1727780559.7887] device (ril_0): Activation: starting connection 'Free Mobile' (109aa1e3-21a4-5281-a9d4-32415a660e> Oct 01 13:02:39 ubuntu-phablet NetworkManager[1377]: <info> [1727780559.7902] device (ril_0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed') Oct 01 13:02:39 ubuntu-phablet NetworkManager[1377]: <info> [1727780559.7925] modem-ofono[ril_0]: activating context /ril_0/context1 Oct 01 13:02:39 ubuntu-phablet NetworkManager[1377]: <info> [1727780559.7937] modem-ofono[ril_0]: 'Attached': true 'Online': true 'Powered': true 'IMSI': 208150129558883 Oct 01 13:02:40 ubuntu-phablet NetworkManager[1377]: <info> [1727780560.2336] modem-ofono[ril_0]: IPv4 static Settings: Oct 01 13:02:40 ubuntu-phablet NetworkManager[1377]: <info> [1727780560.2400] modem-ofono[ril_0]: Address: 10.78.59.102/30 lft forever pref forever lifetime 1873-0[0,0] ptp 0.> Oct 01 13:02:40 ubuntu-phablet NetworkManager[1377]: <info> [1727780560.2402] modem-ofono[ril_0]: Gateway: 10.78.59.101 Oct 01 13:02:40 ubuntu-phablet NetworkManager[1377]: <info> [1727780560.2403] modem-ofono[ril_0]: DNS: 212.27.40.240 Oct 01 13:02:40 ubuntu-phablet NetworkManager[1377]: <info> [1727780560.2403] modem-ofono[ril_0]: DNS: 212.27.40.241 Oct 01 13:02:40 ubuntu-phablet NetworkManager[1377]: <info> [1727780560.2404] modem-ofono[ril_0]: emitting PREPARE_RESULT: TRUE Oct 01 13:02:40 ubuntu-phablet NetworkManager[1377]: <info> [1727780560.2415] device (ril_0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed') Oct 01 13:02:40 ubuntu-phablet NetworkManager[1377]: <info> [1727780560.2434] device (ril_0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed') Oct 01 13:02:40 ubuntu-phablet NetworkManager[1377]: <warn> [1727780560.2498] device (ril_0): retrieving IP configuration failed: modem IP method unsupported Oct 01 13:02:40 ubuntu-phablet NetworkManager[1377]: <info> [1727780560.2603] device (ril_0): state change: ip-config -> ip-check (reason 'none', sys-iface-state: 'managed') Oct 01 13:02:40 ubuntu-phablet NetworkManager[1377]: <info> [1727780560.2715] device (ril_0): state change: ip-check -> secondaries (reason 'none', sys-iface-state: 'managed') Oct 01 13:02:40 ubuntu-phablet NetworkManager[1377]: <info> [1727780560.2724] device (ril_0): state change: secondaries -> activated (reason 'none', sys-iface-state: 'managed') Oct 01 13:02:40 ubuntu-phablet NetworkManager[1377]: <info> [1727780560.2784] device (ril_0): Activation: successful, device activated. Oct 01 13:02:48 ubuntu-phablet NetworkManager[1377]: <info> [1727780568.9099] manager: rfkill: Wi-Fi now disabled by radio killswitch Oct 01 13:02:48 ubuntu-phablet NetworkManager[1377]: <info> [1727780568.9149] device (wlan0): state change: activated -> unavailable (reason 'none', sys-iface-state: 'managed') Oct 01 13:02:48 ubuntu-phablet NetworkManager[1377]: <info> [1727780568.9549] dhcp4 (wlan0): canceled DHCP transaction Oct 01 13:02:48 ubuntu-phablet NetworkManager[1377]: <info> [1727780568.9551] dhcp4 (wlan0): activation: beginning transaction (timeout in 45 seconds) Oct 01 13:02:48 ubuntu-phablet NetworkManager[1377]: <info> [1727780568.9552] dhcp4 (wlan0): state changed no lease Oct 01 13:02:49 ubuntu-phablet NetworkManager[1377]: <info> [1727780569.0325] policy: set 'Free Mobile' (rmnet_data1) as default for IPv4 routing and DNS Oct 01 13:02:49 ubuntu-phablet NetworkManager[1377]: <info> [1727780569.0778] device (p2p-dev-wlan0): state change: disconnected -> unavailable (reason 'supplicant-failed', sy> Oct 01 13:02:49 ubuntu-phablet NetworkManager[1377]: <info> [1727780569.1005] audit: op="radio-control" arg="wireless-enabled:off" pid=3709 uid=32011 result="success" Oct 01 13:03:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780591.8081] modem-ofono[ril_0]: Attached true -> false Oct 01 13:03:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780591.8082] modem-ofono[ril_0]: 'Attached': false 'Online': true 'Powered': true 'IMSI': 208150129558883 Oct 01 13:03:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780591.8082] device (ril_0): state change: activated -> failed (reason 'modem-no-carrier', sys-iface-state: 'm> Oct 01 13:03:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780591.8104] manager: NetworkManager state is now DISCONNECTED Oct 01 13:03:11 ubuntu-phablet NetworkManager[1377]: <warn> [1727780591.8120] device (ril_0): Activation: failed for connection 'Free Mobile' Oct 01 13:03:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780591.8153] device (ril_0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed') Oct 01 13:03:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780591.8409] policy: auto-activating connection 'Free Mobile' (109aa1e3-21a4-5281-a9d4-32415a660ef3) Oct 01 13:03:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780591.8423] device (ril_0): Activation: starting connection 'Free Mobile' (109aa1e3-21a4-5281-a9d4-32415a660e> Oct 01 13:03:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780591.8425] device (ril_0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed') Oct 01 13:03:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780591.8430] manager: NetworkManager state is now CONNECTING Oct 01 13:03:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780591.8433] modem-ofono[ril_0]: activating context /ril_0/context1 Oct 01 13:03:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780591.8434] modem-ofono[ril_0]: 'Attached': false 'Online': true 'Powered': true 'IMSI': 208150129558883 Oct 01 13:03:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780591.8434] modem-ofono[ril_0]: activation deferred while modem is searching for signal. Oct 01 13:04:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780651.6382] device (ril_0): state change: prepare -> failed (reason 'gsm-registration-timeout', sys-iface-sta> Oct 01 13:04:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780651.6492] manager: NetworkManager state is now DISCONNECTED Oct 01 13:04:11 ubuntu-phablet NetworkManager[1377]: <warn> [1727780651.6525] device (ril_0): Activation: failed for connection 'Free Mobile' Oct 01 13:04:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780651.6563] device (ril_0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed') Oct 01 13:04:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780651.6595] policy: auto-activating connection 'Free Mobile' (109aa1e3-21a4-5281-a9d4-32415a660ef3) Oct 01 13:04:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780651.6624] device (ril_0): Activation: starting connection 'Free Mobile' (109aa1e3-21a4-5281-a9d4-32415a660e> Oct 01 13:04:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780651.6636] device (ril_0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed') Oct 01 13:04:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780651.6667] manager: NetworkManager state is now CONNECTING Oct 01 13:04:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780651.6680] modem-ofono[ril_0]: activating context /ril_0/context1 Oct 01 13:04:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780651.6682] modem-ofono[ril_0]: 'Attached': false 'Online': true 'Powered': true 'IMSI': 208150129558883 Oct 01 13:04:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780651.6683] modem-ofono[ril_0]: activation deferred while modem is searching for signal. Oct 01 13:05:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780711.6595] device (ril_0): state change: prepare -> failed (reason 'gsm-registration-timeout', sys-iface-sta> Oct 01 13:05:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780711.6651] manager: NetworkManager state is now DISCONNECTED Oct 01 13:05:11 ubuntu-phablet NetworkManager[1377]: <warn> [1727780711.6686] device (ril_0): Activation: failed for connection 'Free Mobile' Oct 01 13:05:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780711.6723] device (ril_0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed') Oct 01 13:05:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780711.6755] policy: auto-activating connection 'Free Mobile' (109aa1e3-21a4-5281-a9d4-32415a660ef3) Oct 01 13:05:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780711.6793] device (ril_0): Activation: starting connection 'Free Mobile' (109aa1e3-21a4-5281-a9d4-32415a660e> Oct 01 13:05:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780711.6801] device (ril_0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed') Oct 01 13:05:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780711.6832] manager: NetworkManager state is now CONNECTING Oct 01 13:05:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780711.6847] modem-ofono[ril_0]: activating context /ril_0/context1 Oct 01 13:05:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780711.6849] modem-ofono[ril_0]: 'Attached': false 'Online': true 'Powered': true 'IMSI': 208150129558883 Oct 01 13:05:11 ubuntu-phablet NetworkManager[1377]: <info> [1727780711.6850] modem-ofono[ril_0]: activation deferred while modem is searching for signal.``` Systemctl log for ofono: ```Oct 01 13:02:34 ubuntu-phablet ofonod-wrapper[1696]: ofonod[1696]: data reg changed 0 -> 1 (registered), attached 0 Oct 01 13:02:34 ubuntu-phablet ofonod[1696]: data reg changed 0 -> 1 (registered), attached 0 Oct 01 13:02:34 ubuntu-phablet ofonod-wrapper[1696]: ofonod[1696]: data reg changed 1 -> 0 (unregistered), attached 0 Oct 01 13:02:34 ubuntu-phablet ofonod[1696]: data reg changed 1 -> 0 (unregistered), attached 0 Oct 01 13:02:34 ubuntu-phablet ofonod-wrapper[1696]: ofonod[1696]: data reg changed 0 -> 1 (registered), attached 0 Oct 01 13:02:34 ubuntu-phablet ofonod[1696]: data reg changed 0 -> 1 (registered), attached 0 Oct 01 13:02:37 ubuntu-phablet ofonod-wrapper[1696]: ofonod[1696]: data reg changed 1 -> 0 (unregistered), attached 0 Oct 01 13:02:37 ubuntu-phablet ofonod[1696]: data reg changed 1 -> 0 (unregistered), attached 0 Oct 01 13:02:38 ubuntu-phablet ofonod-wrapper[1696]: ofonod[1696]: data reg changed 0 -> 1 (registered), attached 0 Oct 01 13:02:38 ubuntu-phablet ofonod[1696]: data reg changed 0 -> 1 (registered), attached 0 Oct 01 13:02:39 ubuntu-phablet ofonod-wrapper[1696]: ofonod[1696]: Activating context: 1 Oct 01 13:02:39 ubuntu-phablet ofonod[1696]: Activating context: 1 Oct 01 13:02:40 ubuntu-phablet ofonod-wrapper[1696]: ofonod[1696]: setting up data call Oct 01 13:02:40 ubuntu-phablet ofonod[1696]: setting up data call Oct 01 13:03:11 ubuntu-phablet ofonod[1696]: data reg changed 1 -> 0 (unregistered), attached 0 Oct 01 13:03:11 ubuntu-phablet ofonod-wrapper[1696]: ofonod[1696]: data reg changed 1 -> 0 (unregistered), attached 0 Oct 01 13:03:11 ubuntu-phablet ofonod-wrapper[1696]: ofonod[1696]: Deactivating context: 1 Oct 01 13:03:11 ubuntu-phablet ofonod[1696]: Deactivating context: 1 Oct 01 13:03:11 ubuntu-phablet ofonod-wrapper[1696]: ofonod[1696]: Clearing active context Oct 01 13:03:11 ubuntu-phablet ofonod[1696]: Clearing active context``` Ofono list-modem --private: ```[ /ril_0 ] Online = 1 Powered = 1 Lockdown = 0 Emergency = 0 Revision = 953_GEN_PACK-1.356774.1.425464.1 Serial = redacted SoftwareVersionNumber = 17 Interfaces = org.ofono.NetworkMonitor org.ofono.CallSettings org.ofono.SupplementaryServices org.ofono.NetworkRegistration org.ofono.CallVolume org.ofono.RadioSettings org.ofono.CellBroadcast org.ofono.CallBarring org.ofono.CallForwarding org.ofono.Phonebook org.ofono.ConnectionManager org.ofono.SmartMessaging org.ofono.PushNotification org.ofono.MessageManager org.ofono.NetworkTime org.ofono.SmsHistory org.ofono.SimAuthentication org.ofono.SimToolkit org.ofono.MessageWaiting org.ofono.AllowedAccessPoints org.ofono.VoiceCallManager org.ofono.SimManager org.ofono.OemRaw org.nemomobile.ofono.CellInfo org.nemomobile.ofono.SimInfo Features = ussd net rat cbs gprs sms stk sim Type = hardware [ org.ofono.NetworkMonitor ] [ org.ofono.CallSettings ] CallingLinePresentation = enabled CallingNamePresentation = unknown ConnectedLinePresentation = unknown ConnectedLineRestriction = unknown CalledLinePresentation = disabled CallingLineRestriction = off HideCallerId = default VoiceCallWaiting = enabled [ org.ofono.SupplementaryServices ] State = idle [ org.ofono.NetworkRegistration ] Status = registered Mode = auto Technology = umts MobileCountryCode = 208 MobileNetworkCode = 15 Name = Free Strength = 51 [ org.ofono.CallVolume ] SpeakerVolume = 0 MicrophoneVolume = 0 Muted = 0 [ org.ofono.RadioSettings ] TechnologyPreference = lte AvailableTechnologies = gsm umts lte [ org.ofono.CellBroadcast ] Powered = 1 Topics = 4352-4356 [ org.ofono.CallBarring ] VoiceOutgoing = disabled VoiceIncoming = disabled [ org.ofono.CallForwarding ] VoiceUnconditional = VoiceBusy = redacted VoiceNoReply = redacted VoiceNoReplyTimeout = 20 VoiceNotReachable = redacted ForwardingFlagOnSim = 0 [ org.ofono.Phonebook ] [ org.ofono.ConnectionManager ] Attached = 0 RoamingAllowed = 1 Powered = 1 [ org.ofono.SmartMessaging ] [ org.ofono.PushNotification ] [ org.ofono.MessageManager ] ServiceCenterAddress = redacted UseDeliveryReports = 0 Bearer = cs-preferred Alphabet = default [ org.ofono.NetworkTime ] [ org.ofono.SmsHistory ] [ org.ofono.SimAuthentication ] NetworkAccessIdentity = redacted@ims.mnc015.mcc208.3gppnetwork.org [ org.ofono.SimToolkit ] IdleModeText = IdleModeIcon = MainMenuTitle = MainMenuIcon = MainMenu = [ org.ofono.MessageWaiting ] VoicemailWaiting = 0 VoicemailMessageCount = 0 VoicemailMailboxNumber = Redacted [ org.ofono.AllowedAccessPoints ] [ org.ofono.VoiceCallManager ] EmergencyNumbers = 911 112 [ org.ofono.SimManager ] Present = 1 CardIdentifier = Redacted SubscriberIdentity = Redacted ServiceProviderName = Free FixedDialing = 0 BarredDialing = 0 MobileCountryCode = 208 MobileNetworkCode = 15 SubscriberNumbers = Redacted LockedPins = pin PreferredLanguages = fr PinRequired = none Retries = CardSlotCount = 1 ActiveCardSlot = 1 [ org.ofono.OemRaw ] [ org.nemomobile.ofono.CellInfo ] [ org.nemomobile.ofono.SimInfo ] [ /ril_1 ] Online = 1 Powered = 1 Lockdown = 0 Emergency = 0 Revision = 953_GEN_PACK-1.356774.1.425464.1 Serial = Redacted SoftwareVersionNumber = 17 Interfaces = org.ofono.VoiceCallManager org.ofono.SimManager org.ofono.OemRaw org.nemomobile.ofono.CellInfo org.nemomobile.ofono.SimInfo Features = sim Type = hardware [ org.ofono.VoiceCallManager ] EmergencyNumbers = 118 110 08 911 000 112 999 119 [ org.ofono.SimManager ] Present = 0 [ org.ofono.OemRaw ] [ org.nemomobile.ofono.CellInfo ] [ org.nemomobile.ofono.SimInfo ]