Posted: Sat Sep 14, 2019 3:24 Post subject: Help needed! - WAN IP 0.0.0.0
Modem : LinkSys WRT1900ACS . Firmware version 4009.
I changed the stock firmware to DD-WRT firmware 4009. Installation went fine. But the wan IP always stays at 0. It works fine with stock firmware.
Did the following things.
1. Rebooted the cable modem and router multiple times.
2. Did some googling and found the mac address change can cause this issue. The last digit of the mac address is changed by dd-wrt installation ( 8 to 9 ). I did a Mac clone and reverted all the mac address i( two of them wan and lan) as the one given in the back side of the router ( stock firmware uses this ) using dd-wrt web interface. It didn't help.
3. Looks like Openwrt also gives same issue.
Any thing else that I should try? I reverted back to stock now.
I just looked at the link. Do I need to set it as a cron job?. Or executing it only once in a command line is fine?. Is the following commands work? ( after doing a ssh to router)
mac_clone_enable=1
wan_hwaddr=00:AA:BB:CC:DD:EE ( This I will get from the back side of the router )
Joined: 08 May 2018 Posts: 14223 Location: Texas, USA
Posted: Sat Sep 14, 2019 4:00 Post subject:
If I am not mistaken, you will need to do this at least via telnet/ssh and use 'nvram set' prior to each line, followed with 'nvram commit && reboot' when you've entered those. Worst case is having to add those to your startup script.
Joined: 26 Aug 2006 Posts: 31 Location: Brooklyn, NY
Posted: Sat Sep 14, 2019 14:33 Post subject: Re: Help needed! - WAN IP 0.0.0.0
sudheeshb wrote:
Modem : LinkSys WRT1900ACS . Firmware version 4009.
I changed the stock firmware to DD-WRT firmware 4009. Installation went fine. But the wan IP always stays at 0. It works fine with stock firmware.
Did the following things.
1. Rebooted the cable modem and router multiple times.
2. Did some googling and found the mac address change can cause this issue. The last digit of the mac address is changed by dd-wrt installation ( 8 to 9 ). I did a Mac clone and reverted all the mac address i( two of them wan and lan) as the one given in the back side of the router ( stock firmware uses this ) using dd-wrt web interface. It didn't help.
3. Looks like Openwrt also gives same issue.
Any thing else that I should try? I reverted back to stock now.
That's been happening a lot to me with the recent set of builds. Rebooting didn't always help. I find I have to issue the following commands to get it back, and this always seems to work. Seems like a timing problem to me.
Code:
stopservice wan
(wait a couple of seconds)
startservice wan
First tried in a command line , after login into the router via ssh.
nvram set mac_clone_enable=1
nvram set wan_hwaddr=00:AA:BB:CC:DD:EE ( This I will get from the back side of the router )
nvram set def_hwaddr=00:AA:BB:CC:DD:EE
nvram commit.
reboot.
Wan IP is still 0 0 0 0 after reboot.
Then I tried
stopservice wan ( This gives error when I execute it for the first time. The error is 'eth0: No such process'. Second time it is fine )
(wait a couple of seconds)
startservice wan ( This gives error when I execute it for the first time. The error is 'cat: can't open '/proc/net/ip_conntrack_flush': No such file or directory'. Second time it is fine).
No Wan IP after reboot.
I switched off the cable modem for 5 min. Then again tried. No luck. Switched back to stock.
I am using 06-11-2019 r40009. Firmware used is linksys-wrt1900acs. My router model name is WRT1900ACS. FCC ID is WRT1900ACV2 ( back side of the router). I will try with ACV2 version also.
I have flashed DD-WRT earlier , probably a year back, it was working fine ( forgot the version no ). Then I went to OpenWRT which was also working fine. I decided to use Stock because my Amazon cloudcam was not working with either DD-WRT and OpenWRT I want to try DD-WRT again, because I read somewhere that cloudcam issue was resolved.
Will try resetting nvram and using different versions of firmware.