Modem connected but no internet

Yegor Yefremov yegorslists at googlemail.com
Sat Oct 2 14:35:57 UTC 2021


Hi Lucas,

On Sat, Oct 2, 2021 at 4:26 PM Lucas Pelegrino <lucas.wxp at gmail.com> wrote:
>
> Hello there.
>
> I have this behavior in my raspberry PI where a modem shows connected, but I still can't connect to the internet:
> --------------------------------
> General | path: /org/freedesktop/ModemManager1/Modem/4
> | device id: ab1573a4186ee4930c3dbe7ee14e2dddcd10b4c2
> --------------------------------
> Hardware | manufacturer: huawei
> | model: E3276
> | firmware revision: 21.260.05.01.150
> | supported: gsm-umts
> | current: gsm-umts
> | equipment id: 866519011156587
> --------------------------------
> System | device: /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2.2
> | drivers: huawei_cdc_ncm, option
> | plugin: huawei
> | primary port: cdc-wdm0
> | ports: cdc-wdm0 (at), ttyUSB0 (at), ttyUSB1 (at), wwan0 (net)
> --------------------------------
> Numbers | own: +xxxx
> --------------------------------
> Status | unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
> | state: connected
> | power state: on
> | access tech: umts
> | signal quality: 41% (recent)
> --------------------------------
> Modes | supported: allowed: 2g; preferred: none
> | allowed: 3g; preferred: none
> | allowed: 4g; preferred: none
> | allowed: 2g, 3g, 4g; preferred: none
> | current: allowed: 2g, 3g, 4g; preferred: none
> --------------------------------
> IP | supported: ipv4, ipv6, ipv4v6
> --------------------------------
> 3GPP | imei: 866519011156587
> | operator id: 72416
> | operator name: Oi
> | registration: roaming
> --------------------------------
> 3GPP EPS | ue mode of operation: csps-2
> --------------------------------
> SIM | primary sim path: /org/freedesktop/ModemManager1/SIM/4
> --------------------------------
> Bearer | paths: /org/freedesktop/ModemManager1/Bearer/5
>
>
>
> Weird thing is that on my Ubuntu desktop this modem works! The only difference I noticed is that in my Ubuntu field 'access tech' is 'lte', while above (on the pi) like you can see it's 'umts'.
>
> I figured the problem might be related to the 'access tech' field above, so I tried forcing setting mode for '4g' but didn't work:
>
> $ sudo mmcli -m 4 --set-allowed-modes='4g' --set-preferred-mode='4g'
> error: couldn't set current modes: 'GDBus.Error:org.freedesktop.ModemManager1.Error.Core.Unsupported: The given combination of allowed and preferred modes is not supported'
>
>
> The only difference between my raspberry pi and my desktop machine is that the pi is under a more recent version of ModemManager 1.16 vs 1.12 from my desktop Ubuntu.
>
> Any ideas?

Could you share your IP configuration i.e. please post the output of
the "ip addr" command. Looks like you haven't run dhcpclient or alike
on your wwan0 interface.

Best regards,
Yegor


More information about the ModemManager-devel mailing list