(E-Mail Removed) hath wroth:
>Jeff Liebermann kirjoitti:
>
>> Questions:
>> 1. Disconnects from what? From the router (can you ping the router)?
>> From the internet (can you surf the internet)? From other computers
>> on the network (try pinging them)?
>I have laptop XP and desktop with Debian. I open ssh from XP to Linux.
>ssh breaks down with message something like this 'peer-to-peer
>connection time-out by remote host...'
Please check the the Linux SSH2 server is actually running.
>Both are connected 10/100 ports. WLAN is disabled.
>
>I use G624T as my LAN switch. This doesn't occur with another switch.
>LAN settings are same.
>
>WAN side works fine.
So, each machine can go through the ethernet switch, through the
router, and to the internet, but can't talk to each other.
If you're juggling ethernet switches and ports around, it's possible
that the ARP table in the switch, and/or on both machines is confused.
Change the switch and each machine could easily have the "old" MAC
address. Try arp -a and see if it makes sense. Also, try to ping
the other machine and anything else that's avaible such as the router.
Otherwise, just try arp -d IP_ADDRESS to delete the ARP table entry.
Also, power cycle the DWL-G624T.
>> 2. Are the various unspecified LAN computers connected via wireless
>> or via ethernet?
No answer. I'll assume that the Windoze XP box and Debian boxes are
the only computers on your network.
>> 3. Are they active during the 1 hour before it times out? It might
>> be some kind of power save feature on the computers.
No answer. What happened to the 1 hour timeout?
>Sure both are active. I can just open new ssh to Linux.
I thought the problem was that it did work, but that there was a 1
hour timeout.
Check the route table on both machines before and after the 1 hour
timeout.
On Windoze:
route print
On Linux:
netstat -rn
Compare results before and after. One possibility is that the
DSL-G624T has RIP or RIP2 active. If the router or some other device
on your LAN is advertising a weird route, it might send the default
route on the two machines off to weirdness. I have no idea why it
would take an hour for this to happen, but it's worth checking anyway.
--
Jeff Liebermann
(E-Mail Removed)
150 Felker St #D
http://www.LearnByDestroying.com
Santa Cruz CA 95060
http://802.11junk.com
Skype: JeffLiebermann AE6KS 831-336-2558