lte troubleshooting in SSR


Show config

Device config
admin@node1.conductor# show config running authority router Lanner1 node node1 device-interface lte-0

config

    authority

        router  Lanner1
            name  Lanner1

            node  node1
                name              node1

                device-interface  lte-0
                    name               lte-0
                    description        "LTE device interface"
                    type               lte
                    target-interface   wwp0s21u4i8

                    lte
                        apn-name        wap.vodafone.co.uk

                        authentication
                            user-name                wap
                            password                 wap
                            authentication-protocol  pap
                        exit
                        carrier-image   auto
                    exit
                    enabled            true
                    forwarding         true

                    network-interface  lte-0
                        name               lte-0
                        global-id          4
                        description        "LTE network interface"
                        conductor          false
                        default-route      false
                        source-nat         true
                        management         false

                        management-vector
                            name      mgmt
                            priority  200
                        exit
                        dhcp               v4
                    exit
                exit
            exit
        exit
    exit
exit

admin@node1.conductor#



Show file in linux

more /var/lib/128technology/lte/wwp0s21u4i8.conf

wwp0s21u418.conf
[root@lr202007009846 lte]# more /var/lib/128technology/lte/wwp0s21u4i8.conf
APN=wap.vodafone.co.uk
AUTH_TYPE=pap
APN_USER=wap
APN_PASS=wap
IP_TYPE=4
PROXY=yes
CARRIER_IMAGE=auto



Card state

qmicli --device=/dev/cdc-wdm0 --uim-get-card-status | grep "Card state"

card state
[root@lr202007009846 t128]# qmicli --device=/dev/cdc-wdm0 --uim-get-card-status | grep "Card state"
        Card state: 'error: no-atr-received (3)
        Card state: 'absent'

lte-info

/etc/128technology/plugins/network-scripts/lte/lte-info wwp0s21u4i8  

>>> not working

lte-state

ip netns list

ip netns exec lte-ns-1 lte-state wwp0s21u4i8


lte-state
[root@lr202007009846 t128]# ip netns exec lte-ns-1 lte-state wwp0s21u4i8

{
    "LTE": {
        "lte-card-info": {
            "product-id": "0x9071",
            "name": "EM74xx/MC74xx",
            "serial-port": "/dev/ttyUSB2",
            "drivers": {
                "conflicting": [
                    "cdc_mbim"
                ],
                "valid": [
                    "qmi_wwan"
                ]
            },
            "usb-mode-setup": {
                "set-command": "!USBCOMP=1,1,10D",
                "query-command": "!USBCOMP?",
                "login-command": "!ENTERCND=\"A710\"",
                "expected-mode": "0000010D"
            },
            "image-preference": {
                "check-command": "!IMPREF?",
                "auto-setup": "AUTO-SIM",
                "set-command": "!IMPREF=\"{}\""
            },
            "reset-command": "!RESET",
            "band-preference": {
                "AT&T": {
                    "expected-enabled-bands": "2, 4, 12",
                    "add-command": "!BAND={},\"ATT\",0,80A",
                    "login-command": "!ENTERCND=\"A710\"",
                    "set-command": "!BAND={}"
                }
            },
            "vendor-name": "Sierra Wireless",
            "vendor-id": "0x1199"
        },
        "usb-port": "/dev/ttyUSB2",
        "conn-status-unknown": 90,
        "last-conn-status-unknown-time": "Wed Jan 19 18:13:28 2022",
        "reinit-attempt": 17
    }
}


qmi
[root@lr202007009846 lte]# /etc/128technology/plugins/network-scripts/lte/
backoff.py               init                     lte_image_preference.py  qmi_params.py            setup
command_parser.py        linux-init               lte-info                 qmi_parse.py             setup-lte-bands
config.py                lte_arg_parse.py         lte-state                qmi_profile.py           shutdown
context.py               lte_band_preference.py   monitoring               reinit                   startup
failure_handler.py       lte_device.py            qmi_cli.py               script_class.py          state
info                     lte_helper.py            qmi_commands.py          service-init             state_commands.py
info_commands.py         lte-image-preference     qmi_network.py           service-shutdown

Show state

device state
admin@node1.conductor# show device-interface router Lanner1 node node1 name lte-0
Wed 2022-01-19 17:43:23 UTC
Retrieving device interface information...

==========================================================
 node1.Lanner1:lte-0
==========================================================
 Type:                lte
 Forwarding:          true
 Mode:                host
 MAC Address:         06:86:a2:c8:4c:d9

 Admin Status:        up
 Operational Status:  down
 Provisional Status:  up
 Redundancy Status:   non-redundant
 Speed:               n/a
 Duplex:              n/a

 in-octets:                           0
 in-unicast-pkts:                     0
 in-errors:                           0
 out-octets:                          0
 out-unicast-pkts:                    0
 out-errors:                          0

 LTE:
   conn-status-unknown:108
   last-conn-status-unknown-time:Wed Jan 19 17:43:16 2022
   lte-card-info:
     band-preference:
       AT&T:
         add-command: !BAND={},"ATT",0,80A
         expected-enabled-bands:2, 4, 12
         login-command:!ENTERCND="A710"
         set-command: !BAND={}
     drivers:
       conflicting:
         cdc_mbim
       valid:
         qmi_wwan
     image-preference:
       auto-setup:    AUTO-SIM
       check-command: !IMPREF?
       set-command:   !IMPREF="{}"
     name:            EM74xx/MC74xx
     product-id:      0x9071
     reset-command:   !RESET
     serial-port:     /dev/ttyUSB2
     usb-mode-setup:
       expected-mode: 0000010D
       login-command: !ENTERCND="A710"
       query-command: !USBCOMP?
       set-command:   !USBCOMP=1,1,10D
     vendor-id:       0x1199
     vendor-name:     Sierra Wireless
   reinit-attempt:    22
   usb-port:          /dev/ttyUSB2
   ICCID:             unavailable

Completed in 0.13 seconds
admin@node1.conductor#