OpenWrt Support for Armor G5 (NBG7815)

@asvio I've been running your nbg7815-test branch succesfully for a few days, imho it seems stable and speedy enough for daily use, I've even migrated my adguardhome instance locally in the router together with some other services. Fan is still silent (not using the 10g port, just the 2.5g one).

It would make sense to export the temperatures in a dedicated graph, any idea how to do that?

Thanks for the feedbak.
Today I've update the test branch. Last master and some change to temp.

For graph, you can install luci-statistics + thermal and sensor pluging

CONFIG_PACKAGE_luci-app-statistics=y
CONFIG_PACKAGE_collectd-mod-thermal=y
CONFIG_PACKAGE_collectd-mod-sensors=y

1 Like

Are you sure? Github says your main is about 300 commits behind openwrt:main...
Just asking, needless to say :slight_smile:

Look at nbg7815-test branch.
main branch is an outdate openwrt

1 Like

Oh sorry I was under the impression that all your branches were forked from your main.

I'm going to rebuild :slight_smile:

Mmhh there's something wrong in the branch, the whole ipq807x target is missing...

EDIT: Nevermind, it looks like the target was moved to qualcommax from ipq807x.

have you update the image? in your post is ready to download? thanks

Not yet, I've just built it with a custom configuration. Anyways if the one you are using is working for you and you don't have issues, I'd suggest to avoid updating.

@asvio I noticed you pushed some updates to the test branch today. Do you remember which was the last commit from openwrt before your last merge/reset? Extroot is now broken for me and I'd like to identify the possible culprit... thanks.

Not sure but i bet for a860e439edefc941b1b5e2d4adf3956b353f4f90

1 Like

Hi everyone!
this is my first post, i tried to search about it but i couldn't find it.

I tried to install OpenWrt, the device doesn't boot anymore. :woozy_face:

This is the activity log. After reboot (last line of the script), the ssh connection no longer works and the LED never turns dark blue but keeps flashing light blue. Can you help me please?
Thanks.

PS C:\Users\Andrea\Downloads> scp .\openwrt-ipq807x-generic-zyxel_nbg7815-squashfs-sysupgrade.bin root@192.168.123.1:/tmp/ApplicationData
root@192.168.123.1's password:
openwrt-ipq807x-generic-zyxel_nbg7815-squashfs-sysupgrade.bin 100%   12MB  10.0MB/
PS C:\Users\Andrea\Downloads> ssh root@192.168.123.1
root@192.168.123.1's password:


BusyBox v1.25.1 (2020-08-03 08:21:46 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 (a3ff16c+r49254)

root@NBG7815:~# cd /tmp/ApplicationData/
root@NBG7815:/tmp/ApplicationData# ls -la
drwxr-xr-x    5 root     root          4096 Aug  3 08:36 .
drwxrwxrwt   21 root     root          1620 Aug  3 08:37 ..
drwxr-xr-x    2 root     root          4096 Aug  3 08:24 coredump_store
drwx------    2 root     root         16384 Aug  3 08:26 lost+found
-rw-r--r--    1 root     root             3 Aug  3 08:23 netprb_db_ver
-rw-r--r--    1 root     root         20480 Aug  3 08:34 netprobe.db
-rw-r--r--    1 root     root      12278060 Aug  3 08:36 openwrt-ipq807x-generic-zyxel_nbg7815-squashfs-sysupgrade.bin
drwxr-xr-x    2 root     root          4096 Aug  3 08:23 zlog
root@NBG7815:/tmp/ApplicationData# vi flash_to_openwrt.sh
root@NBG7815:/tmp/ApplicationData# vi flash_to_openwrt.sh
root@NBG7815:/tmp/ApplicationData# vi flash_to_openwrt.sh
root@NBG7815:/tmp/ApplicationData# ls -la
drwxr-xr-x    5 root     root          4096 Aug  3 08:38 .
drwxrwxrwt   21 root     root          1620 Aug  3 08:39 ..
drwxr-xr-x    2 root     root          4096 Aug  3 08:24 coredump_store
-rw-r--r--    1 root     root          1617 Aug  3 08:38 flash_to_openwrt.sh
drwx------    2 root     root         16384 Aug  3 08:26 lost+found
-rw-r--r--    1 root     root             3 Aug  3 08:23 netprb_db_ver
-rw-r--r--    1 root     root         20480 Aug  3 08:34 netprobe.db
-rw-r--r--    1 root     root      12278060 Aug  3 08:36 openwrt-ipq807x-generic-zyxel_nbg7815-squashfs-sysupgrade.bin
drwxr-xr-x    2 root     root          4096 Aug  3 08:23 zlog
root@NBG7815:/tmp/ApplicationData# sh flash_to_openwrt.sh
sysupgrade-zyxel_nbg7815/
sysupgrade-zyxel_nbg7815/CONTROL
sysupgrade-zyxel_nbg7815/kernel
sysupgrade-zyxel_nbg7815/root
dd: writing '/dev/mmcblk0p7': No space left on device
12289+0 records in
12288+0 records out
6291456 bytes (6.0MB) copied, 0.540019 seconds, 11.1MB/s
9892+1 records in
9892+1 records out
5064736 bytes (4.8MB) copied, 0.608352 seconds, 7.9MB/s
dd: writing '/dev/mmcblk0p8': No space left on device
122881+0 records in
122880+0 records out
62914560 bytes (60.0MB) copied, 5.331839 seconds, 11.3MB/s
14080+0 records in
14080+0 records out
7208960 bytes (6.9MB) copied, 0.837210 seconds, 8.2MB/s
root@NBG7815:/tmp/ApplicationData# client_loop: send disconnect: Connection reset

It's seems you successfully update to openwrt.
Have you update pc ip?
The new router ip is 192.168.1.1
If none of above works, from where do you download openwrt-sysupgrade.bin?

Reset to default pressing hole with pin for more than 15 sec. and wait 1 minute to probe access again to 192.168.1.1

ok thank you, now I'm in SSH, I got scared because the dark blue LED wasn't doing it correctly so I tried the reset several times and I must have come across a situation where the DHCP hadn't been invoked yet, worrying me.

i used https://downloads.openwrt.org/snapshots/targets/ipq807x/generic/openwrt-ipq807x-generic-zyxel_nbg7815-squashfs-sysupgrade.bin

what are the next steps to activate the GUI? do I have to proceed with the last point (step 2)?
If you already have OpenWrt use sysupgrade or LuCi “Flash new firware image” option, after this operation use script from https://github.com/itorK/nbg7815_tools/blob/main/change_boot_partition.sh to change boot partition

opkg update && opkg install luci

1 Like

done, and now to activate the GUI in http://192.168.1.1?

I should reboot to be sure. Then just web http://192.168.1.1

Thanks a lot, would be awesome also to include this in your guide here:

it would help massively for newbies like me.

Thank you!

First of all, that is not my guide.

That wiki is maintained by users who have requested it.
My level, both in English and in openwrt, is not high enough to modify the information.

In addition, these steps are common for all devices, is not exclusive for this router.

And wellcome to the forum!!!

Hello guys,

I was able to install openwrt and I have some questions;

  1. I can't use the wifi 160mhz at all, is there a solution ?

  2. it's possibile to expand the storage (actually I have only 32mb and is almost full) using the internal partition (I see a partition that is almost 3gb) ?

  3. What is the most stable firmware to use ?

Thank you all for the work on this router!

Hi,

  1. No solution right now
  2. Yes you can with extroot, I'm using the p11 partition (the 3gb one). Be aware that the build you are using (it I'm not wrong it's the one I put on github) seems to have extroot broken, I'm still investigating, if you need extroot use the previous one.
  3. The ones built on asvio's nbg7815-test (mine is) are quite stable, I'm using it as a daily driver without issues.
1 Like