shruthinr
Staff
Staff
Description
This article describes how to collect AT information from FortiExtender useful to debug Internet connection issues.

Related link.
PAGE: 89
https://fortinetweb.s3.amazonaws.com/docs.fortinet.com/v2/attachments/2d85e521-dc1c-11ea-96b9-005056...

Solution
AT command information from FortiExtender  can provide the IMEI number of Sim card, verify modem firmware compatibility, check the signal availability and Internet connectivity.

Commands needs to be executed on FortiExtender CLI:
# execute show-hidden
If the SIM is accessible, output the SIM IMEI number by executing below command
# execute modemfw AtTest modem1 ati
open tty /dev/ttyUSB2
ati
Manufacturer: Sierra Wireless, Incorporated
Model: EM7565
Revision: SWI9X50C_01.08.04.00 dbb5d0 jenkins 2018/08/21 21:40:11
IMEI: 353543101346892
IMEI SV:  8
FSN: UF029206860110
+GCAP: +CGSM
OK
# execute modemfw AtTest modem1 at+cimi
open tty /dev/ttyUSB2
at+cimi
505015604769937
OK
The current firmware and the preferred firmware for the inserted SIM card must be the same, or else the output will indicate a mismatch error.
# execute modemfw AtTest modem1 at!impref#
open tty /dev/ttyUSB2
at!impref?
!IMPREF:
 preferred fw version:    01.08.04.00
 preferred carrier name:  GENERIC
 preferred config name:   GENERIC_002.012_001
 current fw version:      01.08.04.00
 current carrier name:    GENERIC
 current config name:     GENERIC_002.012_001
OK
Ensure the FortiExtender has good signal strength to derive good speeds and prevent time-out
# execute modemfw AtTest modem1 at!gstatus#   
# execute modemfw AtTest modem1 at!gstatus#

open tty /dev/ttyUSB2
at!gstatus?
!GSTATUS:
Current Time:  7483                   Temperature: 64
Reset Counter: 1                       Mode:        ONLINE    
System mode:   LTE                  PS state:    Attached   
LTE band:      B7                       LTE bw:      20 MHz  
LTE Rx chan:   3148                  LTE Tx chan: 21148
LTE SSC1 state:INACTIVE         LTE SSC1 band: B7     
LTE SSC1 bw  : 20 MHz                        LTE SSC1 chan: 2950
LTE SSC2 state:INACTIVE         LTE SSC2 band: B3     
LTE SSC2 bw  : 15 MHz                        LTE SSC2 chan: 1275
LTE SSC3 state:NOT ASSIGNED
LTE SSC4 state:NOT ASSIGNED
EMM state:     Registered           Normal Service
RRC state:     RRC Connected  
IMS reg state: No Srv                
PCC RxM RSSI:  -62                 PCC RxM RSRP:  -100
PCC RxD RSSI:  -65                  PCC RxD RSRP:  -105
SCC1 RxM RSSI: -74                SCC1 RxM RSRP: -103
SCC1 RxD RSSI: -80                 SCC1 RxD RSRP: -108
SCC2 RxM RSSI: -70                SCC2 RxM RSRP: -93
SCC2 RxD RSSI: -75                 SCC2 RxD RSRP: -97
Tx Power:      3              TAC:         204c (8268)
RSRQ (dB):     -17.9                   Cell ID:     080ba821 (134981665)
SINR (dB):     -5.8
Check to see if the APN is configured correctly. Although the modem in FortiExtender can negotiate the APN, it might run into issues with some wireless providers.
# execute modemfw AtTest modem1 at+cgdcont#
open tty /dev/ttyUSB2
at+cgdcont?
+CGDCONT: 1,"IPV4V6","","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 7,"IPV4V6","apn","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
OK

Contributors