mmcli simple connect timeout
Aleksander Morgado
aleksander at aleksander.es
Wed Aug 7 11:23:33 UTC 2019
Hey,
>
> I'm hoping that those with inside knowledge might explain where my
> problem lies.
>
> I have a sim (ee, uk) that works well in an EE 4g hotspot gadget, and
> I'm putting it into a laptop to use it there as I will get more value
> from it. The laptop is a Dell 7280 running ubuntu 19.04, with a Dell
> DW5811 card installed. Using the MM GUI I can send sms messages. But I
> can't connect to the internet, which I can do via the hotspot thingy.
> Setup seems simple with not a lot to tweak so I'm at a loss.
>
> When I do: sudo mmcli -m 0 --simple-connect="apn=everywhere" i get
>
> error:couldn't connect the modem:
> 'GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.NetworkTimeout:
> Networktimeout'
>
> but this arrives instantly so hardly has any time for the network to do
> anything.
>
> doing: sudo mmcli -m 0
>
> gets this listing (below). Which seems to me to indicate that the device
> is good so far as I can tell.
>
> So my questions are: what drives the timeout?, why so quick?, what to
> do? - remembering that sms works!
>
> GPS also seems to report as good and enabled but won't reply with any data.
>
> thanks for any help
>
If the connection attempt fails so quickly, it could be the network
failing to setup the connection. Are you sure the APN is the correct
one? Maybe try to use --simple-connect="apn=everywhere,ip-type=ipv4"
to force IPv4-only?
Also, you should not do any manual --simple-connect, better setup the
connection using the System Settings and NetworkManager.
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list