IPQ5018: GLiNET B3000 info

@danpawlik @bluewavenet .. I got around to fixing the mac assignment (has been broke for sometime) I you don't mind testing and leaving some feedback for the pr that would be helpful.

qualcommax: ipq5018: glinet-gl-b3000: fix dts nvmem macs #20664

cheers

I read through this thread last night - thanks so much to @Hostle and the rest for managing to port OpenWRT to the B3000. I bought this to act as a wired backhaul AP to extend my home network to discover that stock gl.inet firmware doesn't really handle multiple SSIDs and VLAN capabilities so am tearing my hair out (want to broadcast a 2.4GHz and 5GHz main on VLAN1, IoT 2.4GHz on 20, guest 2.4GHz on 30)

I have tried using the FIrmware Selector tool to load a nightly build with the default suggested packages. I can't work out from the published Github repo whether the .img files there have say, Luci, or are barebones (e.g. the rc3 file).

apk-mbedtls ath11k-firmware-ipq5018 base-files ca-bundle dnsmasq dropbear e2fsprogs firewall4 fstools kmod-ath11k-ahb kmod-fs-ext4 kmod-gpio-button-hotplug kmod-leds-gpio kmod-nft-offload kmod-qca-nss-dp kmod-usb-dwc3 kmod-usb-dwc3-qcom kmod-usb3 libc libgcc libustream-mbedtls logd losetup mtd netifd nftables odhcp6c odhcpd-ipv6only ppp ppp-mod-pppoe procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd wpad-basic-mbedtls ath11k-firmware-qcn6122 ipq-wifi-glinet_gl-b3000 dumpimage luci

and it returns a huge string of errors.

Generate local signing keys...
WARNING: can't open config file: /builder/shared-workdir/build/staging_dir/host/etc/ssl/openssl.cnf
WARNING: can't open config file: /builder/shared-workdir/build/staging_dir/host/etc/ssl/openssl.cnf
read EC key
writing EC key
WARNING: opening /builder/packages/packages.adb: No such file or directory
Package list missing or not up-to-date, generating it.

Building package index...
ERROR: unable to select packages:
  libubox20251004 (no such package):
    required by: mtd-26[libubox20251004]
