ssh/vnc sessions dropping

xSauronx

Lifer
Jul 14, 2000
19,582
4
81
first my setup:

DSL modem to Buffalo WHR-HP router (stock firmware) [0-4 wireless clients at any time)
---- >Buffalo WHR G54S (dd-wrt v23 SP2) in "client bridge" bridged to WHR-HP
-------> 2 towers wired(1 XP box, 1 Debian Etch box {w/ vnc4server/openssh server/nfs})
..............*sometimes* my laptop (ubuntu feisty), also wired to the bridge


I have zero issues when my laptop is wired in to the Buffallo w/ DD-WRT. ssh and vnc sessions work without a problem.

When i use the wireless on my laptop, the signal is good and i dont lose connection to the AP (the WHR-HP) but my ssh/vnc sessions *always* drop. they last anywhere from 5 seconds to *maybe* 5 minutes.

when I wire the laptop into the AP (whr-hp) i have the same issue

the whr-g54S (dd-wrt) is set up as a "client bridge" with the "assign WAN port to switch" option (i cant recall why i did it, since nothing goes into the WAN port, but meh) and uses static ip 192.168.1.2.

The debian box im losing connection to is static at 192.168.1.5 (though looking at /etc/networking/interfaces i have its gateway set to 192.168.1.2 ..... should it be x.x.x.1 instead? i never have problems *from* that box, just *to* it so i guess it doesnt matter)

all the wireless uses WPA - AES and the connection is fine on everything. im not losing the wireless connection at all *anywhere*

i dont know even know quite *what* to google to get started, or else id start there. just a point in the right direction would be appreciated if nothing else, id really like to get this working so i can ssh in from anywhere in the house.
 

xSauronx

Lifer
Jul 14, 2000
19,582
4
81
if it helps i dont have this problem with the xp box. realVNC server is on it now and i had the session open for quite some time....but on the debian box it lasted under 2 minutes :/
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
That is strange, have you tried setting ServerAliveInterval in your ssh config to see if that keeps the connection alive?
 

xSauronx

Lifer
Jul 14, 2000
19,582
4
81
Originally posted by: Nothinman
That is strange, have you tried setting ServerAliveInterval in your ssh config to see if that keeps the connection alive?

dont know, so, i tried

since thats not an entry in either ssh_config or sshd_config a quick googling suggest i create a ~/.ssh/config with the line so i created it with

Host *
ServerAliveInterval 5

and ssh'ed into the debian box over the wireless:

Read from remote host actium: Connection reset by peer
Connection to actium closed.

i got that within 45 seconds. The connections never last more than a couple of minutes. and even if there *is* something like that for ssh that will fix it, it doesnt explain why i get bumped off the same way using VNC :/

 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Connection reset isn't the same thing as timed out so no, that won't help.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |