Broadcom BCM4709C0 (Dual-Core CPU @ 1.4GHz with switch: LANs 1-4, WAN, port connected to Realtek switch, and CPU port)
Realtek RTL8365MB (switch: LANs 5-8)
vlan1ports: ports 0, 1, 2 and 3 on the Broadcom switch are LAN-4, LAN-3, LAN-2, and LAN-1, respectively ("swconfig dev switch0 help" verified)
vlan1ports: port 5 on the Broadcom switch is connected to the Realtek switch (LANs 5-8); and port 7* on the Broadcom switch is the CPU
vlan2ports: port 4 on the Broadcom switch is the WAN, and port 7u on the Broadcom switch is the CPU
NOTE: builds past 46446 do not use this method of vlan configuration anymore. The router database is not necessarily your friend, either.
My mistake. "Per Yngve Berg" recommended I use a later version to find the port information. I mistakenly made the assumption that I should also stay with this later version for the Dual-WAN install. That was my error.
Quote:
Please keep discussion in ONE thread
Can the threads be merged?
Both issues are due to my mistakes.
I apologize. Thank you for your instruction.
You are running a new build that does not use the "vlan1ports" variable any more, but switched to swconfig.
You should be able to configure vlan with the GUI on this build.
Thank you for your suggestion.
I think I'm going to start with build 46446 or older (before swconf was added). When I get the older build working, then I'll try to upgrade to a new build as you suggested.
Joined: 08 May 2018 Posts: 14249 Location: Texas, USA
Posted: Sun May 30, 2021 11:14 Post subject:
No, the threads can't be merged by any moderator; I don't even think they can be merged by the admins. This is actually where I can say that the nvram variables *are* actually used by swconfig to some degree. You're going to have to proceed with post-swconfig at some point, stay where you're at. Otherwise, this thread has no purpose to help anyone else or contribute to updating the wikis. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Verify that all WAN interfaces are up and have PUBLIC IP addresses
The Web-GUI only provides this information for wan, but not for wan2 (Status->WAN).
The CLI commands "route", "ip a", and "ifconfig -a" show vlans, but not wans.
What CLI command(s) will provide the public IP addresses for wan and wan2?
nvram erase #erase RAM variables (erase before write-back on reboot in some builds)
erase nvram && reboot #erase FLASH variables, then reboot (on reboot, some builds write-back RAM and some don't)
but these commands failed to reset the nvram variable "vlan1ports". "vlan1ports" retained its prior settings.
In contrast, "WPS Reset" does reset "vlan1ports".
So is there a software equivalent to the hardware "WPS Reset" which resets all nvram variables?
(NOTE: I did not try "mtd -r erase nvram" because it's not recommended -- could erase default values.)
So a "WPS reset" restores the default nvram "vlan1ports" setting, while "nvram erase" and "erase nvram && reboot" does not.
Hence, my question: Is there a software equivalent to the hardware "WPS Reset" which resets all nvram variables?
Last edited by resolv on Thu Jun 03, 2021 12:42; edited 1 time in total
Is the lack of "swconfig" persistence intentional, or will "swconfig" persistence be added to a future build?
Where is the dd-wrt "swconfig" documentation located, along with future build intentions?
Do the commands properly; the mtd erase nvram / mtd -r erase nvram is to be used with caution, but that will definitely wipe out the entire nvram partition and the router will have to rebuild all the variables on boot, etc. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net