balug-dsl_ssh_connections_dropped_maybe_need_set_keepalive

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



To: Bay Area Linux Users Group <Balug-talk@balug.org>
From: Matt Brennan <mbrennan@Stanford.EDU>
Subject: [Balug-talk] pacbell dsl dropped connections?
Date: Thu, 22 Aug 2002 16:48:53 -0700 (PDT)

Folks,

I've just gotten a PacBell/SBC DSL account up and running in at home in
SF.  Getting on the net was surprisingly easy -- good to see that Linux is
smoothing out the driver problems.  But the problem is staying connected.
When I ssh to my work machine, the connection is frequently dropped so
that the xterm on my home machine locks up.  sshd is still running the
server.  The main connection appears to remain intact since I can open up
another xterm and ssh to the same server as soon as one connection goes
dead.  The connection seems more likely to die when I stop entering input
into the xterm.  If I'm actively using the xterm, it rarely dies on me.
Usually, 3-5 minutes of inactivity and the connection's dead.  So it's
as if there are intermittent hiccups which kill the ssh connection.  Any
ideas?

Thanks,

Matt

===

To: Matt Brennan <mbrennan@Stanford.EDU>
From: David Mandala <davidm@them.com>
Subject: Re: [Balug-talk] pacbell dsl dropped connections?
Date: 22 Aug 2002 17:23:41 -0700


On Thu, 2002-08-22 at 16:48, Matt Brennan wrote:
> 
> Folks,
> 
> I've just gotten a PacBell/SBC DSL account up and running in at home in
> SF.  Getting on the net was surprisingly easy -- good to see that Linux is
> smoothing out the driver problems.  But the problem is staying connected.
> When I ssh to my work machine, the connection is frequently dropped so
> that the xterm on my home machine locks up.  sshd is still running the
> server.  The main connection appears to remain intact since I can open up
> another xterm and ssh to the same server as soon as one connection goes
> dead.  The connection seems more likely to die when I stop entering input
> into the xterm.  If I'm actively using the xterm, it rarely dies on me.
> Usually, 3-5 minutes of inactivity and the connection's dead.  So it's
> as if there are intermittent hiccups which kill the ssh connection.  Any
> ideas?


In your ~/.ssh/config file set KeepAlive to yes. It normally defaults to
that but could be set to no in the master config file. See man ssh


===

To: Bay Area Linux Users Group <Balug-talk@balug.org>
From: Peter Hicks <petong@jah.net>
Subject: Re: [Balug-talk] pacbell dsl dropped connections?
Date: Tue, 27 Aug 2002 17:55:40 -0700

On Sat, Aug 24, 2002 at 03:03:01PM -0700, Matt Brennan wrote:
>
>Checked the KeepAlive and it was already on.
>
>Upgrading to Roaring Penguin's pppoe has considerablly improved the
>problem, but not completely resovled it.  Someone else w/ a similar setup
>uses a router which maintains the connection and he hasn't seen any
>dropped connections.
>
>

The Maximux Transmission Unit for PPPOE is smaller than that of
ethernet. Try adjusting the MTU of your interface like so:

# /sbin/ifconfig eth0 mtu 1400


HTH


===


the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu