OpenWrt build for ZBT z8102ax - M2-a -t (v2)

So the leds are alright. Thanks
So about MACs - just head to luci network page and tell us if there are any strange MACs there like AA:BB... something that seems generic and not device specific (sorry but as mentioned I don't have have access to my v2)

Hi, I have just your 8gag.bin file by Uboot webui to flash new image.

I have checked this page, is it ok for you?

Once I have openwrt installed, I will also help with my feedback (I am a bit newbie but I will try to help)

Yeah so I need a similar page with 8gag.bin file flashed.

Hi, the screenshoot is the 8gag.bin file flashed (see the text above the image)

Hi everyone, so there are my considerations so far.
I flashed the 8gag.bin and everything was fine about led and mac address for me.
But found the same bug makap told in post#17 interface wan absent. In fact I can't configure my wan (PPoE) protocol despite password and username correct.
I reverted to openwrt stock (means the 21.02 version shipped with the router and did the same configuring WAN as ppoe and everything was fine.
@conqueror my modem is this one


I gathered the info in the old firmware, hope to find driver to use the module in the maurer version.

1 Like

No worries, we're here to test.

Meanwhile I just rebootet the router again.
So first of all, actually the leftmost led started out green, while the 3rd (mesh) led was red.
Idk, after turning it off it acted 2 times again strange and didn't seem to do anything and it seemed to be stuck.
But when I was connecting it to the serial adapter, it all magically booted again.

Random madness

Then later, which was even weird, when the TX line from the usb serial adapter was connected, the red mesh led of the router is on, while the friggin router is disconnected from 12v.
I don't know what is wrong with my setup but that is weird.
Also occasionally during this weird thing going on I got garbled output like this
(and no I never connected vcc, this was only gnd, tx, rx connected)

root@OpenWrt:~# ll
drwxr-x--- 1 root root 936 Jun 5 2025 ./
drwxr-xr-x 1 root root 352 Jun 5 06:02 ../
-rw-r--r-- 1 root root 0 Jun 5 2025 �������~���6�������~
-rw-r--r-- 1 root root 0 Jun 5 2025 ���00������)

Anyway i disconnected the TX side from my usb / RX side on the router, and then it was off.
After that serial worked again, too. but haven't tested any TX.

To sum up, now the leftmost led started out green, while the 3rd (mesh) led was red. Then the green led goes off, the mesh led blinks red a lot (around the rng init or something in dmesg).
And after that the mesh led is yellow.

And regarding MACs:
No, everything looks fine as before. no strange stuff in the network/wireless pages.

1 Like

Thank you all for the test.
I'm afk for a few days so maybe someone can comment on the PR that all the tests requested are fine with the code changes or I'll do it on Tuesday when I'm back

1 Like

Thanks Maurer, I don't feel confident writing in github PR. I can do more "guided test". Regards,

1 Like

Ok, I added a comment to the PR referencing our recent tests and that it works.
Let's hope that helps.

2 Likes

Ok I hate to be that guy, but now I did some simple testing and ran into problems. (esp after writing in github that it works :zany_face: ... )

I just plugged the lan cable from my current router into the wan interface assuming the wan should be idiot proof and default config working out of the box - but well, it doesn't.


Initially they were all pointing to the "wan" connection (whatever that is, like in the pic for wan6 - "wan"), but now I set it to eth0 - but still doesn't work.

I don't have enough openwrt knowledge, so idk, if that's my user error, or that is an issue with the device config in general.
(tho i would expect, as long i set it to dhcp client, it should work as a normal lan dhcp client and get the ip from my main router with no issues, right ?)

@Walfarash so you still reverted to the old stock, or what are you currently using ?

update:
Just to add some confusion:
From 2 weeks ago, when I tested ROOter, I also connected via wan, and that worked. And when checking in my current main router, it is still saved there, and the MAC is the one from eth1 interface.
Meanwhile, when i plugged in today the wan interface, ip a said:

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1504 qdisc mq state UP qlen 1000
link/ether (not the ROOter MAC) brd ff:ff:ff:ff:ff:ff
inet6 fe80::......../64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether (the ROOter MAC) brd ff:ff:ff:ff:ff:ff

So, now eth0 seems to be connected despite not having the original ROOter MAC, while eth1 is disconnected.
So which is which ?
and there is only one additional wan port,
what is the other eth interface then ?

The lan's are sorta somehow related to lan4@eth0 ...

@conker: I used rooter but was unable to update or make modem connection works, even with the stock firmware (keep getting error 4 with opkg update probably because now it use apk). so I am with maurer image now, trying to configure modem and a radius server and mesh wifi... it will be a long path :smiling_face_with_tear:

about wan I think there is some issue with the maurer image. I found the main bug as makap in post #17 (absent wan interface) and found probably a cause here (but don't know I don't have programming skill)
mod-app-ddns: Absent Interface: "wan" shown by default for the Interface IP address source · Issue #7554 · openwrt/luci
anyway as you said with rooter and stock firmrware wan port was easy to configure, just plug the rj45 connector in and set username and password (At least for me that I have pppoe connection).
yesterday managed to have it work partially: these are my settings: (so wan is on eth1 as device)


but if i go in home view nothing is seen connected on wan port

let's see what maurer can say about that...
btw maurer how to install kmod package since it is a snapshot? kmod-usb-net-cdc-ether keep giving problem for kernel version..

As I don't have access to my device please post a "dmesg" in a pastebin link and also the output of "ip a" command.
as for kmod - here's a imagebuilder with all modules built in https://0x0.st/8EOQ.tar.zst - but you'll have to figure out the installation/how-to part

Probably mostly directly to @maurer and other devs:
So given that those work, I was wondering, what exactly do we need for the "proper" support / functionality ?
Can't we take the ROOter dts and/or config files and "just port" them to vanilla owrt ?

Or the other idea I had was having a closer look at the stock owrt that the zbt support sent me over WA. Kernel seems to have compiled dtb device trees,
but these can be decompiled again, how useful would that be ?
It looks kinda annoying (esp bc the source should be technically gpl/available) but should be doable.with the decompile of the dtb, too.

Or I'll probably ask the zbt support for the sources of the stock wrt, as they technically/according to gpl should be required to make it accessible, too, right ?

On one hand, I do want a working router, on the other hand, I'm getting kinda annoyed and angry, why we have to do the work for free for the manufacturer ...

hi maurer, obviously thank for your reply.
here is the dmseg result

and here the ip a command

maurer, the imagebuilder build your custom image for v2 right?

1 Like

This is what I actually did

not really useful

no point right now - the changes are not that big compared to v1 - the difference is mostly related to bootloader and sim cards

we don't do it for the manufacturer but for ourselves :slight_smile: to get rid of the manufacturer - for the irony of it :sweat_smile:

the imagebuilder is for the mediatek target - you can build any firmware from that target but in this case it has all the latest changes from my PR

1 Like

Thanks maurer, and it is possible to extract packet from openwrt stock firmware? I mean in the stock openwrt firmare there are quectel driver and ax8102.ipk. they are for kernel 5.5 tho...

already stated about this part

I know that but look at this:
these are the packets installed on openwrt stock 22.11 (or so on) version:

packages

This text will be hidden

1905daemon - 1
8021xd - 1
WatchDog - v2.0

at-cmd - v2.0
ated_ext - 2
attr - 2.4.48-2
avahi-dbus-daemon - 0.8-7
base-files - 230616.36714-23.1109_015905
block-mount - 2021-01-04-c53b1882-1
blockd - 2021-01-04-c53b1882-1
busybox - 1.33.2-230616.36714
ca-bundle - 20210119-1
ca-certificates - 20210119-1
cgi-io - 2022-08-10-901b0f04-21
chat - 2.4.8.git-2020-10-03-3
comgt - 0.32-33
curl - 7.83.1-1
datconf - 1
datconf-lua - 1
dbus - 1.13.12-1
dnsmasq - 2.85-230616.36714
dropbear - 2020.81-2
ethtool - 5.10-1
firewall - 2021-03-23-61db17ed-1.1
fstools - 2021-01-04-c53b1882-1
fwdd - 1
fwtool - 2019-11-12-8f7fe925-1
getrandom - 2020-10-25-9ef88681-2
ip-bridge - 5.11.0-3
ip-tiny - 5.11.0-3
ip6tables - 1.8.7-1
iperf3 - 3.10.1-1
ipset - 7.6-1
iptables - 1.8.7-1
iptables-mod-conntrack-extra - 1.8.7-1
iptables-mod-extra - 1.8.7-1
iptables-mod-ipopt - 1.8.7-1
iptables-mod-ipsec - 1.8.7-1
iptables-mod-nat-extra - 1.8.7-1
iw - 5.9-8fab0c9e-230616.36714
iwinfo - 2022-04-26-dc6847eb-1
jshn - 2021-05-16-b14c4688-2
json4lua - 0.9.54-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 5.4.213-1-1717f6473d609de1e050374e8a789668
kmod-asn1-decoder - 5.4.213-1
kmod-ata-core - 5.4.213-1
kmod-conninfra - 5.4.213-1
kmod-crypto-acompress - 5.4.213-1
kmod-crypto-aead - 5.4.213-1
kmod-crypto-arc4 - 5.4.213-1
kmod-crypto-authenc - 5.4.213-1
kmod-crypto-cbc - 5.4.213-1
kmod-crypto-ccm - 5.4.213-1
kmod-crypto-cmac - 5.4.213-1
kmod-crypto-crc32c - 5.4.213-1
kmod-crypto-ctr - 5.4.213-1
kmod-crypto-cts - 5.4.213-1
kmod-crypto-deflate - 5.4.213-1
kmod-crypto-des - 5.4.213-1
kmod-crypto-ecb - 5.4.213-1
kmod-crypto-echainiv - 5.4.213-1
kmod-crypto-gcm - 5.4.213-1
kmod-crypto-gf128 - 5.4.213-1
kmod-crypto-ghash - 5.4.213-1
kmod-crypto-hash - 5.4.213-1
kmod-crypto-hmac - 5.4.213-1
kmod-crypto-lib-chacha20 - 5.4.213-1
kmod-crypto-lib-chacha20poly1305 - 5.4.213-1
kmod-crypto-lib-curve25519 - 5.4.213-1
kmod-crypto-lib-poly1305 - 5.4.213-1
kmod-crypto-manager - 5.4.213-1
kmod-crypto-md4 - 5.4.213-1
kmod-crypto-md5 - 5.4.213-1
kmod-crypto-null - 5.4.213-1
kmod-crypto-pcompress - 5.4.213-1
kmod-crypto-rng - 5.4.213-1
kmod-crypto-seqiv - 5.4.213-1
kmod-crypto-sha1 - 5.4.213-1
kmod-crypto-sha256 - 5.4.213-1
kmod-crypto-sha512 - 5.4.213-1
kmod-fibocom_gobinet - 5.4.213+1.0.0-1
kmod-fs-autofs4 - 5.4.213-1
kmod-fs-exportfs - 5.4.213-1
kmod-fs-ksmbd - 5.4.213+3.4.5-1
kmod-fs-nfs-common - 5.4.213-1
kmod-fs-nfs-common-rpcsec - 5.4.213-1
kmod-fs-nfsd - 5.4.213-1
kmod-fs-vfat - 5.4.213-1
kmod-gpio-button-hotplug - 5.4.213-3
kmod-gre - 5.4.213-1
kmod-ifb - 5.4.213-1
kmod-ip6tables - 5.4.213-1
kmod-ipsec - 5.4.213-1
kmod-ipsec4 - 5.4.213-1
kmod-ipt-conntrack - 5.4.213-1
kmod-ipt-conntrack-extra - 5.4.213-1
kmod-ipt-core - 5.4.213-1
kmod-ipt-extra - 5.4.213-1
kmod-ipt-ipopt - 5.4.213-1
kmod-ipt-ipsec - 5.4.213-1
kmod-ipt-ipset - 5.4.213-1
kmod-ipt-nat - 5.4.213-1
kmod-ipt-nat-extra - 5.4.213-1
kmod-ipt-offload - 5.4.213-1
kmod-ipt-raw - 5.4.213-1
kmod-iptunnel - 5.4.213-1
kmod-iptunnel4 - 5.4.213-1
kmod-l2tp - 5.4.213-1
kmod-leds-gpio - 5.4.213-1
kmod-lib-crc-ccitt - 5.4.213-1
kmod-lib-crc32c - 5.4.213-1
kmod-lib-textsearch - 5.4.213-1
kmod-lib-zlib-deflate - 5.4.213-1
kmod-lib-zlib-inflate - 5.4.213-1
kmod-mapfilter - 5.4.213-1
kmod-mediatek_hnat - 5.4.213-1
kmod-mii - 5.4.213-1
kmod-mppe - 5.4.213-1
kmod-mt_wifi - 5.4.213+TEST-1
kmod-mtdtests - 5.4.213-1
kmod-mtfwd - 5.4.213-1
kmod-nf-conntrack - 5.4.213-1
kmod-nf-conntrack6 - 5.4.213-1
kmod-nf-flow - 5.4.213-1
kmod-nf-ipt - 5.4.213-1
kmod-nf-ipt6 - 5.4.213-1
kmod-nf-nat - 5.4.213-1
kmod-nf-nathelper-extra - 5.4.213-1
kmod-nf-reject - 5.4.213-1
kmod-nf-reject6 - 5.4.213-1
kmod-nfnetlink - 5.4.213-1
kmod-nls-base - 5.4.213-1
kmod-nls-cp437 - 5.4.213-1
kmod-nls-iso8859-1 - 5.4.213-1
kmod-nls-utf8 - 5.4.213-1
kmod-ppp - 5.4.213-1
kmod-pppoe - 5.4.213-1
kmod-pppol2tp - 5.4.213-1
kmod-pppox - 5.4.213-1
kmod-pptp - 5.4.213-1
kmod-sched-connmark - 5.4.213-1
kmod-sched-core - 5.4.213-1
kmod-scsi-core - 5.4.213-1
kmod-slhc - 5.4.213-1
kmod-tun - 5.4.213-1
kmod-udptunnel4 - 5.4.213-1
kmod-udptunnel6 - 5.4.213-1
kmod-usb-acm - 5.4.213-1
kmod-usb-core - 5.4.213-1
kmod-usb-ehci - 5.4.213-1
kmod-usb-ledtrig-usbport - 5.4.213-1
kmod-usb-net - 5.4.213-1
kmod-usb-net-cdc-ether - 5.4.213-1
kmod-usb-net-cdc-ncm - 5.4.213-1
kmod-usb-net-qmi-wwan - 5.4.213-1
kmod-usb-net-rndis - 5.4.213-1
kmod-usb-net-sierrawireless - 5.4.213-1
kmod-usb-ohci - 5.4.213-1
kmod-usb-serial - 5.4.213-1
kmod-usb-serial-ftdi - 5.4.213-1
kmod-usb-serial-option - 5.4.213-1
kmod-usb-serial-wwan - 5.4.213-1
kmod-usb-storage - 5.4.213-1
kmod-usb-wdm - 5.4.213-1
kmod-usb2 - 5.4.213-1
kmod-usb3 - 5.4.213-1
kmod-warp - 5.4.213-1
kmod-wireguard - 5.4.213-1
ksmbd-server - 3.4.5-3
kvcedit - 1
libatomic1 - 8.4.0-3
libattr - 2.4.48-2
libavahi-client - 0.8-7
libavahi-dbus-support - 0.8-7
libblkid1 - 2.36.1-2
libblobmsg-json20210516 - 2021-05-16-b14c4688-2
libc - 1.1.24-3
libcap - 2.43-1
libcap-ng - 0.8.1-1
libcurl4 - 7.83.1-1
libdaemon - 0.14-5
libdbus - 1.13.12-1
libexpat - 2.2.10-2
libfstools-bootparam - 2021-01-04-c53b1882-1
libgcc1 - 8.4.0-3
libgmp10 - 6.2.1-1
libgnutls - 3.7.1-2
libip4tc2 - 1.8.7-1
libip6tc2 - 1.8.7-1
libipset13 - 7.6-1
libiwinfo-data - 2022-04-26-dc6847eb-1
libiwinfo-lua - 2022-04-26-dc6847eb-1
libiwinfo20210430 - 2022-04-26-dc6847eb-1
libjson-c5 - 0.15-2
libjson-script20210516 - 2021-05-16-b14c4688-2
libkvcutil - 1
liblua5.1.5 - 5.1.5-9
liblucihttp-lua - 2021-06-11-3dc89af4-1
liblucihttp0 - 2021-06-11-3dc89af4-1
liblzo2 - 2.10-4
libmapd - 1
libmnl0 - 1.0.4-2
libncurses6 - 6.2-3
libnettle8 - 3.6-1
libnghttp2-14 - 1.43.0-1
libnl-core200 - 3.5.0-1
libnl-genl200 - 3.5.0-1
libnl-tiny1 - 2020-08-05-c291088f-2
libopenssl1.1 - 1.1.1q-1
libpcap1 - 1.9.1-3.1
libpopt0 - 1.16-2
libpthread - 1.1.24-3
libqrencode - 4.1.1-1
libreadline8 - 8.1-1
librt - 1.1.24-3
libtasn1 - 4.16.0-1
libtirpc - 1.3.2-1
libubox20210516 - 2021-05-16-b14c4688-2
libubus-lua - 2021-06-30-4fc532c8-2
libubus20210630 - 2021-06-30-4fc532c8-2
libuci-lua - 2021-04-14-4b3db117-5
libuci20130104 - 2021-04-14-4b3db117-5
libuclient20201210 - 2021-05-14-6a6011df-1
liburing - 0.7-1
libustream-openssl20201210 - 2022-01-16-868fd881-1
libuuid1 - 2.36.1-2
libwolfssl5.2.0.7a924b25 - 5.2.0-stable-230616.36714
libxtables12 - 1.8.7-1
logd - 2020-10-25-9ef88681-2
lua - 5.1.5-9
lua-cjson - 2.1.0-2
luasocket - 2019-04-21-733af884-1
luci - git-20.074.84698-ead5e81
luci-app-cellular - v1.0
luci-app-cellularInfo - v2.0
luci-app-firewall - git-22.089.67741-3856d50
luci-app-ksmbd - git-21.295.66827-c592d0a
luci-app-mtk - 231030.04308
luci-app-mwan3 - git-21.126.37401-0ddb72d
luci-app-openvpn - git-22.025.78298-e927a11
luci-app-opkg - git-22.154.41894-1cf976c
luci-app-qos - git-20.108.38431-8f34e10
luci-app-samba4 - git-21.295.66822-2e989d8
luci-app-ttl - 1-0
luci-app-upnp - git-20.332.74200-03c77da
luci-app-wireguard - git-20.244.42172-21563a2
luci-base - git-22.245.77575-63bfee6
luci-compat - git-22.046.85744-f08a0f6
luci-i18n-base-en - git-22.240.58472-bdaec14
luci-i18n-base-zh-cn - git-22.240.58472-bdaec14
luci-i18n-firewall-en - git-22.240.58472-bdaec14
luci-i18n-firewall-zh-cn - git-22.240.58472-bdaec14
luci-i18n-ksmbd-en - git-22.240.58472-bdaec14
luci-i18n-ksmbd-zh-cn - git-22.240.58472-bdaec14
luci-i18n-mwan3-en - git-22.240.58472-bdaec14
luci-i18n-mwan3-zh-cn - git-22.240.58472-bdaec14
luci-i18n-openvpn-en - git-22.240.58472-bdaec14
luci-i18n-openvpn-zh-cn - git-22.240.58472-bdaec14
luci-i18n-opkg-en - git-22.240.58472-bdaec14
luci-i18n-opkg-zh-cn - git-22.240.58472-bdaec14
luci-i18n-qos-en - git-22.240.58472-bdaec14
luci-i18n-qos-zh-cn - git-22.240.58472-bdaec14
luci-i18n-samba4-en - git-22.240.58472-bdaec14
luci-i18n-samba4-zh-cn - git-22.240.58472-bdaec14
luci-i18n-upnp-en - git-22.240.58472-bdaec14
luci-i18n-upnp-zh-cn - git-22.240.58472-bdaec14
luci-i18n-wireguard-en - git-22.163.60897-a037a14
luci-i18n-wireguard-zh-cn - git-22.163.60897-a037a14
luci-lib-base - git-20.232.39649-1f6dc29
luci-lib-ip - git-20.250.76529-62505bd
luci-lib-json - git-18.184.37844-cde13dc
luci-lib-jsonc - git-22.097.61937-bc85ba5
luci-lib-nixio - git-20.234.06894-c4a4e43
luci-mod-admin-full - git-19.253.48496-3f93650
luci-mod-network - git-22.244.54918-77c916e
luci-mod-status - git-22.089.70019-d4f0b06
luci-mod-system - git-22.264.46189-30ba277
luci-proto-3g - git-22.046.84868-a7b0fe1
luci-proto-ipv6 - git-21.148.49484-14511e5
luci-proto-ppp - git-21.163.64918-6c6559a
luci-proto-wireguard - git-21.243.21928-71fe35c
luci-theme-material - git-21.295.66888-fc702bc
mapd - 1
mii_mgr - 1
miniupnpd - 2.2.1-3
mtd - 26
mtk-base-files - 1-23.1109_020055
mtk_factory_rw - 1-unknown
mtkhnat_util - 1-unknown
mwan3 - 2.10.13-1
netifd - 2021-10-30-8f82742c-1
odhcp6c - 2021-01-09-53f07e90-16
odhcpd-ipv6only - 2021-07-18-bc9d317f-230616.36714
omcproxy - 2018-12-14-722151f0-9
openvpn-openssl - 2.5.3-3
openwrt-keyring - 2021-02-20-49283916-2
opkg - 2021-06-13-1bf042dd-1
ppp - 2.4.8.git-2020-10-03-3
ppp-mod-pppoe - 2.4.8.git-2020-10-03-3
ppp-mod-pppol2tp - 2.4.8.git-2020-10-03-3
ppp-mod-pptp - 2.4.8.git-2020-10-03-3
procd - 2021-03-08-2cfc26f8-230616.36714
qos-scripts - 1.3.1-230616.36714
qrencode - 4.1.1-1
quectel-CM - v1.0
regs - 1
resolveip - 2
rpcd - 2022-02-19-8d26a1ba-1
rpcd-mod-file - 2022-02-19-8d26a1ba-1
rpcd-mod-iwinfo - 2022-02-19-8d26a1ba-1
rpcd-mod-luci - 20210614
rpcd-mod-rrdns - 20170710
samba4-libs - 4.14.12-1
samba4-server - 4.14.12-1
sigma_daemon - 1
sigma_dut - 1
swconfig - 12
switch - 1
tc-mod-iptables - 5.11.0-3
tc-tiny - 5.11.0-3
tcpdump - 4.9.3-4
terminfo - 6.2-3
ubi-utils - 2.1.2-1
ubox - 2020-10-25-9ef88681-2
ubus - 2021-06-30-4fc532c8-2
ubusd - 2021-06-30-4fc532c8-2
uci - 2021-04-14-4b3db117-5
uclient-fetch - 2021-05-14-6a6011df-1
uhttpd - 2021-03-21-15346de8-2
uhttpd-mod-ubus - 2021-03-21-15346de8-2
urandom-seed - 3
urngd - 2020-01-21-c7f7b6b6-1
usign - 2020-05-23-f1f65026-1
wapp - 1
wifi-profile - 1-23.1109_020100
wificonf - 1
wifidog - 1.3.0-6
wireguard-tools - 1.0.20210223-2
wireless-regdb - 2021.08.28-1
wireless-tools - 29-6
wsdd2 - 2021-08-09-bcc51c3e-1
xl2tpd - 1.3.16-2
zlib - 1.2.11-6

Z8102AX-files - v1.0
quectel-CM - v1.0
kmod-quectel_gobinet - 5.4.213+1.1.2-1
kmod-quectel_qmi - 5.4.213+1.1.2-1
is there a way to extract the one bolded? I didn't find theme anywhere...I am curious about the first one Z8102AX-files - v1.0.ipk maybe there are interesting file for firmware... and also quectel package for 5g module...

You won't get this in official openwrt - it's zbt only

I know, it is inside the openwrt image zbt use ( an openwrt 22.11 version), not in the zbt os. There is no mode to extract and see what is it?
And what about these ones? are they available somewhere?
kmod-quectel_gobinet - 5.4.213+1.1.2-1
kmod-quectel_qmi - 5.4.213+1.1.2-1