DHCP is not working on WAN - vlan id 101

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
mortenrs
DD-WRT Novice


Joined: 13 Mar 2024
Posts: 3

PostPosted: Wed Mar 13, 2024 20:20    Post subject: DHCP is not working on WAN - vlan id 101 Reply with quote
Do to change of ISP (Yousee in DK) from Coax to Fiber connection have I been down the rabit hole to setup mine Asus RT-N18U to be internet gateway direct connected to the Fiber Twist box.

That required me to setup vlan 802.1q id 101 in the WAN. Long story short it work now, with that small exception that every time I reboot the router, there it do not renew/search for a IP for the WAN. The only thing I then have to do, is to open the GUI and press one of the "Apply Settings" buttons, without changing anything. Then an IP is assigned to the WAN almost right after.

When I connected the WAN port to a laptop with wireshark can I see that there is no activity on the port until I press "Apply Settings", and first then is the DHCP Request send. Followed by alot of activity.

Do some body know what settings it can be that can be wrong?

Code:
DD-WRT v3.0-r55303 std (c) 2024 NewMedia-NET GmbH
Release: 03/06/24
Board: Asus RT-N18U


Code:
root@WanRouter:~# swconfig dev switch0 show
Global attributes:
        enable_vlan: 1
        ports: 0x01bf
        reset_mib: ???
        enable_jumbo: 0
        allow_vid_4095: 0
Port 0:
        mib: TxOctets            : 126085082
TxDropPkts          : 0
TxBroadcastPkts     : 200
TxMulticastPkts     : 522
TxUnicastPkts       : 260245
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
RxOctets            : 1737441816
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 36766
Pkts65to127Octets   : 35196
Pkts128to255Octets  : 10283
Pkts256to511Octets  : 8949
Pkts512to1023Octets : 10748
Pkts1024to1522Octets: 1178648
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 1737441816
RxDropPkts          : 0
RxUnicastPkts       : 1280576
RxMulticastPkts     : 0
RxBroadcastPkts     : 14
RxSAChanges         : 2
RxFragments         : 0
RxJumboPkts         : 0
RxSymbolErrors      : 0
RxDiscarded         : 0

        disable: ???
        pvid: 0
        link: port:0 link:up speed:1000baseT full-duplex auto
Port 1:
        mib: TxOctets            : 1100379355
TxDropPkts          : 0
TxBroadcastPkts     : 399
TxMulticastPkts     : 914
TxUnicastPkts       : 748409
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
RxOctets            : 14863549
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 17433
Pkts65to127Octets   : 72747
Pkts128to255Octets  : 5086
Pkts256to511Octets  : 3465
Pkts512to1023Octets : 5026
Pkts1024to1522Octets: 2203
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 14863549
RxDropPkts          : 0
RxUnicastPkts       : 84783
RxMulticastPkts     : 5645
RxBroadcastPkts     : 15532
RxSAChanges         : 21900
RxFragments         : 0
RxJumboPkts         : 0
RxSymbolErrors      : 0
RxDiscarded         : 0

        disable: ???
        pvid: 1
        link: port:1 link:up speed:1000baseT full-duplex auto
Port 2:
        mib: TxOctets            : 0
TxDropPkts          : 0
TxBroadcastPkts     : 0
TxMulticastPkts     : 0
TxUnicastPkts       : 0
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
RxOctets            : 0
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 0
Pkts65to127Octets   : 0
Pkts128to255Octets  : 0
Pkts256to511Octets  : 0
Pkts512to1023Octets : 0
Pkts1024to1522Octets: 0
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 0
RxDropPkts          : 0
RxUnicastPkts       : 0
RxMulticastPkts     : 0
RxBroadcastPkts     : 0
RxSAChanges         : 0
RxFragments         : 0
RxJumboPkts         : 0
RxSymbolErrors      : 0
RxDiscarded         : 0

        disable: ???
        pvid: 1
        link: port:2 link:down
Port 3:
        mib: TxOctets            : 0
TxDropPkts          : 0
TxBroadcastPkts     : 0
TxMulticastPkts     : 0
TxUnicastPkts       : 0
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
RxOctets            : 0
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 0
Pkts65to127Octets   : 0
Pkts128to255Octets  : 0
Pkts256to511Octets  : 0
Pkts512to1023Octets : 0
Pkts1024to1522Octets: 0
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 0
RxDropPkts          : 0
RxUnicastPkts       : 0
RxMulticastPkts     : 0
RxBroadcastPkts     : 0
RxSAChanges         : 0
RxFragments         : 0
RxJumboPkts         : 0
RxSymbolErrors      : 0
RxDiscarded         : 0

        disable: ???
        pvid: 1
        link: port:3 link:down
Port 4:
        mib: TxOctets            : 42024
TxDropPkts          : 0
TxBroadcastPkts     : 36
TxMulticastPkts     : 211
TxUnicastPkts       : 36
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
RxOctets            : 15608
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 18
Pkts65to127Octets   : 42
Pkts128to255Octets  : 0
Pkts256to511Octets  : 32
Pkts512to1023Octets : 0
Pkts1024to1522Octets: 0
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 15608
RxDropPkts          : 0
RxUnicastPkts       : 61
RxMulticastPkts     : 0
RxBroadcastPkts     : 31
RxSAChanges         : 1
RxFragments         : 0
RxJumboPkts         : 0
RxSymbolErrors      : 0
RxDiscarded         : 0

        disable: ???
        pvid: 1
        link: port:4 link:down
Port 5:
        mib: TxOctets            : 1752900591
TxDropPkts          : 0
TxBroadcastPkts     : 15577
TxMulticastPkts     : 5645
TxUnicastPkts       : 1365421
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 2428
RxOctets            : 1229455377
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 33158
Pkts65to127Octets   : 146871
Pkts128to255Octets  : 16825
Pkts256to511Octets  : 9317
Pkts512to1023Octets : 10399
Pkts1024to1522Octets: 794239
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 1229455377
RxDropPkts          : 0
RxUnicastPkts       : 1008691
RxMulticastPkts     : 1508
RxBroadcastPkts     : 610
RxSAChanges         : 83789
RxFragments         : 0
RxJumboPkts         : 0
RxSymbolErrors      : 0
RxDiscarded         : 65

        disable: ???
        pvid: 101
        link: port:5 link:up speed:1000baseT full-duplex
Port 6:
        mib: ???
        disable: ???
        pvid: 0
        link: port:6 link:down
Port 7:
        mib: TxOctets            : 0
TxDropPkts          : 0
TxBroadcastPkts     : 0
TxMulticastPkts     : 0
TxUnicastPkts       : 0
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
RxOctets            : 0
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 0
Pkts65to127Octets   : 0
Pkts128to255Octets  : 0
Pkts256to511Octets  : 0
Pkts512to1023Octets : 0
Pkts1024to1522Octets: 0
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 0
RxDropPkts          : 0
RxUnicastPkts       : 0
RxMulticastPkts     : 0
RxBroadcastPkts     : 0
RxSAChanges         : 0
RxFragments         : 0
RxJumboPkts         : 0
RxSymbolErrors      : 0
RxDiscarded         : 0

        disable: ???
        pvid: 0
        link: port:7 link:down
Port 8:
        mib: TxOctets            : 0
TxDropPkts          : 0
TxBroadcastPkts     : 0
TxMulticastPkts     : 0
TxUnicastPkts       : 0
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
RxOctets            : 0
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 0
Pkts65to127Octets   : 0
Pkts128to255Octets  : 0
Pkts256to511Octets  : 0
Pkts512to1023Octets : 0
Pkts1024to1522Octets: 0
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 0
RxDropPkts          : 0
RxUnicastPkts       : 0
RxMulticastPkts     : 0
RxBroadcastPkts     : 0
RxSAChanges         : 0
RxFragments         : 0
RxJumboPkts         : 0
RxSymbolErrors      : 0
RxDiscarded         : 0

        disable: ???
        pvid: 0
        link: port:8 link:down
VLAN 1:
        ports: 1 2 3 4 5
VLAN 101:
        ports: 0t 5


Code:
root@WanRouter:~# nvram show | grep port.*vlans | sort
size: 35342 bytes (30194 left)
port0vlans=3 18000 19000 20000
port1vlans=1 18000 19000 20000
port2vlans=1 18000 19000 20000
port3vlans=1 18000 19000 20000
port4vlans=1 18000 19000 20000
port5vlans=3 17000 18000 19000 20000 21000


Code:
root@WanRouter:~# nvram show | grep vlan.*hwname | sort
size: 35342 bytes (30194 left)
vlan101hwname=et0
vlan1hwname=et0
vlan2hwname=


Code:
root@WanRouter:~# nvram show | grep vlan.*ports | sort
size: 35342 bytes (30194 left)
vlan101ports=0t 5
vlan1ports=1 2 3 4 5
vlan2ports=5u


Code:
root@WanRouter:~# ifconfig
br0       Link encap:Ethernet  HWaddr 2C:4D:54:1B:00:01
          inet addr:192.168.3.2  Bcast:192.168.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:311740 errors:0 dropped:502 overruns:0 frame:0
          TX packets:1295406 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:127310721 (121.4 MiB)  TX bytes:1733578050 (1.6 GiB)

eth0      Link encap:Ethernet  HWaddr 2C:4D:54:1B:00:01
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1389635 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1013367 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1753716867 (1.6 GiB)  TX bytes:1225878596 (1.1 GiB)
          Interrupt:179 Base address:0x4000

eth1      Link encap:Ethernet  HWaddr 2C:4D:54:1B:00:03
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:208380 errors:0 dropped:10 overruns:0 frame:78093
          TX packets:564652 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:117034883 (111.6 MiB)  TX bytes:646460999 (616.5 MiB)
          Interrupt:163

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING MULTICAST  MTU:65536  Metric:1
          RX packets:13 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:956 (956.0 B)  TX bytes:956 (956.0 B)

vlan1     Link encap:Ethernet  HWaddr 2C:4D:54:1B:00:01
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:107689 errors:0 dropped:7 overruns:0 frame:0
          TX packets:751984 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:13230004 (12.6 MiB)  TX bytes:1097725528 (1.0 GiB)

vlan101   Link encap:Ethernet  HWaddr 3C:58:5D:EA:00:00
          inet addr:2.106.167.XX  Bcast:2.106.167.255  Mask:255.255.254.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1281892 errors:0 dropped:0 overruns:0 frame:0
          TX packets:261383 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1709897325 (1.5 GiB)  TX bytes:124099600 (118.3 MiB)

vlan2     Link encap:Ethernet  HWaddr 2C:4D:54:1B:00:01
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14249
Location: Texas, USA

PostPosted: Wed Mar 13, 2024 23:52    Post subject: Reply with quote
Sticky: VLAN configuration via GUI - 1 CPU port

New Build - 03/13/2024 - r55363

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2024/03-13-2024-r55363/asus-rt-n18u/

_________________
"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
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3006
Location: Germany

PostPosted: Thu Mar 14, 2024 9:36    Post subject: Reply with quote
It is also no wonder that it does not work if your VLANs are completely misconfigured.
_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
mortenrs
DD-WRT Novice


Joined: 13 Mar 2024
Posts: 3

PostPosted: Thu Mar 14, 2024 22:54    Post subject: Reply with quote
I did start over with version r55363 and factory default nvram.

1. In the GUI I setup my prefered
- Lan IP and DHCP setting
- Wifi settings
- WAN MAC Address clone
- enabled SSH and generated a new key
- reboot

2. Then I followed the GUI VLAN 7 sample setup (https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=335568)
- changed 2 to 101 in vlan
- tagged WAN
- Save
- changed WAN port to Disabled (vlan101 was not there)
- save
- reboot



3. After reboot it was posible to change WAN to vlan101
- Set WAN port to vlan101
- save
- reboot



4. Now my expertation was that WAN was working, but it did not

Code:
root@WanRouter:~# swconfig dev switch0 show
...
VLAN 1:
        ports: 1 2 3 4 5t
VLAN 101:
        ports: 5t


the WAN port 0 was not assigened to VLAN 101. There must be some problem with the gui

Code:
root@WanRouter:~# nvram show | grep port.*vlans | sort
port0vlans=2 16000 18000 19000 20000
port1vlans=1 18000 19000 20000
port2vlans=1 18000 19000 20000
port3vlans=1 18000 19000 20000
port4vlans=1 18000 19000 20000
port5vlans=1 2 16000 17000 18000 19000 20000 21000

root@WanRouter:~# nvram show | grep vlan.*hwname | sort
vlan1hwname=et0
vlan2hwname=

root@WanRouter:~# nvram show | grep vlan.*ports | sort
vlan1ports=1 2 3 4 5*
vlan2ports=5u

