One small problem I have is that I have configured the ftp backup option to store BWDATA.TGZ file to be saved in the /router1 and /router2 subdirectory of the ftp server at the 192.168.4.144 IP with the needed passwords. Not the root directory. But it always saves bwdata.tgz in the main root directory. When I upload wrtbwlog_cust.tgz it's also saved in the root ftp directory.
Is this a bug in the config for ftp backup or am I doing something wrong?
this was a bug from me... i fixed it so that it should save in the correct dirs...
I simply get a blank white page. In firefox, the page icon is what I think is the BWlog icon (small picture of a WRT54G). Using LiveHttpHeaders, I get:
GET /status.cgi HTTP/1.1
Host: 192.168.1.1:8000
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-GB; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
HTTP/1.x 200 OK
----------------------------------------------------------
Using Internet Explorer, I also get the blank white page.
I also tried a second time with the repackaged bwlog mentioned on these forums, but I got the same result. Of course, I didn't remove the first instance of Bwlog (I don't actually know how..?). Would that have caused a clash? Of course, it didn't work the first time around either...lol...
Is anybody having problems with ftpput? I can't seem to get it to deposit files onto my FTP server. I'm pretty sure my server is set up correctly since it does work with other FTP programs such SmartFTP, Filezilla, and even ftpget.
Using freeFTPd, ftpput successfully logs in and logs out but doesn't deposit anything. Output with -v just shows one line that says it's connecting to my FTP server. Using Filezilla Server and WarFTP, ftpput hangs while trying to log in (the command line is busy, but the FTP server shows no clients connected).
I've had this problem with both SP2 2006/07/04 and SP2 final.
my ftpserver is warftp (if i remember it correctly)... and it works fine with dd-wrt v.23 sp2 _________________ Using Firmware:
DD-WRT v24-sp2 (01/29/09) vpn
(SVN revision 11514) on WRT54G v3.1
where the bwlog data are stored within the webserver directory of the nas.
May be it`s helpfull.
Thank gord for this thread, I tried installing bwlog on my SP2 WRT54GL and couldn't get it working (of course), found this thread and all my problems are solved.
The krikkit.net version works perfectly with a manual install, then I used the info in the post above to set up automatic installation on the router startup script, it was installing but not restoring my backed up data...then I figured out there's a step missing from the above script.
(my http paths are different obviously)
Without the highlighted line all the script does is upload the bwdata.tgz file and do nothing with it, I'm not sure if bwlog is supposed to do this automatically but mine was not so this line was needed to force the data/config to restore.
I hope this helps other people looking for a simple bandwidth monitoring script that runs on the router, I tried several SNMP based log viewers and they were all over complicated, hard to set up or just plain didn't work properly.
In answer to the last question about FTP servers, I'm using the one built in to XP/IIS, it works.
Is anybody having problems with ftpput? I can't seem to get it to deposit files onto my FTP server. I'm pretty sure my server is set up correctly since it does work with other FTP programs such SmartFTP, Filezilla, and even ftpget.
Using freeFTPd, ftpput successfully logs in and logs out but doesn't deposit anything. Output with -v just shows one line that says it's connecting to my FTP server. Using Filezilla Server and WarFTP, ftpput hangs while trying to log in (the command line is busy, but the FTP server shows no clients connected).
I've had this problem with both SP2 2006/07/04 and SP2 final.
As I said in my post above I had the backup and restore working flawlessly but I had to reinstall windows on the machine that was hosting the FTP site. Since I reinstalled, the backup worked once and has refused to work since.
The problem is exactly as what Aridyme has described, bwlog connects to the ftp site but does nothing. The account being used has write access to the folder/site because if I log in manually I can deposit files. The log files for the server show bwlog logging in, then just sitting there doing nothing, it doesn't even attempt to put a file.
Does anybody have any advice? I would even be happy with a manual backup, is there some way to get the bwdata.tgz file off the router via telnet or some other method?
I'm using the Krikkit version of bwlog on DD-WRT v23 SP2.
It refused to work, but then I stopped and started the FTP service on the host machine and it suddenly started working again, the thing is i'm sure I had already tried this, oh well, all's good. (is anyone else reading this thread? is anyone else still using bwlog?)
Good to hear that it's working for you. It's still broken for me though!
I even tried using OpenWRT's wput binary. It successfully deposits files onto my FTP server but it doesn't detect the local file size properly. It thinks bwdata.tgz on the router is 700MB and it sees that bwdata.tgz on the FTP server is only a few KB, so it tries to resume the transfer in an infinite loop. None of its switches stop it from doing that, unfortunately.