LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-29-2020, 02:43 PM   #16
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551

in all things look like they should work. just fyi, the MTR you displayed above is not pointing to the same IP as the ssh log files are showing for the Old laptop. Ensure it is pointing to the correct IP.

new (192.168.1.171) != old.local ([192.168.1.86]

Have you attempted disabling the eth0 card and only allowing the laptop to use the wifi card?
 
Old 04-29-2020, 02:47 PM   #17
piramiday
Member
 
Registered: Sep 2013
Posts: 43

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lleb View Post
in all things look like they should work.
I know! I've been troubleshooting ssh stuff for years, so I'm sure that the problem will be very quirky.

Quote:
Originally Posted by lleb View Post
just fyi, the MTR you displayed above is not pointing to the same IP as the ssh log files are showing for the Old laptop. Ensure it is pointing to the correct IP.
on the contrary, it does. the first line in the MTR log is the host that mtr is running on (that is, new, 192.168.1.171), while the first result in the table contains the target (that is, old, 192.168.1.86).

Quote:
Originally Posted by lleb View Post
Have you attempted disabling the eth0 card and only allowing the laptop to use the wifi card?
when I'm trying my wireless tests, my ethernet cable is not connected, so I don't think there would be any confusion with respect to the dual interface.
 
Old 05-01-2020, 01:17 PM   #18
piramiday
Member
 
Registered: Sep 2013
Posts: 43

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Turbocapitalist View Post
Code:
ssh -p 2200 -o IPQoS=0 user@old
ssh -p 2200 -o IPQoS=throughput user@old
ssh -p 2200 -o IPQoS=lowdelay user@old
ssh -p 2200 -o IPQoS=reliability user@old
tried, and the same happens: ssh hangs up, there are no interesting debug lines to take a look at.
this is really unnerving. any further suggestion?
 
Old 05-01-2020, 05:51 PM   #19
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
Just out of curiosity does networking work in general on old except for ssh?

Just for fun try running a simple chat server and see.

On old
netcat -l 2200

On new
netcat old_IP_address 2200

Not what you type on one computer and when you press enter it should be displayed on the other.

Make sure you have stopped all the other ssh servers if still running.
 
Old 05-01-2020, 06:01 PM   #20
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,750

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
Quote:
Originally Posted by piramiday View Post
when I'm trying my wireless tests, my ethernet cable is not connected, so I don't think there would be any confusion with respect to the dual interface.
I have seen laptops that continue to try to use the wired connection even when there's no wire plugged in...and laptops that require the wired connection to be disabled befort the wireless connection will work.

Going to repeat lleb's suggestion that you disable the wired connection (in addition to unplugging the cable)

Another thought: Are you sure there's not a duplicate IP address on the LAN?
 
Old 05-01-2020, 06:04 PM   #21
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
That was going to be my next question...
 
Old 05-01-2020, 06:35 PM   #22
piramiday
Member
 
Registered: Sep 2013
Posts: 43

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by scasey View Post
I have seen laptops that continue to try to use the wired connection even when there's no wire plugged in...and laptops that require the wired connection to be disabled befort the wireless connection will work.

Going to repeat lleb's suggestion that you disable the wired connection (in addition to unplugging the cable)
I have tried that, but I will try again.

Quote:
Originally Posted by scasey View Post
Another thought: Are you sure there's not a duplicate IP address on the LAN?
yes, of course, I've just checked that my devices have non-clashing addresses (everything is set to DHCP and the router is fine, anyway)...

for the rest, the network (even wireless!) is working good, even torrent reaches 2+ MBps speeds.

I'll try the netcat suggested commands and let you know.

Last edited by piramiday; 05-01-2020 at 06:38 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SSH no route to host error. can ssh outside lan, but not to clients on lan... jmd9qs Linux - Networking 3 01-21-2012 10:28 AM
Can ssh into host on lan using WLAN address, but not through LAN address gurkakrieg Slackware 4 01-05-2010 07:19 AM
[SOLVED] Effective debugging or improving ones debugging skills Ajit Gunge Programming 3 05-22-2009 09:29 AM
Difference between kernel - debugging and application debugging topworld Linux - Software 2 03-30-2006 12:50 AM
Visual Debugging and Linux Kernel Debugging Igor007 Programming 0 09-30-2005 10:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration