4G/LTE home network help

Hello. I have been hearing about OpenWRT for a long time and always wanted to try it, but I didn't have a single device that supported it. In this week I was improving my internet connection (mainly removing the download limit size that I had previously) and my old router may be not sufficient anymore (or just be an annoyance to deal with).

So right now I have these devices:

  1. Mi-Fi Router TP-Link M7350 (EU v5) - Yeah, I know it isn't top shelf, but it was actually and improvement from my old huawei Mi-Fi and it was actually on good price so I just rolled with it. The biggest problem I have with it right now is that it doesn't have any internet blocking tool - there is a "deny" list, but I want only to block the internet connection not the whole device. There was also issue with WPA2 password. It's just Wi-Fi 4 and it would be good to have better statistics because I will soon have 2 LTE sim cards with different internet plans and it would be good to distinct them in statistics automatically. I know it's not supported by OpenWRT, but maybe it can just act as a modem for another router.
  2. Plain smartphone with Wi-Fi 4 - not anything special so whatever goes. I use it exclusively to watch youtube and maybe I'll start using it to watch netflix when my 2nd card arrives.
  3. Main PC - it doesn't have any Wi-Fi card and I connect to internet by connecting my M7350 by USB. It used to work decently I mean, I didn't download anything heavy because of my limit, but recently it started to not charge my battery and it just died so I started looking into wi-fi cards for that so I can just keep my Mi-Fi router on the wall charger all the time. I learned about Intel AX200 Wi-Fi 6 and it seems perfect, but my PC doesn't have any M2 slots so I would need to buy some PCI-e card (maybe TP-Link Archer TX3000E or some cheaper card like fenvi FV102). I plan to upgrade my PC in next year so maybe it will have already m2 slot, but having a PCI-e card won't hurt anyway right?

And that's all devices that connect to internet here, occasionally I have some guests so it would be good to have a decent Wi-Fi. And before you ask "Why not use cable internet" - It's just not possible for the moment where I live. So here are my questions.

  1. What device to buy to install OpenWRT. I'd like to finally test it after hearing so many good things about it. It needs to have 4G/LTE connectivity or if it's possible USB modem passthrough (I've seen some ASUS routers that had USB port that you could connect your modem into, IDK what's that called). Otherwise I have no requirements other than maybe being at least Wi-Fi 4 and having 1 LAN port so I can connect my PC to the internet before I get PCI-e card or upgrade my PC.
  2. I also want to have PiHole installed so I can have a good adblocker on every device. Is it even possible on 4G/LTE connectivity to add it to network? And is it better to use Raspberry Pi Zero or Raspberry Pi 4B?
  3. Is it extremely hard to flash your own device? My Mi-Fi router isn't supported by OpenWRT, but last I checked it has a sufficient hardware and you can flash updates yourself by downloading zip update so maybe you can replace the files.
  4. Does OpenWRT have good statistics page? My 1st card would have still a limit, and other would have no limits but only on certain hours. Would I need to manually keep track of that or can it detect which card is plugged in?

That's all. Hopefully my questions are not too stupid and we can find a way to improve my weird network setup.

1 Like

If you prefer to have all features in one device, the search will be very painfull.

Think about to divide the features to two or three devices.

As two-device solution I recommend to split the LTE part from the remaining features. Get a LTE router/modem, which can be operated in bridge mode. Then you have the free choice of hundreds of routers, depending on your needs for line speed, wifi and other requirements.

I'm using a Zyxel LTE3301 (CAT4, about 75€) and a RPI4B, I don't need wifi. The Zyxel is running stock firmware, the RPI4B OpenWRT.

If you take a LTE router without bridge mode, you'll have double NAT.

  1. I would highly recommend something that uses ARMv7 or newer although I guess you could use MIPS platforms but they're slowly being deprecated. Look for a IPQ40xx device that's supported.

From here you basically have two choices, either get a separate modem/gateway and but it in bridge mode. I would recommend Huawei gateways for best performance despite the controversy about the company simply because because they work by far best however finding one that can do bridge mode can be a bit of a challenge.

Another (cheaper) solution would to use a USB stick, the Huawei e3372(h) is a pretty good one that's cheap however if you want bridge mode you either need to flash it (which is a bit of a pain) or get a "stick" version e3372(s).

  1. No, get a SBC for that. RPi (despite not being very good at ethernet) will probably do fine in general. It looks like Arch(arm)linux have it packaged so if you want to something else I'd assume that anything that Arch(arm)linux supports would be fine if you want something else than RPi such as an Allwinner based SBC. Keep in mind that I haven't tried this personally.

  2. Depends, some devices need hardware modifications etc.

  3. Not builtin as there's no permanent storage but you can use a USB-stick although the amout of software available is limited depending what and how detailed statistics you're looking for.

