Newbie, a bit lost, and getting "PS: Detached" / "IPv4ConnectionStatus: DISCONNECTED"

I hope I’m reporting enough information here.

I have a LTE “Base HAT” on a Raspberry Pi 3; with a Quectel EP06-A LTE module. I’m in North America, with a Verizon Wireless SIM configured for a datapack.

Image of my physical setup: http://i.ell.io/RggTOv

I’m using QMI. I’ve followed the QMI tutorial, which results in quectel-CM installed in the pi-user’s home-directory (weird? lol?). I can successfully run quectel-CM, which is promising.

Unfortunately, I get this output:

[07-11_01:13:41:410] Quectel_QConnectManager_Linux_V1.5.9
[07-11_01:13:41:412] Find /sys/bus/usb/devices/1-1.2 idVendor=0x2c7c idProduct=0x306, bus=0x001, dev=0x004
[07-11_01:13:41:413] Auto find qmichannel = /dev/cdc-wdm0
[07-11_01:13:41:413] Auto find usbnet_adapter = wwan0
[07-11_01:13:41:413] netcard driver = qmi_wwan, driver version = 22-Aug-2005
[07-11_01:13:41:414] Modem works in QMI mode
[07-11_01:13:41:430] cdc_wdm_fd = 7
[07-11_01:13:41:590] Get clientWDS = 20
[07-11_01:13:41:655] Get clientDMS = 1
[07-11_01:13:41:719] Get clientNAS = 2
[07-11_01:13:41:783] Get clientUIM = 2
[07-11_01:13:41:847] Get clientWDA = 1
[07-11_01:13:41:913] requestBaseBandVersion EP06ALAR02A07M4G
[07-11_01:13:42:166] requestGetSIMStatus SIMStatus: SIM_READY
[07-11_01:13:42:166] requestSetProfile[1] VZWINTERNET///0
[07-11_01:13:42:294] requestGetProfile[1] VZWINTERNET///0
[07-11_01:13:42:358] requestRegistrationState2 MCC: 311, MNC: 480, PS: Detached, DataCap: UNKNOW
[07-11_01:13:42:422] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[07-11_01:13:42:423] ifconfig wwan0 down
[07-11_01:13:42:448] ifconfig wwan0 0.0.0.0

At this point, the script hangs; no further output is produced. If I open a second SSH connection
and chech ifconfig

pi@raspberrypi:~ $ ifconfig wwan0
wwan0: flags=4291<UP,BROADCAST,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 169.254.227.1  netmask 255.255.0.0  broadcast 169.254.255.255
        inet6 fe80::b0f2:3cd8:66b7:c51e  prefixlen 64  scopeid 0x20<link>
        ether ae:9f:d1:5f:ab:8e  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 73  bytes 16204 (15.8 KiB)
        TX errors 0  dropped 10 overruns 0  carrier 0  collisions 0

Finally, ping:

pi@raspberrypi:~ $ ping -I wwan0 -c 5 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 169.254.227.1 wwan0: 56(84) bytes of data.

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 177ms

I’m not sure what else to try. I’m sitting in a high-reception area, with port M1(??) on my EP06-A connected to a Browning BR-2430 antenna on the outside of my vehicle. What should I do next to get this puppy working??

1 Like

Hello,

Is the module registered under the Verizon network?
Could you please try with a different operator?

What are the output of the following AT commands?
AT+CSQ
AT+COPS?
AT+CREG?
AT+QNWINFO

Hey, I’m in the same boat as @ELLIOTTCABLE. The only difference is that my code does not hang up after ifconfig wwan0

