No need to find anything. This is what you should manually add into /etc/config/network
ZBT WE826-32M - need help to configure cellular modem (displays "no internet access" when connected)
I have done the settings and these are the current logs:
root@OpenWrt:~# logread -f
Tue Dec 12 17:55:54 2023 authpriv.info dropbear[2881]: Child connection from 192 .168.1.159:57044
Tue Dec 12 17:56:21 2023 authpriv.notice dropbear[2881]: Password auth succeeded for 'root' from 192.168.1.159:57044
Tue Dec 12 17:56:22 2023 daemon.warn odhcpd[1544]: No default route present, ove rriding ra_lifetime!
Tue Dec 12 17:58:02 2023 kern.info kernel: [ 1547.119995] cdc_ether 1-1.2:2.0 et h1: unregister 'cdc_ether' usb-101c0000.ehci-1.2, CDC Ethernet Device
Tue Dec 12 17:58:02 2023 kern.info kernel: [ 1547.135484] option1 ttyUSB0: GSM m odem (1-port) converter now disconnected from ttyUSB0
Tue Dec 12 17:58:02 2023 kern.info kernel: [ 1547.143928] option 1-1.2:2.2: devi ce disconnected
Tue Dec 12 17:58:02 2023 kern.info kernel: [ 1547.149291] option1 ttyUSB1: GSM m odem (1-port) converter now disconnected from ttyUSB1
Tue Dec 12 17:58:02 2023 kern.info kernel: [ 1547.157597] option 1-1.2:2.3: devi ce disconnected
Tue Dec 12 17:58:02 2023 kern.info kernel: [ 1547.162995] option1 ttyUSB2: GSM m odem (1-port) converter now disconnected from ttyUSB2
Tue Dec 12 17:58:02 2023 kern.info kernel: [ 1547.171469] option 1-1.2:2.4: devi ce disconnected
Tue Dec 12 17:58:02 2023 kern.info kernel: [ 1547.176772] option1 ttyUSB3: GSM m odem (1-port) converter now disconnected from ttyUSB3
Tue Dec 12 17:58:02 2023 kern.info kernel: [ 1547.185172] option 1-1.2:2.5: devi ce disconnected
Tue Dec 12 17:58:02 2023 kern.info kernel: [ 1547.190517] option1 ttyUSB4: GSM m odem (1-port) converter now disconnected from ttyUSB4
Tue Dec 12 17:58:02 2023 kern.info kernel: [ 1547.198912] option 1-1.2:2.6: devi ce disconnected
Tue Dec 12 17:58:05 2023 kern.info kernel: [ 1549.769485] option 1-1.2:1.0: GSM modem (1-port) converter detected
Tue Dec 12 17:58:05 2023 kern.info kernel: [ 1549.776321] usb 1-1.2: GSM modem ( 1-port) converter now attached to ttyUSB0
Tue Dec 12 17:58:05 2023 kern.info kernel: [ 1549.784556] option 1-1.2:1.1: GSM modem (1-port) converter detected
Tue Dec 12 17:58:05 2023 kern.info kernel: [ 1549.791265] usb 1-1.2: GSM modem ( 1-port) converter now attached to ttyUSB1
Tue Dec 12 17:58:05 2023 kern.info kernel: [ 1549.799073] option 1-1.2:1.2: GSM modem (1-port) converter detected
Tue Dec 12 17:58:05 2023 kern.info kernel: [ 1549.805874] usb 1-1.2: GSM modem ( 1-port) converter now attached to ttyUSB2
Tue Dec 12 17:58:05 2023 kern.info kernel: [ 1549.813643] option 1-1.2:1.3: GSM modem (1-port) converter detected
Tue Dec 12 17:58:05 2023 kern.info kernel: [ 1549.820464] usb 1-1.2: GSM modem ( 1-port) converter now attached to ttyUSB3
Tue Dec 12 17:58:05 2023 kern.info kernel: [ 1549.828286] option 1-1.2:1.4: GSM modem (1-port) converter detected
Tue Dec 12 17:58:05 2023 kern.info kernel: [ 1549.835080] usb 1-1.2: GSM modem ( 1-port) converter now attached to ttyUSB4
Tue Dec 12 17:58:05 2023 kern.info kernel: [ 1549.960566] qmi_wwan 1-1.2:1.5: cd c-wdm0: USB WDM device
Tue Dec 12 17:58:05 2023 kern.info kernel: [ 1549.967249] qmi_wwan 1-1.2:1.5 wwa n0: register 'qmi_wwan' at usb-101c0000.ehci-1.2, WWAN/QMI device, d6:b2:61:a2:e 3:34
Tue Dec 12 17:58:07 2023 daemon.notice netifd: Interface 'wwan' is setting up no w
Tue Dec 12 17:58:07 2023 daemon.notice netifd: wwan (3180): Waiting for SIM init ialization
Tue Dec 12 17:58:08 2023 daemon.notice netifd: wwan (3180): PIN verification is disabled
Tue Dec 12 17:58:08 2023 daemon.notice netifd: wwan (3180): Waiting for network registration
Tue Dec 12 17:58:09 2023 daemon.notice netifd: wwan (3180): Starting network wwa n
Tue Dec 12 17:58:15 2023 daemon.notice netifd: wwan (3180): Unable to connect IP v6
Tue Dec 12 17:58:15 2023 daemon.notice netifd: wwan (3235): Stopping network wwa n
Tue Dec 12 17:58:15 2023 daemon.notice netifd: wwan (3235): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": fa lse, "interface": "wwan" } (Permission denied)
Tue Dec 12 17:58:15 2023 daemon.notice netifd: Interface 'wwan' is now down
Tue Dec 12 17:58:15 2023 daemon.notice netifd: Interface 'wwan' is setting up no w
Tue Dec 12 17:58:15 2023 daemon.notice netifd: wwan (3243): Waiting for SIM init ialization
Tue Dec 12 17:58:16 2023 daemon.notice netifd: wwan (3243): PIN verification is disabled
Tue Dec 12 17:58:16 2023 daemon.notice netifd: wwan (3243): Waiting for network registration
Tue Dec 12 17:58:16 2023 daemon.warn odhcpd[1544]: No default route present, ove rriding ra_lifetime!
Tue Dec 12 17:59:21 2023 daemon.notice netifd: wwan (3357): Stopping network wwa n
Tue Dec 12 17:59:21 2023 daemon.notice netifd: wwan (3357): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": fa lse, "interface": "wwan" } (Permission denied)
Tue Dec 12 17:59:21 2023 daemon.notice netifd: Interface 'wwan' is now down
Tue Dec 12 17:59:21 2023 daemon.notice netifd: Interface 'wwan' is setting up no w
Tue Dec 12 17:59:21 2023 daemon.notice netifd: wwan (3366): Waiting for SIM init ialization
Tue Dec 12 17:59:22 2023 daemon.warn odhcpd[1544]: No default route present, ove rriding ra_lifetime!
Tue Dec 12 18:08:52 2023 daemon.warn odhcpd[1544]: No default route present, overriding ra_lifetime!
Tue Dec 12 18:11:30 2023 daemon.notice netifd: wwan (3472): Stopping network wwan
Tue Dec 12 18:11:30 2023 daemon.notice netifd: wwan (3472): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wwan" } (Permission denied)
Tue Dec 12 18:11:30 2023 daemon.notice netifd: Interface 'wwan' is now down
Tue Dec 12 18:11:30 2023 daemon.notice netifd: Interface 'wwan' is setting up now
Tue Dec 12 18:11:30 2023 daemon.notice netifd: wwan (3482): Waiting for SIM initialization
Tue Dec 12 18:11:31 2023 daemon.warn odhcpd[1544]: No default route present, overriding ra_lifetime!
Tue Dec 12 18:12:54 2023 daemon.notice netifd: wwan (3642): Stopping network wwan
Tue Dec 12 18:12:54 2023 daemon.notice netifd: wwan (3642): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wwan" } (Permission denied)
Tue Dec 12 18:12:54 2023 daemon.notice netifd: Interface 'wwan' is now down
Tue Dec 12 18:12:54 2023 daemon.notice netifd: Interface 'wwan' is setting up now
Tue Dec 12 18:12:54 2023 daemon.notice netifd: wwan (3655): Waiting for SIM initialization
Tue Dec 12 18:12:55 2023 daemon.warn odhcpd[1544]: No default route present, overriding ra_lifetime!
Tue Dec 12 18:12:55 2023 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Tue Dec 12 18:12:55 2023 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 4 names
Tue Dec 12 18:12:55 2023 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 2 names
Tue Dec 12 18:12:55 2023 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Tue Dec 12 18:12:57 2023 daemon.warn odhcpd[1544]: No default route present, overriding ra_lifetime!
Tue Dec 12 18:16:00 2023 daemon.notice netifd: wwan (3976): Stopping network wwan
Tue Dec 12 18:16:00 2023 daemon.notice netifd: wwan (3976): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wwan" } (Permission denied)
Tue Dec 12 18:16:00 2023 daemon.notice netifd: Interface 'wwan' is now down
Tue Dec 12 18:16:00 2023 daemon.notice netifd: Interface 'wwan' is setting up now
Tue Dec 12 18:16:01 2023 daemon.notice netifd: wwan (3985): Waiting for SIM initialization
Tue Dec 12 18:16:01 2023 daemon.warn odhcpd[1544]: No default route present, overriding ra_lifetime!
config interface 'wwan'
51 option proto 'qmi'
52 option timeout '30'
53 option device '/dev/cdc-wdm0'
54 option apn 'internet'
55 option auth 'both'
56 option pdptype 'ipv4'
Wow! I have had internet connection using NCM mode/proto. Another interface(wwan_4) has been created authomatically with protocol name: virtual Dynamic Interface(DHCP client)
config interface 'wwan'
51 option proto 'ncm'
52 option timeout '30'
53 option device '/dev/ttyUSB2'
54 option mode 'auto'
55 option pdptype 'IP'
56 option apn 'internet'
57 option ipv6 'auto'
Thank you all for your help, I have learnt a lot here. Problem is solved.
Please I wish to replace my 3G modem with a 4G modem, which brand/type is recommended for my router(zbt we826)?
For your router - anything in mPCIe form-factor.
But you need to take into consideration what is needed for your country/carrier/location - bands supported, carrier aggregation, etc.
Well noted.Thank you.
Quectels EC25 is a solid modem, available in several variants according to geographic location.
1 Like