Changes between Version 4 and Version 5 of expansion/gw16126


Ignore:
Timestamp:
11/15/2018 04:30:24 AM (6 years ago)
Author:
Ryan Erbstoesser
Comment:

add commands for ubuntu bionic for modem

Legend:

Unmodified
Added
Removed
Modified
  • expansion/gw16126

    v4 v5  
    5151
    5252The modem is supported by Linux !ModemManager and libqmi-utils.
     53
     54General modem information that should be understood is located on the [wiki:wireless/modem Gateworks Modem Wiki Page]
     55
     56''' Note, because this modem uses raw-ip, DHCP does not work and a IP will not automatically be applied to the interface. The provider will give an IP and then it must manually be applied to the wwan0 interface.'''
     57
     58Sample set of commands for Ventana Ubuntu Bionic:
     59{{{
     60systemctl stop ModemManager #Stop modem manager, doing things manually
     61ifdown eth0  #bring down eth0 so not confused for WAN/LAN link.
     62
     63echo "APN=ATT.APNI" > /etc/qmi-network.conf #replace with appropriate APN
     64echo "PROXY=yes" >> /etc/qmi-network.conf # add prox
     65qmicli -p -d /dev/cdc-wdm0 --wda-set-data-format=raw-ip #set raw ip format
     66qmicli -p -d /dev/cdc-wdm0 --set-expected-data-format=raw-ip #set raw ip format
     67qmi-network /dev/cdc-wdm0 start #start the interface
     68
     69qmicli --device /dev/cdc-wdm0 --wds-get-current-settings #retrieve IP address information
     70
     71ifconfig wwan0 100.22.44.187 netmask 255.255.255.248 #assign IP
     72route add default gw 100.75.76.188 wwan0 #assign route
     73echo "nameserver 198.224.182.135" > /etc/resolv.conf #assign nameserver
     74}}}
    5375
    5476