I have tried both the qmi and the AT methods. With qmi I am able to get an IP address I think from T-Mobile, but a ping -I wwan0 to any IP doesn’t work. Pinging with -I eth0 does work. LE910C4-NF module.
I’ve tried QMI and ECM with no luck. Below are the commands requested by the support page:
> root@rpanion:/sys/class/net/wwan0/qmi# cat /etc/os-release
> PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
> NAME="Debian GNU/Linux"
> VERSION_ID="12"
> VERSION="12 (bookworm)"
> VERSION_CODENAME=bookworm
> ID=debian
> HOME_URL="https://www.debian.org/"
> SUPPORT_URL="https://www.debian.org/support"
> BUG_REPORT_URL="https://bugs.debian.org/"
> root@rpanion:/sys/class/net/wwan0/qmi# uname -a
> Linux rpanion 6.6.62+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.62-1+rpt1 (2024-11-25) aarch64 GNU/Linux
> root@rpanion:/sys/class/net/wwan0/qmi# lsusb
> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 003 Device 004: ID 1bc7:1206 Telit Wireless Solutions LE910C4-NF
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> root@rpanion:/sys/class/net/wwan0/qmi# lsusb -t
> /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/2p, 480M
> |__ Port 1: Dev 4, If 0, Class=Vendor Specific Class, Driver=option, 480M
> |__ Port 1: Dev 4, If 1, Class=Vendor Specific Class, Driver=, 480M
> |__ Port 1: Dev 4, If 2, Class=Communications, Driver=cdc_ether, 480M
> |__ Port 1: Dev 4, If 3, Class=CDC Data, Driver=cdc_ether, 480M
> |__ Port 1: Dev 4, If 4, Class=Vendor Specific Class, Driver=option, 480M
> |__ Port 1: Dev 4, If 5, Class=Vendor Specific Class, Driver=option, 480M
> |__ Port 1: Dev 4, If 6, Class=Vendor Specific Class, Driver=option, 480M
> |__ Port 1: Dev 4, If 7, Class=Vendor Specific Class, Driver=option, 480M
> /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/2p, 480M
> root@rpanion:/sys/class/net/wwan0/qmi# usb-devices
>
> T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 2
> D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
> P: Vendor=1d6b ProdID=0002 Rev=06.06
> S: Manufacturer=Linux 6.6.62+rpt-rpi-2712 xhci-hcd
> S: Product=xHCI Host Controller
> S: SerialNumber=xhci-hcd.0
> C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
>
> T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1
> D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
> P: Vendor=1d6b ProdID=0003 Rev=06.06
> S: Manufacturer=Linux 6.6.62+rpt-rpi-2712 xhci-hcd
> S: Product=xHCI Host Controller
> S: SerialNumber=xhci-hcd.0
> C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
>
> T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 2
> D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
> P: Vendor=1d6b ProdID=0002 Rev=06.06
> S: Manufacturer=Linux 6.6.62+rpt-rpi-2712 xhci-hcd
> S: Product=xHCI Host Controller
> S: SerialNumber=xhci-hcd.1
> C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
>
> T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
> D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
> P: Vendor=1bc7 ProdID=1206 Rev=03.18
> S: Manufacturer=Android
> S: Product=LE910C4-NF
> S: SerialNumber=0123456789ABCDEF
> C: #Ifs= 8 Cfg#= 1 Atr=a0 MxPwr=500mA
> I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
> E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01 Driver=(none)
> E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> I: If#= 2 Alt= 0 #EPs= 1 Cls=02(commc) Sub=06 Prot=00 Driver=cdc_ether
> E: Ad=84(I) Atr=03(Int.) MxPS= 16 Ivl=32ms
> I: If#= 3 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
> E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> I: If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
> E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E: Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E: Ad=86(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
> I: If#= 5 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
> E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E: Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E: Ad=88(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
> I: If#= 6 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
> E: Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E: Ad=89(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E: Ad=8a(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
> I: If#= 7 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
> E: Ad=07(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E: Ad=8b(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
> E: Ad=8c(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
>
> T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1
> D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
> P: Vendor=1d6b ProdID=0003 Rev=06.06
> S: Manufacturer=Linux 6.6.62+rpt-rpi-2712 xhci-hcd
> S: Product=xHCI Host Controller
> S: SerialNumber=xhci-hcd.1
> C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
> E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
> root@rpanion:/sys/class/net/wwan0/qmi# dmesg | grep tty
> [ 0.000000] Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave numa=fake=8 system_heap.max_order=0 smsc95xx.macaddr=2C:CF:67:25:80:43 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 console=tty1 root=PARTUUID=4785879e-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=AU
> [ 0.000129] printk: console [tty1] enabled
> [ 0.010037] 107d001000.serial: ttyAMA10 at MMIO 0x107d001000 (irq = 15, base_baud = 0) is a PL011 rev2
> [ 0.250523] 107d50c000.serial: ttyS0 at MMIO 0x107d50c000 (irq = 33, base_baud = 6000000) is a Broadcom BCM7271 UART
> [ 0.250572] serial serial0: tty port ttyS0 registered
> [ 0.424195] 1f00030000.serial: ttyAMA0 at MMIO 0x1f00030000 (irq = 125, base_baud = 0) is a PL011 AXI
> [ 1.566096] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
> [ 4.486861] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
> [ 4.487155] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1
> [ 4.487348] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2
> [ 4.487514] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB3
> [ 4.487672] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB4
> [ 823.902625] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
> [ 823.947348] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
> [ 823.948006] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
> [ 823.949315] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
> [ 823.949453] option1 ttyUSB4: GSM modem (1-port) converter now disconnected from ttyUSB4
> [ 837.903238] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
> [ 837.935825] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1
> [ 837.935926] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2
> [ 837.936015] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB3
> [ 837.936097] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB4
> [ 3776.616553] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
> [ 3776.641802] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
> [ 3776.641894] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
> [ 3776.642029] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
> [ 3776.642178] option1 ttyUSB4: GSM modem (1-port) converter now disconnected from ttyUSB4
> [ 3790.693025] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
> [ 3790.696762] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1
> [ 3790.697045] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2
> [ 3790.697300] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB3
> [ 3790.697552] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB4
> root@rpanion:/sys/class/net/wwan0/qmi# ls -l /sys/bus/usb-serial/devices
> total 0
> lrwxrwxrwx 1 root root 0 Mar 2 06:54 ttyUSB0 -> ../../../devices/platform/axi/1000120000.pcie/1f00300000.usb/xhci-hcd.1/usb3/3-1/3-1:1.0/ttyUSB0
> lrwxrwxrwx 1 root root 0 Mar 2 06:54 ttyUSB1 -> ../../../devices/platform/axi/1000120000.pcie/1f00300000.usb/xhci-hcd.1/usb3/3-1/3-1:1.4/ttyUSB1
> lrwxrwxrwx 1 root root 0 Mar 2 06:54 ttyUSB2 -> ../../../devices/platform/axi/1000120000.pcie/1f00300000.usb/xhci-hcd.1/usb3/3-1/3-1:1.5/ttyUSB2
> lrwxrwxrwx 1 root root 0 Mar 2 06:54 ttyUSB3 -> ../../../devices/platform/axi/1000120000.pcie/1f00300000.usb/xhci-hcd.1/usb3/3-1/3-1:1.6/ttyUSB3
> lrwxrwxrwx 1 root root 0 Mar 2 06:54 ttyUSB4 -> ../../../devices/platform/axi/1000120000.pcie/1f00300000.usb/xhci-hcd.1/usb3/3-1/3-1:1.7/ttyUSB4
> root@rpanion:/sys/class/net/wwan0/qmi# ls -l /dev/serial/by-id
> total 0
> lrwxrwxrwx 1 root root 13 Mar 2 06:32 usb-Android_LE910C4-NF_0123456789ABCDEF-if00-port0 -> ../../ttyUSB0
> lrwxrwxrwx 1 root root 13 Mar 2 06:32 usb-Android_LE910C4-NF_0123456789ABCDEF-if04-port0 -> ../../ttyUSB1
> lrwxrwxrwx 1 root root 13 Mar 2 06:32 usb-Android_LE910C4-NF_0123456789ABCDEF-if05-port0 -> ../../ttyUSB2
> lrwxrwxrwx 1 root root 13 Mar 2 06:32 usb-Android_LE910C4-NF_0123456789ABCDEF-if06-port0 -> ../../ttyUSB3
> lrwxrwxrwx 1 root root 13 Mar 2 06:32 usb-Android_LE910C4-NF_0123456789ABCDEF-if07-port0 -> ../../ttyUSB4
>
> --------AT Commands---------
> root@rpanion:/sys/class/net/wwan0/qmi# atcom --port /dev/ttyUSB3 AT
> AT
> OK
>
> root@rpanion:/sys/class/net/wwan0/qmi# atcom --port /dev/ttyUSB3 ATI
> ATI
> 332
>
> OK
>
> root@rpanion:/sys/class/net/wwan0/qmi# atcom --port /dev/ttyUSB3 AT+CGMR
> AT+CGMR
> M0F.660012
>
> OK
>
> root@rpanion:/sys/class/net/wwan0/qmi# atcom --port /dev/ttyUSB3 AT+CPIN?
> AT+CPIN?
> +CPIN: READY
>
> OK
>
> root@rpanion:/sys/class/net/wwan0/qmi# atcom --port /dev/ttyUSB3 AT+CPAS
> AT+CPAS
> +CPAS: 0
>
> OK
>
> root@rpanion:/sys/class/net/wwan0/qmi# atcom --port /dev/ttyUSB3 AT+CFUN?
> AT+CFUN?
> +CFUN: 1
>
> OK
>
> root@rpanion:/sys/class/net/wwan0/qmi# atcom --port /dev/ttyUSB3 AT+COPS?
> AT+COPS?
> +COPS: 0,0,"T-Mobile",7
>
> OK
>
> root@rpanion:/sys/class/net/wwan0/qmi# atcom --port /dev/ttyUSB3 AT#USBCFG?
> AT#USBCFG?
> #USBCFG: 4
>
> OK
>
> root@rpanion:/sys/class/net/wwan0/qmi# atcom --port /dev/ttyUSB3 AT#BND?
> AT#BND?
> #BND: ,10,80800000000381A
>
> OK
>
> root@rpanion:/sys/class/net/wwan0/qmi# atcom --port /dev/ttyUSB3 AT+CREG?
> AT+CREG?
> +CREG: 0,5
>
> OK
>
> root@rpanion:/sys/class/net/wwan0/qmi# atcom --port /dev/ttyUSB3 AT+CGDCONT?
> 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
>
> root@rpanion:/sys/class/net/wwan0/qmi# atcom --port /dev/ttyUSB3 AT+CSQ
> AT+CSQ
> +CSQ: 24,3
>
> OK
>
> root@rpanion:/sys/class/net/wwan0/qmi# atcom --port /dev/ttyUSB3 AT+CGATT?
> AT+CGATT?
> +CGATT: 1
>
> OK
>
> root@rpanion:/sys/class/net/wwan0/qmi# atcom --port /dev/ttyUSB3 AT+GMM
> AT+GMM
> LE910C4-NF
>
> OK
>
> root@rpanion:/sys/class/net/wwan0/qmi# atcom --port /dev/ttyUSB3 AT#SWPKGV
> AT#SWPKGV
> 25.21.662-P0F.662900
> M0F.660012
> P0F.662900
> A0F.660012
>
> OK
>
> root@rpanion:/sys/class/net/wwan0/qmi# atcom --port /dev/ttyUSB3 AT#FWSWITCH?
> AT#FWSWITCH?
> #FWSWITCH: 0,0,0
>
> OK
>
> root@rpanion:/sys/class/net/wwan0/qmi# atcom --port /dev/ttyUSB3 AT+CGREG?
> AT+CGREG?
> +CGREG: 0,5
>
> OK
>
> root@rpanion:/sys/class/net/wwan0/qmi# atcom --port /dev/ttyUSB3 AT#CGPADDR=
> AT#CGPADDR=
> #CGPADDR: 1,"100.76.170.68"
> #CGPADDR: 2,""
> #CGPADDR: 3,""
> #CGPADDR: 4,""
>
> OK
>
> root@rpanion:/sys/class/net/wwan0/qmi#