make[2]: *** [Makefile:227: package_install] Error 2
make[1]: *** [Makefile:167: _call_manifest] Error 2
make: *** [Makefile:345: manifest] Error 2

Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/rq/worker.py", line 1659, in perform_job
    return_value = job.perform()
                   ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1318, in perform
    self._result = self._execute()
                   ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/rq/job.py", line 1376, in _execute
    result = self.func(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/asu/build.py", line 437, in build
    result = _build(build_request, job)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/asu/build.py", line 256, in _build
    report_error(job, "Impossible package selection")
  File "/app/asu/util.py", line 329, in report_error
    raise RuntimeError(msg)
RuntimeError: Impossible package selection

Does anyone have a prebuilt, ready to load .bin file for the 'average Joe' to flash?

I can build you one, what packages do you require ?

EDIT

Just checked the firmware selector and its working fine from here,

select factory ...

and a few seconds later ..

you may want to try it again :slight_smile:

Wow, that was incredibly stupid of me. What a great start to the forum!

I cliced customize installsed packaged and/or first boot script, saw all the options and assumed you had to then click 'request build' at that point to request a 'customized' build.

I'll download the Factor file and flash it now. Thanks.

So, following those instructions, downloaded the factory build....it doesn't have Luci or any of those packages, which is what I was looking for. I can SSH into the router but can't access any web interface.

Please can you build me one? I guess the only package I can think of that I need is Luci - I am not great with command-line work, but if you can suggest any other useful packages that an interested home user might need (plan is to use this as a dumb AP as described above) I would be grateful.

luci should be included ... but i can whip you one up and post a link.

That would be awesome - thank you.

Sorry for the delay ... some recent changes triggered a full rebuild of the toolchain .. to that point, has anyone else noticed the compile size has increased again by nearly 1mb ?? This exact same build 1 week ago weighed in at 18.25mb ... today's it weighs 19.5mb

Anyhow, here is the link to the img. The build sheet is included
openwrt-qualcommax-ipq50xx-glinet_gl-b3000-squashfs-factory.img

Let me know if you have any problems or need help getting it flashed from cmd line

Cheers

@matrix ... it took me a while but i have found a "workaround" fix for luci SNR.

check out progress here --> https://github.com/openwrt/openwrt/issues/18563#issuecomment-3536918084

latest build with working SNR as described

openwrt-qualcommax-ipq50xx-glinet_gl-b3000-squashfs-factory-snr-ack_sig

cheers

I have a disaster. The firmware flashed just fine. I went to change the interface IP settings in Luci to DHCP client, DHCP server off, static IP address. I saved and rebooted. I had obviously set it up wrong because I couldn't access it from my network. Sigh. Went to boot into uboot and....nothing.

Uboot has been overwritten. The led pattern has gone. Following the OpenWRT recovery instructions, I can start the router in fail-safe mode (quick flashing LED) but it's useless. I can't browse to 192.168.1.1, can't ping the device (have set my computer ethernet interface to IP 192.168.1.2 with subnet 255.255.255.0). I have held the reset button down for a minute with it booting, and it does nothing.

I have literally bricked my new router :frowning: I have no idea what else to do.

checked if eth0 isn't by any chance your WAN port ?

I doubt it.

serial.

take a breath ... your router will be just fine, these things are practically bulletproof :slight_smile:

I assure you uboot has not been over written by what you've done. Lets start by getting it into recovery mode.

with a cable connected from lan1 to you pc, cycle the power to the router and observe the led activity. Once you see the led light up. press and hold the reset button, the led will begin to flash (5 times) then it will turn to white and remain on. This signals the router is in recovery mode and waiting for firmware.

Start there for now. Once you get it into recovery mode i will explain your next steps.

EDIT

I got to run so here is a quick run down of what you need to do once in recovery mode.

once you have the solid white led setup static ip on your pc (seems like you've done this already)

ip: 192.168.1.2
netmask: 255.255.255.0
gateway: 192.168.1.11

next open a private browser window and enter the ip 192.168.1.1 and hit enter, you should see the following page.

click the browse and navigate to the firmware, select it ... then WAIT for the filename to populate in the web page beside the browse button, this can take a few seconds depending on the file size. Once the filename appears, go a head and hit the Update Firmware button ONCE and WAIT ...

at this put do not touch anything just watch the led on the device, it will go off, then do the boot routine and eventually remain on solid white once it has booted (if using the openwrt image for recovery). If you use the oem img to recover, the led will slowly blink blue once the device has booted, remember, oem takes over 1.5 minutes to fully boot ... and the ip will be the oem ip (192.168.8.1) once it has booted.

At this point you can un-set the static ip on your pc and log on as usual at 192.168.1.1

Good luck

I think we've got the SNR issue sorted, could use a couple testers to confirm

openwrt-qualcommax-ipq50xx-glinet_gl-b3000-squashfs-factory-rssi-signal-fixed

please post your results, luci should fully populate all values now ..even SNR :slight_smile:

if you post pic's don't forget top blur your macs and other sensitive info

Cheers

Thanks so much for your offer to help. I appreciate it. Deep breath has been taken; was just tired and frustrated when I wrote that.

I followed your instructions to the letter, and also referenced the GLiNET uboot instructions. However, I am still unable to get into the UBOOT interface. I don't know how to explan it, but something has fundamentally changed in the boot sequence.

I was easily able to boot into uBoot before. I did it a few times just to get the muscle memory right even before I flashed the openWRT firmware for the first time! I powered off the B3000, held the reset button, plugged it back in and when I saw the flashing lights sequence stop, released the reset button, solid white light and immediate access to uBoot via 192.168.1.1

Now, I get about 3 or four flashes, then a pause, a few seconds of very fast flashing, slow flashing, then a solid light. If I follow the usual uboot sequence that I did previously, I get to the point where it should be a solid white light, but then it appears to reset. What I get is a brief pulse of white light, then the whole initial boot sequence repeats. It is as if the system resets - the initial startup sequence continues.

The first thing that I actually noticed, even before my inability to boot into uboot, was that my ethernet connection was showing as 'disconnected', even when it was connected. Eventually, this settles down after about two minutes, but again, this is a change.

I have tried a few Cat6 cables, on the WAN, LAN1 and LAN2 ports - no deal. I am unable to ping the router on 192.168.1.1 when I have my computer set to 192.168.1.2 when it is either in the solid white 'bootup complete' stage, or the failsafe mode (rapidly flashing white light).

this indicates uboot does not see anything on the lan ports. Seems like the problem is pc side, though uboot can be finicky at times. can you try again with a short cable plugged from the wan on router to lan1 on the router (trick it into thinking theres a pc on lan1) see if that gets the server started (solid white light). Also just hold the power button while you cycle the power and keep holding until the led turns white or 30 sec .. which ever comes first

Mate, thank you so much. Genuinely. The cable connected to the WAN and LAN1 port seemed to do it. I swear I must have tried to get it to uboot about fifty times over two days. I was despairing. I have just flashed your fixed RSSI signal firmware and I am in Luci! :grinning_face:

I don't know how generous you are feeling with any more advice - I am trying to set up this Marble to rebroadcast three networks (VLAN 1, 20, 30) from my Flint 2. The marble is connected via a VLAN-aware switch to my main router that handles DHCP for the network. Where I went wrong last time was setting right at the start - setting the br-lan interface IP address to the static one that my router has marked for it's MAC address.

I see each interface has a DHCP server - ignore interface option. There is also under Network - DHCP - dnsmasq - general - "Authorative" tickbox. Do you have to disable DHCP for each interface or does this dnsmasq option disable it across the device entirely?

afraid i am not much help to you there, but the question itself warrants its own thread. perhaps @psherman can help out ... and move the question to its own thread (if you don't mind)

we could use a few testers to confirm luci SNR is fully fixed and leave a comment in pr. test bin can be found in attached post.

cheers

Happy to return some help! What would you like screenshotted? Just the WiFi screen? Not sure what I'm looking for here.

Also, is it possible to set individual SSID channels with this firmware? When I tried to adjust each individual channel, saved and applied, all the channels set themselves to the last channel I manually set.

latest build with rssi fix and ipq5018 monitor mode enabled in driver
rssi-fixed-&-mon-mode-enabled.

monitor mode now works on either radio and can be enable in luci by setting mode to "monitor" and disabled the same way.

use qcn6122 for 5Ghz sniffing and/or the ipq5018 for 2.4Ghz

cheers