suddenly unable to save some settings through web interface

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


Joined: 01 May 2007
Posts: 295

PostPosted: Wed Sep 14, 2011 15:27    Post subject: suddenly unable to save some settings through web interface Reply with quote
this started previously with ftpd settings unable to be saved through the interface and disappearing.. Everything had been working fine. Suddenly certain settings are gone and it wasnt working. I was able to work around by creating a startup script that copied the correct config files from /jffs/usr to tmp to fix the settings.

Now suddenly vpn stops working .. Same issue the server ip is blank and i cannot save it in the inteface.. just comes up blank again. Again i was able to work around it by copying pptpd config files from a modified correct version in jff/usr to /tmp/pptpd and restaring the pptpd deamon.

This is our live router with firewall etc for work running on a linksys 610n v1. I dont really want to reflash and reconfig everything unless i am sure it will fix the issue since i will have to come in on the weekend to do it.. Has anyone seen this before ? Do you think a reflash will fix it, or is flash memory going bad in the router or something.

Thanks in advance

Larry
Sponsor
Luniz2k1
DD-WRT Guru


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

PostPosted: Wed Sep 14, 2011 17:38    Post subject: Reply with quote
Sounds like your nvram is full. Run this command in telnet/ssh:
Code:
nvram show | grep size:

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

Got OpenDNS?
lgkahn
DD-WRT User


Joined: 01 May 2007
Posts: 295

PostPosted: Mon Sep 19, 2011 11:51    Post subject: thanks Reply with quote
that seems to be the problem thanks.. now the question is where did the memory go and how can i get it back.. when i first configured it all was fine.. maybe adding the extra names in the vpn accts?

root@linksys:~# nvram show | grep size:
size: 32749 bytes (19 left)
root@linksys:~#
lgkahn
DD-WRT User


Joined: 01 May 2007
Posts: 295

PostPosted: Mon Sep 19, 2011 12:14    Post subject: Reply with quote
thanks for the tip it was traffic data in nvram
did

nvram show > /jffs/usr/bs

then grepped through them to get all traff variables
ie

grep -i traff- bs > 1.

then edited the file and run the following etc.

nvram unset traff-03-2010
nvram unset traff-03-2011
nvram unset traff-01-2010
nvram unset traff-01-2011
nvram unset traff-12-2009
nvram unset traff-10-2009
nvram unset traff-12-2010
nvram unset traff-10-2010
nvram unset traff-08-2009
nvram unset traff-08-2010
nvram unset traff-08-2011
nvram unset traff-06-2010
nvram unset traff-06-2011
nvram unset traff-04-2010
nvram unset traff-04-2011
nvram unset traff-02-2010
nvram unset traff-02-2011
nvram unset traff-11-2009
nvram unset traff-11-2010
nvram unset traff-09-2009
nvram unset traff-09-2010


etc. etc.


nvram commit

now good to go with 6k free again.

thanks again


Last edited by lgkahn on Mon Sep 19, 2011 12:21; edited 1 time in total
lgkahn
DD-WRT User


Joined: 01 May 2007
Posts: 295

PostPosted: Mon Sep 19, 2011 12:20    Post subject: Reply with quote
as a side note .. seems like a bug in the firmware to me.. should remove old traff variables etc. before loosing vital variables such as my vpn server or ftp stuff.. just luck it didnt loose a real vital variable that made device unbooteable or unuseable as a router, since it seems random which variables no longer get saved.
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