Do you know a Huawei LTE modem/router, which supports bridge mode with stock firmware?

He gave you models: E3372h,s. You should use 'Stick' firmware. However I recommend Hilink, it works 'out-of-the-box' with installing couple of packets.

Huawei E5186 but bridge mode doesn't necessarily need to work for your provider, you might need to flash your device (use Google). B2368-66 might also be worth looking at, your best bet regarding information about this excluding Google seems to be https://www.lteforum.at/forum/datenmodems-lte-router-antennen.35/ in my experience. Apparently some Netgear/Zyxel modems also support bridge mode but you need to consult the manual for specific models to confirm.

Hilink adds NAT however :-/

B315, B525. You may need to use a specific firmware version.

the b2368 is a :
mt7621 soc + huawei module lte(odu)


image

mt7620a(soc) + mt7530wu(swich) + mt7612en(wifi) -->>>(idu)
i have a b2368-57 ,connect by telnet, and type in the console
cat /proc/cpuinfo

system type             : MT7621
processor               : 0
cpu model               : MIPS 1004Kc V2.15
BogoMIPS                : 583.68
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0000, 0x0000, 0x0000]
ASEs implemented        : mips16 dsp mt
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

processor               : 1
cpu model               : MIPS 1004Kc V2.15
BogoMIPS                : 583.68
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0000, 0x0000, 0x0000]
ASEs implemented        : mips16 dsp mt
shadow register sets    : 1
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

processor               : 2
cpu model               : MIPS 1004Kc V2.15
BogoMIPS                : 583.68
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0000, 0x0000, 0x0000]
ASEs implemented        : mips16 dsp mt
shadow register sets    : 1
core                    : 1
VCED exceptions         : not available
VCEI exceptions         : not available

processor               : 3
cpu model               : MIPS 1004Kc V2.15
BogoMIPS                : 583.68
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
ASEs implemented        : mips16 dsp mt
shadow register sets    : 1
core                    : 1
VCED exceptions         : not available
VCEI exceptions         : not available

cat /proc/mtd

dev:    size   erasesize  name
mtd0: 07f80000 00020000 "ALL"
mtd1: 00080000 00020000 "Bootloader"
mtd2: 00080000 00020000 "Config"
mtd3: 00040000 00020000 "Factory"
mtd4: 00400000 00020000 "Kernel"
mtd5: 02000000 00020000 "RootFS"
mtd6: 00400000 00020000 "Kernel2"
mtd7: 02000000 00020000 "RootFS2"
mtd8: 00040000 00020000 "mrd_cert1"
mtd9: 00040000 00020000 "mrd_cert2"
mtd10: 00400000 00020000 "ConfigFS"
mtd11: 00300000 00020000 "rom_c"
mtd12: 00300000 00020000 "rom_c2"
mtd13: 00a00000 00020000 "NVLOG"
mtd14: 00080000 00020000 "SEC_I"
mtd15: 00060000 00020000 "SEC_II"
mtd16: 00060000 00020000 "SEC_III"
mtd17: 02080000 00020000 "firmware"
mtd18: 02400000 00020000 "Kernel_RootFS"
mtd19: 02400000 00020000 "Kernel_RootFS2"

dmesg

Linux version 2.6.36 (willie@MBA-bsh1) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #1 SMP Fri May 17 14:37:30 CST 2019

 The CPU feqenuce set to 880 MHz
GCMP present
CPU revision is: 0001992f (MIPS 1004Kc)
Software DMA cache coherency
Determined physical RAM map:
 memory: 08000000 @ 00000000 (usable)
Zone PFN ranges:
  Normal   0x00000000 -> 0x00008000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00008000
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat 80550980, node_mem_map 81000000
  Normal zone: 256 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 32512 pages, LIFO batch:7
Detected 3 available secondary CPU(s)
PERCPU: Embedded 7 pages/cpu @81103000 s6528 r8192 d13952 u65536
pcpu-alloc: s6528 r8192 d13952 u65536 alloc=16*4096
pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttyS1,57600n8 ubi.mtd=7 root=ubi0_0 ro rootfstype=ubifs
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Primary instruction cache 32kB, VIPT, , 4-waylinesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
Writing ErrCtl register=000040c2
Readback ErrCtl register=000040c2
Memory: 123828k/131072k available (4120k kernel code, 7244k reserved, 1323k data, 220k init, 0k highmem)
Hierarchical RCU implementation.
        RCU debugfs-based tracing is enabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:128
