Changes between Version 8 and Version 9 of expansion/gw16162


Ignore:
Timestamp:
08/08/2025 11:02:40 PM (3 days ago)
Author:
Ryan Erbstoesser
Comment:

update with new example

Legend:

Unmodified
Added
Removed
Modified
  • expansion/gw16162

    v8 v9  
    5656
    5757Drivers:
    58  * option (at commands), cdc_ether (wwan)
     58 * qmi_wwan (wwan), option (at commands)
    5959
    6060[=#cmb100-ponoff]
     
    9898
    9999
    100 [=#cmb100-usbmode]
    101 == Modem Mode
    102 
    103 The modem can be configured to be in different USB modes. Consult the AT command guide for all the modes.
    104 
    105 Mode shown:
    106 {{{
    107 AT#USBCFG?
    108 }}}
    109 
    110 Another modem configuration that may need to be looked at is called FWAUTOSIM, which is automatic carrier switching by SIM. For this example, FWAUTOSIM was 0, meaning no automatic switching.
     100
    111101
    112102== Software / Getting Started
     
    129119A fully connected modem shown below with mmcli -m 0 as an example:
    130120{{{
    131 root@noble-venice:~# mmcli -m 0
    132   --------------------------------
    133   General  |                 path: /org/freedesktop/ModemManager1/Modem/0
    134            |            device id: 0808c95a84d6f32e2b0d9cxxxb1172028c28460
    135   --------------------------------
    136   Hardware |         manufacturer: Telit
    137            |                model: ME910G1-WW
    138            |    firmware revision: 37.00.417-P0C.410001
    139            |            supported: gsm-umts, lte
    140            |              current: gsm-umts, lte
    141            |         equipment id: xx7219xxxxx780
    142   --------------------------------
    143   System   |               device: /sys/devices/platform/soc@0/32c00000.bus/32e50000.usb/ci_hdrc.1/usb1/1-1/1-1.1
    144            |              physdev: /sys/devices/platform/soc@0/32c00000.bus/32e50000.usb/ci_hdrc.1/usb1/1-1/1-1.1
    145            |              drivers: option, cdc_ether
    146            |               plugin: telit
    147            |         primary port: ttyUSB2
    148            |                ports: ttyUSB1 (at), ttyUSB2 (at), wwan0 (net)
    149   --------------------------------
    150   Status   |       unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
    151            |                state: connected
    152            |          power state: on
    153            |          access tech: lte-cat-m
    154            |       signal quality: 100% (recent)
    155   --------------------------------
    156   Modes    |            supported: allowed: 2g; preferred: none
    157            |                       allowed: 4g; preferred: none
    158            |                       allowed: 2g, 4g; preferred: none
    159            |              current: allowed: 2g, 4g; preferred: none
    160   --------------------------------
    161   Bands    |            supported: egsm, dcs, pcs, g850, eutran-1, eutran-2, eutran-3,
    162            |                       eutran-4, eutran-5, eutran-8, eutran-12, eutran-13, eutran-18,
    163            |                       eutran-19, eutran-20, eutran-25, eutran-26, eutran-27, eutran-28
    164            |              current: egsm, dcs, pcs, g850, eutran-1, eutran-2, eutran-3,
    165            |                       eutran-4, eutran-5, eutran-8, eutran-12, eutran-13, eutran-18,
    166            |                       eutran-19, eutran-20, eutran-25, eutran-26, eutran-27, eutran-28
    167   --------------------------------
    168   IP       |            supported: ipv4, ipv6, ipv4v6, non-ip
    169   --------------------------------
    170   3GPP     |                 imei: 357219xxxxxx80
    171            |          operator id: 310410
    172            |        operator name: AT&T
    173            |         registration: roaming
    174            | packet service state: attached
    175   --------------------------------
    176   3GPP EPS | ue mode of operation: csps-2
    177   --------------------------------
    178   SIM      |     primary sim path: /org/freedesktop/ModemManager1/SIM/0
    179   --------------------------------
    180   Bearer   |                paths: /org/freedesktop/ModemManager1/Bearer/0
    181 
    182 root@jammy-venice:~# mmcli -m 0 -b 0
    183   ------------------------------------
    184   General            |           path: /org/freedesktop/ModemManager1/Bearer/0
     121root@noble-venice:~# mmcli -m 0
     122  ----------------------------------
     123  General  |                   path: /org/freedesktop/ModemManager1/Modem/0
     124           |              device id: 0f4dfb041510f387acb25f63b3c13ad3379b96c6
     125  ----------------------------------
     126  Hardware |           manufacturer: Telit
     127           |                  model: LE910C4-WWXD
     128           |      firmware revision: 25.30.608  1  [Nov 14 2023 07:00:00]
     129           |         carrier config: default
     130           |           h/w revision: 1.00
     131           |              supported: gsm-umts, lte
     132           |                current: gsm-umts, lte
     133           |           equipment id: xx559662xxx82
     134  ----------------------------------
     135  System   |                 device: /sys/devices/platform/soc@0/32f10108.usb/38200000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.1
     136           |                physdev: /sys/devices/platform/soc@0/32f10108.usb/38200000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.1
     137           |                drivers: qmi_wwan, option
     138           |                 plugin: telit
     139           |           primary port: cdc-wdm0
     140           |                  ports: cdc-wdm0 (qmi), ttyUSB0 (ignored), ttyUSB1 (at),
     141           |                         ttyUSB2 (at), wwan0 (net)
     142  ----------------------------------
     143  Status   |                   lock: sim-pin2
     144           |         unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
     145           |                  state: connected
     146           |            power state: on
     147           |            access tech: lte
     148           |         signal quality: 91% (recent)
     149  ----------------------------------
     150  Modes    |              supported: allowed: 2g; preferred: none
     151           |                         allowed: 3g; preferred: none
     152           |                         allowed: 4g; preferred: none
     153           |                         allowed: 2g, 3g; preferred: 3g
     154           |                         allowed: 2g, 3g; preferred: 2g
     155           |                         allowed: 2g, 4g; preferred: 4g
     156           |                         allowed: 2g, 4g; preferred: 2g
     157           |                         allowed: 3g, 4g; preferred: 4g
     158           |                         allowed: 3g, 4g; preferred: 3g
     159           |                         allowed: 2g, 3g, 4g; preferred: 4g
     160           |                         allowed: 2g, 3g, 4g; preferred: 3g
     161           |                         allowed: 2g, 3g, 4g; preferred: 2g
     162           |                current: allowed: 2g, 3g, 4g; preferred: 4g
     163  ----------------------------------
     164  Bands    |              supported: egsm, dcs, pcs, g850, utran-1, utran-4, utran-6, utran-5,
     165           |                         utran-8, utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5,
     166           |                         eutran-7, eutran-8, eutran-9, eutran-12, eutran-13, eutran-14,
     167           |                         eutran-18, eutran-19, eutran-20, eutran-25, eutran-26, eutran-28,
     168           |                         utran-19
     169           |                current: egsm, dcs, pcs, g850, utran-1, utran-4, utran-6, utran-5,
     170           |                         utran-8, utran-2, eutran-1, eutran-2, eutran-3, eutran-4, eutran-5,
     171           |                         eutran-7, eutran-8, eutran-9, eutran-12, eutran-13, eutran-14,
     172           |                         eutran-18, eutran-19, eutran-20, eutran-25, eutran-26, eutran-28,
     173           |                         utran-19
     174  ----------------------------------
     175  IP       |              supported: ipv4, ipv6, ipv4v6
     176  ----------------------------------
     177  3GPP     |                   imei: 355596620004182
     178           |          enabled locks: fixed-dialing
     179           |            operator id: 310260
     180           |          operator name: T-Mobile
     181           |           registration: roaming
     182           |   packet service state: attached
     183  ----------------------------------
     184  3GPP EPS |   ue mode of operation: csps-2
     185           |    initial bearer path: /org/freedesktop/ModemManager1/Bearer/0
     186           | initial bearer ip type: ipv4
     187  ----------------------------------
     188  SIM      |       primary sim path: /org/freedesktop/ModemManager1/SIM/0
     189           |         sim slot paths: slot 1: /org/freedesktop/ModemManager1/SIM/0 (active)
     190           |                         slot 2: none
     191  ----------------------------------
     192  Bearer   |                  paths: /org/freedesktop/ModemManager1/Bearer/1
     193root@noble-venice:~#
     194
     195root@noble-venice:~# mmcli -m 0 -b 1
     196  ------------------------------------
     197  General            |           path: /org/freedesktop/ModemManager1/Bearer/1
    185198                     |           type: default
    186199  ------------------------------------
     
    195208  ------------------------------------
    196209  IPv4 configuration |         method: static
    197                      |        address: 100.77.130.8
    198                      |         prefix: 28
    199                      |        gateway: 100.77.130.9
     210                     |        address: 10.300.185.109
     211                     |         prefix: 30
     212                     |        gateway: 10.300.185.111
    200213                     |            dns: 8.8.8.8, 8.8.4.4
    201                      |            mtu: 1430
    202   ------------------------------------
    203   Statistics         |     start date: 2025-05-16T16:30:05Z
    204                      |       duration: 210
    205                      |       bytes rx: 746
    206                      |       bytes tx: 588
     214                     |            mtu: 1500
     215  ------------------------------------
     216  Statistics         |     start date: 2025-08-08T22:56:19Z
     217                     |       duration: 240
    207218                     |       attempts: 1
    208                      | total-duration: 210
    209                      | total-bytes rx: 746
    210                      | total-bytes tx: 588
    211 root@jammy-venice:~#
     219                     | total-duration: 240
     220
    212221
    213222
     
    216225If the DHCP dhclient command doesn't auto-populate wwan0, it may be required to manually configure the IP address and routing of wwan0, an example is below:
    217226{{{
    218 ifconfig wwan0 100.77.130.8/28
     227ifconfig wwan0 100.77.130.8/30
    219228route add default gw 100.77.130.9 wwan0
    220229echo "nameserver 8.8.8.8" > /etc/resolv.conf
     
    232241
    233242Please also contact Gateworks support.
     243
     244[=#cmb100-usbmode]
     245==== Modem Mode
     246
     247The modem can be configured to be in different USB modes. Consult the AT command guide for all the modes. Mode 0 should be fine which should be the default.
     248
     249Mode shown:
     250{{{
     251AT#USBCFG?
     252}}}
     253
     254Another modem configuration that may need to be looked at is called FWAUTOSIM, which is automatic carrier switching by SIM. For this example, FWAUTOSIM was 0, meaning no automatic switching.