FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
yangw
Staff
Staff
Description This article describes how to use debug commands to identify the WWAN problem with obtaining IP address.
Scope FortiGate/FortiWiFi 40F-3G4G.
Solution

The command below that shows whether the 3G/4G SIM card can be detected.

 

# diag sys lte-modem sim-info

 

LTE Modem SIM card information:


Active Slot: Slot 1.
SIM state: QMI_UIM_CARD_STATE_PRESENT   <--  detected
ICCID: 89XXXXXXXXXXXXXXXXXX
IMSI: 46XXXXXXXXXXXXXX
Country: Taiwan
Network: T-Star/VIBO

 

The command below that shows the signal problem caused by the IP address can not be obtained.

 

# diagnose debug application lted -1

# diagnose debug enable

sierra_qmi_wwan_get_sim_slot(864)-201: Current active slot: slot 1!
UIM State ==> QMI_UIM_CARD_STATE_PRESENT  <-- the SIM card is detected.
iccid: 89XXXXXXXXXXXXXXXXXX
imsi: 46XXXXXXXXXXXXXX
usb_qmi_wwan_nas_get_signal_info(3283)-201: Close failed!(Resource temporarily unavailable) <--signal problem.
Reg State ==> QMI_NAS_REGISTRATION_STATE_NOT_REGISTERED
CS Attach State ==> QMI_NAS_ATTACH_STATE_DETACHED
PS Attach State ==> QMI_NAS_ATTACH_STATE_DETACHED
Network Type ==> QMI_NAS_NETWORK_TYPE_UNKNOWN
Radio Interface[0] ==> QMI_NAS_RADIO_INTERFACE_NONE
Detailed Service Status:
Status ==> QMI_NAS_SERVICE_STATUS_POWER_SAVE
Network Svc Domain ==> QMI_NAS_NETWORK_SERVICE_DOMAIN_CS_PS
HDR Status ==> QMI_NAS_SERVICE_STATUS_NONE
HDR Hybrid ==> No
Forbidden ==> No

 

Installed the antenna on the FortiGate unit then the IP address can be assigned much faster.

 

Getting IP address:


# usb_sierra_dip_get_sysmode_rssi(1372)-200: Rssi:91 sysmode:3 TAC:10238 Cell-Id:29190965 band:B7
usb_lte_set_3g4g_led(2055)-200: sysmode:3
usb_lte_get_intf_dhcpc_status(2382)-200: Intf Mode: 1 DHCP IP: 100.81.251.76
check_dhcpc_status(874)-200: Dhcpc Interface Status: 2 IP: 100.81.251.76
check_dhcpc_status(886)-200: Linux Interface Status: 0 IP: 100.81.251.76
monitor_fn(1026)-200: dhcpc_status:1, dhcp failure count:0
monitor_fn(1071)-200: timer:500
check_lte_handover_fn(706)-200: check: 1, nettype: 0, handover 0
monitor_fn(978)-200
TX Packets OK ==> 436
RX Packets OK ==> 364
RX Packets Error ==> -1
RX Packets Error ==> -1
TX Overflows ==> -1
RX Overflows ==> -1
TX Bytes OK ==> 58772
RX Bytes OK ==> 350876
TX Packets Dropped ==> 0
RX Packets Dropped ==> 0
usb_lte_get_modem_dev(2774)-200: modem_dev:2
usb_lte_test_modem_cmd(2807)-200: cmd:|at!uims?

 

Contributors