Hello,
I recently purchased the 3G/4G<E Base HAT and ran through the Tutorial to connect to my RPi 4b (skipping steps 4-7 as stated) but the ./quectel-CM script stalls at “udhcpc: no lease, failing”.
The modem is connected and I can see the wwan0 interface in “ifconfig”
I am using an AT&T sim card and the cmd “sudo ./quectel-CM -s NXTGENPHONE”
below are the outputs of the script and “dmesg | grep tty*”
[06-17_12:52:07:265] WCDMA<E_QConnectManager_Linux&Android_V1.1.45
[06-17_12:52:07:265] ./quectel-CM profile[1] = NXTGENPHONE///0, pincode = (null)
[06-17_12:52:07:266] Find /sys/bus/usb/devices/1-1.1 idVendor=2c7c idProduct=0125
[06-17_12:52:07:266] Find /sys/bus/usb/devices/1-1.1:1.4/net/wwan0
[06-17_12:52:07:266] Find usbnet_adapter = wwan0
[06-17_12:52:07:267] Find /sys/bus/usb/devices/1-1.1:1.4/usbmisc/cdc-wdm0
[06-17_12:52:07:267] Find qmichannel = /dev/cdc-wdm0
[06-17_12:52:07:287] cdc_wdm_fd = 8
[06-17_12:52:07:386] Get clientWDS = 19
[06-17_12:52:07:417] Get clientDMS = 1
[06-17_12:52:07:450] Get clientNAS = 3
[06-17_12:52:07:482] Get clientUIM = 1
[06-17_12:52:07:514] Get clientWDA = 1
[06-17_12:52:07:546] requestBaseBandVersion EC25AFAR05A04M4G
[06-17_12:52:07:674] requestGetSIMStatus SIMStatus: SIM_READY
[06-17_12:52:07:674] requestSetProfile[1] NXTGENPHONE///0
[06-17_12:52:07:737] requestGetProfile[1] NXTGENPHONE///0
[06-17_12:52:07:770] requestRegistrationState2 MCC: 310, MNC: 410, PS: Attached, DataCap: LTE
[06-17_12:52:07:802] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[06-17_12:52:07:866] requestRegistrationState2 MCC: 310, MNC: 410, PS: Attached, DataCap: LTE
[06-17_12:52:07:897] requestSetupDataCall WdsConnectionIPv4Handle: 0x8722c080
[06-17_12:52:07:961] requestQueryDataCall IPv4ConnectionStatus: CONNECTED
[06-17_12:52:07:993] ifconfig wwan0 up
[06-17_12:52:08:003] busybox udhcpc -f -n -q -t 5 -i wwan0
[06-17_14:52:39:607] busybox udhcpc -f -n -q -t 5 -i wwan0
udhcpc: started, v1.30.1
cat: /run/resolvconf/lock/pid: No such file or directory
/usr/sbin/resolvconf: 733: kill: Illegal number:
clearing stale lock pid
No resolv.conf for interface wwan0.udhcpc
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, failing
[06-17_12:53:42:196] requestDeactivateDefaultPDP err = 0
[06-17_12:53:42:196] ifconfig wwan0 down
[06-17_12:53:42:215] ifconfig wwan0 0.0.0.0
[06-17_12:53:42:411] QmiWwanThread exit
[06-17_12:53:42:412] main exit
dmesg
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 cma=64M bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:0B:E7:34 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=tty1 console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait fbcon=map:10 fbcon=font:ProFont6x11 logo.nologo
[ 0.000708] console [tty1] enabled
[ 0.002937] Setting up static identity map for 0x200000 - 0x20003c
[ 0.050015] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-02-12 12:36, variant start
[ 0.520370] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 34, base_baud = 0) is a PL011 rev2
[ 0.528405] console [ttyS0] disabled
[ 0.531123] fe215040.serial: ttyS0 at MMIO 0x0 (irq = 37, base_baud = 62500000) is a 16550
[ 2.273992] console [ttyS0] enabled
[ 18.613394] systemd[1]: Created slice system-getty.slice.
[ 147.348649] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB0
[ 147.349157] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB1
[ 147.349507] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB2
[ 147.349864] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB3
[ 562.554938] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[ 562.555996] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[ 562.556693] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[ 562.557541] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[ 2563.620371] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB0
[ 2563.622253] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB1
[ 2563.622911] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB2
[ 2563.623543] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB3
uname -a
Linux pisdr 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l GNU/Linux
Any help with getting this connected to the internet would be greatly appreciated!