LoRaWan interface on zbt wg-1602

Hi, i installed a LoRaWan MiniPCIe module into my ZBT wg-1602. Can anybody help me to configure LoRaWan Basic Station? thanks

i did a little progress. I installed the lora module on a different minipcie slot. now I'm able to see

root@OpenWrt:~# 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= 6.06
S:  Manufacturer=Linux 6.6.58 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=00 Cnt=01 Dev#=  2 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=1a86 ProdID=7523 Rev=82.33
S:  Product=USB Serial
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=102mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=02 Driver=(none)
E:  Ad=82(I) Atr=02(Bulk) MxPS=  32 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  32 Ivl=0ms
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=1ms

T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  3 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=option
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=option
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=option
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=option
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=qmi_wwan
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= 6.06
S:  Manufacturer=Linux 6.6.58 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

any help?

Which one of them is your LoRaWan module?

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=1a86 ProdID=7523 Rev=82.33
S:  Product=USB Serial
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=102mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=01 Prot=02 Driver=(none)
E:  Ad=82(I) Atr=02(Bulk) MxPS=  32 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  32 Ivl=0ms

Install ch341 driver.

how do I install via terminal command?

opkg update
opkg install kmod-usb-serial-ch341

See https://openwrt.org/docs/guide-user/additional-software/opkg

1 Like

thanks, I installed the driver. How do I find the Device path of the LoRaWAN concentrator card?

Check your System Log, I guess you will see a line saying new device added

no idea how to use the log:

Thu Oct 31 21:09:52 2024 user.info kernel: [   14.879866] kmodloader: loading kernel modules from /etc/modules.d/*
Thu Oct 31 21:09:52 2024 kern.info kernel: [   14.988667] mtk-eip93 1e004000.crypto: EIP93 Crypto Engine Initialized.
Thu Oct 31 21:09:52 2024 kern.info kernel: [   15.372669] jitterentropy: Initialization failed with host not compliant with requirements: 9
Thu Oct 31 21:09:52 2024 kern.info kernel: [   15.512516] usbcore: registered new interface driver cdc_acm
Thu Oct 31 21:09:52 2024 kern.info kernel: [   15.518216] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Thu Oct 31 21:09:52 2024 kern.info kernel: [   15.528471] usbcore: registered new interface driver cdc_wdm
Thu Oct 31 21:09:52 2024 kern.info kernel: [   15.535583] Loading modules backported from Linux version v6.11.2-0-g7aa21fec187b
Thu Oct 31 21:09:52 2024 kern.info kernel: [   15.543106] Backport generated by backports.git v6.1.110-1-32-gc61f71fe0942
Thu Oct 31 21:09:52 2024 kern.info kernel: [   15.572109] usbcore: registered new interface driver usbserial_generic
Thu Oct 31 21:09:52 2024 kern.info kernel: [   15.578870] usbserial: USB Serial support registered for generic
Thu Oct 31 21:09:52 2024 kern.info kernel: [   15.607986] usbcore: registered new interface driver ch341
Thu Oct 31 21:09:52 2024 kern.info kernel: [   15.613847] usbserial: USB Serial support registered for ch341-uart
Thu Oct 31 21:09:52 2024 kern.info kernel: [   15.620267] ch341 1-1:1.0: ch341-uart converter detected
Thu Oct 31 21:09:52 2024 kern.info kernel: [   15.629461] usb 1-1: ch341-uart converter now attached to ttyUSB0
Thu Oct 31 21:09:52 2024 user.info kernel: [   15.913636] urngd: v1.0.2 started.
Thu Oct 31 21:09:52 2024 kern.info kernel: [   16.016127] pci 0000:00:00.0: enabling device (0006 -> 0007)
Thu Oct 31 21:09:52 2024 kern.info kernel: [   16.021909] mt7603e 0000:01:00.0: enabling device (0000 -> 0002)
Thu Oct 31 21:09:52 2024 kern.info kernel: [   16.028192] mt7603e 0000:01:00.0: ASIC revision: 76030010
Thu Oct 31 21:09:52 2024 kern.info kernel: [   16.043611] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
Thu Oct 31 21:09:52 2024 kern.info kernel: [   16.049224] mt7603e 0000:01:00.0: Build Time: 20160107100755
Thu Oct 31 21:09:52 2024 kern.info kernel: [   16.090938] mt7603e 0000:01:00.0: firmware init done
Thu Oct 31 21:09:52 2024 kern.info kernel: [   16.265207] mt7603e 0000:01:00.0: registering led 'mt76-phy0'
Thu Oct 31 21:09:52 2024 kern.debug kernel: [   16.322581] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Thu Oct 31 21:09:52 2024 kern.info kernel: [   16.342131] pci 0000:00:01.0: enabling device (0006 -> 0007)

Your device is /dev/ttyUSB0

1 Like

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