Trying to install interrupt handler for IRQ24
Trying to install interrupt handler for IRQ25
Trying to install interrupt handler for IRQ22
Trying to install interrupt handler for IRQ9
Trying to install interrupt handler for IRQ10
Trying to install interrupt handler for IRQ11
Trying to install interrupt handler for IRQ12
Trying to install interrupt handler for IRQ13
Trying to install interrupt handler for IRQ14
Trying to install interrupt handler for IRQ16
Trying to install interrupt handler for IRQ17
Trying to install interrupt handler for IRQ18
Trying to install interrupt handler for IRQ19
Trying to install interrupt handler for IRQ20
Trying to install interrupt handler for IRQ21
Trying to install interrupt handler for IRQ23
Trying to install interrupt handler for IRQ26
Trying to install interrupt handler for IRQ27
Trying to install interrupt handler for IRQ28
Trying to install interrupt handler for IRQ15
Trying to install interrupt handler for IRQ8
Trying to install interrupt handler for IRQ29
Trying to install interrupt handler for IRQ30
Trying to install interrupt handler for IRQ31
console [ttyS1] enabled
Calibrating delay loop... 577.53 BogoMIPS (lpj=1155072)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
launch: starting cpu1
launch: cpu1 gone!
CPU revision is: 0001992f (MIPS 1004Kc)
Primary instruction cache 32kB, VIPT, , 4-waylinesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
launch: starting cpu2
launch: cpu2 gone!
CPU revision is: 0001992f (MIPS 1004Kc)
Primary instruction cache 32kB, VIPT, , 4-waylinesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
launch: starting cpu3
launch: cpu3 gone!
CPU revision is: 0001992f (MIPS 1004Kc)
Primary instruction cache 32kB, VIPT, , 4-waylinesize 32 bytes.
Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
Brought up 4 CPUs
Synchronize counters across 4 CPUs: done.
NET: Registered protocol family 16
CONFIG_USB_NET_HUAWEI: Force RALINK_GPIO_CTRL0 = 86180
release PCIe RST: RALINK_RSTCTRL = 7000000
PCIE PHY initialize
***** Xtal 40MHz *****
start MT7621 PCIe register access
RALINK_RSTCTRL = 7000000
RALINK_CLKCFG1 = 77ffeff8

*************** MT7621 PCIe RC mode *************
PCIE0 no card, disable it(RST&CLK)
PCIE1 no card, disable it(RST&CLK)
PCIE2 no card, disable it(RST&CLK)
pcie_link status = 0x0
RALINK_RSTCTRL= 0
FPU Affinity set after 720 emulations
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource MIPS
hw_cdc_init: running
usbcore: registered new interface driver huawei_ether
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
UDP hash table entries: 128 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 64
4 CPUs re-calibrate udelay(lpj = 1167360)
CPU IDLE report timer module is runningCPU1 overload packet drop mechanism is enabledRegistering panic notifier
squashfs: version 4.0 (2009/01/31) Phillip Lougher
NTFS driver 2.1.29 [Flags: R/W].
yaffs: yaffs built May 17 2019 14:37:11 Installing.
msgmni has been set to 241
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered (default)
Ralink gpio driver initialized
spidrv_major = 217
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A
serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A
brd: module loaded
MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
Allocate 16 byte aligned buffer: 805bf640
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [C2 F1 80 95 02, 00809502]
Device found in MTK table, ID: c2f1, EXT_ID: 809502
Support this Device in MTK table! c2f1
NAND device: Manufacturer ID: 0xc2, Chip ID: 0xf1 (Unknown NAND 128MiB 3,3V 8-bit)
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Scanning device for bad blocks
Signature matched and data read!
load_fact_bbt success 1023
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
mstc_nand_mtd_adjust(): Running!
Creating 20 MTD partitions on "MT7621-NAND":
0x000000000000-0x000007f80000 : "ALL"
0x000000000000-0x000000080000 : "Bootloader"
0x000000080000-0x000000100000 : "Config"
0x000000100000-0x000000140000 : "Factory"
0x000000140000-0x000000540000 : "Kernel"
0x000000540000-0x000002540000 : "RootFS"
0x000002540000-0x000002940000 : "Kernel2"
0x000002940000-0x000004940000 : "RootFS2"
0x000004940000-0x000004980000 : "mrd_cert1"
0x000004980000-0x0000049c0000 : "mrd_cert2"
0x0000049c0000-0x000004dc0000 : "ConfigFS"
0x000004dc0000-0x0000050c0000 : "rom_c"
0x0000050c0000-0x0000053c0000 : "rom_c2"
0x0000053c0000-0x000005dc0000 : "NVLOG"
0x000005dc0000-0x000005e40000 : "SEC_I"
0x000005e40000-0x000005ea0000 : "SEC_II"
0x000005ea0000-0x000005f00000 : "SEC_III"
0x000005f00000-0x000007f80000 : "firmware"
0x000000140000-0x000002540000 : "Kernel_RootFS"
0x000002540000-0x000004940000 : "Kernel_RootFS2"
[mtk_nand] probe successfully! nand_chip->phys_erase_shift=17
UBI: attaching mtd7 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: max. sequence number:       0
UBI: attached mtd7 to ubi0
UBI: MTD device name:            "RootFS2"
UBI: MTD device size:            32 MiB
UBI: number of good PEBs:        256
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             33
UBI: total number of reserved PEBs: 223
UBI: number of PEBs reserved for bad PEB handling: 4
UBI: max/mean erase counter: 0/0
UBI: image sequence number:  0
UBI: background thread "ubi_bgt0d" started, PID 62
rdm_major = 249
GMAC1_MAC_ADRH -- : 0x0000e4ab
GMAC1_MAC_ADRL -- : 0x8939c5b2
Ralink APSoC Ethernet Driver Initilization. v3.1  512 rx/tx descriptors allocated, mtu = 1500!
GMAC1_MAC_ADRH -- : 0x0000e4ab
GMAC1_MAC_ADRL -- : 0x8939c5b2
PROC INIT OK!
PPP generic driver version 2.4.2
PPP BSD Compression module registered
MSTC: Force stop ubifs background thread for RootFS2
PPP MPPE Compression module registered
NET: Registered protocol family 24
IMQ driver loaded successfully.
        Hooking IMQ before NAT on PREROUTING.
        Hooking IMQ after NAT on POSTROUTING.
