Skip to main content
yangw
Staff
Staff
July 5, 2022

Troubleshooting Tip: WWAN (3G/4G) interface does not obtain IP address problem

  • July 5, 2022
  • 0 replies
  • 11069 views
Description This article describes how to use debug commands to identify the WWAN problem with obtaining an IP address.
Scope FortiGate/FortiWiFi 40F-3G4G.
Solution

lte.PNG

 

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

 

diagnose 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 shows the signal problem caused by the IP address not being obtained.

 

diagnose debug application lted -1

diagnose debug enable

To disable debugs:
diagnose debug disable
diagnose debug reset

 

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

 

usb_qmi_wwan_wds_get_packet_service_status(2867)-22915: Failed read msg(Resource temporarily unavailable)
                sierra_qmi_wwan_check_modem_data_connection(902)-22915:wds_get_packet_service_status failed! Tried 3 times!
usb_sierra_dip_check_status(1195)-22915: admin status:1, conn:0

 

_usb_qmi_wwan_active_modem(558)-230: Modem PS state is QMI_NAS_ATTACH_STATE_DETACHED, do not dial!
update_modem_status(390)-230: Packet Service Detached! No Connection with e-NodeB. Check signal reception <-- Indicates no signal.
....
update_modem_status(465)-230: Current SIM card has no connectivity, switch card. <-- SIM card has no connectivity.
update_modem_status(469)-230: Switch to the other sim slot 0

 

After installing the antenna on the FortiGate unit, 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?

 

Related article: 

Troubleshooting Tip: FortiGate 40F 3G/4G WWAN registers the SIM card with error 'Modem activation fails!' 
Technical Tip: How to check the stats for the LTE modem 
Technical Tip: Configuring the LTE modem in the FortiWiFi 30E-3G4G