Author
Message
ChiGGz DD-WRT User Joined: 17 Mar 2007 Posts: 97
Posted: Sun May 27, 2007 14:47 Post subject: BWLOG doesn't work for v23 sp3 or v24
I have tried it with sp2 final and it works fine. But it refuses to record any network activity in SP3 or V24.
Is there a fix for this?
I really like using BWLOG and have found no other alternatives that run on the router like BWLOG does.
Back to top
Sponsor
ChiGGz DD-WRT User Joined: 17 Mar 2007 Posts: 97
Posted: Wed May 30, 2007 4:55 Post subject:
bbbbbbbbbbb
Back to top
cyberde DD-WRT Guru Joined: 07 Jun 2006 Posts: 1488 Location: the Netherlands
Posted: Thu May 31, 2007 13:21 Post subject:
Had the same problem, but I fixed it, although it doesn't work that perfect at all but it does log.
Description:
Filesize:
26.5 KB
Viewed:
17621 Time(s)
_________________ Firmware: DD-WRT v24-sp2 (latest available) mega
WRT320N
Donater
Back to top
wurststulle DD-WRT Novice Joined: 20 Apr 2007 Posts: 11
Posted: Fri Jun 01, 2007 22:15 Post subject:
can u upload your version?
Back to top
cyberde DD-WRT Guru Joined: 07 Jun 2006 Posts: 1488 Location: the Netherlands
Posted: Sun Jun 03, 2007 15:58 Post subject:
Sure, here it is. I've changed just one file.
Description:
Download
Filename:
bwlog.sh.txt
Filesize:
2.8 KB
Downloaded:
943 Time(s)
_________________ Firmware: DD-WRT v24-sp2 (latest available) mega
WRT320N
Donater
Back to top
ChiGGz DD-WRT User Joined: 17 Mar 2007 Posts: 97
Posted: Fri Jun 08, 2007 3:02 Post subject:
awesome!
Haven't tested it yet cause I reverted back to SP2. I look forward to using it.
Can I ask what you changed and what doesn't work properly?
Back to top
rovel DD-WRT Novice Joined: 07 Jun 2006 Posts: 21
Posted: Sat Jun 09, 2007 15:41 Post subject:
Could someone please upload workable wrtbwlog.tgz ?
Thanks
Back to top
cyberde DD-WRT Guru Joined: 07 Jun 2006 Posts: 1488 Location: the Netherlands
Posted: Mon Jun 11, 2007 16:46 Post subject:
Excuse me for my late reply, i was gone for a while.
Anyway, I've changed this Code: C:\>fc C:\bwlog.sh.new C:\bwlog.sh
Comparing files C:\bwlog.sh.new and C:\BWLOG.SH
***** C:\bwlog.sh.new
#####add new traffic#####
trx=$(echo $brx $drx | awk '{print $1 + $2}')
ttx=$(echo $btx $dtx | awk '{print $1 + $2}')
***** C:\BWLOG.SH
#####add new traffic#####
trx=$(echo $trx $drx | awk '{print $1 + $2}')
ttx=$(echo $ttx $dtx | awk '{print $1 + $2}')
*****
_________________ Firmware: DD-WRT v24-sp2 (latest available) mega
WRT320N
Donater
Back to top
rovel DD-WRT Novice Joined: 07 Jun 2006 Posts: 21
Posted: Fri Jun 22, 2007 15:20 Post subject:
@ cyberde
Pls upload wrtbwlog.tgz file , because i don't know how to apply the changes you've made.
thanks
Back to top
cyberde DD-WRT Guru Joined: 07 Jun 2006 Posts: 1488 Location: the Netherlands
Posted: Fri Jun 22, 2007 18:02 Post subject:
I don't have an edited tar.gz file, you can upload the .sh file using winscp.
_________________ Firmware: DD-WRT v24-sp2 (latest available) mega
WRT320N
Donater
Back to top
wurststulle DD-WRT Novice Joined: 20 Apr 2007 Posts: 11
Posted: Fri Jun 22, 2007 23:19 Post subject:
rovel wrote: @ cyberde
Pls upload wrtbwlog.tgz file , because i don't know how to apply the changes you've made.
thanks
u can edit the file using thr file-editor in bwlog and export the bwlog.tgz in the Configure menue
Back to top
seaweedsteve DD-WRT User Joined: 24 Jan 2007 Posts: 53 Location: Mexico
Posted: Sat Jun 23, 2007 7:04 Post subject:
I have a Buffalo HP. Should BWLog work with mine or is it somehow only for linksys?
I would love to get it working, but so far, no luck.
Steve
Back to top
rovel DD-WRT Novice Joined: 07 Jun 2006 Posts: 21
Posted: Sat Jun 23, 2007 10:03 Post subject:
wurststulle wrote: rovel wrote: @ cyberde
Pls upload wrtbwlog.tgz file , because i don't know how to apply the changes you've made.
thanks
u can edit the file using thr file-editor in bwlog and export the bwlog.tgz in the Configure menue
thanks. after editting the file bwlog.sh ( as suggested by cyberde) all is working.
Back to top
wurststulle DD-WRT Novice Joined: 20 Apr 2007 Posts: 11
Posted: Sat Jun 23, 2007 10:45 Post subject:
yes it worked but ich had the problem that after editing the traffic of the day(before updating to v24beta) was reseted.
i use
cd bwlog
rm bwdata.tgz
/usr/bin/wget http://IP/wrt/bwdata.tgz
/bin/tar -xzf bwdata.tgz
to load old traffic data after reboot.
Back to top
rovel DD-WRT Novice Joined: 07 Jun 2006 Posts: 21
Posted: Sat Jun 23, 2007 17:43 Post subject:
I am using ftp server and this is my startup script, working fine. My ftp is at 192.168.4.144 with id=house, pass=house and directory=house
#!/bin/sh
for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20;
do
sleep 5
cd /tmp
/usr/bin/wget ftp://house:house@192.168.4.144/house/housewrtbwlog_cust.tgz
/bin/tar -xzf housewrtbwlog_cust.tgz
rm housewrtbwlog_cust.tgz
rm bwdata.tgz
cd bwlog
rm bwdata.tgz
rm housebwdata.tgz
/usr/bin/wget ftp://house:house@192.168.4.144/housebwdata.tgz
mv housebwdata.tgz bwdata.tgz
( ./start.sh & ) & done
Back to top