qmicli always getting transaction time out
Aleksander Morgado
aleksander at aleksander.es
Wed Apr 25 08:50:15 UTC 2018
>
>
> There is an IP in bearer information
> ico1 at ico1:~$ mmcli -b 0
> Bearer '/org/freedesktop/ModemManager1/Bearer/0'
> -------------------------
> Status | connected: 'yes'
> | suspended: 'no'
> | interface: 'wwp0s21f0u4i12'
> | IP timeout: '20'
> -------------------------
> Properties | apn: 'internet.comcel.com.co'
> | roaming: 'allowed'
> | IP type: 'ipv4'
> | user: 'comcelweb'
> | password: 'comcelweb'
> | number: 'none'
> | Rm protocol: 'unknown'
> -------------------------
> IPv4 configuration | method: 'static'
> | address: '10.142.47.170'
> | prefix: '30'
> | gateway: '10.142.47.169'
> | DNS: '190.157.8.89', '8.8.8.8'
> | MTU: '1500'
> -------------------------
> IPv6 configuration | method: 'unknown'
> -------------------------
> Stats | Duration: '689'
> | Bytes received: 'N/A'
> | Bytes transmitted: 'N/A'
> ico1 at ico1:~$
>
> But it doesn't appear when using ip addr
>
ModemManager doesn't configure the network interface, it just reports
to the upper layers what the configuration should be. In this case
it's saying "modem is connected and the IP settings to configure in
wwp0s21f0u4i12 are 10.142.47.170/30 with gateway 10.142.47.169"-
If you're using NetworkManager, you should let NetworkManager handle
the modem connection (i.e. NM is the one calling simple-connect), so
that it also configures the network interface for you.
If you're not using NM, you'll have to configure the settings yourself
in the network interface.
--
Aleksander
https://aleksander.es
More information about the libqmi-devel
mailing list