LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-13-2003, 11:37 AM   #1
WorldBuilder
Member
 
Registered: Mar 2003
Location: Massachusetts, USA
Distribution: RH 8, Solaris, Windoze eXPunged
Posts: 520

Rep: Reputation: 30
Keeping a connection open and re-establishing when dropped?


I have a linux server machine with an internal Fritz! DSL card installed providing internet access to my windows boxes, with dial-on-demand activated. that works fine. but I need to ensure that my linux box stays online because there's also a CVS server running on it which needs to be accessed by a fellow.

So when the connection is terminated once daily by the provider (I don't know when, as it's at different times), it shall come up again automatically and promptly.

Of course I could setup a cron job every 5 minutes or so which either pings another server or requests an internet-page in order to re-establish the connection. Does anybody know a more efficient way to do that? I am thinking of some sort of daemon program that watches the connection a automatically reconnects if necessary..?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Establishing Internet Connection TtWEAK Linux - Networking 1 09-21-2005 03:15 AM
Establishing an Internet Connection anders_ant Linux - Networking 3 07-27-2004 12:37 PM
establishing internet connection after boot true_atlantis Linux - Newbie 4 04-21-2004 12:56 PM
Establishing an ethernet connection mikefoo Linux - Networking 2 11-07-2003 05:58 AM
establishing a internet connection iguarin Linux - Newbie 1 05-20-2003 06:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration