keep wireless awake
Smoot Carl-Mitchell
smoot at tic.com
Tue Sep 23 21:53:30 UTC 2008
On Tue, 2008-09-23 at 14:26 -0700, John Hubbard wrote:
> Mario Spinthiras wrote:
> > | am absolutely certain that SSH doesnt do this on a Linux machine and
> > to include on that , some functions of the mac do remain alive when
> > you tuck it up for naptime. My question was different , does anyone
> > know how this can be accomplished on a Linux notebook?
> >
> > Regards,
> > Mario
> If I have an open ssh connection, suspend my kubuntu 7.10 laptop, and
> start it back up the ssh connection still works. Things get screwy when
> I suspend while connected to 192.168.1.1 on my home network and
> reconnect on the work network, but as long as I reconnect to the same
> network everything is fine. Is this not the behavior that you want?
The default SSH daemon behavior is to turn on TCPKeepAlive
(see /etc/ssh/sshd_config. With this option on, SSH connections will
drop if the remote client is down or unreachable. I suspect you have
this option set to "No" in which case the SSH sessions will stay around
forever, unless explicitly closed by one end of the connection.
--
Smoot Carl-Mitchell
System/Network Architect
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005
More information about the ubuntu-users
mailing list