Linux - NetworkingThis 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.
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.
I am currently a Bellsouth DSL customer running linux. My setup is pretty simple. I have a WinTel WireSpeed eithernet DSL modem running into my linksys router, which handles the PPPoE connection and routes the DSL to both my computer and my roommates computer.
I used to be a DirectTV customer and I used the exact same setup, except I didn't have the linksys doing PPPoE because DirectTV DSL didn't use it. Also, I am running Slackware-current on my box, if that makes a difference to you.
My problem is this, if I ssh into my machine from any other bellsouth customer (including my office which uses BellSouth Business DSL) it works fine, no problems. If I ssh from anywhere else in the world the connection goes through and stays active for about 20s and locks up. This never happened when I was using DirectTV DSL.
I have run tcpdump on both sides and I can see them both trying to send packets to each other but eventually, although they are both sending out packets, they both stop recieving the others packets. This doesn't seam to ever happen when I connect from another bellsouth customer.
Anyone have any idea what the problem might be? I have contacted bellsouth several times but they usually end up just telling me to contact my OS vendor for support since Linux is unsupported. Anyone else ever have this problem? If so how did you fix it?
Interesting. Does this happen with any other service? If you have httpd running and you connect to your site from outside BellSouth will it lock up as well or is this issue exclusive to ssh?
Also, have a look at the log files to see if you can get any clues there. You may want to change the 'LOGLEVEL' variable in your /etc/ssh/sshd_config file to get more information as to whats going on.
I probably should have shared that. It does do the same thing with http, ftp, and all other services. It is almost like the packets are getting routed poorly, I figured out that the firmware on the linksys has an update so I am going to do that and see what happens.
BTW, this is probably a really stupid question, but where does sshd log to? I see a few references in the syslog but they are only to errors that occured on boot when I had a bad seeing in my log file. Since going to DEBUG3 for logging I haven't seen any errors anywhere in /var/log (I grepped for it and it returned nothing).
According to the apache logs it sees my attempt to connect from the outside world:
But I have no proof that it actually sent any data and the other machine just sits there at the "waiting for a responce" state. However when I use my machine at work you can see the initial GET along with page requests and the likes in the logs. Oh, and the page loads...
I did upgrade the firmware and then is started to work again.
Of course I also figured out why my logs weren't there, daemontools was eatting them, apparently it was very hungry, and apparntly I forgot to put a log directory in daemontools service directory for ssh.. opps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.