usbcore: registered new interface driver cdc_ether
DRV_RHPC: Detect Modem fail with 0x1, run startup status detection thread!!
Platform Driver Remote Host Procedure Call init.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
netem: version 1.2
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (1934 buckets, 7736 max)
ctnetlink v0.93: registering with nfnetlink.
SIP_ALG: handling multiport from 5060 to 5067
matchsize=264
xt_time: kernel timezone is -0000
IPVS: Registered protocols ()
IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
IPVS: ipvs loaded.
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
TCP cubic registered
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
tunl0: Disabled Privacy Extensions
ip6_tables: (C) 2000-2006 Netfilter Core Team
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
ip6tnl0: Disabled Privacy Extensions
NET: Registered protocol family 17
Bridge firewalling registered
Ebtables v2.0 registered
L2TP core driver, V2.0
PPPoL2TP kernel driver, V2.0
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
DRV_RHPC: Waiting LTE module initialization...
UBIFS: static UBI volume - read-only mode
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: mounted read-only
UBIFS: file system size:   26030080 bytes (25420 KiB, 24 MiB, 205 LEBs)
UBIFS: journal size:       2064384 bytes (2016 KiB, 1 MiB, 17 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem) readonly on device 0:11.
Freeing unused kernel memory: 220k freed
DRV_RHPC: Waiting LTE module initialization...
yaffs: dev is 32505866 name is "mtdblock10" rw
yaffs: passed flags ""
yaffs: yaffs: Attempting MTD mount of 31.10,"mtdblock10"
yaffs: 1 blocks to be sorted...
yaffs: yaffs_read_super: is_checkpointed 0
yaffs: dev is 32505873 name is "mtdblock17" rw
yaffs: passed flags ""
yaffs: yaffs: Attempting MTD mount of 31.17,"mtdblock17"
yaffs: 1 blocks to be sorted...
yaffs: yaffs_read_super: is_checkpointed 0
yaffs: dev is 32505869 name is "mtdblock13" rw
yaffs: passed flags ""
yaffs: yaffs: Attempting MTD mount of 31.13,"mtdblock13"
yaffs: 43 blocks to be sorted...
yaffs: yaffs_read_super: is_checkpointed 0
Raeth v3.1 (Tasklet)
phy_free_head is 0x76e2000!!!
phy_free_tail_phy is 0x76e3ff0!!!
txd_pool=a76e4000 phy_txd_pool=076E4000
ei_local->skb_free start address is 0x87f3d494.
free_txd: a76e4010, ei_local->cpu_ptr: 076E4000
 POOL  HEAD_PTR | DMA_PTR | CPU_PTR
