1 |
On 02/11/2017 01:39 PM, Alan McKinnon wrote: |
2 |
> On 11/02/2017 22:24, thelma@×××××××××××.com wrote: |
3 |
>> Can anybody explain me what I did. I run this command on my dd-wrt router (trying to clear the "traff" entries). |
4 |
>> This command worked OK on my Linksys-router but my Asus-RT-N16 will not let me make a backup file. |
5 |
>> 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. |
6 |
>> |
7 |
>> rw-r--r-- 1 fd users 0 Feb 11 09:09 nvrambak.bin |
8 |
>> |
9 |
>> The command I run: |
10 |
>> |
11 |
>> for i in `nvram show | grep traff- | cut -f1 -d=""`; do nvram unset $i; done |
12 |
>> |
13 |
>> I think I will have to reload the dd-wrt firmware and restore old (good) nvrambak.bin |
14 |
>> |
15 |
> |
16 |
> |
17 |
> why do you assume that command will even work at all? |
18 |
> Did you test the various bits> |
19 |
> |
20 |
> c'mon, that should have been your first thought. |
21 |
> |
22 |
> does nvram show do anything useful? |
23 |
> if so, do the subsequent greps and cuts do what you want? |
24 |
|
25 |
The problem wasn't with the command line but with Firefox profile. |
26 |
I run some firefox profile and one profile from which I logged into the |
27 |
firewall GUI and try to make a nvrambak.bin file it printed the error |
28 |
message: |
29 |
|
30 |
URL 1/1... |
31 |
--2017-02-11 15:02:41-- http://10.0.0.1/nvrambak.bin |
32 |
Connecting to 10.0.0.1:80... connected. |
33 |
HTTP request sent, awaiting response... 401 Unauthorized |
34 |
|
35 |
Username/Password Authentication Failed. |
36 |
Press [ENTER] to quit... |
37 |
|
38 |
I've never seen this one. I was able to log-in to the router but making |
39 |
backup did not recognized stored password (it seems). |
40 |
|
41 |
Making backup from different firefox profile worked OK |
42 |
|
43 |
-- |
44 |
Thelma |