On 02/11/2017 01:39 PM, Alan McKinnon wrote: > On 11/02/2017 22:24, the...@sys-concept.com wrote: >> Can anybody explain me what I did. I run this command on my dd-wrt router >> (trying to clear the "traff" entries). >> This command worked OK on my Linksys-router but my Asus-RT-N16 will not let >> me make a backup file. >> Now, when I try to make a backup, it doesn't prompt for file name, it just >> save the file with "0" bytes; yes the file is empty. >> >> rw-r--r-- 1 fd users 0 Feb 11 09:09 nvrambak.bin >> >> The command I run: >> >> for i in `nvram show | grep traff- | cut -f1 -d=""`; do nvram unset $i; done >> >> I think I will have to reload the dd-wrt firmware and restore old (good) >> nvrambak.bin >> > > > why do you assume that command will even work at all? > Did you test the various bits> > > c'mon, that should have been your first thought. > > does nvram show do anything useful? > if so, do the subsequent greps and cuts do what you want?
The problem wasn't with the command line but with Firefox profile. I run some firefox profile and one profile from which I logged into the firewall GUI and try to make a nvrambak.bin file it printed the error message: URL 1/1... --2017-02-11 15:02:41-- http://10.0.0.1/nvrambak.bin Connecting to 10.0.0.1:80... connected. HTTP request sent, awaiting response... 401 Unauthorized Username/Password Authentication Failed. Press [ENTER] to quit... I've never seen this one. I was able to log-in to the router but making backup did not recognized stored password (it seems). Making backup from different firefox profile worked OK -- Thelma