Results 1 to 5 of 5

Thread: Script for scheduling pppoe connections?

  1. #1

    Script for scheduling pppoe connections?

    Could someone give me a hint to create a script for scheduling my ISP's connection (pppoe protocol)?

    In fact, my isp disconnects me every 36h... witch is "problematic" because with such period, it may occure when I'm using applications like Skype.

    So, I want to disconnect (and reconnect immediately) every 24h at 5 am.

    I've found on this forum the "killall -1 pppd" command. I've tried it... It does perfectly the job but I don't know how to schedule it...

    Thanks.
    Last edited by Spot; 13-03-2005 at 21:25.

  2. #2
    Also... I've read that cron could do the scheduled job.

    But is it possible to use the crond (without running full busybox) on stock firmware?

  3. #3
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    As of 1.9.2.7-1 cron is by default part of the firmware AFAIK.

  4. #4
    Well... I'm running fw 1.9.3.5 beta and don't want to go back because this one resolves all my wireless issues between fw 1.9.2.7 and the latest Intel 2200BG wi-fi card driver!

    So, do you thing it's possible to run crond on this asus stock firmware?

    Or is'nt it possible to make a loop that check the time and that run the "killall -1 pppd" command when needed?

    Thanks.
    Last edited by Spot; 13-03-2005 at 22:54.

  5. #5
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    You could also add a never ending loop at the end of the post-boot script and do the stopping and starting from there...

Similar Threads

  1. Howto use cron for scheduling tasks
    By Styno in forum WL-500g/WL-500gx Tutorials
    Replies: 12
    Last Post: 27-04-2007, 11:10
  2. wat is initial script
    By djdeun in forum Dutch Discussion - Nederlands
    Replies: 11
    Last Post: 30-11-2005, 17:36
  3. two pppoe connections over single WL-500g
    By uzi in forum WL-500g Q&A
    Replies: 4
    Last Post: 04-10-2005, 08:53
  4. Custom script after! dialing pppoe-link ?
    By Randale91 in forum WL-500g Q&A
    Replies: 1
    Last Post: 10-05-2005, 16:25
  5. multiple pppoe connections (load balancing)
    By xection in forum WL-500g Custom Development
    Replies: 4
    Last Post: 21-02-2005, 10:20

Posting Permissions

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