O.T.: How to make an idle connection persist

Steve Holmes steve at holmesgrown.com
Mon Feb 5 17:12:55 EST 2007

I found a similar situation with my wireless connection at home.  For
some reason, the connection would eventually quit working or even drop
off but if I use a ping loop similar to what you show below, my wireless
LAN would stay up flawlessly! Thanks for the suggestion of -i; I used a
shell script with a loop causing a single packet every two minutes like
while true
ping -c1 <address>
sleep 2
Your idea looks to be simpler.

On Mon, Feb 05, 2007 at 04:53:40PM -0500, Janina Sajka wrote:
> I have a workaround that I use when I'm at conferences where they seem
> to care about inactivity on their network connections.
> I launch a ping something like this:
> ping -i 61 [address] &
> I've found the not quite once a minute ping keeps my connections alive
> nicely.
> Just a thought. hth.
> Janina
> Chuck Hallenbeck writes:
> > I'm looking for some direction on a funny issue here. There is a system 
> > running Debian testing which I want to be able to have log onto my own 
> > desktop, with a connection that persists, and does not time out. But 
> > the system I am talking about drops its connection if it remains idle 
> > for a time. It drops the connection whether it is an ssh connection or a 
> > telnet connection. When I initiate a connection from my own system to 
> > another host, I have no problem letting the connection remain idle for 
> > hours, it is still alive when I need it. But when the connection comes 
> > to me from the Debian Etch host, it will drop out if it remains idle, 
> > whether that connection is ssh or telnet. It has to be used to remain 
> > alive.
> > 
> > Where do I begin to look for the problem here? Is there a network 
> > configuration I need to tweak? I am using the ssh option TCPKeepAlive, 
> > but on the telnet side, I find no discussion of persistent connections 
> > in the telnet docs.
> > 
> > Any clues much appreciated.
> > 
> > Chuck
> > 
> > -- 
> > The Moon is Waning Gibbous (88% of Full)
> >  But you can get a few downloads from http://www.mhcable.com/~chuckh
> > 
> > _______________________________________________
> > Speakup mailing list
> > Speakup at braille.uwo.ca
> > http://speech.braille.uwo.ca/mailman/listinfo/speakup
> -- 
> Janina Sajka				Phone: +1.202.595.7777
> Partner, Capital Accessibility LLC	http://CapitalAccessibility.Com
> Marketing the Owasys 22C talking screenless cell phone in the U.S. and Canada--Go to http://ScreenlessPhone.Com to learn more.
> Chair, Accessibility Workgroup		Free Standards Group (FSG)
> janina at freestandards.org		http://a11y.org
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

HolmesGrown Solutions
The best solutions for the best price!

More information about the Speakup mailing list