no route to host
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hello there, i've the shr unstable from today and got a problem; i was connected on ssh to my phone and want to test the wifi-connection (so i've got 2 connections, usb and wifi). after i want to connect to wifi, my shell on the computer freeze. so i tried to connect a second time, but there's just a failure-message: skams...@skamster-laptop:~$ ssh r...@192.168.0.202 ssh: connect to host 192.168.0.202 port 22: No route to host skams...@skamster-laptop:~$ this problem is also there after a reboot. i think, wifi changed something in /etc/interfaces, but i don't know what. does someone know, what i must change to connect with usb to my phone? thanks a lot for ideas, hope, this failure isn't there in the future.. :) greets - -- Vinzenz Hersche Lehrling 2. Lehrjahr Puzzle ITC GmbH www.puzzle.ch Telefon +41 31 370 22 00 Direkt +41 31 370 22 04 Mobile +41 78 845 24 12 Fax +41 31 370 22 01 Puzzle ist Mitglied der Eclipse Foundation: http://www.puzzle.ch/eclipse/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmHMgMACgkQK9d7OHUJmA5neQCgli4bFF4KwFMXarTk7Z18SWMs 8RAAoNkoNR0CDDMg8OCMClEhV8FWmg2D =8GAO -END PGP SIGNATURE- begin:vcard fn:Vinzenz Hersche n:Hersche;Vinzenz email;internet:hers...@puzzle.ch tel;home:033 336 20 56 tel;cell:077 447 73 74 x-mozilla-html:TRUE version:2.1 end:vcard ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [SHR] no route to host
On Mon, 02 Feb 2009 18:49:00 +0100, Vinzenz Hersche hers...@puzzle.ch wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hello there, i've the shr unstable from today and got a problem; i was connected on ssh to my phone and want to test the wifi-connection (so i've got 2 connections, usb and wifi). after i want to connect to wifi, my shell on the computer freeze. so i tried to connect a second time, but there's just a failure-message: skams...@skamster-laptop:~$ ssh r...@192.168.0.202 ssh: connect to host 192.168.0.202 port 22: No route to host skams...@skamster-laptop:~$ this problem is also there after a reboot. i think, wifi changed something in /etc/interfaces, but i don't know what. does someone know, what i must change to connect with usb to my phone? thanks a lot for ideas, hope, this failure isn't there in the future.. :) greets Wifi /shouldn't/ touch /etc/network/interfaces, usually the only programs that will ever try to alter it are network managers. What procedure did you use when trying to bring up wifi? I've previously used ifup eth0 from console or terminal, but with newest SHR (Jan31 or so opkg upgrade) there IS NO ETH0 most of the time, resulting in No such device errors. Also note that if you've been connecting and disconnecting the FR from the host computer many times since the host was rebooted it may have problems. Initially my usb0 was the third network device (the '3' in the first column above) on my host, but currently it's 12. I've seen it get too high before and only a reboot of the host would allow it to connect again. (sorry, I don't remember where it started failing - IIRC it was at 32 but don't shoot me if that's way off) I recently encountered the same problem - unplug from USB, power-cycle freerunner wait for boot to finish, plug in USB, wait 5 secs, unplug USB, wait 5 secs, plug back in, and I had a connection. (I don't know if it's the FR or Ubuntu but if I boot or reboot the FR while attached to USB it usually doesn't connect until unplugged and re-attached, so I'm already used to unplug/wait/replug) If that fails, then reboot the FR, open the terminal on the FR and check the output of ip a s usb0 - allowing for the randomly-selected MAC address, it should look pretty much like: 3: usb0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 22:7d:18:7d:5a:a8 brd ff:ff:ff:ff:ff:ff inet 192.168.0.202/24 brd 192.168.0.255 scope global usb0 inet6 fe80::207d:18ff:fe7d:5aa8/64 scope link valid_lft forever preferred_lft forever and ip r should show you: 192.168.0.0/24 dev usb0 src 192.168.0.202 default via 192.168.0.200 dev usb0 Presuming that's correct, do the same on the host computer, which should at least show interfaces usb0, though it may be down or have no IP address at this point. If it's down, try ifup usb0 on the host (root or sudo) or ip l s usb0 up and take a look at the data again. If the interface is up on the host but has no IP, try ip a a 192.168.0.200/24 dev usb0 (again, root or sudo) and see if you can connect. j -- Joel Newkirk http://jthinks.com (blog) http://newkirk.us/om (FR stuff) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
[SHR] No route to host with latest upgrade of unstable!
Dear list, I just did an upgrade on the latest SHR unstable image and now isn't possible to connect via ssh to the FR any more. I get the 'No route to host' error. Were some changes? I thing the usb0 interface gets a inet6 address only? Any advice? Thanks Tony ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [SHR] No route to host with latest upgrade of unstable!
Reflashing was helpful for me with this issue. Hopes it will help you too. On Fri, Jan 30, 2009 at 10:22 AM, Tony Berth tonybe...@googlemail.com wrote: Dear list, I just did an upgrade on the latest SHR unstable image and now isn't possible to connect via ssh to the FR any more. I get the 'No route to host' error. Were some changes? I thing the usb0 interface gets a inet6 address only? Any advice? Thanks Tony ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [SHR] No route to host with latest upgrade of unstable!
Tony Berth wrote: Dear list, I just did an upgrade on the latest SHR unstable image and now isn't possible to connect via ssh to the FR any more. I get the 'No route to host' error. Were some changes? I thing the usb0 interface gets a inet6 address only? Any advice? I'm using unstable from 23.01 and ubuntu 8.10 and the setup which is advised on the wiki page for usb networking is not working well. Firstly, sometimes (if not always) I have to unplug and replug the cable for usb to be recognised in Ubuntu. Then I just run manually: sudo ifconfig usb0 192.168.0.200 netmask 255.255.255.0 /etc/network/freerunner where freerunner is the script for automatic routing (or is it bridging?) to/from FR. HTH, Fernando ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community