I am again having different trouble about my 4G modem on the GL-Ix750 Router
I can do this:
picocom -b 115200 -r -l /dev/ttyUSB3
AT+CPIN?
+CPIN: READY
OK
AT+CGREG?
+CGREG: 0,1
OK
AT+COPS?
+COPS: 0,0,"vodafone GR",2
OK
AT+QSPN
+QSPN: "vodafone GR","voda GR","",0,"20205"
OK
AT+CGDCONT?
+CGDCONT: 1,"IPV4V6","","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 2,"IPV4V6","ims","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
+CGDCONT: 3,"IPV4V6","sos","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,1
OK
AT+CGACT?
+CGACT: 1,0
+CGACT: 2,0
+CGACT: 3,0
OK
and use AT commands just fine, but it's not possible to do any kind of qmi command.
So there is no response to any of those:
uqmi -d /dev/cdc-wdm0 --network-scan
uqmi -d /dev/cdc-wdm0 --get-data-status
uqmi -d /dev/cdc-wdm0 --get-current-settings
uqmi -d /dev/cdc-wdm0 --get-serving-system
uqmi -d /dev/cdc-wdm0 --get-signal-info
internes Profil
here the dmesg:
root@OpenWrt:~# dmesg
[ 0.000000] Linux version 5.4.188 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16554-1d4dea6d4f)) #0 Sat Apr 16 12:59:34 2022
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] MIPS: machine is GL.iNet GL-X750
[ 0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] Normal zone: 288 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 122188K/131072K available (5259K kernel code, 192K rwdata, 688K rodata, 1212K init, 205K bss, 8884K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 51
[ 0.000000] random: get_random_bytes called from 0x80661a28 with crng_init=0
[ 0.000000] CPU clock: 650.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
[ 0.000008] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
[ 0.008252] Calibrating delay loop... 431.10 BogoMIPS (lpj=862208)
[ 0.042734] pid_max: default: 32768 minimum: 301
[ 0.047774] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.055489] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.068239] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.078564] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.085869] pinctrl core: initialized pinctrl subsystem
[ 0.094153] NET: Registered protocol family 16
[ 0.128990] clocksource: Switched to clocksource MIPS
[ 0.135400] thermal_sys: Registered thermal governor 'step_wise'
[ 0.135769] NET: Registered protocol family 2
[ 0.146930] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.155409] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.164314] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.172411] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.179859] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.186721] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.193677] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.201325] NET: Registered protocol family 1
[ 0.205987] PCI: CLS 0 bytes, default 32
[ 0.214416] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.228742] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.234947] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.260175] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.272425] pinctrl-single 1804002c.pinmux: 576 pins, size 72
[ 0.279601] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.288860] printk: console [ttyS0] disabled
[ 0.293481] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[ 0.302590] printk: console [ttyS0] enabled
[ 0.311653] printk: bootconsole [early0] disabled
[ 0.340872] spi-nor spi0.0: w25q128 (16384 Kbytes)
[ 0.345908] 4 fixed-partitions partitions found on MTD device spi0.0
[ 0.352476] Creating 4 MTD partitions on "spi0.0":
[ 0.357454] 0x000000000000-0x000000040000 : "u-boot"
[ 0.363641] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.370148] 0x000000050000-0x000000060000 : "art"
[ 0.376042] 0x000000060000-0x000001000000 : "firmware"
[ 0.386155] 2 uimage-fw partitions found on MTD device firmware
[ 0.392334] Creating 2 MTD partitions on "firmware":
[ 0.397483] 0x000000000000-0x000000200000 : "kernel"
[ 0.403578] 0x000000200000-0x000000fa0000 : "rootfs"
[ 0.409727] mtd: device 5 (rootfs) set to be root filesystem
[ 0.417641] 1 squashfs-split partitions found on MTD device rootfs
[ 0.424094] 0x000000580000-0x000000fa0000 : "rootfs_data"
[ 0.766082] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[ 1.160981] random: fast init done
[ 1.416055] switch0: Atheros AR8229 rev. 1 switch registered on mdio.0
[ 1.464699] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 1.474703] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[ 1.481427] i2c /dev entries driver
[ 1.487658] NET: Registered protocol family 10
[ 1.498757] Segment Routing with IPv6
[ 1.502744] NET: Registered protocol family 17
[ 1.507434] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.520834] 8021q: 802.1Q VLAN Support v1.8
[ 1.526155] PCI host bridge /ahb/pcie-controller@180c0000 ranges:
[ 1.532545] MEM 0x0000000010000000..0x0000000013ffffff
[ 1.537957] IO 0x0000000000000000..0x0000000000000000
[ 1.543566] PCI host bridge to bus 0000:00
[ 1.547842] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 1.554951] pci_bus 0000:00: root bus resource [io 0x0000]
[ 1.560715] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 1.567737] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.575959] pci 0000:00:00.0: [168c:0050] type 00 class 0x028000
[ 1.582231] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[ 1.589300] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 1.596314] pci 0000:00:00.0: supports D1
[ 1.600472] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 1.607473] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 1.614368] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
[ 1.621951] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
[ 1.947075] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:04 [uid=004dd042, driver=Generic PHY]
[ 1.957545] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[ 1.964736] hctosys: unable to open rtc device (rtc0)
[ 1.976755] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[ 1.991565] Freeing unused kernel memory: 1212K
[ 1.996275] This architecture does not have kernel memory protection.
[ 2.002936] Run /sbin/init as init process
[ 2.615810] init: Console is alive
[ 2.619669] init: - watchdog -
[ 3.891815] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.940698] usbcore: registered new interface driver usbfs
[ 3.946517] usbcore: registered new interface driver hub
[ 3.952128] usbcore: registered new device driver usb
[ 3.963722] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.972260] ehci-fsl: Freescale EHCI Host controller driver
[ 3.979560] ehci-platform: EHCI generic platform driver
[ 3.985323] ehci-platform 1b000000.usb: EHCI Host Controller
[ 3.991242] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[ 3.999469] ehci-platform 1b000000.usb: irq 3, io mem 0x1b000000
[ 4.021006] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[ 4.028309] hub 1-0:1.0: USB hub found
[ 4.032666] hub 1-0:1.0: 1 port detected
[ 4.039976] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.058485] init: - preinit -
[ 4.375953] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 4.684176] hub 1-1:1.0: USB hub found
[ 4.838840] hub 1-1:1.0: 4 ports detected
[ 4.960888] random: procd: uninitialized urandom read (4 bytes read)
[ 5.401083] usb 1-1.1: new high-speed USB device number 3 using ehci-platform
[ 5.637137] usb 1-1.2: new high-speed USB device number 4 using ehci-platform
[ 5.708335] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.020740] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.076637] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.130963] random: jshn: uninitialized urandom read (4 bytes read)
[ 6.304137] eth0: link up (1000Mbps/Full duplex)
[ 6.316155] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 10.697972] jffs2: notice: (576) jffs2_build_xattr_subsystem: complete building xattr subsystem, 64 of xdatum (40 unchecked, 24 orphan) and 84 of xref (24 dead, 0 orphan) found.
[ 10.720402] mount_root: switching to jffs2 overlay
[ 10.731339] overlayfs: upper fs does not support tmpfile.
[ 10.746606] urandom-seed: Seeding with /etc/urandom.seed
[ 10.851227] eth0: link down
[ 10.868947] procd: - early -
[ 10.872118] procd: - watchdog -
[ 11.475429] urandom_read: 3 callbacks suppressed
[ 11.475438] random: jshn: uninitialized urandom read (4 bytes read)
[ 11.572410] procd: - watchdog -
[ 11.582563] procd: - ubus -
[ 11.797359] random: ubusd: uninitialized urandom read (4 bytes read)
[ 11.824921] procd: - init -
[ 14.450488] urngd: v1.0.2 started.
[ 14.530208] kmodloader: loading kernel modules from /etc/modules.d/*
[ 14.636390] usbcore: registered new interface driver cdc_wdm
[ 14.966717] Loading modules backported from Linux version v5.10.110-0-g3238bffaf992
[ 14.974699] Backport generated by backports.git v5.10.110-1-0-g1fbde860
[ 15.016137] crng init done
[ 15.224615] usbcore: registered new interface driver usbserial_generic
[ 15.231538] usbserial: USB Serial support registered for generic
[ 15.297970] xt_time: kernel timezone is -0000
[ 15.672414] PPP generic driver version 2.4.2
[ 15.694364] NET: Registered protocol family 24
[ 15.729258] qmi_wwan 1-1.2:1.4: cdc-wdm0: USB WDM device
[ 15.745956] qmi_wwan 1-1.2:1.4 wwan0: register 'qmi_wwan' at usb-1b000000.usb-1.2, WWAN/QMI device, 22:ee:e1:52:b4:43
[ 15.757227] usbcore: registered new interface driver qmi_wwan
[ 15.917373] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[ 15.925525] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[ 16.104524] ath10k 5.10 driver, optimized for CT firmware, probing pci device: 0x50.
[ 16.142286] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[ 16.148963] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 21.692287] ath10k_pci 0000:00:00.0: qca9887 hw1.0 target 0x4100016d chip_id 0x004000ff sub 0000:0000
[ 21.701896] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 21.715090] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-87-__fW-022-ecad3248 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 61a92df5
[ 22.116380] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 546cca0d
[ 23.094411] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[ 23.108943] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[ 23.115494] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424 sw-crypt: 0 ct-sta: 0'
[ 23.123802] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 25560 iram: 24780'
[ 23.160198] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[ 23.170451] ath10k_pci 0000:00:00.0: NOTE: Firmware DBGLOG output disabled in debug_mask: 0x10000000
[ 23.281015] ath: EEPROM regdomain: 0x0
[ 23.281024] ath: EEPROM indicates default country code should be used
[ 23.281027] ath: doing EEPROM country->regdmn map search
[ 23.281040] ath: country maps to regdmn code: 0x3a
[ 23.281046] ath: Country alpha2 being used: US
[ 23.281049] ath: Regpair used: 0x3a
[ 23.345430] usbcore: registered new interface driver option
[ 23.351352] usbserial: USB Serial support registered for GSM modem (1-port)
[ 23.359226] option 1-1.2:1.0: GSM modem (1-port) converter detected
[ 23.366029] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0
[ 23.373670] option 1-1.2:1.1: GSM modem (1-port) converter detected
[ 23.380487] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1
[ 23.388122] option 1-1.2:1.2: GSM modem (1-port) converter detected
[ 23.394947] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2
[ 23.402584] option 1-1.2:1.3: GSM modem (1-port) converter detected
[ 23.409426] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB3
[ 23.547314] ath: EEPROM regdomain: 0x0
[ 23.547324] ath: EEPROM indicates default country code should be used
[ 23.547327] ath: doing EEPROM country->regdmn map search
[ 23.547342] ath: country maps to regdmn code: 0x3a
[ 23.547347] ath: Country alpha2 being used: US
[ 23.547350] ath: Regpair used: 0x3a
[ 23.559844] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 23.562223] ieee80211 phy1: Atheros AR9531 Rev:2 mem=0xb8100000, irq=13
[ 23.601487] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 42.189039] eth0: link up (1000Mbps/Full duplex)
[ 42.194564] br-lan: port 1(eth0) entered blocking state
[ 42.200051] br-lan: port 1(eth0) entered disabled state
[ 42.205820] device eth0 entered promiscuous mode
[ 42.233160] br-lan: port 1(eth0) entered blocking state
[ 42.238601] br-lan: port 1(eth0) entered forwarding state
[ 43.201088] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 46.954274] wlan1: authenticate with da:0b:e1:4f:2c:55
[ 46.973231] wlan1: send auth to da:0b:e1:4f:2c:55 (try 1/3)
[ 46.984662] wlan1: authenticated
[ 46.989206] wlan1: associate with da:0b:e1:4f:2c:55 (try 1/3)
[ 47.023954] wlan1: RX AssocResp from da:0b:e1:4f:2c:55 (capab=0x1431 status=0 aid=8)
[ 47.032256] wlan1: associated
[ 47.051743] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready