[SOLVED] Edit settings when GUI is not accessible

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
3db
DD-WRT Novice


Joined: 19 Jun 2020
Posts: 4

PostPosted: Thu May 04, 2023 15:55    Post subject: [SOLVED] Edit settings when GUI is not accessible Reply with quote
Hey, I just changed my router sub mask accidentally to /0 instead of /24
and know I can't access to the router gui, is there a way I can fix that ?

Thanks


Last edited by 3db on Fri May 05, 2023 15:55; edited 1 time in total
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12840
Location: Netherlands

PostPosted: Thu May 04, 2023 17:35    Post subject: Reply with quote
Hit the reset button for 5-10 sec and restore your known good configuration.

BTW what router and what build are we talking about?

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
3db
DD-WRT Novice


Joined: 19 Jun 2020
Posts: 4

PostPosted: Thu May 04, 2023 20:24    Post subject: Reply with quote
egc wrote:
Hit the reset button for 5-10 sec and restore your known good configuration.

BTW what router and what build are we talking about?

that's what I want to avoid at all cost, i'm using a lot of portforwaring rules and at least 20 dhcp ip reservation
It's a WRT32X I installed two weeks ago, I can't check the build since no access to gui
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1410

PostPosted: Thu May 04, 2023 22:24    Post subject: Reply with quote
You could go serial port route...

reference: https://openwrt.org/toh/linksys/wrt32x
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1900

PostPosted: Thu May 04, 2023 23:23    Post subject: Reply with quote
Serial access, let it boot up, and when the shell login comes up, enter user/pass (user is always 'root' FYI) and:

Code:
nvram show | grep lan_netmask
nvram set lan_netmask 255.255.255.0
nvram commit
reboot

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
3db
DD-WRT Novice


Joined: 19 Jun 2020
Posts: 4

PostPosted: Fri May 05, 2023 15:42    Post subject: Reply with quote
Wildlion wrote:
You could go serial port route...

reference: https://openwrt.org/toh/linksys/wrt32x


dale_gribble39 wrote:
Serial access, let it boot up, and when the shell login comes up, enter user/pass (user is always 'root' FYI) and:

Code:
nvram show | grep lan_netmask
nvram set lan_netmask 255.255.255.0
nvram commit
reboot


Thanks guys it's fixed !!

I'm using v3.0-r51787 std (02/20/23) everything is fine except one esp8266 who does not want to connect (working fine with Tp link C9)
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5660

PostPosted: Fri May 05, 2023 16:04    Post subject: Reply with quote
3db wrote:
...everything is fine except one esp8266 who does not want to connect...
https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1278680#1278678
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions 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