[07-27_16:49:20:012] Quectel_QConnectManager_Linux_V1.5.9
[07-27_16:49:20:015] Find /sys/bus/usb/devices/1-1.4 idVendor=0x2c7c idProduct=0x125, bus=0x001, dev=0x004
[07-27_16:49:20:016] Auto find qmichannel = /dev/cdc-wdm0
[07-27_16:49:20:016] Auto find usbnet_adapter = wwan0
[07-27_16:49:20:016] netcard driver = qmi_wwan, driver version = 22-Aug-2005
[07-27_16:49:20:017] Modem works in QMI mode
[07-27_16:49:20:040] cdc_wdm_fd = 7
[07-27_16:49:20:139] Get clientWDS = 19
[07-27_16:49:20:171] Get clientDMS = 1
[07-27_16:49:20:203] Get clientNAS = 3
[07-27_16:49:20:235] Get clientUIM = 1
[07-27_16:49:20:267] Get clientWDA = 1
[07-27_16:49:20:299] requestBaseBandVersion EC25AFAR05A04M4G
[07-27_16:49:20:427] requestGetSIMStatus SIMStatus: SIM_READY
[07-27_16:49:20:427] requestSetProfile[1] NXTGENPHONE///0
[07-27_16:49:20:523] requestGetProfile[1] NXTGENPHONE///0
[07-27_16:49:20:555] requestRegistrationState2 MCC: 310, MNC: 410, PS: Attached, DataCap: LTE
[07-27_16:49:20:587] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[07-27_16:49:20:587] ifconfig wwan0 down
[07-27_16:49:20:602] ifconfig wwan0 0.0.0.0
[07-27_16:49:20:875] requestSetupDataCall QMUXResult = 0x1, QMUXError = 0xe
[07-27_16:49:20:875] call_end_reason is 1018
[07-27_16:49:20:875] call_end_reason_type is 6
[07-27_16:49:20:876] call_end_reason_verbose is 33
[07-27_16:49:20:876] try to requestSetupDataCall 5 second later
[07-27_16:49:26:092] requestSetupDataCall QMUXResult = 0x1, QMUXError = 0xe
[07-27_16:49:26:092] call_end_reason is 1018
[07-27_16:49:26:092] call_end_reason_type is 6
[07-27_16:49:26:092] call_end_reason_verbose is 33
[07-27_16:49:26:092] try to requestSetupDataCall 10 second later

I get the same error as @ELLIOTTCABLE when I ping and run ifconfig. I did notice something interesting a few minutes ago though. When I look at the wifi connection settings I do see that wwan0 is associated with an unnamed network and it does have a configured IP address.

I am new with doing anything that involves cellular connection so I do not know how to run the AT commands that were recommended. I am running everything through terminal on a Raspberry Pi 4. I am also using an AT&T SIM card and a EC25-A LTE module. Any recommendations would be greatly appreciated.

I too am having this issue. I’m on a raspberry pi 4b with the included Twilio SIM card and an EC25-A module. At step 13 of the “QMI Interface with Base HAT” tutorial, I get the following output after running sudo ./quectel-CM -s wireless.twilio.com .

[07-27_17:23:14:149] QmiWwanThread poll err/hup/inval
[07-27_17:23:14:149] poll fd = 7, events = 0x0008
[07-27_17:23:14:149] QmiWwanThread poll err/hup/inval
[07-27_17:23:14:149] poll fd = 7, events = 0x0008
[07-27_17:23:14:149] QmiWwanThread poll err/hup/inval
[07-27_17:23:14:149] poll fd = 7, events = 0x0008
[07-27_17:23:14:149] QmiWwanThread poll err/hup/inval
[07-27_17:23:14:149] poll fd = 7, events = 0x0008
[07-27_17:23:14:149] QmiWwanThread poll err/hup/inval
[07-27_17:23:14:149] QmiWwanSendQMI write=-1, errno: 5 
(Input/output error)
[07-27_17:23:14:149] poll fd = 7, events = 0x0008
[07-27_17:23:15:149] qmi_main Failed to qmi init: 5 
(Input/output error)

This error outputs repeatedly until I kill the process. Also, I put the SIM card in my iPhone, set the APN to wireless.twilio.com, and was able to access the internet successfully. However I cant get a response via ping -I wwan0 -c 5 8.8.8.8 .

So I did make some progress in getting this resolved. I checked with AT&T yesterday and they confirmed that they messed things up and forgot to link my SIM card to a plan that had data. The SIM card was linked to a Text and Call plan. They added data and now it works better.

I did come across a new issue with not being able to lease an IP address and this thread was able to fix that.

I fixed this!

I was trying this on a raspberry pi 4B (8GB RAM edition) and couldn’t get it to work for the life of me. I tried rebooting from another SD card from my other pi 4B (4GB RAM edition), but the 8GB RAM pi wouldn’t boot and threw an error about “this board needs a newer rasberry pi OS”. I then retried it with the pi 4B 4GB RAM and it worked like a charm!

Interesting, so you used the same SD card but you ran it on a different Pi 4? Did you have to update the OS at all or did you just run the script?

I have two raspberry pi 4’s, an 8GB edition and 4GB edition, each of which came with their own SD card (preinstalled with noobs). The SD card that came with the 4GB pi would not boot when inserted into the 8GB pi. Therefore, I had to mount my sixfab LTE/4G hat on my 4GB pi and use the SD card that the 4GB pi originally came with.

Both SD cards are formatted with “Raspberry Pi OS (32-bit)”, so I’ll have to do a bit of digging to see why the SD card that came with the 8GB pi wont work.

Hi can you describe excactly how I add denyinterfaces. Here it is quite confunsing how to do so. please, thank you. Thomas