We have 4 routers covering our house/outbuildings - one that actually routes and 3 wired to it and set as access point only.
My SSH PuTTY sessions are generally pretty rock-stable, but if I move from upstairs (RT-N66u) to downstairs (RT-AC68u) or vice versa it cuts out every single time.
The SSID have the same name. Both are 2.4GHz. Upstairs is N, downstairs is AC.
Running latest Windows 10 on my laptop, and PuTTY 0.73. In my ssh_config I have these lines:
ClientAliveInterval 5
ClientAliveCountMax 12
In PuTTY I have
Seconds between keepalives (0 to turn off) 25
Disable Nagle's algorithm (TCP_NODELAY option) checked
Enable TCP keepalives (SO_KEEPALIVE option) checked
Any other salient information that I'm missing?
Is this a fixable problem, or "just the way it is"?
Thank you.
arp -ashows the same MAC address of the gateway. And just in case, see if those APs have any firewall enabled, even if it shouldn't have any effect in bridge mode. – u1686_grawity Nov 18 '20 at 08:03192.168.1.1regardless of which one I'm connected to. I have a static IP (should have said, sorry) for the laptop set to192.168.1.41. I've also disabled the "random hardware address" in Windows because I thought MY mac address changing might be breaking things.No firewall settings on the routers that I know of. I'll have to check
– Codemonkey Nov 18 '20 at 08:08arp -ain a bit.ping -trunning to the server, how much packet loss do you get during roaming? Does your computer wait until the Wi-Fi connection is unusable before it decides to roam? (Your "keepalive" options make the SSH connection much more sensitive to this than it would be otherwise.) – u1686_grawity Nov 18 '20 at 08:28ping -t. No packet loss at all on this attempt, just one slow one (900ms). SSH session disconnected though ("Network error: software caused connection abort") – Codemonkey Nov 18 '20 at 09:08arp -aoutput is identical on either router. – Codemonkey Nov 18 '20 at 09:09ClientAliveInterval 20andClientAliveMaxCount 5. (For answering add to your comment@harrymcfor me to be notified.) – harrymc Nov 18 '20 at 09:51Changing my
– Codemonkey Nov 18 '20 at 12:02ClientAliveIntervaland restarting thesshdservice hasn't helped I'm afraid, @harrymcmtrand one completely idle with no keepalives of any kind. In most cases, roaming was swift (with the old AP still in range) and both connections just kept running. In one case, roaming took a few seconds and this caused the active connection to freeze up for 3-4 minutes before recovering (but it didn't die), whereas the idle connection was completely fine and responded immediately when I poked it. – u1686_grawity Nov 19 '20 at 14:07