SSH into Freerunner

Steven ** montgoss+openmokodevice at gmail.com
Thu Jul 17 04:38:33 CEST 2008


I assume the ifconfig command doesn't give any errors when you run it.
 I know I had to run it with sudo for it to work.

-Steven

On Wed, Jul 16, 2008 at 9:30 PM, shawn sullivan <shelbydz at gmail.com> wrote:
> Thanks Steven. I've actually tried both variations with the same
> results. I thought maybe my system was getting confused w/ the
> 192.168.0.200.
>
> Steven ** wrote:
>> Not sure if it makes a difference, but everyone else uses
>> 192.168.0.200 and 192.168.0.202.  You've got a 1 instead of a 0.
>>
>> -Steven
>>
>> On Wed, Jul 16, 2008 at 9:20 PM, shawn sullivan <shelbydz at gmail.com> 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
>




More information about the support mailing list