root@WanRouter:~# nvram show | grep 101 | sort
bat_vlan101_bridge=br0
portvlanlist=0 1 101
vlan101_bloop=0
vlan101_bridged=1
vlan101_dns_ipaddr=0.0.0.0
vlan101_dns_redirect=0
vlan101_hwaddr=3C:58:5D:EA:5C:60
vlan101_ipaddr=0.0.0.0
vlan101_isolation=0
vlan101_label=
vlan101_mtu=1500
vlan101_multicast=0
vlan101_multicast_to_unicast=0
vlan101_nat=1
vlan101_netmask=0.0.0.0
vlan101_txq=1000
wan_ifname2=vlan101
wan_ifname=vlan101
wan_ifnames=vlan101


Also the vlan2 interface was not removed.

Code:
root@WanRouter:~# ifconfig
br0       Link encap:Ethernet  HWaddr 2C:4D:54:1B:B3:B4
          inet addr:192.168.3.2  Bcast:192.168.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10784 errors:0 dropped:311 overruns:0 frame:0
          TX packets:2202 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:863563 (843.3 KiB)  TX bytes:2045053 (1.9 MiB)

eth0      Link encap:Ethernet  HWaddr 2C:4D:54:1B:B3:B4
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1100 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2450 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:237382 (231.8 KiB)  TX bytes:355883 (347.5 KiB)
          Interrupt:179 Base address:0x4000

eth1      Link encap:Ethernet  HWaddr 2C:4D:54:1B:B3:B6
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9604 errors:0 dropped:0 overruns:0 frame:5090
          TX packets:3714 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:776193 (758.0 KiB)  TX bytes:2335405 (2.2 MiB)
          Interrupt:163

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING MULTICAST  MTU:65536  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:272 (272.0 B)  TX bytes:272 (272.0 B)

vlan1     Link encap:Ethernet  HWaddr 2C:4D:54:1B:B3:B4
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1100 errors:0 dropped:0 overruns:0 frame:0
          TX packets:891 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:213182 (208.1 KiB)  TX bytes:100773 (98.4 KiB)

vlan101   Link encap:Ethernet  HWaddr 3C:58:5D:EA:5C:60
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:11628 (11.3 KiB)

vlan2     Link encap:Ethernet  HWaddr 2C:4D:54:1B:B3:B4
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1525 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:233682 (228.2 KiB)


6. I then tried to add the missing nvram settings from ssh

Code:
nvram set vlan1ports='1 2 3 4 5t'
nvram set vlan2ports='5u'
nvram set vlan101ports='0t 5t'
nvram set vlan101hwname=et0
nvram commit


reboot

7. Still no internet and still VLAN 101 not correct

Code:
root@WanRouter:~# swconfig dev switch0 show
...
VLAN 1:
        ports: 1 2 3 4 5t
VLAN 101:
        ports: 5t


Set the swconfig setting

Code:
swconfig dev switch0 vlan 101 set ports '0t 5t'
swconfig dev switch0 set apply


reboot

8. Still no internet and swconfig is reverted

Code:
root@WanRouter:~# swconfig dev switch0 show
...
VLAN 1:
        ports: 1 2 3 4 5t
VLAN 101:
        ports: 5t


- added to Startup script
- reboot



9. And there was Internet + there are no 802.1q tagging on my LAN.



vlan101.png
 Description:
 Filesize:  18.75 KB
 Viewed:  653 Time(s)

vlan101.png


ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3006
Location: Germany

PostPosted: Fri Mar 15, 2024 6:45    Post subject: Reply with quote
Don't play around with any nvram variables as you will ruin your entire vlan configuration.

your own fault, play stupid games win stupid prizes

It works on other RT-18U and nothing has changed at all.

https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1291178#1291178

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3006
Location: Germany

PostPosted: Fri Mar 15, 2024 10:44    Post subject: Reply with quote
that can only be because the variable sw_wan is missing, but I can't imagine... then it would not have worked for the other user either

Code:
nvram get sw_wan


if not present

Code:
nvram set sw_wan=0


and as a matter of principle, i do not support self-inflicted problems

Code:
nvram erase && reboot


and one more warning: you can modify your router permanently with nvram variables not all variables are reset to their original values

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
mortenrs
DD-WRT Novice


Joined: 13 Mar 2024
Posts: 3

PostPosted: Sun Mar 17, 2024 18:00    Post subject: Reply with quote
Code:
root@WanRouter:~# nvram get sw_wan
5
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3006
Location: Germany

PostPosted: Sun Mar 17, 2024 18:17    Post subject: Reply with quote
5 is the CPU port
Change it to 0 and then try again.

The CPU port is normally defined by another variable.

Code:
nvram get sw_wancpuport

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum