Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-19-2013, 11:39 AM
|
#1
|
Member
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505
Rep:
|
OpenSSH + new router = no go
I have a very strange problem with my new router and OpenSSH. If I do for example "ls -R" on the remote machine, I get some text and then SSH output "freezes" until I press a key on the keyboard. Putty doesn't have this problem on neither Linux nor Windows machines. Nor does it happen if I use my old router.
I've tried "KeepAlive yes" & "TCPKeepAlive yes" on sshd_config on the remote machine, and "ServerAliveCountMax 3" & "ServerAliveInterval 1" on ~/.ssh/config and /etc/ssh/ssh_config on the local machine. Nothing seems to help.
Any ideas?
Last edited by alienDog; 08-19-2013 at 11:45 AM.
|
|
|
08-19-2013, 03:50 PM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,331
|
Quote:
Originally Posted by alienDog
I have a very strange problem with my new router and OpenSSH. If I do for example "ls -R" on the remote machine, I get some text and then SSH output "freezes" until I press a key on the keyboard. Putty doesn't have this problem on neither Linux nor Windows machines. Nor does it happen if I use my old router.
I've tried "KeepAlive yes" & "TCPKeepAlive yes" on sshd_config on the remote machine, and "ServerAliveCountMax 3" & "ServerAliveInterval 1" on ~/.ssh/config and /etc/ssh/ssh_config on the local machine. Nothing seems to help.
Any ideas?
|
Well, if ALL you changed was the router, that certainly points to the root of the issue. Did you make any changes/modifications to the old router or its configuration? And what kind of routers are you talking about?
|
|
|
08-20-2013, 06:57 AM
|
#3
|
Member
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505
Original Poster
Rep:
|
Quote:
Originally Posted by TB0ne
Well, if ALL you changed was the router, that certainly points to the root of the issue. Did you make any changes/modifications to the old router or its configuration? And what kind of routers are you talking about?
|
I had some port forwardings, but I have the same forwardings in this new router. Also, they only deal with incoming connections, so I don't think they have anything to do with outgoing SSH-connections, they shouldn't anyway. The old router was Thomson TG784 and the new one in Inteno DG301AL, they are both provided preconfigured for my DSL by my ISP.
|
|
|
08-20-2013, 09:41 AM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,331
|
Quote:
Originally Posted by alienDog
I had some port forwardings, but I have the same forwardings in this new router. Also, they only deal with incoming connections, so I don't think they have anything to do with outgoing SSH-connections, they shouldn't anyway. The old router was Thomson TG784 and the new one in Inteno DG301AL, they are both provided preconfigured for my DSL by my ISP.
|
You're right...the incoming forwardings won't bother the outgoing ones. I'm sorry to say I've never heard of either of those brands, but if they're pre-configured by the ISP, I have to wonder if their tech support folks wouldn't know something about it? Perhaps you got a flaky unit, or there's some setting they need to change on their side?
|
|
|
08-20-2013, 11:30 AM
|
#5
|
Member
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505
Original Poster
Rep:
|
Quote:
Originally Posted by TB0ne
You're right...the incoming forwardings won't bother the outgoing ones. I'm sorry to say I've never heard of either of those brands, but if they're pre-configured by the ISP, I have to wonder if their tech support folks wouldn't know something about it? Perhaps you got a flaky unit, or there's some setting they need to change on their side?
|
Yeah, I have already contacted my ISP and they're trying to fix it, but I wouldn't hold my breath... I was just wondering if someone else had run into a similar behaviour
|
|
|
08-20-2013, 01:19 PM
|
#6
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,331
|
Quote:
Originally Posted by alienDog
Yeah, I have already contacted my ISP and they're trying to fix it, but I wouldn't hold my breath... I was just wondering if someone else had run into a similar behaviour
|
The only time I had run into that was on a WAN, years ago. But, we controlled both sides of the link, and adjusting things on the router (and on the server), got it going again. But if all you changed was your router, that makes it suspect. Unless, there was a REASON you got a new router...did they 'upgrade' your service, by any chance? Did you change providers?
|
|
|
08-22-2013, 02:05 PM
|
#7
|
Member
Registered: May 2013
Distribution: FreeBSD
Posts: 566
Rep:
|
Hi,
Perhaps you can have a look at the router logs or the firewall logs if any. You can even try upgrading the firmware on the router also. Just a suggestion
|
|
|
08-23-2013, 08:11 AM
|
#8
|
Member
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505
Original Poster
Rep:
|
My ISP agreed to replace the router, so perhaps a new unit will work. I'll let you know when I receive it The router was originally replaced because I was experiencing some speed issues with the old one. My ISP determined that it was because of the old age of my old router. I.e. there was no upgrade or anything like that, just a new router.
I don't think the router kept any logs, but I'll see that when the new unit arrives if the problem persists. The firmware was already upgraded to the latest version by the ISP (in fact they're running their own firmware in the routers to begin with and there is no possibility for the user to upgrade it).
Last edited by alienDog; 08-23-2013 at 08:17 AM.
|
|
|
09-04-2013, 06:07 PM
|
#9
|
Member
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505
Original Poster
Rep:
|
Well... My ISP replaced the modem/router with a similar unit, which had exactly the same problem. Unfortunately this was the only modem/router they had available(?!), so in the end I had to get my own. The new one I got (TeleWell tw-eaw510 https://www.telewell.fi/en/product/a...V510/tw-eav510) works perfectly. No sign of any ssh- or any other problems. I get 22/2.2 Mbps speeds on my ADSL-line, which is very decent.
|
|
|
All times are GMT -5. The time now is 09:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|