found the "Segmentation fault" error but have one more q.
Is there some tuning that not only IE display the graph correct ?
Me have some prob with Firefox.
Best Regards
Hallo all
is this allstats working on a gx with wl500g-1.9.2.7-5a ?
if i start account_traffic.sh me got a error from sed
and the cgi display a "Segmentation fault"Code:# ./account_traffic.sh setting/updating usage counter files sed: bad format in substitution expression sed: bad format in substitution expression sed: bad format in substitution expression sed: bad format in substitution expression sedsed: bad format in substitution expression : bad format in substitution expression append usage to day dat files tailing counter files finished.
Anyone with the same error and had fixed this ?
Best Regards
found the "Segmentation fault" error but have one more q.
Is there some tuning that not only IE display the graph correct ?
Me have some prob with Firefox.
Best Regards
Plese helpCode:[admin@WL500g accounting]$ ./add_iptables.sh ./add_iptables.sh: 3: awk: not found [admin@WL500g accounting]$
Upgrade to latest firmware.Originally Posted by connic
I have in WL500g firmvare version 1.9.2.7-4. This wersion it not supports?Originally Posted by Oleg
Now notification:
Code:[admin@WL500g accounting]$ ./add_iptables.sh ./add_iptables.sh: 3: /tmp/harddisk/accounting: Permission denied
Upgrade to 1.9.2.7-6b.Originally Posted by connic
With firmware 1.9.2.7-6b:Originally Posted by Oleg
where's AWK applet? In file "init.sh" is line with text:Code:[admin@WL500g accounting]$ ls account_traffic.sh graph_day.awk mkcron.sh accounting_v2.tar graph_month.awk monthtot.sh add_iptables.sh httpd.conf rem_iptables.sh daytot.sh init.sh usage.sh graph_all.awk ipaddress.txt [admin@WL500g accounting]$ ./add_iptables.sh ./add_iptables.sh: 3: /tmp/harddisk/accounting:Permission denied
# pointer to AWK applet
AWK="AWK"
I Attache main files for verification.
Last edited by connic; 02-07-2005 at 22:17.
Just remove the following lines from add_iptables.sh, because they are not used:
Have you installed the scripts in the /tmp/harddisk/accounting directory? If not, change installation directory in init.sh accordingly.Code:# ipnumbers of PC's in LAN ipnumbers=`cat $accountdir/ipaddress.txt| $AWK '{print $2 }'`
BTW: I am working at a graphical version based on rddtools. It generates nice usage graphs in gif format. Will post things soon!
Ahh, thats cool if you can make one with rddtools)
Regards
There is allready something for openwrt and rrd
http://wiki.freifunk-leipzig.public-...tzwerkStatisik
I tried to install these packages. Everything works fine, except the libpng or other graphical libraries are not included. Any feature leading to real graphics causes a 'segmentation fault'. Therefore, I compiled the rrdtool myself and used static linking to the libraries. Bin's included.
Later I will post some scripts to log traffic to different pc's in lan (based on add_iptables.sh). The graphs are generated on the asus and then I FTP the resulting graphs and databases regularly to a webserver with a proper access to the internet.
Last edited by sodb; 05-07-2005 at 23:59.
I want to use this feature, too.
But what am I have to do to install this?
Should I use the wiki-instructions?
sodb, is your tool ready to use?
(How to use this?)
WL-500gP => 1.9.2.7-7g (2007-04-06)
Running: thttpd, php 5.1, vsftp, rrdtool
http://onlinefussballmanager.de/userbar/0/53647.png
better is using RRD tools from www.macsat.com . Look at http://www.home.karneval.cz/0220603501/zdenek . There is showed what can you do do with rrd tool. But it is only in Czech language. But you will understand it. Maybe :-)Originally Posted by britnet
Excelent work, this is what I need.
Can you post more details of how do you do this? Scripts. Do you change iptables?
Hi,
please KAMILEK, pleaseee .. I would like to have the same possibilities to put the individual IPs into the graph .... As a normal RRDToll with the WAN/LAN/WLAN accounting working fine, but yours are BETTER
Prosim, hodne prosim
WiZi from CB