SSH into Freerunner

Yoann B. executionner at free.fr
Thu Jul 17 23:03:04 CEST 2008


Hello list,

I'm under ubuntu, and a local network under 192.168.0.x, but none of this
works....
I tried to configure my freerunner under a 192.168.2.x network, but it's
still the same problem : I need to disable my network connection to ssh into
freerunner...

Any other idea ?



Michael Shiloh wrote:
> 
> In summary from other posts:
> 
> 1. Since Freerunner is on subnet 192.168.0.*, you must configure your 
> USB0 port on the same subnet (not '1')
> 
> 2. You need to set up a route to 192.168.0.202 via usb0
> 
> 3. I am able to route 192.168.0.202 via usb0 while the rest of my 
> network is 192.168.0.* via eth1, even though this seems a little
> illogical.
> 
> I do this:
> 
>    sudo ifconfig usb0 192.168.0.200 netmask 255.255.255.0
>    sudo route add 192.168.0.202 usb0
> 
> 
> shawn sullivan wrote:
>> I've been unable to SSH into my phone. I did:
>> 
>> ifconfig usb0 192.168.1.200 netmask 255.255.255.0
>> 
>> but when I do:
>> ssh root at 192.168.1.202
>> 
>> it can't find the host. i've tried disabling the firewall; no dice. 
>> Here's my routing table:
>> 
>> Kernel IP routing table
>> Destination     Gateway         Genmask         Flags   MSS Window  irtt 
>> Iface
>> 192.168.0.0     *               255.255.255.0   U         0 0          0 
>> eth0
>> link-local      *               255.255.0.0     U         0 0          0 
>> eth0
>> default         dslmodem.domain 0.0.0.0         UG        0 0          0 
>> eth0
>> 
>> It appears that there is no route to the USB port, but I'm not sure how 
>> to enable that. Can someone help me out? I'm running Ubuntu. I did 
>> verify that the phone is on USB0, but I cannot get any results when I 
>> ping the IP address.
>> 
>> thx
>> . . .shawn
>> 
>> Colan Lash wrote:
>>> Thanks to everyone, who responded.
>>> It turned out, that disabling the firewall fixed the problem.
>>>
>>> If anyone is still interested, this is my routing table.
>>>
>>> desktop:~$ netstat -r
>>> Kernel IP routing table
>>> Destination     Gateway         Genmask         Flags   MSS Window  irtt
>>> Iface
>>> 192.168.1.0     *                    255.255.255.0   U         0 0
>>>              0 eth0
>>> 192.168.0.0     *                    255.255.255.0   U         0 0
>>>              0 usb0
>>> link-local         *                    255.255.0.0      U          0
>>> 0                  0 eth0
>>> default            192.168.1.1     0.0.0.0             UG       0 0
>>>               0 eth0
>>>
>>>
>>> Colan
>>>
>>> On Wed, Jul 16, 2008 at 6:14 PM, Stroller
>>> <stroller at stellar.eclipse.co.uk> wrote:
>>>> On 17 Jul 2008, at 00:57, Colan Lash wrote:
>>>>> ...
>>>>> I can ping 192.168.0.200 and get a response.
>>>> This is pinging the desktop machine.
>>>>
>>>>> But if I ping 192.168.0.202, I get and "Operation not permitted"
>>>>> error:
>>>>>
>>>>> desktop:~$ ping -I usb0 192.168.1.202
>>>>> PING 192.168.1.202 (192.168.1.202) from 192.168.1.103 usb0: 56(84)
>>>>> bytes
>>>>> of data.
>>>>> ping: sendmsg: Operation not permitted
>>>>> ping: sendmsg: Operation not permitted
>>>>> ping: sendmsg: Operation not permitted
>>>>>
>>>>> --- 192.168.1.202 ping statistics ---
>>>>> 3 packets transmitted, 0 received, 100% packet loss, time 2008ms
>>>> First two hits indicate firewall:
>>>> http://www.google.com/search?q=ping:+sendmsg:+Operation+not+permitted
>>>>
>>>> Is Shorewall installed on this machine? Can you `/etc/init.d/iptables
>>>> stop`?
>>>>
>>>> I would be grateful if you could post in PLAIN-TEXT to the mailing
>>>> list. For
>>>> parts of your message You have chosen a font which is unreadably small
>>>> on my
>>>> system. If you post in plain text then _I_ can choose the font size in
>>>> which
>>>> I wish to read your message.
>>>>
>>>> Stroller.
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> support mailing list
>>> support at lists.openmoko.org
>>> https://lists.openmoko.org/mailman/listinfo/support
>>>
>> 
>> 
>> _______________________________________________
>> support mailing list
>> support at lists.openmoko.org
>> https://lists.openmoko.org/mailman/listinfo/support
> 
> _______________________________________________
> support mailing list
> support at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/support
> 
> 

-- 
View this message in context: http://n2.nabble.com/SSH-into-Freerunner-tp532402p534745.html
Sent from the Openmoko Support mailing list archive at Nabble.com.





More information about the support mailing list