![]() |
Re: ssh to N900 fails
I have a similar problem that I can "work" around.
The first couple of times I try to ssh over wireless I get the same message as joschum. However, I try to connect several times. After about 5 times it connects and works flawlessly. |
Re: ssh to N900 fails
It seems quite odd, because for both wlan interfaces, the subnet is correct and there is traffic both ways.
So, on the N900: inet addr:192.168.254.219 Mask:255.255.255.0 RX bytes:510308 (498.3 KiB) TX bytes:166707 (162.7 KiB) (though the traffic is rather low here) and on the laptop: inet addr:192.168.254.222 Mask:255.255.255.0 RX bytes:23174401 (23.1 MB) TX bytes:5773662 (5.7 MB) These are definitely correctly configured at the interface level. I've occasionally had an issue ssh-ing into the N900 where the N900's lan interface needs to be "woken up" by initiating some traffic from the device itself. "No route to host" might be a connect timeout, if the wlan interface on the N900 has gone to sleep (the message might take a while to appear if this is the case.) I would first make sure there's no interference from iptables on the laptop by turning iptables off temporarily, then make sure the interfaces and routing are as described previously on both machines, then try pinging the laptop IP from the N900, and if you get replies, try to ssh to the N900 from the laptop again. If that doesn't work, might be best to post your laptop routing table, though from looking at the ifconfig output it seems it would be correct. |
Re: ssh to N900 fails
Wow, all sorts of complicated stuff in this thread. Pinging the computer from the N900 works for me when I get that. I think it has to do with power saving
|
Re: ssh to N900 fails
Quote:
Are you able to ping the n990 from laptop? Are you able to ping laptop from n900? Are you able to ssh from n900 to laptop? What does telnet 192.168.254.219 22 give you? |
Re: ssh to N900 fails
Quote:
Code:
root@epithalamus:~# route -n |
Re: ssh to N900 fails
Quote:
do you use OpenVPN on your laptop? maybe your setup scripts for the encrypted tunnel didn't restore the original settings properly after disconnecting? |
Re: ssh to N900 fails
It could be a powersaving issue (I have this with my router in all N900 firmwares since 38.x except for 42-11). Ping the router from your N900 or do some other network traffic to make the router see the N900 again, so that you can ssh into it.
Setting down powersaving by one level helps, too (at the expense of battery life). |
Re: ssh to N900 fails
Quote:
|
Re: ssh to N900 fails
Quote:
the only thing i can think of now is that maybe the vmware network module messes up the other interfaces. i've seen that happen sometimes... |
Re: ssh to N900 fails
I followed the steps that are described in the link below, now USB networking works fine for me. That is, ssh from my laptop running Ubuntu 9.10 to the N900 works :-)
http://wiki.maemo.org/N900_USB_Networking |
All times are GMT. The time now is 10:38. |
vBulletin® Version 3.8.8