I am trying to get the 3g/4g/LTE HAT with Telit LE910c4-nf to connect using OpenWRT on a raspberry pi (so not PiOS) AND using the sixfab SIM. While everything looks like it is up, i am not able to ping or access the internet. If i switch the wan to the wireless everything starts working impling openwrt is setup correctly. I did register and enabled the asset in the connect portal as well as installing the core on a raspberry pi OS to confirm it did work. The AT commands seem to imply everything is configured and registered correctly with the carrier (it switches between att and tmobile) so i have no idea what could be wrong. data dump below
Raspberry Pi 4 Model B
QMI mode
sixfab 3g-4g/lte hat
telit le910c4-nf
sixfab sim using apn ‘super’ but did install the core on another raspberry pi sd card and confirmed working but not planning on using the core software since this needs to run on openwrt and not raspberry pi os
root@OpenWrt:~# ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
^C
--- 1.1.1.1 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
root@OpenWrt:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 100.82.240.5 0.0.0.0 UG 0 0 0 wwan0
100.82.240.0 0.0.0.0 255.255.255.248 U 0 0 0 wwan0
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan
root@OpenWrt:~# ping -I wwan0 1.1.1.1
PING 1.1.1.1 (1.1.1.1): 56 data bytes
^C
--- 1.1.1.1 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
root@OpenWrt:~# uname -a
Linux OpenWrt 5.15.150 #0 SMP Fri Mar 22 22:09:42 2024 aarch64 GNU/Linux
root@OpenWrt:~# dmesg | grep tty
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 smsc95xx.macaddr=<censored> vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=squashfs,ext4 rootwait
[ 0.000530] printk: console [tty1] enabled
[ 0.581823] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 17, base_baud = 0) is a PL011 rev2
[ 0.842077] printk: console [ttyAMA0] enabled
[ 6.176099] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[ 6.193282] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
[ 6.210648] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
[ 6.227853] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3
[ 6.245180] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB4
===
root@OpenWrt:~# ls -l /sys/bus/usb-serial/devices
lrwxrwxrwx 1 root root 0 Aug 3 21:42 ttyUSB0 -> ../../../devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.0/ttyUSB0
lrwxrwxrwx 1 root root 0 Aug 3 21:42 ttyUSB1 -> ../../../devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.3/ttyUSB1
lrwxrwxrwx 1 root root 0 Aug 3 21:42 ttyUSB2 -> ../../../devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.4/ttyUSB2
lrwxrwxrwx 1 root root 0 Aug 3 21:42 ttyUSB3 -> ../../../devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.5/ttyUSB3
lrwxrwxrwx 1 root root 0 Aug 3 21:42 ttyUSB4 -> ../../../devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.2/1-1.2:1.6/ttyUSB4
===
root@OpenWrt:~# qmicli -d /dev/cdc-wdm0 --dms-get-operating-mode
[/dev/cdc-wdm0] Operating mode retrieved:
Mode: 'online'
HW restricted: 'no'
root@OpenWrt:~# qmicli -d /dev/cdc-wdm0 --nas-get-serving-system
[/dev/cdc-wdm0] Successfully got serving system:
Registration state: 'registered'
CS: 'attached'
PS: 'attached'
Selected network: '3gpp'
Radio interfaces: '1'
[0]: 'lte'
Roaming status: 'on'
Data service capabilities: '1'
[0]: 'lte'
Current PLMN:
MCC: '310'
MNC: '410'
Description: 'AT&T'
Roaming indicators: '1'
[0]: 'on' (lte)
Detailed status:
Status: 'available'
Capability: 'cs-ps'
HDR Status: 'none'
HDR Hybrid: 'no'
Forbidden: 'no'
Full operator code info:
MCC: '310'
MNC: '410'
MNC with PCS digit: 'yes'
root@OpenWrt:~# qmicli -d /dev/cdc-wdm0 --nas-get-home-network
[/dev/cdc-wdm0] Successfully got home network:
Home network:
MCC: '234'
MNC: '10'
Description: 'O2 - UK'
Network name source: se13
root@OpenWrt:~# qmicli -d /dev/cdc-wdm0 --wda-get-data-format
[/dev/cdc-wdm0] Successfully got data format
QoS flow header: no
Link layer protocol: 'raw-ip'
Uplink data aggregation protocol: 'disabled'
Downlink data aggregation protocol: 'disabled'
NDP signature: '0'
Downlink data aggregation max datagrams: '0'
Downlink data aggregation max size: '0'
===
at#usbcfg?
#USBCFG: 0
OK
at+cgmr
M0F.660012
OK
at+cpin?
+CPIN: READY
OK
at+cops?
+COPS: 0,0,"AT&T",7
OK
at+csq
+CSQ: 17,2
OK
at+creg?
+CREG: 0,5
OK
at+cgdcont?
+CGDCONT: 1,"IPV4V6","super","",0,0,0,0
+CGDCONT: 2,"IPV4V6","ims","",0,0,0,0
+CGDCONT: 3,"IPV4V6","sos","",0,0,0,1
+CGDCONT: 4,"IPV4V6","attm2mglobal","",0,0,0,0
OK
at#swpkgv
25.21.662-P0F.662900
M0F.660012
P0F.662900
A0F.660012
OK
at+cfun?
+CFUN: 1
OK
at+cgatt?
+CGATT: 1
OK
at+gmm
LE910C4-NF
at#cgpaddr=
#CGPADDR: 1,"100.82.214.151"
#CGPADDR: 2,""
#CGPADDR: 3,""
#CGPADDR: 4,""
===
root@OpenWrt:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 100.82.240.5 0.0.0.0 UG 0 0 0 wwan0
100.82.240.0 0.0.0.0 255.255.255.248 U 0 0 0 wwan0
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan
===
root@OpenWrt:~# ip a (mac address removed)
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan state UP qlen 1000
3: wwan0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN qlen 1000
link/[65534]
inet 100.82.240.4/29 brd 100.82.240.7 scope global wwan0
valid_lft forever preferred_lft forever
4: phy0-sta0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP qlen 1000
9: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
inet 192.168.10.1/24 brd 192.168.10.255 scope global br-lan
valid_lft forever preferred_lft forever
===
root@OpenWrt:~# cat /etc/os-release
NAME="OpenWrt"
VERSION="23.05.3"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 23.05.3"
VERSION_ID="23.05.3"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r23809-234f1a2efa"
OPENWRT_BOARD="bcm27xx/bcm2711"
OPENWRT_ARCH="aarch64_cortex-a72"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 23.05.3 r23809-234f1a2efa"
===
root@OpenWrt:~# opkg list-installed
base-files - 1554-r23809-234f1a2efa
bcm27xx-gpu-fw - 2024-01-11-0968de28716a9b1f106b8492646d0ed0a2800152
bcm27xx-userland - 96a7334ae9d5fc9db7ac92e59852377df63f1848-1
brcmfmac-firmware-usb - 20230804-1
brcmfmac-nvram-43455-sdio - 20230804-1
busybox - 1.36.1-1
ca-bundle - 20230311-1
cgi-io - 2022-08-10-901b0f04-21
cypress-firmware-43455-sdio - 5.10.9-2022_0909-1
dnsmasq - 2.90-2
dropbear - 2022.82-6
e2fsprogs - 1.47.0-2
firewall4 - 2023-09-01-598d9fbb-1
fstools - 2023-02-28-bfe882d5-1
fwtool - 2019-11-12-8f7fe925-1
getrandom - 2022-08-13-4c7b720b-2
glib2 - 2.74.0-5
hostapd-common - 2023-09-08-e5ccbfc6-6
iw - 5.19-1
iwinfo - 2023-07-01-ca79f641-1
jansson4 - 2.14-3
jshn - 2023-05-23-75a3b870-1
jsonfilter - 2024-01-23-594cfa86-1
kernel - 5.15.150-1-bd9c06a169c49b7613087c1d65b97108
kmod-brcmfmac - 5.15.150+6.1.24-3
kmod-brcmutil - 5.15.150+6.1.24-3
kmod-cfg80211 - 5.15.150+6.1.24-3
kmod-crypto-acompress - 5.15.150-1
kmod-crypto-crc32c - 5.15.150-1
kmod-crypto-hash - 5.15.150-1
kmod-fixed-phy - 5.15.150-1
kmod-fs-vfat - 5.15.150-1
kmod-hid - 5.15.150-1
kmod-hid-generic - 5.15.150-1
kmod-input-core - 5.15.150-1
kmod-input-evdev - 5.15.150-1
kmod-lib-crc-ccitt - 5.15.150-1
kmod-lib-crc32c - 5.15.150-1
kmod-lib-lzo - 5.15.150-1
kmod-libphy - 5.15.150-1
kmod-mdio-devres - 5.15.150-1
kmod-mii - 5.15.150-1
kmod-mmc - 5.15.150-1
kmod-nf-conntrack - 5.15.150-1
kmod-nf-conntrack6 - 5.15.150-1
kmod-nf-flow - 5.15.150-1
kmod-nf-log - 5.15.150-1
kmod-nf-log6 - 5.15.150-1
kmod-nf-nat - 5.15.150-1
kmod-nf-reject - 5.15.150-1
kmod-nf-reject6 - 5.15.150-1
kmod-nfnetlink - 5.15.150-1
kmod-nft-core - 5.15.150-1
kmod-nft-fib - 5.15.150-1
kmod-nft-nat - 5.15.150-1
kmod-nft-offload - 5.15.150-1
kmod-nls-base - 5.15.150-1
kmod-nls-cp437 - 5.15.150-1
kmod-nls-iso8859-1 - 5.15.150-1
kmod-nls-utf8 - 5.15.150-1
kmod-of-mdio - 5.15.150-1
kmod-phy-microchip - 5.15.150-1
kmod-phy-realtek - 5.15.150-1
kmod-ppp - 5.15.150-1
kmod-pppoe - 5.15.150-1
kmod-pppox - 5.15.150-1
kmod-r8169 - 5.15.150-1
kmod-slhc - 5.15.150-1
kmod-sound-arm-bcm2835 - 5.15.150-1
kmod-sound-core - 5.15.150-1
kmod-usb-core - 5.15.150-1
kmod-usb-hid - 5.15.150-1
kmod-usb-net - 5.15.150-1
kmod-usb-net-lan78xx - 5.15.150-1
kmod-usb-net-qmi-wwan - 5.15.150-1
kmod-usb-serial - 5.15.150-1
kmod-usb-serial-option - 5.15.150-1
kmod-usb-serial-wwan - 5.15.150-1
kmod-usb-wdm - 5.15.150-1
libattr - 2.5.1-1
libblkid1 - 2.39-2
libblobmsg-json20230523 - 2023-05-23-75a3b870-1
libc - 1.2.4-4
libcomerr0 - 1.47.0-2
libext2fs2 - 1.47.0-2
libf2fs6 - 1.16.0-1
libffi - 3.4.2-2
libgcc1 - 12.3.0-4
libiwinfo-data - 2023-07-01-ca79f641-1
libiwinfo20230701 - 2023-07-01-ca79f641-1
libjson-c5 - 0.16-3
libjson-script20230523 - 2023-05-23-75a3b870-1
liblucihttp-ucode - 2023-03-15-9b5b683f-1
liblucihttp0 - 2023-03-15-9b5b683f-1
libmbedtls12 - 2.28.7-2
libmbim - 1.28.4-1
libmnl0 - 1.0.5-1
libnftnl11 - 1.2.6-1
libnl-tiny1 - 2023-07-27-bc92a280-1
libpcre2 - 10.42-1
libpthread - 1.2.4-4
libqmi - 1.32.4-1
libqrtr-glib - 1.2.2-3
librt - 1.2.4-4
libsmartcols1 - 2.39-2
libss2 - 1.47.0-2
libubox20230523 - 2023-05-23-75a3b870-1
libubus20230605 - 2023-06-05-f787c97b-1
libuci20130104 - 2023-08-10-5781664d-1
libuclient20201210 - 2023-04-13-007d9454-1
libucode20230711 - 2023-11-07-a6e75e02-1
libustream-mbedtls20201210 - 2023-02-25-498f6e26-1
libuuid1 - 2.39-2
logd - 2022-08-13-4c7b720b-2
luci - git-23.051.66410-a505bb1
luci-app-firewall - git-24.067.01746-69867db
luci-app-opkg - git-24.043.63812-c89a68b
luci-base - git-24.073.29889-cd7e519
luci-light - git-23.024.33244-34dee82
luci-mod-admin-full - git-19.253.48496-3f93650
luci-mod-network - git-24.075.44893-ac63bea
luci-mod-status - git-24.064.82650-3cbf270
luci-mod-system - git-24.067.01860-7a82b2f
luci-proto-ipv6 - git-23.355.78874-80140aa
luci-proto-ppp - git-21.158.38888-88b9d84
luci-proto-qmi - git-24.087.04037-98843bf
luci-ssl - git-23.035.26083-7550ad6
luci-theme-bootstrap - git-24.072.69878-ca51167
mkf2fs - 1.16.0-1
mtd - 26
netifd - 2024-01-04-c18cc79d-1
nftables-json - 1.0.8-1
odhcp6c - 2023-05-12-bcd28363-20
odhcpd-ipv6only - 2023-10-24-d8118f6e-1
openwrt-keyring - 2022-03-25-62471e69-2
opkg - 2022-02-24-d038e5b6-2
partx-utils - 2.39-2
picocom - 3.1-5
ppp - 2.4.9.git-2021-01-04-4
ppp-mod-pppoe - 2.4.9.git-2021-01-04-4
procd - 2023-06-25-2db83655-2
procd-seccomp - 2023-06-25-2db83655-2
procd-ujail - 2023-06-25-2db83655-2
px5g-mbedtls - 10
qmi-utils - 1.32.4-1
r8169-firmware - 20230804-1
rpcd - 2023-07-01-c07ab2f9-1
rpcd-mod-file - 2023-07-01-c07ab2f9-1
rpcd-mod-iwinfo - 2023-07-01-c07ab2f9-1
rpcd-mod-luci - 20240305-1
rpcd-mod-rrdns - 20170710
rpcd-mod-ucode - 2023-07-01-c07ab2f9-1
ubox - 2022-08-13-4c7b720b-2
ubus - 2023-06-05-f787c97b-1
ubusd - 2023-06-05-f787c97b-1
uci - 2023-08-10-5781664d-1
uclient-fetch - 2023-04-13-007d9454-1
ucode - 2023-11-07-a6e75e02-1
ucode-mod-fs - 2023-11-07-a6e75e02-1
ucode-mod-html - 1
ucode-mod-math - 2023-11-07-a6e75e02-1
ucode-mod-nl80211 - 2023-11-07-a6e75e02-1
ucode-mod-rtnl - 2023-11-07-a6e75e02-1
ucode-mod-ubus - 2023-11-07-a6e75e02-1
ucode-mod-uci - 2023-11-07-a6e75e02-1
ucode-mod-uloop - 2023-11-07-a6e75e02-1
uhttpd - 2023-06-25-34a8a74d-2
uhttpd-mod-ubus - 2023-06-25-34a8a74d-2
uqmi - 2022-10-20-c8c9f105-1
urandom-seed - 3
usign - 2020-05-23-f1f65026-1
wireless-regdb - 2024.01.23-1
wpad-basic-mbedtls - 2023-09-08-e5ccbfc6-6
wwan - 2019-04-29-6
zlib - 1.2.13-1