Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] command line decipher
Date: Sat, 11 Feb 2017 20:42:55
Message-Id: dd098e16-2c9a-8402-52b0-b7c20c89fbe8@gmail.com
In Reply to: [gentoo-user] command line decipher by thelma@sys-concept.com
1 On 11/02/2017 22:24, thelma@×××××××××××.com wrote:
2 > Can anybody explain me what I did. I run this command on my dd-wrt router (trying to clear the "traff" entries).
3 > This command worked OK on my Linksys-router but my Asus-RT-N16 will not let me make a backup file.
4 > 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.
5 >
6 > rw-r--r-- 1 fd users 0 Feb 11 09:09 nvrambak.bin
7 >
8 > The command I run:
9 >
10 > for i in `nvram show | grep traff- | cut -f1 -d=""`; do nvram unset $i; done
11 >
12 > I think I will have to reload the dd-wrt firmware and restore old (good) nvrambak.bin
13 >
14
15
16 why do you assume that command will even work at all?
17 Did you test the various bits>
18
19 c'mon, that should have been your first thought.
20
21 does nvram show do anything useful?
22 if so, do the subsequent greps and cuts do what you want?
23
24 --
25 Alan McKinnon
26 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] command line decipher thelma@×××××××××××.com