#StackBounty: #18.04 #ip #modem-manager #wwan How to establish IP connection for WWAN on 18.04

Bounty: 100

How do I establish and IP connection to the WWAN of a Sierra Wireless MC7354?

I have a system with a Sierra Wireless MC7354 modem running Ubuntu 18.04.

ModemManager can see and control the modem.

$ mmcli --modem 0

returns lots of great information. (That’s how I know the modem is an MC7354.)

/org/freedesktop/ModemManager1/Modem/0 (device id '232972a04adf83122a392fd83b274431de596ebd')
  -------------------------
  Hardware |   manufacturer: 'Sierra Wireless, Incorporated'
           |          model: 'MC7354'
           |       

The ports list shows several ports:

ports: 'ttyUSB0 (qcdm), wwp0s20u5i8 (net), wwp0s20u5i10 (net), cdc-wdm0 (qmi), cdc-wdm1 (qmi), ttyUSB2 (at)'

$ mmcli --modem 0 --simple-connect="apn=internet"

is successful

$ mmcli --bearer 0
Bearer '/org/freedesktop/ModemManager1/Bearer/0'
  -------------------------
  Status             |   connected: 'yes'
                     |   suspended: 'no'
                     |   interface: 'wwp0s20u5i8'
                     |  IP timeout: '20'
  -------------------------
  Properties         |         apn: 'internet'
                     |     roaming: 'allowed'
                     |     IP type: 'none'
                     |        user: 'none'
                     |    password: 'none'
                     |      number: 'none'
                     | Rm protocol: 'unknown'
  -------------------------
  IPv4 configuration |   method: 'static'
                     |  address: '100.232.81.142'
                     |   prefix: '30'
                     |  gateway: '100.232.81.141'
                     |      DNS: '10.177.0.34', '10.177.0.210'
                     |      MTU: '1430'
  -------------------------
  IPv6 configuration |   method: 'unknown'
  -------------------------
  Stats              |          Duration: '839'
                     |    Bytes received: 'N/A'
                     | Bytes transmitted: 'N/A'

Shows that the modem is connected to the internet (?).

How do I establish a connection on Ubuntu to use this interface?

$ ifconfig -a 

wwp0s20u5i8: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 0e:ff:cc:40:45:be  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wwp0s20u5i10: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 12:4e:ee:54:3e:3e  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

How do I establish an IP connection to this device?

Thanks for the help!


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.