Linksys WRT54G-TM - Port Forwarding Entries Disappeared

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2  Next
Author Message
tgxiii
DD-WRT Novice


Joined: 12 Apr 2011
Posts: 3

PostPosted: Tue Apr 12, 2011 4:26    Post subject: Linksys WRT54G-TM - Port Forwarding Entries Disappeared Reply with quote
Router: Linksys WRT54G-TM
Firmware: DD-WRT v24-sp2 (08/12/10) mega - build 14929
(dd-wrt.v24-14929_NEWD-2_K2.6_big.bin)

My port forwarding has been working fine, until a few days ago when I tried to add a 19th entry. After clicking "Save", the page refreshed and it looked as if I had lost all my settings. My entries disappeared. Please see attached screenshot.

The settings are still in place, however. I tested the ports I had forwarded on http://www.canyouseeme.org/ and they're still open.

When I click "Add", the page refreshes but it does not add a blank entry to the list.

Things I've tried so far:

* Router reboot (unplugged for 5 minutes, then plugged back in).
* Cleared browser cache.
* Different browsers (IE8, IE9, FF3, FF4, Chrome 10).
* Used IE8 in a fresh installation of Windows 7 in a virtual machine.
* Restored previously saved settings using the "config.asp" page

Anyone have any thoughts?



dd-wrt_blank_port_forwarding.png
 Description:
This is what my port forwarding page looks like.
 Filesize:  32.61 KB
 Viewed:  26245 Time(s)

dd-wrt_blank_port_forwarding.png


Sponsor
Luniz2k1
DD-WRT Guru


Joined: 04 Oct 2007
Posts: 1258
Location: Ohio USA

PostPosted: Tue Apr 12, 2011 6:37    Post subject: Reply with quote
nvram is probably full. Telnet/SSH into the router and run:
Code:
nvram show | grep size

_________________
(05/02/17) std - 31924
Linksys WRT400N
Buffalo WHR-G300N

Got OpenDNS?
tgxiii
DD-WRT Novice


Joined: 12 Apr 2011
Posts: 3

PostPosted: Wed Apr 13, 2011 1:10    Post subject: Reply with quote
Luniz2k1 wrote:
nvram is probably full. Telnet/SSH into the router and run:
Code:
nvram show | grep size


You might be on to something...

Here's the output:

Code:
ping_ip=nvram show | grep size
size: 32593 bytes (175 left)
olsrd_pollsize=0.1


How do I reduce my nvram usage? "Use NVRAM for client lease DB" is unchecked. I also went to Status > WAN to turn off my WAN traffic monitoring, but the page is blank (please see the attached screenshot).



dd-wrt_blank_WAN.png
 Description:
 Filesize:  21.66 KB
 Viewed:  26197 Time(s)

dd-wrt_blank_WAN.png


CzarAlex
DD-WRT Novice


Joined: 18 Jun 2009
Posts: 8

PostPosted: Wed Apr 13, 2011 3:35    Post subject: Reply with quote
I have this same issue.

The forwarding rules appear to still be active but I cannot see the list or add new entries to it. but I can use the port range forwarding okay.
tgxiii
DD-WRT Novice


Joined: 12 Apr 2011
Posts: 3

PostPosted: Wed Apr 13, 2011 3:38    Post subject: Reply with quote
I managed to delete my WAN traffic data, and now my nvram usage is 25681 bytes (7087 left).

However, the Port Forwarding page is still blank, and clicking "Add" does nothing.
Luniz2k1
DD-WRT Guru


Joined: 04 Oct 2007
Posts: 1258
Location: Ohio USA

PostPosted: Wed Apr 13, 2011 3:43    Post subject: Reply with quote
If you have been using the WAN traffic monitoring for a while, then you will need to clear out those old entries from the nvram. The following code will show you how many entries are stored in the nvram:
Code:
nvram show | grep traff

Clear ttraff (WAN bandwidth graph) nvram data

_________________
(05/02/17) std - 31924
Linksys WRT400N
Buffalo WHR-G300N

Got OpenDNS?
CzarAlex
DD-WRT Novice


Joined: 18 Jun 2009
Posts: 8

PostPosted: Wed Apr 13, 2011 12:43    Post subject: Reply with quote
And that gets placed here?

Murrkf
DD-WRT Guru


Joined: 22 Sep 2008
Posts: 12675

PostPosted: Wed Apr 13, 2011 12:52    Post subject: Reply with quote
CzarAlex wrote:
I have this same issue.

The forwarding rules appear to still be active but I cannot see the list or add new entries to it. but I can use the port range forwarding okay.


Change to a different browser. Clearing the browser cache might do it too.

_________________
SIG:
I'm trying to teach you to fish, not give you a fish. If you just want a fish, wait for a fisherman who hands them out. I'm more of a fishing instructor.
LOM: "If you show that you have not bothered to read the forum announcements or to follow the advices in them then the level of help available for you will drop substantially, also known as Murrkf's law.."
Luniz2k1
DD-WRT Guru


Joined: 04 Oct 2007
Posts: 1258
Location: Ohio USA

PostPosted: Wed Apr 13, 2011 12:52    Post subject: Reply with quote
Connect to the router with Telnet/SSH and run the command.
_________________
(05/02/17) std - 31924
Linksys WRT400N
Buffalo WHR-G300N

Got OpenDNS?
CzarAlex
DD-WRT Novice


Joined: 18 Jun 2009
Posts: 8

PostPosted: Wed Apr 13, 2011 12:54    Post subject: Reply with quote
Murrkf wrote:
Change to a different browser. Clearing the browser cache might do it too.


No change. Tried 3 different browsers over 3 different computers. Cache cleared on all.
CzarAlex
DD-WRT Novice


Joined: 18 Jun 2009
Posts: 8

PostPosted: Wed Apr 13, 2011 12:59    Post subject: Reply with quote
Luniz2k1 wrote:
Connect to the router with Telnet/SSH and run the command.


DD-WRT v24-sp2 micro (c) 2009 NewMedia-NET GmbH
Release: 05/21/09 (SVN revision: 12188)


==========================================================

____ ___ __ ______ _____ ____ _ _
| _ \| _ \ \ \ / / _ \_ _| __ _|___ \| || |
|| | || ||____\ \ /\ / /| |_) || | \ \ / / __) | || |_
||_| ||_||_____\ V V / | _ < | | \ V / / __/|__ _|
|___/|___/ \_/\_/ |_| \_\|_| \_/ |_____| |_|

DD-WRT v24-sp2
http://www.dd-wrt.com

==========================================================


