Hi @barryjump,
This is a new subject for me as well, so don’t expect me to have all the answers just yet.
I’ve looked into my apt history, and I did install libmbim-utils
and libqmi-utils
myself.
I’ve found a script that allows me to switch between qmi and mbim.
The same site has a tutorial for setting up your mbim connection.
The switching script should be specific to my modem, but maybe it will work on yours as well.
What I’ve tried just now is to change my modem to mbim.
At first it reported to be running mbim, but didn’t really accept commands; after rebooting it showed up properly.
nmcli d
showed the device as disconnected, so I ran nmcli d /dev/cdc-wdm0 connect
and it appeared to come up.
Running the command from the tutorial gives me this:
root@df8f8df:/# mbimcli -d /dev/cdc-wdm0 -p --query-ip-configuration
[/dev/cdc-wdm0] IPv4 configuration available: 'address, gateway, dns, mtu'
IP [0]: '10.227.126.115/29'
Gateway: '10.227.126.116'
DNS [0]: '194.151.228.34'
DNS [1]: '194.151.228.18'
MTU: '1500'
This corresponds with my wwan0
interface as shown:
root@df8f8df:/# ip a s wwan0
8: wwan0: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether 5e:e1:c4:61:51:07 brd ff:ff:ff:ff:ff:ff
inet 10.227.126.115/29 brd 10.227.126.119 scope global noprefixroute wwan0
valid_lft forever preferred_lft forever
Testing it out, suggests I can properly send data over it.
root@df8f8df:/# ping 8.8.8.8 -I wwan0
PING 8.8.8.8 (8.8.8.8) from 10.227.126.115 wwan0: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=150 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=22.1 ms
If yours doesn’t come online, you may want to check out which profile/APN you have selected.