LinuxQuestions.org
Register a domain and help support LQ
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 07-08-2004, 03:49 PM   #1
NonSumPisces
Member
 
Registered: May 2004
Location: Västerås, Sweden
Distribution: Slackware Current
Posts: 228

Rep: Reputation: 30
Keeping the connection alive?


I need something to keep my internet connection alive, such as a script. How can I make one, or where can I find one?
 
Old 07-08-2004, 04:08 PM   #2
MrMud
LQ Newbie
 
Registered: Apr 2004
Location: Portland, Oregon
Distribution: Slackware/Mandrake/Redhat
Posts: 21

Rep: Reputation: 15
well, the quick and easy solution is to stick this in your rc.local file:

/bin/ping -i 60 -q www.yahoo.com > /dev/null &


Of course, www.yahoo.com can be substituted for anything you want. Don't forget the & at the end, this is important.
 
Old 07-08-2004, 05:12 PM   #3
NonSumPisces
Member
 
Registered: May 2004
Location: Västerås, Sweden
Distribution: Slackware Current
Posts: 228

Original Poster
Rep: Reputation: 30
Thx m8
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Not keeping internet connection for a while hongman Linux - Newbie 5 03-01-2005 02:25 AM
how to keep alive a pptp connection being timed-out by remote router? mfcarroll Linux - Networking 1 02-17-2005 08:03 AM
Keeping a connection open and re-establishing when dropped? WorldBuilder Linux - Networking 0 11-13-2003 11:37 AM
imap+xinetd: connection not kept alive foogy Linux - Networking 3 07-08-2003 03:18 PM
Keeping dialup alive kobe Linux - General 3 08-18-2002 01:46 AM


All times are GMT -5. The time now is 05:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration