Page 2 of 6 FirstFirst 1234 ... LastLast
Results 16 to 30 of 84

Thread: RRDTool Traffic Graph Tutorial - Extremely easy to follow !

  1. #16
    I can't connect to my router with Putty. Putty says: Network error. Connection refused.

    ((I use win xp)) Please help

  2. #17

    Activate Dropbear SSH Daemon!

    Hi, try to follow this easy tutorial here:
    http://www.macsat.com/macsat/content/view/12/29/

    to activate "Dropbear" on your Asus Router then you should be able to connect to your router over SSH which is more secure than telnet btw.

    regards,
    schim

  3. #18
    Join Date
    Jun 2005
    Location
    Slovenia
    Posts
    736
    Quote Originally Posted by MMCM
    It seems the CGI_TIMELIMIT is set to 30 seconds, not the typical value of 300.
    Is there a version with a higher value of CGI_TIMELIMIT available?
    Yes this limit is in php version. I have changed thttpd without php to 300 seconds. So this is a way to go.

  4. #19
    Join Date
    Apr 2005
    Location
    Vienna, Austria
    Posts
    191
    Quote Originally Posted by oleo
    I have changed thttpd without php to 300 seconds. So this is a way to go.
    Did you recompile thttpd? Or is it standard in thttpd without php?
    I tried to compile thttpd with php but the php-patches for thttpd are for an outdated version only.

  5. #20
    Join Date
    Mar 2005
    Location
    Germany
    Posts
    6
    Hi...

    I've a little problem...
    Everything works fine apart from one little thing:

    How do I Copy the rrdtool.sh script to /opt/usr/bin?

  6. #21
    Join Date
    May 2006
    Location
    Netherlands
    Posts
    25

    Talking

    Quote Originally Posted by d5e5f5 View Post
    Hi...

    I've a little problem...
    Everything works fine apart from one little thing:

    How do I Copy the rrdtool.sh script to /opt/usr/bin?
    One uses the copy (cp) command . Go to the directory where the file is located now and then type the following:

    cp rrdtool.sh /opt/usr/bin
    and when needed:

    chmod +x /opt/usr/bin/rrdtool.sh
    to make the file executable

    <----- Linux n00b, but this is something even I know
    My current collection:

    WL-500gX (original firmware), WL-500gX (Oleg 1.9.2.7-7g), WL-500gX (Oleg 1.9.2.7-8), WL-700gE (Asus 2.0.0.7)

  7. Has it any use of setting the run rrdtool.sh more often than every 5 mins? I've set it to 2 mins, but I can't see for sure that the graph has more detail then 5 mins.

    Anyone who knows?

  8. #23
    Join Date
    May 2006
    Location
    Netherlands
    Posts
    25
    Quote Originally Posted by Elect View Post
    Has it any use of setting the run rrdtool.sh more often than every 5 mins? I've set it to 2 mins, but I can't see for sure that the graph has more detail then 5 mins.

    Anyone who knows?
    The only thing I can think of is that the graph will show more accurate speeds. So unless your speed varies a lot during 2 intervals, you won't get much more accurate graphs.

    I stick with the 5 min. interval as it is stressing the router as it is already
    My current collection:

    WL-500gX (original firmware), WL-500gX (Oleg 1.9.2.7-7g), WL-500gX (Oleg 1.9.2.7-8), WL-700gE (Asus 2.0.0.7)

  9. Tries both of them now. And indeed it doesn't matter much. Graphs are a little bit more detailed but not enough to stress the router more then 100% extra (I used to check it every 2 minutes).

    Ps, I installed in on my WL500G Premium. Just little path changes (like /opt/bin instead of /opt/usr/bin). And make sure if you also follow the Cron manual of Mascat that the USER who runs the run-parts file is admin and not root (!!) in the crontab file (in /opt/etc/). Took me ages to find that out
    Last edited by Elect; 26-09-2006 at 10:16.

  10. #25
    Copy the rrdtool.sh script to /opt/usr/bin

    Now - to make rrdtool start collecting data and making graphs you need to place a small script in /opt/etc/cron.5mins/
    The script could be called rrdrun.sh and should contain something like:

    Code:
    #!/bin/sh /opt/usr/bin/rrdtool.sh >> /opt/var/log/rrdtool.log


    Remember to make the script executable :

    Code:

    chmod +x rrdrun.sh
    Hello,

    Thanks for all the tuts so far. All of them were clear but with this one i encounter some problems.

    I did Wget http://www.macsat.com/rrdtool.sh while i was in the /tmp directory. But when i want to copy it to /opt/usr/bin i got unable to open `/opt/usr/bin': No such file or directory

    I can also not cd directly to /opt/usr/bin but i am able to cd one directory at a time....

    I have an usb stick of 512 Mb mounted on /opt. as stated in another tutorial.

    So i am actually kind of stuck here. Can anyone help me out?
    Last edited by netvista; 11-10-2006 at 23:46.

  11. Go to the /opt/usr/bin directory and use the Wget http://www.macsat.com/rrdtool.sh command there. It should download it there.

  12. #27
    Thanks for your reply, but now the response is

    @(none) /bin]$ Wget http://www.macsat.com/
    -sh: Wget: not found


    And when i leave out http:// the response is :

    @(none) /tmp]$ wget www.mascat.com/rrdtool.sh
    wget: not an http or ftp url: www.mascat.com/rrdtool.sh


    I just don't get it in /opt/usr/bin....

  13. You forgot the http://. This one works, tried in my own config to make sure. Just run it in the designated folder

    wget http://www.macsat.com/rrdtool.sh

  14. #29
    Thanks for the advise, but that doesn't work because it is a read only filesystem...

    here is the response:

    get http://www.macsat.com/rrdtool.sh
    wget: rrdtool.sh: Read-only file system


    But everyone who followed this tutorial should must have had this problem

    Maybe macsat himself can give me the golden tip...???

  15. #30
    Join Date
    May 2006
    Location
    Netherlands
    Posts
    25
    Quote Originally Posted by netvista View Post
    Thanks for the advise, but that doesn't work because it is a read only filesystem...

    here is the response:

    get http://www.macsat.com/rrdtool.sh
    wget: rrdtool.sh: Read-only file system


    But everyone who followed this tutorial should must have had this problem

    Maybe macsat himself can give me the golden tip...???
    To which directory are you trying to write the file, as in: from where are you calling this command? The response suggests that your are trying to download the file to a read-only part.

    Did you try moving to /opt/usr/bin before calling the

    command ?
    My current collection:

    WL-500gX (original firmware), WL-500gX (Oleg 1.9.2.7-7g), WL-500gX (Oleg 1.9.2.7-8), WL-700gE (Asus 2.0.0.7)

Page 2 of 6 FirstFirst 1234 ... LastLast

Similar Threads

  1. Tutorial, hoe bekijk ik mijn webcam vanaf het internet
    By carl in forum Dutch Discussion - Nederlands
    Replies: 9
    Last Post: 29-06-2009, 15:37
  2. samba and oleg tutorial
    By ddieter in forum WL-500g Q&A
    Replies: 4
    Last Post: 15-02-2008, 13:08
  3. Easy-to use cron-system.
    By macsat in forum WL-500g/WL-500gx Tutorials
    Replies: 3
    Last Post: 29-05-2007, 21:18
  4. Replies: 0
    Last Post: 17-09-2005, 18:34
  5. How can I log the traffic ?
    By exilist in forum WL-500g Q&A
    Replies: 3
    Last Post: 06-06-2004, 09:31

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •