Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have 2 computers on the same network:

If I leave things idle for about 10 minutes or so, when I attempt to connect between them, I get:

$ ssh user@
$ ssh: connect to host port 22: No route to host

But if I retry immediately, it works. Leave it for 10 mins again, and I get the error. This also happens with ping, so I don't think it's related to ssh.

Any ideas?

Additional info: Both machines are Ubuntu

$ ifconfig
ath0      Link encap:Ethernet  HWaddr 00:1f:e2:86:65:60  
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::21f:e2ff:fe86:6560/64 Scope:Link
          RX packets:3778 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1531 errors:1 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:516476 (516.4 KB)  TX bytes:209053 (209.0 KB)

$ netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface   U         0 0          0 ath0     U         0 0          0 ath0         UG        0 0          0 ath0

$  arp -n
Address                  HWtype  HWaddress           Flags Mask            Iface                 ether   00:11:50:1e:61:02   C                     ath0                 ether   00:26:5e:11:97:13   C                     ath0

$ ifconfig
eth1      Link encap:Ethernet  HWaddr 00:26:5e:11:97:13  
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::226:5eff:fe11:9713/64 Scope:Link
          RX packets:9388 errors:0 dropped:0 overruns:0 frame:24978
          TX packets:10300 errors:6 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4785464 (4.7 MB)  TX bytes:1978774 (1.9 MB)

$ netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface   U         0 0          0 eth1     U         0 0          0 eth1         UG        0 0          0 eth1

$  arp -n
Address                  HWtype  HWaddress           Flags Mask            Iface                 ether   00:11:50:1e:61:02   C                     eth1
share|improve this question
Please provide the output of ifconfig, netstat -rn, and arp -n from both computers. Thanks –  Charles Hooper Nov 9 '10 at 16:46
Since it's a desktop distro install, my first guess: are your NICs set to power down when not in use? If so, you may want to look at, or alternatively set them to be on all the time. –  Zayne S Halsall Nov 9 '10 at 17:15
@Zayne: Where would I go to check that? I don't see anything under power management. –  Hollister Nov 9 '10 at 17:30
The massive amount of frame errors on indicates duplex mismatch. What does 'ethtool eth1' say for this host? –  flashnode Nov 9 '10 at 18:06
ath0? So one of those desktops has a wireless NIC? –  Charles Hooper Nov 9 '10 at 18:16

2 Answers 2

At this point, knowing that both computers have wireless NICs then I wouldn't rule out interference. However, given that only one of the hosts is experiencing frame errors, I want to point my finger at that particular host.


  1. Ensure that there isn't anything near the hosts (particularly that may cause interference. Possibilities: Power cords, microwaves, other broadcasting sources (cordless phones, etc)

  2. Ensure is using the correct wireless driver.

  3. Borrow a wireless card for to determine if your current one is fubar

share|improve this answer
@Charles: Hm. Well, they're both laptops on my desk about a foot from each other, with as few wires nearby as possible. I use all day everyday and see no other issues than this one. Swapping the NIC would not be easy at all. –  Hollister Nov 9 '10 at 18:32
Well, if you're confident that is OK, then it's possibly that it's that is spewing garbage out of its radios. Turn .4 off and use .5 for awhile. Do the number of frame errors listed in ifconfig continue to increase? –  Charles Hooper Nov 9 '10 at 18:44
5 is the one I use all the time, and the frame errors have doubled since I posted the number here. This is without any communication to 4. –  Hollister Nov 9 '10 at 19:42
Then I can only re-iterate my current recommendations. Good luck! –  Charles Hooper Nov 10 '10 at 3:55
@Charles: To try to isolate the frame error problem, I took the 5 laptop to the room where the wifi AP is, well away from any interference sources. I still get hundreds of errors a minute. What else would cause those errors? Thanks for your help, I'm a software guy, not a hardware guy. –  Hollister Nov 10 '10 at 12:56

Try to trace the problem using network sniffer like tcpdump or wireshark.

You can also try to ssh from the to

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.