BWLOG doesn't work for v23 sp3 or v24

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2  Next
Author Message
ChiGGz
DD-WRT User


Joined: 17 Mar 2007
Posts: 97

PostPosted: Sun May 27, 2007 14:47    Post subject: BWLOG doesn't work for v23 sp3 or v24 Reply with quote
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.
Sponsor
ChiGGz
DD-WRT User


Joined: 17 Mar 2007
Posts: 97

PostPosted: Wed May 30, 2007 4:55    Post subject: Reply with quote
bbbbbbbbbbb
cyberde
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1488
Location: the Netherlands

PostPosted: Thu May 31, 2007 13:21    Post subject: Reply with quote
Had the same problem, but I fixed it, although it doesn't work that perfect at all but it does log.


bwlog.PNG
 Description:
 Filesize:  26.5 KB
 Viewed:  17621 Time(s)

bwlog.PNG



_________________
Firmware: DD-WRT v24-sp2 (latest available) mega
WRT320N

Donater
wurststulle
DD-WRT Novice


Joined: 20 Apr 2007
Posts: 11

PostPosted: Fri Jun 01, 2007 22:15    Post subject: Reply with quote
can u upload your version?
cyberde
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1488
Location: the Netherlands

PostPosted: Sun Jun 03, 2007 15:58    Post subject: Reply with quote
Sure, here it is. I've changed just one file.


bwlog.sh.txt
 Description:

Download
 Filename:  bwlog.sh.txt
 Filesize:  2.8 KB
 Downloaded:  943 Time(s)


_________________
Firmware: DD-WRT v24-sp2 (latest available) mega
WRT320N

Donater
ChiGGz
DD-WRT User


Joined: 17 Mar 2007
Posts: 97

PostPosted: Fri Jun 08, 2007 3:02    Post subject: Reply with quote
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?
rovel
DD-WRT Novice


Joined: 07 Jun 2006
Posts: 21

PostPosted: Sat Jun 09, 2007 15:41    Post subject: Reply with quote
Could someone please upload workable wrtbwlog.tgz ?
Thanks
cyberde
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1488
Location: the Netherlands

PostPosted: Mon Jun 11, 2007 16:46    Post subject: Reply with quote
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
rovel
DD-WRT Novice


Joined: 07 Jun 2006
Posts: 21

PostPosted: Fri Jun 22, 2007 15:20    Post subject: Reply with quote
@ cyberde

Pls upload wrtbwlog.tgz file , because i don't know how to apply the changes you've made.
thanks
cyberde
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 1488
Location: the Netherlands

PostPosted: Fri Jun 22, 2007 18:02    Post subject: Reply with quote
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
wurststulle
DD-WRT Novice


Joined: 20 Apr 2007
Posts: 11

PostPosted: Fri Jun 22, 2007 23:19    Post subject: Reply with quote
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
seaweedsteve
DD-WRT User


Joined: 24 Jan 2007
Posts: 53
Location: Mexico

PostPosted: Sat Jun 23, 2007 7:04    Post subject: Reply with quote
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
rovel
DD-WRT Novice


Joined: 07 Jun 2006
Posts: 21

PostPosted: Sat Jun 23, 2007 10:03    Post subject: Reply with quote
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.
wurststulle
DD-WRT Novice


Joined: 20 Apr 2007
Posts: 11

PostPosted: Sat Jun 23, 2007 10:45    Post subject: Reply with quote
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.
rovel
DD-WRT Novice


Joined: 07 Jun 2006
Posts: 21

PostPosted: Sat Jun 23, 2007 17:43    Post subject: Reply with quote
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
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum