I installed a usb stick with EP06-E. I wanted to have 4g support on this modem but saw that it doesn’t work in qmi mode. While if I use it on 3G, it works fine…
The strange thing is that I see both ipv4 and dns assigned by my provider but udhcp can’t open the wwan0.
I state that the stick, on ubunu I tested it with qmicli and it works correctly.
This is what I get in my AC1300:
root@GL-A1300:/lib/netifd/proto# ./qmi.sh qmi setup modem_1_1 '{"device":"/dev/cdc-wdm0","proto":"qmi","apn":"web.kenamobile.it"}'
Waiting for SIM initialization
Device does not support 802.3 mode. Informing driver of raw-ip only for wwan0 ..
Waiting for network registration
Starting network modem_1_1
Setting up wwan0
root@GL-A1300:/lib/netifd/proto# uqmi -d /dev/cdc-wdm0 --get-current-settings
{
"pdp-type": "ipv4",
"ip-family": "ipv4",
"mtu": 1500,
"ipv4": {
"ip": "10.245.213.157",
"dns1": "217.200.201.73",
"dns2": "217.200.201.72",
"gateway": "10.245.213.158",
"subnet": "255.255.255.252"
},
"ipv6": {
},
"domain-names": {
}
}
root@GL-A1300:/lib/netifd/proto# udhcpc -q -f -i wwan0
udhcpc: started, v1.33.2
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover
^C
Mon Apr 24 02:15:24 2023 daemon.notice netifd: modem_1_1 (14849): Stopping network modem_1_1
Mon Apr 24 02:15:24 2023 daemon.notice netifd: modem_1_1_4 (4964): udhcpc: received SIGTERM
Mon Apr 24 02:15:24 2023 daemon.notice netifd: modem_1_1_4 (4964): udhcpc: entering released state
Mon Apr 24 02:15:24 2023 daemon.notice netifd: modem_1_1_4 (4964): Command failed: Permission denied
Mon Apr 24 02:15:24 2023 daemon.notice netifd: Interface 'modem_1_1_4' is now down
Mon Apr 24 02:15:24 2023 daemon.notice netifd: Network alias '' link is down
Mon Apr 24 02:15:24 2023 daemon.notice netifd: Interface 'modem_1_1_4' has link connectivity loss
Mon Apr 24 02:15:24 2023 daemon.notice netifd: Interface 'modem_1_1_4' is disabled
Mon Apr 24 02:15:24 2023 daemon.notice netifd: modem_1_1 (14849): Command failed: Permission denied
Mon Apr 24 02:15:24 2023 daemon.notice netifd: Interface 'modem_1_1' is now down
Mon Apr 24 02:15:24 2023 daemon.notice netifd: Interface 'modem_1_1' is setting up now
Mon Apr 24 02:15:24 2023 daemon.notice netifd: Network device 'wwan0' link is down
Mon Apr 24 02:15:24 2023 daemon.notice netifd: modem_1_1 (14941): Waiting for SIM initialization
Mon Apr 24 02:15:25 2023 user.notice mwan3[14847]: Execute ifdown event on interface modem_1_1 (unknown)
Mon Apr 24 02:15:25 2023 daemon.notice netifd: modem_1_1 (14941): Device does not support 802.3 mode. Informing driver of raw-ip only for wwan0 ..
Mon Apr 24 02:15:26 2023 daemon.notice netifd: modem_1_1 (14941): Waiting for network registration
Mon Apr 24 02:15:26 2023 user.notice firewall: Reloading firewall due to ifdown of modem_1_1 ()
Mon Apr 24 02:15:26 2023 user.info mwan3track[8818]: Detect ifdown event on interface modem_1_1 (wwan0)
Mon Apr 24 02:15:27 2023 daemon.notice netifd: modem_1_1 (15511): Stopping network modem_1_1
Mon Apr 24 02:15:27 2023 daemon.notice netifd: modem_1_1 (15511): Command failed: Permission denied
Mon Apr 24 02:15:27 2023 daemon.notice netifd: Interface 'modem_1_1' is now down
Mon Apr 24 02:15:28 2023 user.notice mwan3[15518]: Execute ifdown event on interface modem_1_1 (unknown)
Mon Apr 24 02:15:28 2023 user.info mwan3track[8818]: Detect ifdown event on interface modem_1_1 (wwan0)
Mon Apr 24 02:15:28 2023 user.notice mwan3track[8818]: Interface modem_1_1 (wwan0) is offline
Mon Apr 24 02:15:29 2023 user.notice firewall: Reloading firewall due to ifdown of modem_1_1 ()
Mon Apr 24 02:15:30 2023 daemon.notice netifd: Interface 'modem_1_1' is setting up now
Mon Apr 24 02:15:30 2023 daemon.notice netifd: modem_1_1 (15984): Waiting for SIM initialization
Mon Apr 24 02:15:31 2023 daemon.notice netifd: modem_1_1 (15984): Device does not support 802.3 mode. Informing driver of raw-ip only for wwan0 ..
Mon Apr 24 02:15:31 2023 daemon.notice netifd: modem_1_1 (15984): Waiting for network registration
Mon Apr 24 02:15:33 2023 daemon.notice netifd: modem_1_1 (15984): Starting network modem_1_1
Mon Apr 24 02:15:33 2023 daemon.notice netifd: modem_1_1 (15984): Setting up wwan0
Mon Apr 24 02:15:33 2023 daemon.notice netifd: Interface 'modem_1_1' is now up
Mon Apr 24 02:15:33 2023 daemon.notice netifd: Network device 'wwan0' link is up
Mon Apr 24 02:15:33 2023 daemon.notice netifd: Network alias 'wwan0' link is up
Mon Apr 24 02:15:33 2023 daemon.notice netifd: Interface 'modem_1_1_4' is enabled
Mon Apr 24 02:15:33 2023 daemon.notice netifd: Interface 'modem_1_1_4' has link connectivity
Mon Apr 24 02:15:33 2023 daemon.notice netifd: Interface 'modem_1_1_4' is setting up now
Mon Apr 24 02:15:33 2023 daemon.notice netifd: modem_1_1_4 (16252): udhcpc: started, v1.33.2
Mon Apr 24 02:15:33 2023 daemon.notice netifd: modem_1_1_4 (16252): udhcpc: sending discover
Mon Apr 24 02:15:34 2023 user.notice mwan3[16231]: Execute ifup event on interface modem_1_1 (wwan0)
Mon Apr 24 02:15:35 2023 user.notice mwan3[16231]: Starting tracker on interface modem_1_1 (wwan0)
Mon Apr 24 02:15:36 2023 user.notice mwan3track[8818]: Stopping mwan3track for interface "modem_1_1"
Mon Apr 24 02:15:37 2023 daemon.notice netifd: modem_1_1_4 (16252): udhcpc: sending discover
Mon Apr 24 02:15:37 2023 user.info mwan3rtmon[6186]: Detect rtchange event.
Mon Apr 24 02:15:38 2023 user.notice firewall: Reloading firewall due to ifup of modem_1_1 (wwan0)
Mon Apr 24 02:15:40 2023 daemon.notice netifd: modem_1_1_4 (16252): udhcpc: sending discover
Mon Apr 24 02:16:13 2023 user.notice mwan3[18400]: Execute ifdown event on interface modem_1_1 (wwan0)
Mon Apr 24 02:16:14 2023 user.notice firewall: Reloading firewall due to ifdown of modem_1_1 (wwan0)
Mon Apr 24 02:16:15 2023 user.info mwan3track[16607]: Detect ifdown event on interface modem_1_1 (wwan0)
Mon Apr 24 02:16:20 2023 user.notice mwan3track[16607]: Interface modem_1_1 (wwan0) is offline