BusyBox v1.13.4 (2009-05-21 01:58:08 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

\u@\h:\w\$ for i in `nvram show | grep traff- | cut -f1 -d=""`; do nvram unset $
i; done
-sh: cut: not found
\u@\h:\w\$
Luniz2k1
DD-WRT Guru


Joined: 04 Oct 2007
Posts: 1258
Location: Ohio USA

PostPosted: Wed Apr 13, 2011 14:48    Post subject: Reply with quote
CzarAlex wrote:
\u@\h:\w\$ for i in `nvram show | grep traff- | cut -f1 -d=""`; do nvram unset $
i; done
-sh: cut: not found
\u@\h:\w\$

Just ran that command on one of my routers and it worked just fine:
Code:
root@rt3:~# nvram show | grep traff-
traff-03-2011=632:602 209:293 252:157 466:72 611:62 339:135 2162:133 3137:276 411:53 516:80 754:55 17860:734 17365:659 15487:589 18049:651 15103:734 24701:1058 15917:568 10246:474 10659:493 18141:822 13847:615 20744:958 1093:341 18159:1050 22178:909 6058:288 15383:523 17167:644 17068:720 22034:923 [326748:15671]
traff-01-2011=6:0 286:48 8:0 11:1 8:0 12:0 6:0 7:0 62:8 8:1 26:8 153:85 5:0 5:0 6:0 7:0 408:36 6:1 291:48 589:93 331:50 1029:94 925:256 690:64 65:4 94:5 6:0 1:0 28:5 27:52 4:0 [5110:859]
traff-12-2010=1:0 0:0 0:1 968:96 260:14 22:0 7:0 8:0 7:0 11:0 8:0 9:1 2:0 1269:38 12:1 96:7 6:1 188:13 34:2 95:16 9:0 9:1 8:0 6:1 13:0 11:1 10:0 6:1 219:26 230:34 6:1 [3530:255]
traff-10-2010=0:0 0:0 1:0 1:0 0:0 0:0 0:0 1:0 1:0 3:0 2:1 2:0 2:0 2:0 0:0 0:0 37:3 0:0 0:0 0:0 0:0 0:0 5:0 7:0 5:0 15:0 8:0 10:0 0:0 1:0 2:0 [105:4]
traff-08-2010=19597:863 1004:92 2113:205 14713:778 427:102 522:73 1919:122 20653:1063 887:405 1129:649 444:36 547:68 5975:291 18103:693 2484:120 948:262 9116:620 4162:280 25656:1435 11729:780 17404:641 698:143 1526:162 13354:1147 7603:679 1741:133 15903:808 18733:922 4839:236 6226:356 10630:1061 [240785:15225]
traff-06-2010=0:0 0:0 0:0 0:0 2747:103 6083:366 6334:565 6990:771 8859:679 1636:494 8400:493 5716:375 170:13 2624:166 2221:174 4219:275 3238:161 3678:353 4682:293 4571:323 3668:339 5846:321 3812:245 3:1 2:0 100:24 687:125 107:58 191:55 429:81 [87013:6853]
traff-04-2011=8634:363 7731:414 6687:689 12632:525 6849:381 14:12 0:0 1:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 [42548:2384]
traff-02-2011=36:2 6:1 6:0 594:64 565:24 160:17 6:1 7:0 10:1 565:99 3327:195 2221:375 1274:154 4242:238 8885:317 20:2 582:118 409:44 466:63 124:27 1818:192 1162:384 352:72 270:51 690:109 578:181 187:36 222:198 [28784:2965]
size: 27563 bytes (5205 left)
traff-11-2010=5:0 4396:468 0:0 95:3 1:1 0:0 282:17 0:0 0:0 0:0 1:0 0:0 13:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 0:0 150:10 1:0 2:1 1:1 1:0 2:1 0:0 [4950:502]
traff-09-2010=21912:1018 5235:452 6108:299 232:27 5410:271 3690:157 5386:473 7594:739 2904:149 1440:165 5930:531 5741:351 3440:396 67:11 16674:940 25808:966 14987:637 8617:567 5889:286 4660:526 16127:666 24600:923 25521:954 26255:984 75:3 0:0 0:0 0:0 0:0 0:0 [244302:12491]
traff-07-2010=222:20 105:10 19:3 47:7 122:11 76:16 98:18 212:43 2871:195 7302:398 569:77 6932:649 11387:779 12023:1523 8169:555 2052:308 1178:164 1764:129 7376:431 11193:670 8653:511 543:71 14904:687 12936:824 14732:672 1675:131 9970:628 2817:601 14471:744 8037:408 8745:411 [171200:11694]

Code:
root@rt3:~# for i in `nvram show | grep traff- | cut -f1 -d=""`; do nvram unset $i; done
size: 27563 bytes (5205 left)

Code:
root@rt3:~# nvram show | grep traff-
size: 25047 bytes (7721 left)


But I am running the mega build on it. If you are not running mega, it is possible that the command is not in your build. So you can delete the nvram variables yourself.

1. run (in telnet/ssh):
Code:
nvram show | grep traff-


2. For each result that is displayed, do the following:
Code:
nvram unset traff-03-2011
(change 03 to the month & change 2011 for the year for the ones you need to delete)

Once you remove all of the traff- nvram variables, do the following to commit the changes:
Code:
nvram commit

_________________
(05/02/17) std - 31924
Linksys WRT400N
Buffalo WHR-G300N

Got OpenDNS?
CzarAlex
DD-WRT Novice


Joined: 18 Jun 2009
Posts: 8

PostPosted: Wed Apr 13, 2011 16:32    Post subject: Reply with quote
Luniz2k1 wrote:


But I am running the mega build on it. If you are not running mega, it is possible that the command is not in your build. So you can delete the nvram variables yourself.

1. run (in telnet/ssh):
Code:
nvram show | grep traff-


2. For each result that is displayed, do the following:
Code:
nvram unset traff-03-2011
(change 03 to the month & change 2011 for the year for the ones you need to delete)

Once you remove all of the traff- nvram variables, do the following to commit the changes:
Code:
nvram commit


Done but no change.
phuzi0n
DD-WRT Guru


Joined: 10 Oct 2006
Posts: 10141

PostPosted: Wed Apr 13, 2011 16:39    Post subject: Reply with quote
After you exceed the available nvram space, you really need to hard reset and reconfigure because there is no telling what other settings were lost or corrupted.

To prevent future problems, you should give an overview of everything you're changing from defaults.

_________________
Read the forum announcements thoroughly! Be cautious if you're inexperienced.
Available for paid consulting. (Don't PM about complicated setups otherwise)
Looking for bricks and spare routers to expand my collection. (not interested in G spec models)
CzarAlex
DD-WRT Novice


Joined: 18 Jun 2009
Posts: 8

PostPosted: Wed Apr 13, 2011 16:55    Post subject: Reply with quote
phuzi0n wrote:
After you exceed the available nvram space, you really need to hard reset and reconfigure because there is no telling what other settings were lost or corrupted.

To prevent future problems, you should give an overview of everything you're changing from defaults.


FIXED! Thank you very much!

What I had to do after the hard reset was go to the Port Forwarding area and click Add. Each time I did so, one of my rules came back up until they were all there again. I saved and applied settings and we're all good in the hood. Thank you for your time and patience with this!
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
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