Re: Unabel to SSH into Neo Freerunner

2009-08-11 Thread Adolph J. Vogel
 I'm currently having difficulties connecting to the Neo Freerunner (running
 OM2009) from Ubuntu 9.04.

On ubuntu 9.04 I have found that USB networking only works after rebooting my 
desktop. Other than that I have had no problems connecting



-- 
Adolph J. Vogel BEng(Hons)




___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: Unabel to SSH into Neo Freerunner

2009-08-09 Thread Niels Heyvaert

Correct.

 

If I had to modprobe it should have been cdc_ether instead of g_ether. But 
anyway, I did not have to do this after all (distro dependant).

 

All it took for me was to actually READ the documentation on the wiki and it 
worked...


Kind regards,

 

Niels.


-- Microsoft gives you windows, Linux gives you the whole house.


 
 From: ch...@csamuel.org
 To: community@lists.openmoko.org
 Date: Sun, 9 Aug 2009 14:07:04 +1000
 Subject: Re: Unabel to SSH into Neo Freerunner
 
 On Sun, 9 Aug 2009 06:08:12 am Niels Heyvaert wrote:
 
  Basically these were the same steps I was already doing (except I need to
  modprobe g_ehter first).
 
 Um, don't you mean cdc_ether ? That's what I'm using..
 
 -- 
 Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC
 
 This email may come with a PGP signature as a file. Do not panic.
 For more info see: http://en.wikipedia.org/wiki/OpenPGP

_
Reageer op foto’s van je vrienden en bekijk hun reacties op de jouwe. 
Gegarandeerd hilariteit! 
http://www.microsoft.com/belux/nl/windows/windowslive/products/photos.aspx___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Unabel to SSH into Neo Freerunner

2009-08-08 Thread Chris Samuel
On Fri, 7 Aug 2009 01:37:00 pm Mikhail Umorin wrote:

 AFAIK android does not have ssh server. you can use adb to connect.

You're quite correct, Tom will need to do adb shell instead.

cheers,
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC

This email may come with a PGP signature as a file. Do not panic.
For more info see: http://en.wikipedia.org/wiki/OpenPGP


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: Unabel to SSH into Neo Freerunner

2009-08-08 Thread Niels Heyvaert

Hi there,

So far no luck with getting an SSH connection to the FreeRunner.

