Hi all, FYI.
I now reworked a bit switch setup. And made the Ethernet driver a loadable kernel module.
The master switch is now switch0, and the slave one is switch1. This was the other way around before. You have to be careful when upgrading to the new version, because your network config will use the old configuration that assumed that master is switch1. Just correct it in /etc/config/network and reboot.
Making the Ethernet driver a loadable kernel module will allow us to unload/reload it at runtime. And the name switch0 is more suitable for the master
Furthermore, i pushed a new branch netgear-r9000-old-switch-setup to GitHub. It records the last state before this change. Further development work will continue only on netgear-r9000 branch.
I completely reworked the switch configuration.
I use ETH2 CPU port (was unused until now) for WAN and ETH1 CPU port for LAN.
Furthermore, i set up trunking between the master and slave switch, for LAN traffic (VLAN1).
WAN is isolated from LAN via VLAN2 - only P3 and P5 of the master switch are assigned to WAN.
You need to re-generate /etc/config/network after upgrade.
This works for me (assuming you are using the default setup):
Sorry for the delay, weekend was spent on chopping wood.
I am making and compiling the new version now and will test it later on today.
I wish there was an easier way to make the .config ... manually adding all the packages I want takes too long.
If you mean the removal of a read-only line for u-boot-env, then yes, you need to modify the DTSI file as i described above, before building the image. I already have an uboot env file for you ready, i'll upload it here if it's fine with you and when you are ready.
I forced it since it is the correct image. It is not automatically rebooting or distributing DHCP Broadcast. I am hesitant to restart the router but it has been a solid 10 minutes.
It is not your fault and don't say sorry
This device has been useless since I bought it. The effort you are doing is the only hope in the world I have for this device to become useful.
I have all the files for nmrp worst case.
Ill power cycle and see what's what.
Edit: Hang on!
I have life... seems like the switch config is messed up.
yes, you probably still have the old one. i recently changed switch setup, you need to re-configure it. please see a couple of posts ago where i describe it.
sysupgrade backs it up and then restores it, unfortunately, in this case
do you want to test your use case with new switch setup first, to see whether it still occurs or just go straight to changing u-boot env on flash ? i would recommend using uci instead of Luci to setup your switch config. See above why.
Not sure if its the best method but I'm not too familiar with uci yet, I have only used it to change some network settings.
However editing /etc/config/network directly is also a bit of an unknown for me so I'm reading the OpenWRT Wiki in parallel with editing the file. Hopefully things will sort out.
Once I have at least one of the LAN ports setup as a separate VLAN then we can do the uboot changes.