Zbt 1602 with 4g modem configurations

I updated my router from lede 17.0.1 to openwrt 23.05.5. Unfortunatelly I was not able to save any config file and package list. Now the router is updated but lost all the setting and no there is no more 4g modem. I need to set 4g modem, any help where to start? I'm very newbie. thanks in advance

at the moment I can see just 3 interfaces:
lan
wan
wan6

and 7 devices:
br-lan
eth0
lan1
lan2
lan2
lan4
wan

You have to reset your configuration from system/flash ops or failsafe mode

migration of config files works only one major version ahead.

Show the output of cat /sys/kernel/debug/usb/devices

cat /sys/kernel/debug/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 2
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 5.15
S: Manufacturer=Linux 5.15.167 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=1e1c0000.xhci
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=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=2c7c ProdID=0306 Rev= 3.10
S: Manufacturer=Quectel
S: Product=EP06-E
S: SerialNumber=0123456789ABCDEF
C:* #Ifs= 5 Cfg#= 1 Atr=a0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E: Ad=83(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E: Ad=85(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E: Ad=87(I) Atr=03(Int.) MxPS= 10 Ivl=32ms
E: Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=89(I) Atr=03(Int.) MxPS= 8 Ivl=32ms
E: Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=5000 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev= 5.15
S: Manufacturer=Linux 5.15.167 xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=1e1c0000.xhci
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

You need to follow https://openwrt.org/docs/guide-user/network/wan/wwan/ltedongle

1 Like

thanks a lot. I'll try to follow the guide. As far I can remember there was also a setting based on "mwan3" package on the original setup. Do you think the suggested guide can cover my double modem router? thanks

Yes, it will work, though historically mwan needs manual pre-install of iptables-nft and lots of steps to certainly avoid old fw engine sneaking in.

Multiple wans is a separate issue. Get a single wan with one modem working first. Then you can install mwan3 and set it up.

If you saved your old config you can open it (it is a tar archive) and examine the settings inside for guidance to rebuild the configuration. I don't think that mwan3 has changed much, though LTE certainly has.

I did following steps:

downloaded image from firmware selector:
https://firmware-selector.openwrt.org/?version=23.05.5&target=ramips%2Fmt7621&id=zbtlink_zbt-wg1602-v04-32m

added custom packages:
nano kmod-usb-net-cdc-mbim umbim luci-proto-mbim kmod-usb-serial-option picocom usb-modeswitch

rebooted from console

ls -l /dev/cdc*
gives following error: ls: /dev/cdc*: No such file or directory

Created a new interface: 4g
Type: MBIM Cellular
Modem device: /dev/cdc-wdm0
APN: ***
Firewall: wan-wan6

The created interface says: Error: Network device is not present

any help?
thanks

Your modem is in QMI mode now, not MBIM.You need to switch it to MBIM or follow instructions for QMI modems.
usb-modeswitch is not needed.

thanks I succefully set the new QMI interface:

Created a new interface: 4g
Type: QMI Cellular
Modem device: /dev/cdc-wdm0
APN: web
IPv4
Firewall: wan-wan6

I tested the modem throught these commands:

uqmi -d /dev/cdc-wdm0 --get-data-status
"connected"
uqmi -d /dev/cdc-wdm0 --get-signal-info
{
	"type": "lte",
	"rssi": -50,
	"rsrq": -10,
	"rsrp": -81,
	"snr": 8.000000
}

How do I connect the router to internet?
thanks

It should be connected already. Show the output of the following:

ifstatus 4g
ping -I wwan0 8.8.8.8

edit: device name corrected

root@OpenWrt:~# ifstatus 4g
{
	"up": true,
	"pending": false,
	"available": true,
	"autostart": true,
	"dynamic": false,
	"uptime": 1164,
	"l3_device": "wwan0",
	"proto": "qmi",
	"updated": [
		"data"
	],
	"metric": 0,
	"dns_metric": 0,
	"delegation": true,
	"ipv4-address": [
		
	],
	"ipv6-address": [
		
	],
	"ipv6-prefix": [
		
	],
	"ipv6-prefix-assignment": [
		
	],
	"route": [
		
	],
	"dns-server": [
		
	],
	"dns-search": [
		
	],
	"neighbors": [
		
	],
	"inactive": {
		"ipv4-address": [
			
		],
		"ipv6-address": [
			
		],
		"route": [
			
		],
		"dns-server": [
			
		],
		"dns-search": [
			
		],
		"neighbors": [
			
		]
	},
	"data": {
		"cid_4": "20",
		"pdh_4": "-2119242928"
	}
}
root@OpenWrt:~# ping -I 4g 8.8.8.8
ping: bad address '4g'

Device is `wwan0"

1 Like

See if you have a dynamic interface like 4g_4 or something like that and use its name.
For ping you can use wwan0 name instead.

root@OpenWrt:~# ping -I wwan0 8.8.8.8 -c 10
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=119 time=272.288 ms
64 bytes from 8.8.8.8: seq=1 ttl=119 time=78.844 ms
64 bytes from 8.8.8.8: seq=2 ttl=119 time=79.460 ms
64 bytes from 8.8.8.8: seq=3 ttl=119 time=78.053 ms
64 bytes from 8.8.8.8: seq=4 ttl=119 time=75.819 ms
64 bytes from 8.8.8.8: seq=5 ttl=119 time=66.519 ms
64 bytes from 8.8.8.8: seq=6 ttl=119 time=75.123 ms
64 bytes from 8.8.8.8: seq=7 ttl=119 time=67.726 ms
64 bytes from 8.8.8.8: seq=8 ttl=119 time=74.384 ms
64 bytes from 8.8.8.8: seq=9 ttl=119 time=66.078 ms

--- 8.8.8.8 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max = 66.078/93.429/272.288 ms

IT WORKS!

thanks a lot for your assistance. Now I have to share internet to wifi and ethernet ports. There is a guide somewhere?

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