Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PPP dialup as backup to high speed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jrepetto
n00b
n00b


Joined: 26 Mar 2003
Posts: 40

PostPosted: Tue Jul 05, 2005 12:41 pm    Post subject: PPP dialup as backup to high speed Reply with quote

Does anyone know of a Linux script or other mechanism to allow a PPP dialup connection act as a backup for an ADSL connection? Hopefully something that would autodial if the "main" connection failed, would hangup after some idle time, and only dial out again when the main connection was not working. This is for a Linux router machine.

This *must* have been answered before, but I did not find it. Please excuse me if this has been answered too many times already.

Jean-Claude

Note : This question has already been asked by Brad on usenet, but there was no answer ... Since I have exactly the same problem, and I am using Gentoo Linux, I try here.
Back to top
View user's profile Send private message
jamapii
l33t
l33t


Joined: 16 Sep 2004
Posts: 637

PostPosted: Tue Jul 05, 2005 2:53 pm    Post subject: Reply with quote

I thought about this before, but never implemented it.

I think a way to approach this would be to get the backup dialup connection working as well as the main connection. Then, have a cron job that checks the main connection in short intervals. If it goes down, start the backup connection, but keep the main connection trying and watch it. If it goes up, end the backup connection.

This should preferrably be a small set of scripts with as little as possible modification to anything else. The main connection, the backup connection and the scriptset that controls what is used should be separate entities to keep it maintainable.

Maybe it won't be done because nobody has the time and the pressing need for it and also happens to be a *ix user.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
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