4g dongle not showing as usb0 after reboot wrt 24.10.1

is there any way to get this to work

thanks

this worked, i.e. installing mix of packages from both QMI and RNDIS

thank you @AndrewZ @frollic @mk24
appreciate it!

opkg update && opkg install kmod-usb-net-rndis kmod-usb-serial usb-modeswitch kmod-usb-net-qmi-wwan kmod-usb-serial-option kmod-usb-serial-qualcomm

the solution in the above post works temporarily

once the lease time of the dhcp in the dongle is up,
the lease does not renew
and
wrt says the "Network device is not present"

it keeps saying "Network device is not present" even after a reboot

only manually disconnecting the dongle and reconnecting the dongle works

my guess is wrt cannot control(renew lease) the dongle using RNDIS(as its a fallback workaround) as the dongle is using QMI (not properly implemented)

is there a possible fix?

thanks

Probably. In another thread I figured out that from major version 24 onwards it seems necessary to install package kmod-usb-dwc3-octeon for my architecture. That brought USB back to life in my installation.

1 Like

thanks.

which architecture was that, QMI or RNDIS?

when you say it brought your USB back to life, do you mean it renewed its dhcp? thanks

No, the symptom of my Ubiquity Edge Router 4 was the same as your original symptom.

1 Like

trying with these packages

opkg update && opkg install kmod-usb-net-rndis kmod-usb-serial usb-modeswitch kmod-usb-dwc3

dongle has been recognized,
will report back if dhcp lease renews or not

Edit:
Does not survive reboot
after reboot, usb0 device not present

dmesg | grep usb before reboot

root@OpenWrt:~# dmesg | grep usb
[    3.983970] usbcore: registered new interface driver usbfs
[    3.989911] usbcore: registered new interface driver hub
[    3.995510] usbcore: registered new device driver usb
[    4.037750] phy phy-usbphy.0: remote usb device wakeup disabled
[    4.043833] phy phy-usbphy.0: UTMI 16bit 30MHz
[   16.529515] usbcore: registered new interface driver cdc_wdm
[   16.675968] usbcore: registered new interface driver usbserial_generic
[   16.682862] usbserial: USB Serial support registered for generic
[   16.711788] usbcore: registered new interface driver cdc_ether
[   17.458227] usbcore: registered new interface driver qmi_wwan
[   17.482320] usbcore: registered new interface driver rndis_host
[   17.982102] usbcore: registered new interface driver option
[   17.987924] usbserial: USB Serial support registered for GSM modem (1-port)
[   18.064102] usbcore: registered new interface driver qcserial
[   18.070180] usbserial: USB Serial support registered for Qualcomm USB modem
[ 4178.121522] usbcore: registered new interface driver usb-storage
[ 4985.920742] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 4986.029283] qmi_wwan 1-1:1.2 wwan0: register 'qmi_wwan' at usb-101c0000.ehci-1, WWAN/QMI device, f2:d7:25:84:7e:24
[ 4996.878703] usb 1-1: USB disconnect, device number 2
[ 4996.884644] qmi_wwan 1-1:1.2 wwan0: unregister 'qmi_wwan' usb-101c0000.ehci-1, WWAN/QMI device
[ 4997.361886] usb 1-1: new high-speed USB device number 3 using ehci-platform
[ 4997.614609] rndis_host 1-1:1.0 usb0: register 'rndis_host' at usb-101c0000.ehci-1, RNDIS device, 02:51:5a:01:30:30

dmesg | grep usb after reboot

root@OpenWrt:~# dmesg | grep usb
[    3.983723] usbcore: registered new interface driver usbfs
[    3.989631] usbcore: registered new interface driver hub
[    3.995241] usbcore: registered new device driver usb
[    4.037611] phy phy-usbphy.0: remote usb device wakeup disabled
[    4.043694] phy phy-usbphy.0: UTMI 16bit 30MHz
[    4.536337] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   16.182650] usbcore: registered new interface driver cdc_wdm
[   16.319222] usbcore: registered new interface driver usb-storage
[   16.411556] usbcore: registered new interface driver usbserial_generic
[   16.418364] usbserial: USB Serial support registered for generic
[   16.441718] usbcore: registered new interface driver cdc_ether
[   17.400947] qmi_wwan 1-1:1.2 wwan0: register 'qmi_wwan' at usb-101c0000.ehci-1, WWAN/QMI device, a2:3a:86:f9:68:01
[   17.411936] usbcore: registered new interface driver qmi_wwan
[   17.482241] usbcore: registered new interface driver rndis_host
[   18.308468] usbcore: registered new interface driver option
[   18.314367] usbserial: USB Serial support registered for GSM modem (1-port)
[   18.422001] usbcore: registered new interface driver qcserial
[   18.428002] usbserial: USB Serial support registered for Qualcomm USB modem

@bmork pl. have a look
@fiatjaf

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.