Bekijk de volledige versie : darkstat
Hello,
i want to run darkstat on my router (wl-500b). :cool:
What have i to do? :confused:
I'm really newbi.
Samba is already running. :D
Do i need the crond? :confused:
thx to all
Antiloop
09-02-2005, 13:52
have you searched for darkstat already?
if yes, reply in those specific topics please
I saw this manual in the forum:
From command prompt type
telnet x.x.x.x (where x.x.x.x is the ip address of the wl500g). Use the same username and password you use to log to the web interface.
When you are in the wl500g
cd /tmp/harddisk , where you should find your files.
mkdir /tmp/xmas
cp ltraf.gz /tmp/xmas
cd /tmp/xmas
gunzip ltraf.gz
chmod 777 ltraf
./ltraf -I eth1 -Dk
But I do need the manual for darkstat not for lTraf.
What have i to do?
Hello?
Is there no one who has any experience wirth darkstat?
It should be farily simple..
Copy and unpack the binaries to your usb-device.
Telnet/ssh to the router, cd to the folder containing the binaries.
Then type:
./darkstat
go to http://my.router:666 (or exchange "my.router" with your routers ip or hostname you have given it) and wait for stats.
For more options type:
./darkstat --help
If you get into problems or don't understand my directions, post back and I'll ellaborate.
Sjur
PS: I have only tried on wl500g (not b..)
Hello all together,
I did it!
DARKSTAT is running now! :cool: :eek: :cool:
Without any experience on unix/linux I get it running.
I'm a lillte bit proud. :rolleyes:
It's quite a cool tool!
I will make a How-To to alle the users here.
so? why didn't you answer in my reply to your problem? a ./darkstat -i ppp0 is running for hours without any hickup.
./darkstat -i ppp0
that didn't helped.
The problem was, darkstat has no write permissions to the Stick, so it couldn't create the darkstat.db.
The first time darkstat creates the darkstat.db is after 5 minuten running.
So darkstat crashes after exactly 5 minuten.
I run darkstat on usb stick and unmounted /mnt/dev, /mnt/proc and umount /mnt for saving memory as described in Oleg´s howto. After 5 Minutes darkstat crashes.
If I do not unmount it, it works perfectly.
It seems that data is temporary saved on /mnt/??? and should be moved to darkstat.db. Does someone know, which file or directory has to be available that it works?
Thomas
I Used this in my case:
Post-boot:
#run darkstat
/opt/etc/darkstat -d /opt/etc/ >> /opt/etc/ausgabe > /opt/etc/fehler
If you run darkstat without option "d", the database is created in this directory where you called up the darkstat binary. Problem was, that I thought it where created where the darkstat binary is located...
Thomas