----------------+---------+--------
     0xa76e4000 0x076E4000 0x076E4000

phy_qrx_ring = 0x076df000, qrx_ring = 0xa76df000

phy_rx_ring0 = 0x076e6000, rx_ring0 = 0xa76e6000
change HW-TRAP to 0x17ccf
set LAN/WAN LLLLW
GMAC1_MAC_ADRH -- : 0x0000e4ab
GMAC1_MAC_ADRL -- : 0x8939c5b2
GDMA2_MAC_ADRH -- : 0x0000e4ab
GDMA2_MAC_ADRL -- : 0x8939c5b2
eth3: ===> VirtualIF_open
MT7621 GE2 link rate to 10M/1G
CDMA_CSG_CFG = 81000000
GDMA1_FWD_CFG = 20710000
GDMA2_FWD_CFG = 20710000
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
FM_OUT value: u4FmOut = 0(0x00000000)
xhc_mtk xhc_mtk: xHCI Host Controller
xhc_mtk xhc_mtk: new USB bus registered, assigned bus number 1
xhc_mtk xhc_mtk: irq 22, io mem 0x1e1c0000
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
xhc_mtk xhc_mtk: xHCI Host Controller
xhc_mtk xhc_mtk: new USB bus registered, assigned bus number 2
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usb 1-2: new high speed USB device number 2 using xhc_mtk
xhc_mtk xhc_mtk: WARN: short transfer on control ep
xhc_mtk xhc_mtk: WARN: short transfer on control ep
xhc_mtk xhc_mtk: WARN: short transfer on control ep
usb 1-2: ep 0x83 - rounding interval to 32768 microframes, ep desc says 0 microframes
usb 1-2: ep 0x2 - rounding interval to 32768 microframes, ep desc says 0 microframes
usb 1-2: ep 0x84 - rounding interval to 32768 microframes, ep desc says 0 microframes
usb 1-2: ep 0x3 - rounding interval to 32768 microframes, ep desc says 0 microframes
usb 1-2: ep 0x85 - rounding interval to 32768 microframes, ep desc says 0 microframes
usb 1-2: ep 0x4 - rounding interval to 32768 microframes, ep desc says 0 microframes
usb 1-2: ep 0x86 - rounding interval to 32768 microframes, ep desc says 0 microframes
usb 1-2: ep 0x5 - rounding interval to 32768 microframes, ep desc says 0 microframes
xhc_mtk xhc_mtk: WARN: short transfer on control ep
info=876f04c0
usb 1-2: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes
usb 1-2: ep 0x1 - rounding interval to 32768 microframes, ep desc says 0 microframes
xhc_mtk xhc_mtk: WARN: short transfer on control ep
lxz device is Balong device bcdDevice=102, InterfaceSubClass=3
xhc_mtk xhc_mtk: WARN: Stalled endpoint
option 1-2:1.1: GSM modem (1-port) converter detected
ADDRCONF(NETDEV_UP): usbcomm0: link is not ready
ADDRCONF(NETDEV_CHANGE): usbcomm0: link becomes ready
usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
option 1-2:1.2: GSM modem (1-port) converter detected
usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
option 1-2:1.3: GSM modem (1-port) converter detected
usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2
option 1-2:1.4: GSM modem (1-port) converter detected
usb 1-2: GSM modem (1-port) converter now attached to ttyUSB3
Router hwver is 0x1234.
DRV_RHPC: Router hardware version read from modem at 3 time is 0x1234.
ESW: Link Status Changed - Port2 Link UP
device eth2 entered promiscuous mode
br0: port 1(eth2) entering learning state
br0: port 1(eth2) entering learning state
got netlink message from user_pid 229
br0: port 1(eth2) entering forwarding state
eth2: no IPv6 routers present
[CHIP_COMM] LINE:731: [client] wait resp msg timeout, error:-11!
drv_rhpc_router_get_product_name_proc: Send msg to modem fail with 0x1.
chip_comm_server_proc: get_productname failed with 1.
[CHIP_COMM] LINE:445: [server] begin receive message...
usbcomm0: no IPv6 routers present
switch register base addr to 0xbe110008
write offset 0x0, value 0x8000c
0x8000c
br0: no IPv6 routers present
hw_nat: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
Ralink HW NAT Module Enabled
GDMA2_MAC_ADRH -- : 0x00000010
GDMA2_MAC_ADRL -- : 0x18000a01
eth3: ===> VirtualIF_open
device eth3 entered promiscuous mode

how to compile openwrt for this device