Build for Netgear R7800

It means using the wifi on/off and wps buttons to shows wifi activity, as the proper wifi LEDs can't be controlled.

From main.patch:
(Note that instead of just changing the defs for all routers, I separate R7800 from the family and change just that).

--- a/target/linux/ipq806x/base-files/etc/board.d/01_leds
+++ b/target/linux/ipq806x/base-files/etc/board.d/01_leds
@@ -18,12 +18,19 @@ c2600)
 	;;
 d7800 |\
 r7500 |\
-r7500v2 |\
+r7500v2)
+	ucidef_set_led_usbport "usb1" "USB 1" "${board}:white:usb1" "usb1-port1" "usb2-port1"
+	ucidef_set_led_usbport "usb2" "USB 2" "${board}:white:usb2" "usb3-port1" "usb4-port1"
+	ucidef_set_led_netdev "wan" "WAN" "${board}:white:wan" "eth0"
+	ucidef_set_led_ide "esata" "eSATA" "${board}:white:esata"
+	;;
 r7800)
 	ucidef_set_led_usbport "usb1" "USB 1" "${board}:white:usb1" "usb1-port1" "usb2-port1"
 	ucidef_set_led_usbport "usb2" "USB 2" "${board}:white:usb2" "usb3-port1" "usb4-port1"
 	ucidef_set_led_netdev "wan" "WAN" "${board}:white:wan" "eth0"
 	ucidef_set_led_ide "esata" "eSATA" "${board}:white:esata"
+	ucidef_set_led_wlan "wlan2g" "WLAN 2G" "${board}:white:wifi" "phy1tpt"
+	ucidef_set_led_wlan "wlan5g" "WLAN 5G" "${board}:white:wps" "phy0tpt"
 	;;
 fritz4040)
 	ucidef_set_led_wlan "wlan" "WLAN" "$board:green:wlan" "phy0tpt" "phy1tpt"
1 Like

Got it. I thought maybe someone had found a way to trigger the native LED's.

@hnyman
Have you got any further with diagnosing why newer builds have slower Wifi issue?

Not really. My own wifi usage is rather modest, and I am no specialist in analysing wifi performance and driver internals.

I know that my post most probably doesn't belong here, and I apologies in advance if disturbing this nice post/topic and the related discussions, but I am asking it here as I use this specific hnyman's s/w version on my R7800 (and it's working great, many thanks hnyman for your efforts!): how can I upgrade from one release to another release while keeping the settings on the router? Or easily restore them. Or any other way to upgrade from one release to another release without having to manually configure the router from scratch?
I've search all over the internet, but I have found no easy method to do it...
Note: I've tried to backup/restore the settings using the related option in Luci, then I did one upgrade (about 3 releases ago) but that option restores basically nothing, and I had to manually re-configure the router from scratch: I do not want to do it again, as I do not want to spend a whole day to set everything back to normal for each s/w upgrade...
Thanks much in advance for anyone willing to provide me with some guidance.

That's what sysupgrade image (in the R7800 case a tar file) is for. I usually jump from @hnyman 17.01 releases without any issues doing a sysupgrade. BTW, don't do opkg upgrade ...

Thanks lesandie!
Sysupgrade is what I did last time and I've lost all the configs.. Maybe something went wrong and I should try again?!...

And no, I never do opkg upgrades, thanks for reminder.

I am constantly jumping between LEDE master and 17.01 builds with sysupgrade while keeping settings. No problems.

Every now and then something in the underlying programs changes that makes the settings invalid, but that is pretty rare.

Thank you for confirmation @hnyman, I really appreciate that you've spent your time answering a question not related to this thread!

But, just for my understanding, when such changes which are invalidating the settings are happening, what can be done for to recover/restore the settings? Only manual reconfiguration, or maybe rolling back the s/w version and hope that restoring the saved settings option will work?..

(PS: I'll try again Sysupgrade in the weekend. I hope it'll work fine this time, otherwise, unfortunately, it'll be the last time doing it, as I really do not have the time to re-configure it from scratch everytime.)

Also, beside the settings, will the packages I have installed (i.e. OVPN and dnscrypt) be kept during a Sysupgrade?

Separately installed packages will not be automatically installed in sysupgrade. You need to install them separately.

Usually settings work ok, but if there are something strange, it is usually better to configure again from scratch. Depends on quite many things and also on your skills.

Thanks again @hnyman!

I can configure it again from scratch just like I did it previous time, but it takes way too long and I do not have the time to do it every time... That's the biggest problem.

I guess I will skip the next several upgrades if upgrading with keeping the config and modules cannot be done in few simple/fast steps, and I'll try again in few months, when I will have enough time to reconfigure it from scratch if something will go wrong (again). :pensive:

(Too bad Lede is not doing the upgrades, for example, as IPFire is doing it.)

About the config of packages installed via opkg, for example i use OpenVPN and after the sysupgrade, i onlky have to opkg install the mising openvpn packages. Then magically, my config for openvpn is there, i don't have to do anything else. That is because on a sysupgrade the /etc/config directory is not wiped out (if you check the keep settings).

Also try to backup your settings and restore them after the sysupgrade, if there is any problem.

1 Like

Is it possible to go from DD-WRT directly to this LEDE build or do I have to go back to stock first?

Yeah you can ssh into ddwrt and type
mtd erase linux
or maybe it was mtd erase kernel, haven't used ddwrt in a while :slight_smile:
then type reboot and tftp LEDE R7800 squashfs factory.img to 192.168.1.1
I use Windows built in tftp client which is really simple and reliable to just do
tftp -i 192.168.1.1 PUT lede.img
then wait 2 mins and it should be ready to login or ssh

I have been using this method for upgrading LEDE as well because I can't get sysupgrade tars to actually flash (they appear to succeed but no changes on reboot) so I have to restore the backup from fresh every time

Why bother to erase the dd-wrt kernel partition at all, if your goal is to utilise the OEM recovery TFTP mode for the actual flashing. Simply just trigger the TFTP mode manually...

On newer builds the web ui is very unstable.
Every other click only loads half a page or no page at all. Need to refresh.

Sounds strange. I have not seen that.

Yeah I have noticed that on the master builds for a while, in addition to the unstable wireless under load, that’s why I stick to stable builds.

1 Like

Same as me master builds web ui is very unresponsive to the point of even a reboot cant cure it , stable builds for me too no problems there

On stable builds anyone gettimg issues with 5ghz wifi not switching to channel higher then 48?
Even if I choose 40 it stays at 48.