quectel-CM.sh fails to connect

Hi,

I am using Quectel BG96 board in Debian. I compiled quectel-CM, and running the script with the following messages and error: udhcpc: no lease, failing.

Here is the log messages:

[:410] WCDMA&LTE_QConnectManager_Linux&Android_V1.1.45
[:410] ./quectel-CM profile[1] = ibasis.iot///0, pincode = (null)
[:410] Find /sys/bus/usb/devices/1-2 idVendor=2c7c idProduct=0296
[:410] Find /sys/bus/usb/devices/1-2:1.4/net/wwp0s6u2i4
[:410] Find usbnet_adapter = wwp0s6u2i4
[:410] Find /sys/bus/usb/devices/1-2:1.4/usbmisc/cdc-wdm0
[:410] Find qmichannel = /dev/cdc-wdm0
[:421] cdc_wdm_fd = 8
[:456] Get clientWDS = 1
[:472] Get clientNAS = 1
[:480] Get clientUIM = 1
[:488] Get clientWDA = 1
[:496] requestBaseBandVersion BG96MAR02A10M1G
[:528] requestGetSIMStatus SIMStatus: SIM_READY
[:528] requestSetProfile[1] ibasis.iot///0
[:552] requestGetProfile[1] ibasis.iot///0
[:560] requestRegistrationState2 MCC: 310, MNC: 260, PS: Attached, DataCap: EDGE
[:568] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[:584] requestRegistrationState2 MCC: 310, MNC: 260, PS: Attached, DataCap: EDGE
[:301] requestSetupDataCall WdsConnectionIPv4Handle: 0x83335450
[:312] requestQueryDataCall IPv4ConnectionStatus: CONNECTED
[:320] change mtu 1500 -> 1460
[:320] ifconfig wwp0s6u2i4 up
[:379] busybox udhcpc -f -n -q -t 5 -i wwp0s6u2i4
udhcpc: started, v1.30.1
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, failing

What is missing?

Thank you,

David Zhou

Hi David,

The error is ususlly caused by modem fail to get IP address from network. You could check the network status before establish wwan0.
AT+CGREG?
AT+COPS?
AT+CGDCONT?
AT+QIACT=1
AT+QAICT?
AT+CGPADDR //check if there is IP address available

can someone point me to the source for quectel-cm?

Hi Cbrake:
Could you tell me software version of your module?(Please use ATI to check)

ati                                                                                        
Quectel 
BG96 
Revision: BG96MAR02A07M1G

Hi Cbrake:
I will send you the quectel-cm by email,please check the email.