did you remember to mount a disk on /opt ?
To me it looks like you are trying to write directly to the flash, which isnt supported in Olegs firmware (that part of the flash anyway).
Printable View
did you remember to mount a disk on /opt ?
To me it looks like you are trying to write directly to the flash, which isnt supported in Olegs firmware (that part of the flash anyway).
I als got the "/opt/usr/bin" (it doesn't exist) issue but I changed the path to /opt/bin and changed the line in the config
But when I try to acces my-ip-/rrd is says: file not found
ps aux only shows that cron has started
1 root 660 S /sbin/init
2 root SW [keventd]
3 root SWN [ksoftirqd_CPU0]
4 root SW [kswapd]
5 root SW [bdflush]
6 root SW [kupdated]
7 root SW [mtdblockd]
61 root 320 S telnetd
66 root 376 S httpd vlan1
70 root 388 S syslogd -m 0 -O /tmp/syslog.log -S -l 7
71 root 340 S klogd
73 nobody 496 S dnsmasq
74 root 460 S snmpd -c /tmp/snmpd.conf
81 root SW [khubd]
90 root 276 S lpd
92 root 260 S p9100d -f /dev/usb/lp0 0
95 root 344 S waveservermain
97 root 344 S rcamdmain
101 root SW [usb-storage-0]
102 root SW [scsi_eh_0]
107 root 320 S infosvr br0
108 root 468 S watchdog
111 root 344 S ntp
122 root SW [kjournald]
136 root 432 S udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcp
140 root 408 S /opt/sbin/cron
154 root 568 S upnp -D -L br0 -W vlan1
198 root 544 S -sh
211 root 392 R ps aux
BTW...thttpd config was saying port: 8080 instead of 81
with port 81 or 8080 i got http://192.168.1.254/rrd "file not found"
(btw rrdtool.log is empty)
What to check to make it work?
My problem still is the same. THHTPD seems to shutdown on its own :mad: Where is the logfile ? Has anyone else suffered from this fenomenon?
I began from scratch, installed SSH, VSFTPD, THTTPD but still the problem stays :(
OK, i finally got it working. I just copied the script in /opt/bin i.s.o. /opt/usr/bin.
I have one more question though. Why is my WAN graph always at a steady 222 bytes...:confused:
It doesn't matter if download a lot or not....it's always 220 bytes...strange. Also i tested the LAN & WLAN graph bij transferring a big file from my pc (wired) to my laptop (wireless).
The LAN graph shows a big peak for INCOMING traffic and the WLAN graph shows a big peak for OUTGOING traffic... I think it should be the other way around... do i interpret it incorrectly?
Thanks in advance
nice tutorial. working perfectly. thanks!
Thanks for the tutorial, works fine.
Only problem I had was with the graph creation, since I currently don't have a wireless client the data is 0 and this apparently caused the generation to hang.
I have some problems with rrdrun.sh, it wont execute ok so-ever
it wont create png files
root@Devil-Strike cron.5mins]$ ./rrdrun.sh
/bin/sh: Can't open
dont know what to do know.
have you made it executable? (chmod +x)
For the record and history purposes...the link tot the page on the router in the tutorial isn't quite right...must be
http://192.168.1.254:8080/rrd/
Hi.
Thank you for good script to view the traffic.
I have one question.
How to log every 2 second? like this http://www.polarcloud.com/v/scbwm.htm
Thank you.
I'm having this problem:
And the graphs don't get created...Quote:
<------------------------------------------------------------->
Tue Mar 6 11:30:01 GMT 2007
WAN Interface: vlan1
LAN Interface: vlan0
WLAN Interface: eth1
WAN -> in: 2057306 out: 737424
LAN -> in: 0 out: 294284
WLAN -> in: 0 out: 0
/opt/usr/bin/rrdtool.sh: /opt/usr/bin/rrdtool.sh: 136: rrdupdate: not found
/opt/usr/bin/rrdtool.sh: /opt/usr/bin/rrdtool.sh: 137: rrdupdate: not found
/opt/usr/bin/rrdtool.sh: /opt/usr/bin/rrdtool.sh: 138: rrdupdate: not found
Daily Graphs created.....
/opt/usr/bin/rrdtool.sh: /opt/usr/bin/rrdtool.sh: 172: rrdtool: not found
mv: unable to rename `/opt/share/www/rrd//wanday.png.new': No such file or dire$
/opt/usr/bin/rrdtool.sh: /opt/usr/bin/rrdtool.sh: 172: rrdtool: not found
mv: unable to rename `/opt/share/www/rrd//landay.png.new': No such file or dire$
/opt/usr/bin/rrdtool.sh: /opt/usr/bin/rrdtool.sh: 172: rrdtool: not found
mv: unable to rename `/opt/share/www/rrd//wlanday.png.new': No such file or dir$
Any clue on this?
Thanks...
[edit:] - I guess I may have found the problem: there are compatibility issues with the latest uClibc in -7f... This only works in -7g... damm...
Is it possible to add another graph which shows the load of the router?
I think that I've installed, because I can load the page, but It didn't show any graph, Will I need to w8 a day to see it? or is the admin root problem? I'm running wl500gP, if that's the problem How do I solve it?
I've admin in crontab...
solved with chmod +x rrdtool
One thing just kills me. All router power goes to make those crapy lines and i havent installed nothing except samba, wwwphp, dropbear, nano. Refresh goes every 5 min and still :/
If that wont help i will say byebye to rrdtool.sh and find other way to generate stats
EDIT:
imo txt stat version would be nice