I've followed the wiki man pages to the letter 
(http://wiki.openmoko.org/wiki/USB_Networking) as Angus suggests. But this did 
not change the result.

Basically these were the same steps I was already doing (except I need to 
modprobe g_ehter first).

I'm still getting the no route to host error.

Disabling my PC wlan connection does not help.

Any thoughts?

Niels.

--
Microsoft gives you windows, Linux gives you the whole house.






 From: nyt...@openmoko.org
 To: community@lists.openmoko.org
 Date: Fri, 7 Aug 2009 08:44:16 -0600
 Subject: Re: Unabel to SSH into Neo Freerunner

 On August 6, 2009 09:07:40 pm c_c wrote:
 Hi,
 I also get the following error :-

 usb 2-2: new full speed USB device using ohci_hcd and address 7
 usb 2-2: configuration #1 chosen from 2 choices
 eth1: register 'cdc_ether' at usb-:00:0b.0-2, CDC Ethernet Device,
 00:1f:11:01:2a:26
 eth1: no IPv6 routers present

 Something to do with ipv6?

 No it means it has been allocated eth1 because it has a static MAC address. So
 any setup you do on the PC side needs to be for eth1 and not usb0

 http://wiki.openmoko.org/wiki/USB_Networking

 Angus

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

_
Hebben jij en je vrienden leuke foto's van jullie feestje? Maak een groepsalbum 
en geniet nog extra na. 
http://www.microsoft.com/belux/nl/windows/windowslive/products/photos.aspx
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: Unabel to SSH into Neo Freerunner

2009-08-08 Thread David Fokkema
On Sat, 2009-08-08 at 20:08 +, Niels Heyvaert wrote:
 Hi there,
 
 So far no luck with getting an SSH connection to the FreeRunner.
 
 I've followed the wiki man pages to the letter
  (http://wiki.openmoko.org/wiki/USB_Networking) as Angus suggests. But
  this did not change the result.

Er... there are a lot of alternatives presented there. You need to be
more specific, I'm afraid.

 Basically these were the same steps I was already doing (except I need
  to modprobe g_ehter first).

You really don't. Really. I mean it.

Modprobing g_ether shows up two new usb devices on my machine which are
both not my freerunner. I'm using ubuntu 9.04, just like you.

 I'm still getting the no route to host error.

Understandable.

 Disabling my PC wlan connection does not help.

Correct.

 Any thoughts?

I'm pretty sure my previous post (and some other posts as well) pretty
much sums it all up:

http://lists.openmoko.org/nabble.html#nabble-td3401779|a3402898

If you follow that to the letter, one new interface showed up. That is
your freerunner.

Good luck!

David


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: Unabel to SSH into Neo Freerunner

2009-08-08 Thread Niels Heyvaert

And so, it worked.

As usual, this turned out to be an RTFM problem.

I had to use eth2 instead of usb0. By looking at ifconfig -a and dmesg I was 
able to see that the MAC address on eth2 was the same as the one of the new USB 
device... This is actually mentioned on the wiki page we were referring to.

I tend to skip to the code snippets and only read the paragraphs above and 
below... Need to take more time to read the valuable bits of text preceding 
those snippets.

Let's hope I learned something from it.

Thanks for the help.

Niels.
--
Microsoft gives you windows, Linux gives you the whole house.






 From: dfokk...@ileos.nl
 To: community@lists.openmoko.org
 Date: Sat, 8 Aug 2009 22:37:27 +0200
 Subject: RE: Unabel to SSH into Neo Freerunner

 On Sat, 2009-08-08 at 20:08 +, Niels Heyvaert wrote:
 Hi there,

 So far no luck with getting an SSH connection to the FreeRunner.

 I've followed the wiki man pages to the letter
 (http://wiki.openmoko.org/wiki/USB_Networking) as Angus suggests. But
 this did not change the result.

 Er... there are a lot of alternatives presented there. You need to be
 more specific, I'm afraid.

 Basically these were the same steps I was already doing (except I need
 to modprobe g_ehter first).

 You really don't. Really. I mean it.

 Modprobing g_ether shows up two new usb devices on my machine which are
 both not my freerunner. I'm using ubuntu 9.04, just like you.

 I'm still getting the no route to host error.

 Understandable.

 Disabling my PC wlan connection does not help.

 Correct.

 Any thoughts?

 I'm pretty sure my previous post (and some other posts as well) pretty
 much sums it all up:

 http://lists.openmoko.org/nabble.html#nabble-td3401779|a3402898

 If you follow that to the letter, one new interface showed up. That is
 your freerunner.

 Good luck!

 David


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

_
Lentekriebels? Speel samen met je vrienden de spelletjes die Windows Live je 
aanbiedt!
http://www.messengerbillboard.be/nl/play
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Unabel to SSH into Neo Freerunner

2009-08-08 Thread Chris Samuel
On Sun, 9 Aug 2009 06:08:12 am Niels Heyvaert wrote:

 Basically these were the same steps I was already doing (except I need to
 modprobe g_ehter first).

Um, don't you mean cdc_ether ?   That's what I'm using..

-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC

This email may come with a PGP signature as a file. Do not panic.
For more info see: http://en.wikipedia.org/wiki/OpenPGP


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Unabel to SSH into Neo Freerunner

2009-08-07 Thread David Fokkema
On Fri, 2009-08-07 at 01:12 +, Niels Heyvaert wrote:
 Hi,
  
 I'm currently having difficulties connecting to the Neo Freerunner (running 
 OM2009) from Ubuntu 9.04.
  
 Initially I did not get the usb0 ethernet connection when plugging in the 
 booted device, so I used 

Correct. Om2009 doesn't use usb0. See
http://wiki.openmoko.org/wiki/Usb_networking#So_is_it_.22usb0.22_or_is_it_.22eth1.22.3F

If you really want to be sure, do this:

Before plugging the FR in:

ifconfig -a

(this will show _all_ interfaces, even inactive ones)

After plugging the FR in:

ifconfig -a

Now, you should see one additional network interface. Using ubuntu, you
don't need to modprobe anything. Since you already know how to manually
activate the interface, I'll leave the rest to you, ;-)

David

(Happily ssh-ing into my FR (Om2009, SHR-u) from ubuntu 9.04)


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Unabel to SSH into Neo Freerunner

2009-08-07 Thread arne anka
i have serious issues, to distinguish what you do on your pc and what on  
the freerunner.
the pc should have ip .200 and the fr .202.

so, please explain more carfully what you are doing and mention the  
distribution you are using on your fr.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Unabel to SSH into Neo Freerunner

2009-08-07 Thread Angus Ainslie
On August 6, 2009 09:07:40 pm c_c wrote:
 Hi,
   I also get the following error :-

  usb 2-2: new full speed USB device using ohci_hcd and address 7
  usb 2-2: configuration #1 chosen from 2 choices
  eth1: register 'cdc_ether' at usb-:00:0b.0-2, CDC Ethernet Device,
 00:1f:11:01:2a:26
  eth1: no IPv6 routers present

Something to do with ipv6?

No it means it has been allocated eth1 because it has a static MAC address. So 
any setup you do on the PC side needs to be for eth1 and not usb0

http://wiki.openmoko.org/wiki/USB_Networking

Angus

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Unabel to SSH into Neo Freerunner

2009-08-07 Thread Rask Ingemann Lambertsen
On Thu, Aug 06, 2009 at 09:56:04PM -0500, c_c wrote:

   It's been a little flaky for me too after the last two SHR-U updates.
 unplugging and re-plugging seems to work every 3rd plug or so. But doesn't
 last long. Had a tough time upgrading yesterday to latest SHR-U.
   Any Ideas?

   FWIW, of the following USB interfaces on my desktop system, the VIA one
works reliably while the Intel one will always lose the link after anywhere
between 1 second and 20-30 minutes - usually it lasts less than 2 minutes.

00:07.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:0d.0 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 
Controller (rev 62)

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Unabel to SSH into Neo Freerunner

2009-08-06 Thread jeremy jozwik
On Thu, Aug 6, 2009 at 6:12 PM, Niels Heyvaertnielsheyva...@hotmail.com wrote:
 Hi,

 I'm currently having difficulties connecting to the Neo Freerunner (running
 OM2009) from Ubuntu 9.04.

 Initially I did not get the usb0 ethernet connection when plugging in the
 booted device, so I used

 modprobe g_ether

 to get the interface.

 Afterwards I configured the usb0 as follows:

 ifconfig usb0 192.168.0.200 netmask 255.255.255.0

 Then tried

 ssh 192.168.0.202

 But I always get the error of no route to host

 My wlan0 connection is on a different subnet (192.168.1.249). The details
 for both interfaces are listed below.

 Printing the routes on my system I get the following list:

 Kernel IP routing table
 Destination Gateway Genmask Flags Metric RefUse
 Iface
 192.168.1.0 *   255.255.255.0   U 2  00
 wlan0
 192.168.0.0 *   255.255.255.0   U 0  00 usb0
 link-local  *   255.255.0.0 U 1000   00
 wlan0
 default 192.168.1.1 0.0.0.0 UG0  00
 wlan0

 Trying to modify the route table with following command:

 route add -host 192.168.0.202 gw 192.168.0.200

 I always get

 SIOCADDRT: Network is down

 So basically I'm currently stuck trying to connect to the Freerunner. My
 system is not using any firewalling rules (iptables --list shows no rules).

 Any ideas?

 Thanks,

 Niels.
 wlan0 Link encap:Ethernet  HWaddr 00:21:5c:1a:c4:f9
   inet addr:192.168.1.249  Bcast:192.168.1.255  Mask:255.255.255.0
   inet6 addr: fe80::221:5cff:fe1a:c4f9/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:41334 errors:0 dropped:0 overruns:0 frame:0
   TX packets:31401 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:54936553 (54.9 MB)  TX bytes:4458136 (4.4 MB)

 usb0  Link encap:Ethernet  HWaddr f6:8e:f5:11:e4:13
   inet addr:192.168.0.200  Bcast:192.168.0.255  Mask:255.255.255.0
   inet6 addr: fe80::f48e:f5ff:fe11:e413/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:10 errors:0 dropped:0 overruns:0 frame:0
   TX packets:169 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:1696 (1.6 KB)  TX bytes:22003 (22.0 KB)

 
 Gratis verblufffende panoramafoto's maken? Met Photo Gallery is dit zo
 gebeurd.
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

for people who cannot read .6 font

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Unabel to SSH into Neo Freerunner

2009-08-06 Thread tom
im basically having the same, though my machine says:
connection refused
ideas?
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Unabel to SSH into Neo Freerunner

2009-08-06 Thread Angus Ainslie
On August 6, 2009 07:38:25 pm tom wrote:
 im basically having the same, though my machine says:
 connection refused
 ideas?

Connect refused is a different problem . Can you ping the ip address of the FR? 

Have you changed the dropbear config on the FR side ?

Angus

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Unabel to SSH into Neo Freerunner

2009-08-06 Thread tom
no, i cant ping it...think i was too fast. having trouble with usb0 / latest
ubuntu
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Unabel to SSH into Neo Freerunner

2009-08-06 Thread tom
mhh, i dont know what to do,
- latest ubuntu
- android 1.5 alpha
cant ping it, ip (200) seems to be there (local), though the
ubuntu-network-manger cant connect to it...
regardless what i specify in /etc/interface for usb0.

are there any checklists? hints?

thx
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Unabel to SSH into Neo Freerunner

2009-08-06 Thread David Ford
is the interface usbX or ethX? (on both pc and freerunner)

tom wrote:
 mhh, i dont know what to do,
 - latest ubuntu
 - android 1.5 alpha
 cant ping it, ip (200) seems to be there (local), though the
 ubuntu-network-manger cant connect to it...
 regardless what i specify in /etc/interface for usb0.

 are there any checklists? hints?

 thx

 

 ___
 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: Unabel to SSH into Neo Freerunner

2009-08-06 Thread c_c

Hi,
  It's been a little flaky for me too after the last two SHR-U updates.
unplugging and re-plugging seems to work every 3rd plug or so. But doesn't
last long. Had a tough time upgrading yesterday to latest SHR-U.
  Any Ideas?

-- 
View this message in context: 
http://n2.nabble.com/Unabel-to-SSH-into-Neo-Freerunner-tp3401779p3402091.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Unabel to SSH into Neo Freerunner

2009-08-06 Thread Angus Ainslie
What does dmesg on the host side tell you when you plug the device in. After 
the first boot it should show up as ethx.

Angus


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Unabel to SSH into Neo Freerunner

2009-08-06 Thread c_c

Hi,
  I also get the following error :-

 usb 2-2: new full speed USB device using ohci_hcd and address 7
 usb 2-2: configuration #1 chosen from 2 choices
 eth1: register 'cdc_ether' at usb-:00:0b.0-2, CDC Ethernet Device,
00:1f:11:01:2a:26
 eth1: no IPv6 routers present

   Something to do with ipv6?

-- 
View this message in context: 
http://n2.nabble.com/Unabel-to-SSH-into-Neo-Freerunner-tp3401779p3402130.html
Sent from the Openmoko Community mailing list archive at Nabble.com.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Unabel to SSH into Neo Freerunner

2009-08-06 Thread tom
eth1 shows up additional after a freerunner-boot while connected. but it
didnt get an ip
...
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Unabel to SSH into Neo Freerunner

2009-08-06 Thread tom
and then it disappears after a few seconds...seems like after the
gnome-network-manager couldnt establish a connectiion...
argh..

On Thu, Aug 6, 2009 at 11:11 PM, tom tomabr...@gmail.com wrote:

 eth1 shows up additional after a freerunner-boot while connected. but it
 didnt get an ip
 ...


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Unabel to SSH into Neo Freerunner

2009-08-06 Thread Mikhail Umorin
On Thursday 06 August 2009 21:48:48 tom wrote:
 mhh, i dont know what to do,
 - latest ubuntu
 - android 1.5 alpha

AFAIK android does not have ssh server. you can use adb to connect. check

http://wiki.openmoko.org/wiki/Android_usage

Mikhail.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community