1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WRTbwlog v1.0 released

Discussion in 'Sveasoft Firmware' started by littlewhoo, Jun 23, 2005.

  1. littlewhoo

    littlewhoo Network Guru Member

    Hi,

    WRTbwlog v1.0 is available.

    - Added graph, statistics, and traffic prediction for billing period display.
    - Added .htpasswd authentication.
    - Added file-upload feature on editor page.
    - Bugfix: Editor doesn't change the file permissions anymore.
    - Bugfix: Editor now displays all files correctly, even if they contain special HTML tags.
    - Various small bugfixes.

    For a detailed description of the new features, please have a look at http://www.hetos.de/bwlog.html

    If there are no serious bugs in this version, which require a bugfix release, this will be the last release for the next few weeks.

    littlewhoo
     
  2. zgamer

    zgamer Network Guru Member

    Sweet!!!!!!!!!!

    Works great for me.
     
  3. XCOM7

    XCOM7 Network Guru Member

    Awesome!
    Thanks :)
    Where is the graph?
    I can seem to find it :)
     
  4. u3gyxap

    u3gyxap Network Guru Member

    Same here.
     
  5. jagboy

    jagboy Network Guru Member

    i am glad that he added the htpasswd. that is a life saver.
     
  6. XCOM7

    XCOM7 Network Guru Member

    Most of the info you have in the traffic page I can not see it for ex:

    [​IMG]


    I can see the download info and the details and options for it... but not the graph and the details of the graph..

    Any ideas why?
     
  7. littlewhoo

    littlewhoo Network Guru Member

    the graph/statistics/prediction is the for the *billing period*. So go to the configuration page, enter the first day of the billing period (or 01, if billing period = month) and enter your traffic limits, with traffic limit 2 >= traffic limit 1 (you don't have to enable the traffic sentry for this).

    Then you can go to the traffic page and click the "By billing period" button to see the graph. Or you can just open this URL http://192.168.1.1:8000/traffic.cgi?details=n&mode=b

    littlewhoo
     
  8. matthiaz

    matthiaz Network Guru Member

  9. littlewhoo

    littlewhoo Network Guru Member

    :?: Which version of Firefox are you using? Could you please post a screenshot, how this page looks on your Firefox? Anybody else having problems with firefox?

    I'm using Firefox (v1.0.4) for most of the testing and I have no problems at all with the graph on this page. The screenshots on the WRTbwlog homepage were also done with Firefox.
     
  10. XCOM7

    XCOM7 Network Guru Member

    I guess I am not understanding you are telling me to set my Traffic limits but not to enable Traffic Sentry?!?
    So where do I set my Traffic Limit at?

    Thanks for the patiance! :)
     
  11. matthiaz

    matthiaz Network Guru Member

    Funny enough, they now show up... Should have cleaned my cash i guess.. :p.
     
  12. littlewhoo

    littlewhoo Network Guru Member

    On the configuration page there are two fields "First Traffic limit (MB):" and "Second Traffic limit (MB):". There you can enter your traffic limits - don't forget to press the 'Save' button.

    These values are used for displaying the graph/statistics on the traffic page and for the traffic sentry feature, which can trigger certain actions, when these limit are reached. If you only need the graph, you don't need to enable the traffic sentry feature. Just enter the traffic limits.

    [​IMG]
     
  13. jagboy

    jagboy Network Guru Member

    i had the same question as XCOM7 thanks for anwsering it :D

    now the traffic limiting is like QOS
     
  14. XCOM7

    XCOM7 Network Guru Member

    Thanks :)
     
  15. zyclone

    zyclone Network Guru Member

    weee
    I see you added a password option to the Config page ! great !!
    thanks littlewho,
    all works fine for me !
    rox

    =)
     
  16. thedogcow

    thedogcow Network Guru Member

    I am running talisman 1.04 and have installed wrtbwlog but the config settings are not being saved. No error message either. I do not have the flash disk enabled either.
     
  17. littlewhoo

    littlewhoo Network Guru Member

    I had reports from people running WRTbwlog successfully on Talisman (don't know, which version though). So it can't be a general problem.

    First of all: did you press the 'Save' button in the same section, where you did do the changes? For example when changing a setting in the 'General' section, you'll have to presse the 'Save' button at the end of this section. Pressing one of the other 'Save' buttons won't save the values in the 'General' section.

    WRTbwlog is saving the configuration data in /tmp/bwlog/data/config. Does this file exist on your router? Is there any data in this file? You can view this file, if your go the the 'Editor' page, enter /tmp/bwlog/data/config in the 'Name of File/NVRAM parameter' field and press the load file button.

    littlewhoo
     
  18. jagboy

    jagboy Network Guru Member

    here is a tip that could help many of you that have problems with wrtbwlog when the router boots you have to reinstall it.

    instead of putting it in the /tmp dir. why not put it in the /jffs partition. so it will survive a reboot. then just place this in the sartup script

    #/bin/sh
    cd /jffs/bwlog
    ( ./start.sh & ) &
    done
     
  19. thedogcow

    thedogcow Network Guru Member

    Won't that also write the logs to the jffs? Constant writing I thought isn't a good thing as flash memory was a limited number of writes no?
     
  20. littlewhoo

    littlewhoo Network Guru Member

    Yes.

    That's correct.

    It seems, that modern flash chips can endure 100.000 - 1.000.000 delete/write cycles before they are starting to fail. http://en.wikipedia.org/wiki/Flash_memory
    I guess in the WRT54G, Linksys is not using the most expensive flash memory. So let's assume 100.000 write cycles.

    The RAM memory of the WRT54G on the other hand can endure zillions of write cycles without any problems.

    For traffic accouting in WRTbwlog there are 3 delete/write accesses per minute (deleting and updating todays logfile), which is 1.576.800 write cycles per year. And that's not even including write accesses caused by the bakcup feature, the wlan log feature...

    Now you know, why I do recommend installing WRTbwlog (or any other application, that is frequently writing data to the disk) to the RAM-disk and not to the flash disk.

    You can backup the logs to flash memory (this feature is included in recent WRTbwlog versions) or you may even restore your WRTbwlog installation from an archive in flash when rebooting (requires minor changes to WRTbwlog). But you shouldn't install the whole thing on the flash disk.

    JFSS2 is supposed to distribute write access evenly over the whole flash area to avoid one cell being written to over and over again. This will increase your flash's lifetime and the number of average writecycles before the first cell fails. But I don't know any details about this feature and I don't know how efficient it is. So better safe, than sorry...

    littlewhoo
     
  21. thedogcow

    thedogcow Network Guru Member

    How would you modify the settings so that your settings survuve a reboot? I am quite happy to use the ftp logging option, I just cannot figure out how to keep my settings :(
     
  22. techspy

    techspy Network Guru Member

    Here you go.

    I finally got wrtbwlog setup to install and restore automatically with every boot of the router. It was a bit of a task so I thought I would share with everyone how to do it. My situation is this. I have limited bandwidth where I currently live, and I don't keep any one computer on. Also my router resets sometimes due to the power situation. I have a web and ftp server at another location.

    1) Log into your router with hyperterminal and install and start wrtbwlog.

    2) Go to the configuration page and fill in all the info specific to your situation. For example, the update server address should be your web server address, the ftp server should be your ftp server address, username password etc. I would leave the ftp root directory to the default of / I had some problems with changing in and it really doesnt matter where it is stored anyway. Be sure to click save when you make changes!

    3) Go back to hyperterminal and stop wrtbwlog.
    cd /tmp/bwlog
    ./stop.sh

    4) Go to the data folder and delete all files except config
    cd /tmp/bwlog/data
    use the command ls to list the contents of the folder and "rm *****" (***** being the file name) to delete the files one at a time.

    5) Then enter the following commands to "zip" the files and upload to your ftp server. Info inside the "" are just for your info, dont enter as a command.

    "change directory"
    cd /tmp
    "zip files"
    tar -czvf wrtbwlog.tgz ./bwlog/
    "upload to your ftp server"
    ftpput -u ftpusername -p ftppassword www.yourftpsite.com / wrtbwlog.tgz
    "remove zipped file"
    rm wrtbwlog.tgz

    You should then see the file wrtbwlog.tgz in your root directory of your ftp server. You need to then import that file to your webserver so it can be downloaded.

    6) Next you need to make a starup script on your router to download the wrtbwlob file and to download the backup file when the router starts. Log into your Linksys firmware, usually by going to 192.168.1.1 in your browser. Then go to Administration, diagnostics and click run. In the top box put these commands.

    sleep 300
    cd /tmp
    wget http://yourftpserveraddress.com/wrtbwlog.tgz
    tar -xzf wrtbwlog.tgz
    cd bwlog
    ./backup.sh r
    sleep 5
    ./start.sh

    and click the button Save Startup.

    Here is what this does.

    sleep 300 means it will wait 300 seconds after the router starts up before trying anything. I use PPPoE and it takes 2.5 minutes to get a connection. DHCP is much faster, use what works for you.

    cd /tmp=change directory

    tar -xzf wrtbwlog.tgz=unpack file

    cd bwlog=change directory

    ./backup.sh r=download the backup file that was last sent to your ftp server.

    sleep 5=wait 5 seconds after getting backup file before starting the program

    ./start.sh= start the bwlog program.

    Next you will want to start the program manually without rebooting the router. Go back to hyperterminal and enter these commands

    cd /tmp
    wget http://yourwebservername.tgz
    tar -xzf wrtbwlog.tgz
    cd bwlog
    ./start.sh

    This will download the custom wrtbwlog file that you made and install and start it. Wait for the amout of time you have set for backups to be made (default is 300 seconds) and make sure it is uploading the bwdata.tgz file via your ftp server. If it is then it is time to restart you router and see if it is working. I watch my ftp server program (filezilla) to tell if it is doing what it should.

    Now if your router resets, bwlog will install automatically and retrieve the last backup data so it wont start back over at zero.

    Here are some problems I ran into.
    Be sure you start with a fresh boot of your router. I had some old settings get saved for some reason. Also, if you make a mistake and need to start over, be sure to delete any files you imported onto your webserver and ftp, and restart your web server. Even though I deleted the old files I imported and imported the new ones, somehow until I restarted the webserver, the old wrtbwlog.tgz file was still being downloaded. Not sure how but it was very frustrating.

    Hope this helps.
    John
    www.skynetworks.gotdns.com

    PS: Thanks Markus for the program and help.
     
  23. thedogcow

    thedogcow Network Guru Member

    Thanks, never thought to do it like that. Just had a thought, you could do the zip and upload in the rc_shutdown script so that any settings you change are preserved (as long as the router is reset correctly).

    thedogcow
     
  24. jagboy

    jagboy Network Guru Member

    how do i backup logs?

    oh well the prices for wrts r coming down anyway. i bricked about 5 wrts in the last 5-6 months by doing various things like overclockiong the cpu and such.

    but littlewhoo how long do you thing it will take until my wrt's flash memory to give. if i kepp it up like this.
     
  25. techspy

    techspy Network Guru Member

    So you are saying have it zip and upload every startup? If I understand you correctly I dont see how that will work. Once its restarted, its already lost the settings.

    Now if you changed the "save" button so that when you click it, it takes the config file, along with the rest of wrtbwlog and zips it and uploads it via ftp, now that would probably work.

    John
    www.skynetworks.gotdns.com
     
  26. littlewhoo

    littlewhoo Network Guru Member

    If you have a properly configured FTP server at IP 192.168.1.100 in your LAN, you don't need to create a custom WRTbwlog version. By default, if the backup feature is enabled, WRTbwlog will backup all data in the ./ data subdirectory, which inlcudes the logs and the config file, to this FTP server. When WRTbwlog is being reinstalled and started after rebooting, it tries to restore the logs and the configuration from this FTP server.

    Of course if you have no possiblity to setup a FTP server at 192.168.1.100, you'll have to use the method described by techspy.

    That's difficult to say. 100.000 write cycles doesn't mean, that the flash will fail after exaclty 100.000 cycles. This is only an average number. It may fail after 10.000 cycles or go way beyond 1.000.000. And of course the whole flash memory will not fail at the same time. If cells are starting to die, you'll not notice it immediately. You'll just have an increasing data corruption, which can cause all kinds of funny side-effects on your router. If your WRT54G is starting acting weird, you'll probably not immediately realize, that this is actually a problem with the flash memory.

    I guess, the WRT54G's flash memory can handle write access at this frequency for at least a year.

    But nevertheless I still stongly recommend installing WRTbwlog to the ramdisk and not to the flashdisk. You have been warned. :p

    Usually when flash harddisks are being used in industry applications, they are being replaced at least every 6 months...
    http://www.dpie.com/storage/chipdisk.html

    I guess, I'll add an additonal button in the next version, that is creating and uploading a custom version based on the changed configuration. That's quite easy to do.

    littlewhoo
     
  27. jagboy

    jagboy Network Guru Member

    thanks for the anwser.

    but it would be cool if you could make it so that we had a backup file. like how dd-wrt has the nvrambak.tgz file. and we could restore it later.
     
  28. littlewhoo

    littlewhoo Network Guru Member

    But you already have a backup file, that can be stored in flash. I still don't understand, why you are not using the "backup to flash" feature.

    At the configuration page set "Backup destination" to FLASH and "Backup path" to the directory on your flash partition, where the backup should be stored. You may also want to increase the backup interval to 900 or 1800.

    This way the logs and the configuration are regularly copied to the flash disk. Now if you create a custom WRTbwlog version with these changes (as descirbed by techspy) and configure your rc_startup parameter to download and reinstall this version after a reboot, WRTbwlog will automatically try to restore the logs & configuration from flash disk.

    Just doing a backup to the flash memory every 15 or 30 minutes will not put such a high strain on the flash memory like installing WRTbwlog directly on the flash disk.

    As I have currently no firmware with a flash partiton installed, have only done some tests with backing up the data to other directories on the ramdisk. But I'm pretty sure, that this will also work with the flash disk.
     
  29. thedogcow

    thedogcow Network Guru Member

    I actually said rc_shutdown NOT rc_startup :p
     
  30. techspy

    techspy Network Guru Member

    I actually said rc_shutdown NOT rc_startup :p[/quote]

    Ah, ok, sorry. In my situation I use the auto restart/restore feature because my router will sometimes lose power. Its not a situation where I am purposly restarting the router. If that was the case I could do a manual backup before I restarted. Anyway, it sounds like Markus is going to integrate these features in the next version.

    John
    www.skynetworks.gotdns.com
     
  31. thedogcow

    thedogcow Network Guru Member

    I keep getting the following from ftpput

    Code:
    /tmp # ftpput -v -u WRT54G -p 079054545 192.168.1.22 / wrtbwlog.tgz
    Connecting to 192.168.1.22[192.168.1.22]:21
    ftpput: cmd (null)(null)
    ftpput: cmd USER WRT54G
    ftpput: cmd PASS 079054545
    ftpput: cmd TYPE I(null)
    ftpput: cmd PASV(null)
    ftpput: cmd CWD /
    ftpput: cmd ALLO 93397(null)
    ftpput: cmd STOR wrtbwlog.tgz
    ftpput: STOR error: wrtbwlog.tgz: Permission denied
    The server is local and running proftpd 1.2.8 It is weird because with any other client (flashfxp and windows explorer) I can create files fine, and upload files fine. Spent hours googling this and found nothing :( Anyone have any ideas?
     
  32. techspy

    techspy Network Guru Member

  33. thedogcow

    thedogcow Network Guru Member

    Nope, http:// and ftp:// makes it worse, ftpput doesn't even connect then :( This is frustrating. Using a samba share to store the backups for the time being. FTP would be better though cos if the sabma server needs rebooting then the samba share isn't automatically reconnected. BTW I am running the ftp/samba on a headless linux box.
     
  34. jagboy

    jagboy Network Guru Member

    thanks for that techspy. i was looking for somthing like this.
     
  35. thedogcow

    thedogcow Network Guru Member

    I am having another slight problem with my setup. Currently I have the program backup to FLASH (really a samba share) which is working great. The backups appear there fine. The problem is, I cannot seem to restore them on startup. Here is my startup script.

    Code:
    #Reinstall wrtbwlog
    sleep 240
    cd /tmp
    wget http://192.168.1.22/~WRT54G/wrtbwlog/wrtbwlog.tgz
    tar -xzf wrtbwlog.tgz
    cd bwlog
    ./backup.sh r
    sleep 5
    ./start.sh
    The sleep 240 lines ensures the samba share is up and running. The weird thing is that if I go into the wrtbwlog interface and click restore backup it works fine! Will keep playing around with it. (think its about time I did the mmc reader mod ;) )
     
  36. techspy

    techspy Network Guru Member

    First of all, monitor your ftp when bwlog should be trying to retrieve the backup. Look for any error messages and see if it is even trying to log in. You can also run ./backup.sh r from the command line manually (in hyperterminal) to see if it is working that way. That should help you narrow down where the problem is. PS: make sure 240 is enough time.

    John
    www.skynetworks.gotdns.com
     
  37. thedogcow

    thedogcow Network Guru Member

    It is enough time and it is a samab server not ftp ;)
     
  38. techspy

    techspy Network Guru Member

    ahhh ok...Does it work from the command line when you run ./backup.sh r?
     
  39. jagboy

    jagboy Network Guru Member

    littlewhoo could the bwlog be used as a captive portal.
     
  40. littlewhoo

    littlewhoo Network Guru Member

    I don't know. I have no experience with captive portals, but according to wikipedia http://en.wikipedia.org/wiki/Captive_portal a captive portal is just a technique to force clients connected to an AP to go to a certain HTML page before they can surf the internet. This is a feature, that already has to be included in the firmware. You can't just add this with an extension like WRTbwlog.
    But I guess, if you are running a captive portal enabled firmware, that can force clients to visit a vertain page, you should also be able to redirect them to one of the WRTbwlog pages.

    littlewhoo
     
  41. jagboy

    jagboy Network Guru Member

    cool thanks

    i have another question

    i took the startup script like the one off your wrtbwlog site and moddifided it a bit. here it is
    Code:
    #!/bin/sh
    sleep 5
    cd /tmp 
    wget http://WRT54G.hetos.de/wrtbwlog.tgz
    tar -xzf wrtbwlog.tgz
    cd /jffs
    ( ./gpio disable 2 & )  
    ( ./gpio disable 3 & ) 
    ( ./gpio disable 7 & ) 
    cd /tmp/bwlog
    ( ./start.sh & ) 
    done
    
    now it works like a charm. (if you are wondering what the "./gpio" is it is to turn the hidden light on in the back of the cisco button. the light is only on wrt54gV3 and wrt54gS V2)

    now i have a backup of the bwlog files in the jffs parittion. i was wondering instead of manually restoring the backup file. would it be possible to tell the wrt in the startup scrip that the backup file is in the jffs patition.

    sorry if this question is already asked.
    thanks for the help.
    and great work on bwlog

    -jag
     
  42. littlewhoo

    littlewhoo Network Guru Member

    With "backup of the bwlog files" do you mean a backup of the logs created by WRTbwlog or a custom copy of WRTbwlog itself?

    If you want to restore WRTbwlog from the flash partition, instead of downloading in from WRT54G.hetos.de just replace the wget command in your startup script with a cp command.

    If you want to restore a backup of the logs from the flash partition, you'll have to set the flash partition as the backup target at the WRTbwlog configuration page. If the logs should be restored from the flash partition after a reboot, you'll have to create a custom version of WRTbwlog with your configuration file as described by techspy and install this version in rc_startup. This way WRTbwlog will remember even after a reinstall, that it should use the flash partition for backups and not the default FTP server at 192.168.1.1.

    So to store both, the backup and the custom version of WRTbwlog in flash,

    1. configure WRTbwlog to use the flash partition as backup location instead of an FTP server. So for example at the configuration page
    'Backup destination' = FLASH and 'Backup path' = /jffs/bwlog/ (ensure, that this directory does really exist on the flash partition)

    2. create a WRTbwlog version with your own configuration file as described by techspy

    3. copy the archive of this custom version (e.g. named wrtbwlog_custom.tgz) to a directory on your flash partition (e.g. /jffs/bwlog/ )

    (the next version of WRTbwlog can do steps 2 + 3 automatically)

    4. configure your rc_startup parameter to restore WRTbwlog from flash, instead of downloading it form my server after a reboot. So basically replace

    cd /tmp
    wget http://wrt54g.hetos.de/wrtbwlog.tgz
    tar -xzf wrtbwlog.tgz

    in your rc_startup with

    cd /tmp
    cp /jffs/bwlog/wrtbwlog_custom.tgz /tmp/wrtbwlog.tgz
    tar -xzf wrtbwlog.tgz

    maybe you'll also have to add a short delay with the sleep command before these commands - I don't know, how long it does take after a reboot, until the flash partition is mounted and available.

    littlewhoo
     
  43. littlewhoo

    littlewhoo Network Guru Member

    If anybody want's to access the WRTbwlog webinterface on his WRT54G from a remote location over the internet, please have a look at my SSH remote access/SSH tunneling tutorial at http://www.hetos.de/sshtut.html

    This way, you can establish a connection with a very secure authentication and strong encryption to your WRT54G to remotely access WRTbwlog.
    Of course this is not only working with WRTbwlog, but also with most other TCP based services running on the WRT54G or any computer in your LAN.

    littlewhoo
     
  44. techspy

    techspy Network Guru Member

    I am going to try the flash restore approach. For some reason no matter how many times I test it, I am losing the backup info after a reboot sometimes. It really is p*&%ing me off that I am losing my backed up info. It seems that for some reason it isnt downloading the backed up bwdata file. Then, after 5 minutes, it uploads a new bwdata file, overwriting the last correct one, basically resetting it to zero again. Any idea when the next version will be out Markus? Can someone tell me how to get to the NV flash area? Like, what syntax to use to create a directory called bwlog in the flash area? is jffs a directory there? I am getting an error when trying to make a directory at the initial command prompt when I log in. It says "read only file system".

    Thanks, John
     
  45. littlewhoo

    littlewhoo Network Guru Member

    Yes, if the backup for some reason (e.g. if the FTP server is offline) can't be downloaded when reinstalling WRTbwlog, it's creating a new backup file. Because WRTbwlog doesn't know, if no backup file exists or if there is a backup file, that just can't be accessed, this can in some cases result in overwriting the old backup file.

    When using the flash partition for the backups, you won't have this problem

    In a week or so.

    Concerning how to enable the flash parition on your firmware (DD-WRT?) you'd better ask Brainslayer or Jagboy (I think Jagboy is successfully using WRTbwlog v1.1 beta with the enhanced backup features). As I'm not using a firmware with a flash partition on my routers, I have no experience with enabling and initializing this partition.

    I think, if the flash partion has successfully been enabled, you should find it at /usr/local/ in Talisman and at /jffs/ in DD-WRT. Didn't you receive the link and description for WRTbwlog v1.1 beta, I sent you a few days ago via PM? If your flash partition has been enabled successfully and /jffs/ is not write-only anymore, you'll just have to select FLASH as the backup destination and /jffs/ as the backup path on the configuration page. WRTbwlog v1.1 will even try to restore the bakcup from this location by default. No need to create a /bwlog subdirectory at /jffs/.

    littlewhoo
     
  46. jagboy

    jagboy Network Guru Member

    the beta works great right now. if your flash partition, jffs is working then the beta should work great. have have reboot the rotuer many times and i am not @ zero ehrn you look @ the bandwdth usuage.
     
  47. techspy

    techspy Network Guru Member

    Thanks Markus. I didnt see the PM until now. I am using Alchemy. Will the jffs be available in this? Should I change to Talisman? I will do some searching and see what I can find. I will email with any comments on the beta.

    John
    www.skynetworks.gotdns.com
     
  48. jagboy

    jagboy Network Guru Member

    you should try dd-wrt.
     
  49. littlewhoo

    littlewhoo Network Guru Member

    No.

    Talisman or DD-WRT.

    As Jagboy had success with DD-WRT & v1.1 beta, I guess I can take this as a confirmation, that backup/restore in v1.1 beta is working with the /jffs/ target.

    It would be interesting to get a report from a Talisman user, if the /usr/local/ target is working.

    I think when Sveasoft releases Talisman v1.1 (which hopefully will support the old WRT54G 1.x devices) I'll wait for an additional 1-2 weeks, to see if it has any major bugs and if everything is okay I'll install Talisman on one of my WRT54G 1.1. Then I can do some additional testing with WRTbwlog and the flash partition.

    littlewhoo
     
  50. techspy

    techspy Network Guru Member

    Ok, I have Alchemy Final, Talisman and DD WRT. Here are the features/fixes I am looking for.
    1. quicker PPPoE login/handling
    2. a jffs or similar nvram location.

    I have read about Talisman and have read that there are still some bad problems like rebooting often. I don't know a lot about DD WRT but think that since it is based on Alchemy that it should be the most "bug free".

    Jag, can you tell me the major advantages/features of DD WRT over the others (including HyperWRT)? Is it pretty straight forward to get the nvram location activated and setup?

    Thanks, John
    www.skynetworks.gotdns.com
     
  51. jagboy

    jagboy Network Guru Member

    it is very striaght forward. as long as you have the jffs partition. you are all good.

    i have not had any major problems. i am running pre 5 on 2 routers. a wrt54gv2 and a wrt54gSv2. they have not had any problems. the many diff between hyperwrt and dd-wrt is that dd-wrt is full of features. a lot of features. i am sure you can just flash to pre 5 from what you have now. what do you have now?
     
  52. techspy

    techspy Network Guru Member

    I have v22 pre final 4 and v22 pre final 4 basic, and I am downloading prefinal 5 now. Which is the preferred?

    John
     
  53. jagboy

    jagboy Network Guru Member

    what do you mean which is perfered. pre 4 or pre 5.

    i would go with pre 4 becuase of it being stable.

    but pre 5 has a lot of the bug fixes pre 4 does not have. so it is upto you.
     
  54. techspy

    techspy Network Guru Member

    Thanks for the info. I think I will try pre5 as it seems to have fixed some bugs with PPPoE. I will probably use basic as I dont need samba, chillspot etc. I sure wish I could find a good manual for it. I have found the forums and wiki but have yet to find a spot that has a screen by screen or feature by feature explainantion. But back to the topic, once I get this installed I will try the wrtbwlog 1.1b and report back.

    Thanks, John
     
  55. jagboy

    jagboy Network Guru Member

    wrtbwlog 1.1 bet is great. just what i was looking for. and litle whoo if i make new themems could you host them on your site. that would be cool.
     
  56. littlewhoo

    littlewhoo Network Guru Member

    Sure, if you have some nice custom themes, you can send the css files via email to webmaster@hetos.de and I'll include them in WRTbwlog and/or put them on the WRTbwlog homepage. Maybe in a future version I'll also add a feature for easy download & installation of additional themes.

    Please ensure, that your themes don't break the layout or any funtionality.

    In my themes I do only change the color and the font for better maintainability. But there can be done much more with CSS 2.x.

    littlewhoo
     
  57. XCOM7

    XCOM7 Network Guru Member

    1.1?
    Where can I get 1.1?
     
  58. jagboy

    jagboy Network Guru Member

    it is in beta version so you might want to pm littlewhoo for it..
     
  59. jagboy

    jagboy Network Guru Member

    cool i will start on those theme right now. hanks for giving me the opportunity.
     
  60. littlewhoo

    littlewhoo Network Guru Member

    At the moment there is a closed beta test for 1.1 (I still need a Talisman user for testing ). If there are no bugs, I'll release 1.1 sometime next week.

    You can already find the list of new features and bugfixes in v1.1 in the Changelog at http://www.hetos.de/bwlog_change.html

    littlewhoo
     
  61. jagboy

    jagboy Network Guru Member

    little whoo i am almost done with my first theme.

    it would be cool if we had people place orders for custom color schemes.
     
  62. ss68

    ss68 Network Guru Member

    Hi,

    I did as per your instruction but so far whenever i reboot my router it wont start it self. My script as below:-

    sleep 300
    cd /tmp
    wget ftp://192.168.1.101/hdd/wrtbwlog.tgz
    tar -xzf wrtbwlog.tgz
    cd bwlog
    ./backup.sh r
    sleep 5
    ./start.sh

    Thanks in advance.
    Ss
     
  63. jagboy

    jagboy Network Guru Member

    well if you have dd-wrt you could keep the wrtbwlog.tgz in the /jffs. and have the router do somting like this:

    #!/bin/sh
    sleep 5
    cd /tmp
    cp /jffs/wrtbwlog_1.1.tar /tmp/wrtbwlog_1.1.tar
    tar -xzf wrtbwlog_1.1.tar
    cd /tmp/bwlog
    ( ./start.sh & )
    done

    this just takes the wrtbwlog form the /jffs dir and moves and extracts the files then goes to the /tmp/bwlog and starts wrtbwlog.
    sorry could not be more help, i have not setup my wrt to get wrtbelog form a ftp server yet so i dont have any experience with it.

    btw make sure you have the ftp server password right and user name.
     
  64. ss68

    ss68 Network Guru Member

    how can i copy wrtbwlog.tgz to jffs.
    Sorry for asking silly question.

    Thanks,
    Ss
     
  65. jagboy

    jagboy Network Guru Member

    you will need to have the following tools:
    winscp. download it
    http://winscp.net/eng/index.phpurlhere
    now you will need to setup ssh in the router download, putty and puttygen
    http://the.earth.li/~sgtatham/putty/latest/x86/putty.exeputty
    http://the.earth.li/~sgtatham/putty/latest/x86/puttygen.exeputtygen

    now that you have the right tools (btw they are free) open puttygen.exe and you should see this:
    [​IMG]
    click generate button and move your mouse around in the open space so puttygen creates the ssh key, once puttygen is done you should see this,
    [​IMG]
    take all the jumbled up letters and numbers and out them in the routers admin tab under shhd:(dont forget to save the puttygen as a private key, Enter a passphrase to protect your private key! Though this is not required, it's highly recommended to do this. Your private key is a small file located on your harddisk (or you can you can put it on a portable medium like an USB stick, if you want to connect to the WRT54G from a remote location). If you don't protect this private key with a passphrase, anyone who can get hold of this file,)
    [​IMG]
    now once you did that you are on your way.
    just open up winscp, here is a exampe of what you need to type
    [​IMG]
    in the host name the routers ip address
    in the user name: root
    in Private key file: put the location of the private key you made with puttygen
    in protocol: click "SFTP(allow SCP fallback)"
    now hit login
    [​IMG]
    here just tyoe your rotuers password
    if you see this then you are logged into the router
    [​IMG]
    now you can navagate though the routers file system.
    if you cannot or dont know how to get to the jffs then post back..
    have fun
    -jag
    [/url]
     
  66. ss68

    ss68 Network Guru Member

    Thanks m8
     
  67. jagboy

    jagboy Network Guru Member

    did the directions help???

    did you get into the router??
     
  68. ss68

    ss68 Network Guru Member

    Yes, straight forwand.

    No, I'm getting the following error:-

    Authentication log (see session log for details):
    Using username "root"
    Authenticating with public key "rsa-key-20050721"

    Server refused to start a shell/command
     
  69. jagboy

    jagboy Network Guru Member

  70. XCOM7

    XCOM7 Network Guru Member

    DO NOT use the latest WinSCP is broken up use the verssion 3.7.4 and it will work I had the same problem when I upgrade it my WinSCP to the latest... Iwhent back and it all works again....
     
  71. ss68

    ss68 Network Guru Member

    Thanks m8, I'm able to access the router as per your instruction.

    Thanks to every body try to help me.

    Rgrd,
    Ss
     

Share This Page