Re: [shr-unstable] making bricks...

2009-06-29 Thread arne anka
 [r...@localhost sbin]# ./ifconfig


ifconfig -a

shows everything, even inactive interfaces.
additionally, you might check the host's logs when plugging in the fr:

tail -f /var/log/messages

and watch for some meaningful messages.

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


Re: [shr-unstable] making bricks...

2009-06-29 Thread Rask Ingemann Lambertsen
On Sun, Jun 28, 2009 at 09:02:28AM -0700, jeremy jozwik wrote:
 dmesg has given me this, most of which i do not understand. but i did
 try adding ip address command to usb3 and terminal reported back
 cannot find device
[snip]
 usb 3-1: New USB device found, idVendor=1d50, idProduct=5119
 usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
 usb 3-1: Product: Neo1973 Bootloader U-Boot 1.3.2-moko12

   You have to boot the Freerunner first. There's no USB Ethernet support in
the boot loader.

-- 
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: [shr-unstable] making bricks...

2009-06-29 Thread David Fokkema
On Mon, 2009-06-29 at 12:00 +0200, Rask Ingemann Lambertsen wrote:
 On Sun, Jun 28, 2009 at 09:02:28AM -0700, jeremy jozwik wrote:
  dmesg has given me this, most of which i do not understand. but i did
  try adding ip address command to usb3 and terminal reported back
  cannot find device
 [snip]
  usb 3-1: New USB device found, idVendor=1d50, idProduct=5119
  usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  usb 3-1: Product: Neo1973 Bootloader U-Boot 1.3.2-moko12
 
You have to boot the Freerunner first. There's no USB Ethernet support in
 the boot loader.

That's a very astute observation, :-)

David


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


Re: [shr-unstable] making bricks...

2009-06-29 Thread jeremy jozwik
that was further down the list. any rate all is well now.

On Mon, Jun 29, 2009 at 3:00 AM, Rask Ingemann
Lambertsenr...@sygehus.dk wrote:
 On Sun, Jun 28, 2009 at 09:02:28AM -0700, jeremy jozwik wrote:
 dmesg has given me this, most of which i do not understand. but i did
 try adding ip address command to usb3 and terminal reported back
 cannot find device
 [snip]
 usb 3-1: New USB device found, idVendor=1d50, idProduct=5119
 usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
 usb 3-1: Product: Neo1973 Bootloader U-Boot 1.3.2-moko12

   You have to boot the Freerunner first. There's no USB Ethernet support in
 the boot loader.

 --
 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


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


Re: [shr-unstable] making bricks...

2009-06-28 Thread Robin Paulson
On 2009-06-28, Vikas Saurabh vikas.saur...@gmail.com wrote:
 On Sun, Jun 28, 2009 at 11:05 AM, jeremy jozwikjerjoz.for...@gmail.com
 wrote:
 hello list. im in dire need of assistance. ive just re-flashed my
 phone to shr-unstable 20090624 all went well until i tried to do an
 ssh. turns out my usb0 is not showing up in anyway.

 Try eth0. Recent kernels(I guess freerunner's driver) have started
 registering the device properly and hence it shows up as a network
 interface

i doubt it will be eth0. more likely eth2 or something later

run ifconfig to find out

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


Re: [shr-unstable] making bricks...

2009-06-28 Thread Lowell Higley
There's been a change to the bootloader.. the following text was from a
message that came across the developer mailing list back in April.

*As this looks like it's becoming a Frequently Asked Question, I'll send
this note to a wider audience.  Please forgive me if this is obvious to
most of the folks on this list.

After flashing or upgrading distros or bootloaders, some folks have been
noticing that their usb0 network interface on the *host* side fails to
appear when the Freerunner is plugged into the USB port.

Alert users have noticed that it didn't really fail to appear, rather it
changed name from usb0 to eth1 (or eth2, etc).

What's happening here is that certain bootloaders and certain distros
have begun to use the official USB mac address assigned by Openmoko to
the Freerunner, instead of letting the kernel generate a random address
in the locally-assigned range.  Many hosts will respond differently when
they observe the official (static) mac address; instead of creating the
usb0 interface, they will create and permanently assign an ethn
interface name to that mac address.*

I think there was also an update to the USB Networking page.

Lowell

On Sun, Jun 28, 2009 at 8:57 AM, Robin Paulson robin.paul...@gmail.comwrote:

 On 2009-06-28, Vikas Saurabh vikas.saur...@gmail.com wrote:
  On Sun, Jun 28, 2009 at 11:05 AM, jeremy jozwikjerjoz.for...@gmail.com
  wrote:
  hello list. im in dire need of assistance. ive just re-flashed my
  phone to shr-unstable 20090624 all went well until i tried to do an
  ssh. turns out my usb0 is not showing up in anyway.
 
  Try eth0. Recent kernels(I guess freerunner's driver) have started
  registering the device properly and hence it shows up as a network
  interface

 i doubt it will be eth0. more likely eth2 or something later

 run ifconfig to find out

 ___
 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-unstable] making bricks...

2009-06-28 Thread jeremy jozwik
with the freerunner connected to machine:

[r...@localhost sbin]# ./ifconfig
eth0  Link encap:Ethernet  blah blah blah

loLink encap:Local Loopback
  blah blah blah



On Sat, Jun 27, 2009 at 11:57 PM, Robin Paulsonrobin.paul...@gmail.com wrote:
 On 2009-06-28, Vikas Saurabh vikas.saur...@gmail.com wrote:
 On Sun, Jun 28, 2009 at 11:05 AM, jeremy jozwikjerjoz.for...@gmail.com
 wrote:
 hello list. im in dire need of assistance. ive just re-flashed my
 phone to shr-unstable 20090624 all went well until i tried to do an
 ssh. turns out my usb0 is not showing up in anyway.

 Try eth0. Recent kernels(I guess freerunner's driver) have started
 registering the device properly and hence it shows up as a network
 interface

 i doubt it will be eth0. more likely eth2 or something later

 run ifconfig to find out

 ___
 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-unstable] making bricks...

2009-06-28 Thread jeremy jozwik
also...

[r...@localhost sbin]# sudo ip address add 192.168.0.200/24 dev eth1
Cannot find device eth1

1-8 exactly...


On Sun, Jun 28, 2009 at 8:55 AM, jeremy jozwikjerjoz.for...@gmail.com wrote:
 with the freerunner connected to machine:

 [r...@localhost sbin]# ./ifconfig
 eth0      Link encap:Ethernet  blah blah blah

 lo        Link encap:Local Loopback
          blah blah blah



 On Sat, Jun 27, 2009 at 11:57 PM, Robin Paulsonrobin.paul...@gmail.com 
 wrote:
 On 2009-06-28, Vikas Saurabh vikas.saur...@gmail.com wrote:
 On Sun, Jun 28, 2009 at 11:05 AM, jeremy jozwikjerjoz.for...@gmail.com
 wrote:
 hello list. im in dire need of assistance. ive just re-flashed my
 phone to shr-unstable 20090624 all went well until i tried to do an
 ssh. turns out my usb0 is not showing up in anyway.

 Try eth0. Recent kernels(I guess freerunner's driver) have started
 registering the device properly and hence it shows up as a network
 interface

 i doubt it will be eth0. more likely eth2 or something later

 run ifconfig to find out

 ___
 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-unstable] making bricks...

2009-06-28 Thread jeremy jozwik
returns:

[r...@localhost sbin]# ./ip addr add 192.168.0.200/24 dev eth1
Cannot find device eth1

also got a lovely little notification on the linux system bar
SELinux is preventing the iptables from using potentially mislabeled files


On Sun, Jun 28, 2009 at 9:05 AM, Lowell Higleyhigle...@gmail.com wrote:
 As root, I drop the following in a terminal:

 iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
 sysctl -w net.ipv4.ip_forward=1
 ip addr add 192.168.0.200/24 dev eth1
 ifconfig eth1 up
 ssh r...@192.168.0.202

 Works like a charm.  Only caveat is make sure you clear the previous SSH
 signature out of .ssh/known_hosts

 On Sun, Jun 28, 2009 at 5:57 PM, jeremy jozwik jerjoz.for...@gmail.com
 wrote:

 also...

 [r...@localhost sbin]# sudo ip address add 192.168.0.200/24 dev eth1
 Cannot find device eth1

 1-8 exactly...


 On Sun, Jun 28, 2009 at 8:55 AM, jeremy jozwikjerjoz.for...@gmail.com
 wrote:
  with the freerunner connected to machine:
 
  [r...@localhost sbin]# ./ifconfig
  eth0      Link encap:Ethernet  blah blah blah
 
  lo        Link encap:Local Loopback
           blah blah blah
 
 
 
  On Sat, Jun 27, 2009 at 11:57 PM, Robin Paulsonrobin.paul...@gmail.com
  wrote:
  On 2009-06-28, Vikas Saurabh vikas.saur...@gmail.com wrote:
  On Sun, Jun 28, 2009 at 11:05 AM, jeremy
  jozwikjerjoz.for...@gmail.com
  wrote:
  hello list. im in dire need of assistance. ive just re-flashed my
  phone to shr-unstable 20090624 all went well until i tried to do an
  ssh. turns out my usb0 is not showing up in anyway.
 
  Try eth0. Recent kernels(I guess freerunner's driver) have started
  registering the device properly and hence it shows up as a network
  interface
 
  i doubt it will be eth0. more likely eth2 or something later
 
  run ifconfig to find out
 
  ___
  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


 ___
 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-unstable] making bricks...

2009-06-28 Thread jeremy jozwik
dmesg has given me this, most of which i do not understand. but i did
try adding ip address command to usb3 and terminal reported back
cannot find device

usb 3-1: reset full speed USB device using ohci_hcd and address 2
usb 3-1: device descriptor read/64, error -110
usb 3-1: device firmware changed
usb 3-1: USB disconnect, address 2
usb 3-1: new full speed USB device using ohci_hcd and address 3
usb 3-1: configuration #1 chosen from 1 choice
usb 3-1: New USB device found, idVendor=1d50, idProduct=5119
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-1: Product: Neo1973 Bootloader U-Boot 1.3.2-moko12
usb 3-1: Manufacturer: OpenMoko, Inc
usb 3-1: SerialNumber: 000
usb 3-1: reset full speed USB device using ohci_hcd and address 3
usb 3-1: device descriptor read/64, error -110
usb 3-1: device firmware changed
usb 3-1: USB disconnect, address 3
usb 3-1: new full speed USB device using ohci_hcd and address 4
usb 3-1: configuration #1 chosen from 2 choices

On Sun, Jun 28, 2009 at 8:57 AM, jeremy jozwikjerjoz.for...@gmail.com wrote:
 also...

 [r...@localhost sbin]# sudo ip address add 192.168.0.200/24 dev eth1
 Cannot find device eth1

 1-8 exactly...


 On Sun, Jun 28, 2009 at 8:55 AM, jeremy jozwikjerjoz.for...@gmail.com wrote:
 with the freerunner connected to machine:

 [r...@localhost sbin]# ./ifconfig
 eth0      Link encap:Ethernet  blah blah blah

 lo        Link encap:Local Loopback
          blah blah blah



 On Sat, Jun 27, 2009 at 11:57 PM, Robin Paulsonrobin.paul...@gmail.com 
 wrote:
 On 2009-06-28, Vikas Saurabh vikas.saur...@gmail.com wrote:
 On Sun, Jun 28, 2009 at 11:05 AM, jeremy jozwikjerjoz.for...@gmail.com
 wrote:
 hello list. im in dire need of assistance. ive just re-flashed my
 phone to shr-unstable 20090624 all went well until i tried to do an
 ssh. turns out my usb0 is not showing up in anyway.

 Try eth0. Recent kernels(I guess freerunner's driver) have started
 registering the device properly and hence it shows up as a network
 interface

 i doubt it will be eth0. more likely eth2 or something later

 run ifconfig to find out

 ___
 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-unstable] making bricks...

2009-06-28 Thread Lowell Higley
As root, I drop the following in a terminal:

*iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
sysctl -w net.ipv4.ip_forward=1
ip addr add 192.168.0.200/24 dev eth1
ifconfig eth1 up
ssh r...@192.168.0.202*

Works like a charm.  Only caveat is make sure you clear the previous SSH
signature out of .ssh/known_hosts

On Sun, Jun 28, 2009 at 5:57 PM, jeremy jozwik jerjoz.for...@gmail.comwrote:

 also...

 [r...@localhost sbin]# sudo ip address add 192.168.0.200/24 dev eth1
 Cannot find device eth1

 1-8 exactly...


 On Sun, Jun 28, 2009 at 8:55 AM, jeremy jozwikjerjoz.for...@gmail.com
 wrote:
  with the freerunner connected to machine:
 
  [r...@localhost sbin]# ./ifconfig
  eth0  Link encap:Ethernet  blah blah blah
 
  loLink encap:Local Loopback
   blah blah blah
 
 
 
  On Sat, Jun 27, 2009 at 11:57 PM, Robin Paulsonrobin.paul...@gmail.com
 wrote:
  On 2009-06-28, Vikas Saurabh vikas.saur...@gmail.com wrote:
  On Sun, Jun 28, 2009 at 11:05 AM, jeremy jozwik
 jerjoz.for...@gmail.com
  wrote:
  hello list. im in dire need of assistance. ive just re-flashed my
  phone to shr-unstable 20090624 all went well until i tried to do an
  ssh. turns out my usb0 is not showing up in anyway.
 
  Try eth0. Recent kernels(I guess freerunner's driver) have started
  registering the device properly and hence it shows up as a network
  interface
 
  i doubt it will be eth0. more likely eth2 or something later
 
  run ifconfig to find out
 
  ___
  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

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


Re: [shr-unstable] making bricks...

2009-06-28 Thread Lowell Higley
Two comments and then I need to hit the road.

1) I tried using a SHR unstable image a few days ago (the 26th I believe)
and found that it had some serious issues and went back to my previous
image.  I was able to SSH in but I wasn't able to do small things like
receive SMS or make/receive calls.  I could send SMS, though.
2) I have never used SELinux (never really been that paranoid?)  So I can't
speak to that error.  I'm using a gentoo based distro and not having that
issue.

Only thing I can think of off the top of my head is did you update the
kernel and the bootloader as well?  If not, try that that, too.  I'd
download the latest image of each (including rootfs) and try again.  After
that, I am out of ideas.

Ok... two hour drive to work.  Good luck and hope it works out for you.


On Sun, Jun 28, 2009 at 6:10 PM, jeremy jozwik jerjoz.for...@gmail.comwrote:

 returns:

 [r...@localhost sbin]# ./ip addr add 192.168.0.200/24 dev eth1
 Cannot find device eth1

 also got a lovely little notification on the linux system bar
 SELinux is preventing the iptables from using potentially mislabeled
 files


 On Sun, Jun 28, 2009 at 9:05 AM, Lowell Higleyhigle...@gmail.com wrote:
  As root, I drop the following in a terminal:
 
  iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
  sysctl -w net.ipv4.ip_forward=1
  ip addr add 192.168.0.200/24 dev eth1
  ifconfig eth1 up
  ssh r...@192.168.0.202
 
  Works like a charm.  Only caveat is make sure you clear the previous SSH
  signature out of .ssh/known_hosts
 


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


Re: [shr-unstable] making bricks...

2009-06-28 Thread jeremy jozwik
 1) I tried using a SHR unstable image a few days ago (the 26th I believe)
 and found that it had some serious issues and went back to my previous
 image.  I was able to SSH in but I wasn't able to do small things like
 receive SMS or make/receive calls.  I could send SMS, though.

24th. ive tried the 10th as well.

 2) I have never used SELinux (never really been that paranoid?)  So I can't
 speak to that error.  I'm using a gentoo based distro and not having that
 issue.

its auto-installed in fedora. to be honest i have no idea what it does

 Only thing I can think of off the top of my head is did you update the
 kernel and the bootloader as well?  If not, try that that, too.  I'd
 download the latest image of each (including rootfs) and try again.  After
 that, I am out of ideas.

first time, yes. but after that i started mixing and matching between
what ever was on my system just to get something that might work.

 Ok... two hour drive to work.  Good luck and hope it works out for you.

thanks for the help anyhow

 On Sun, Jun 28, 2009 at 6:10 PM, jeremy jozwik jerjoz.for...@gmail.com
 wrote:

 returns:

 [r...@localhost sbin]# ./ip addr add 192.168.0.200/24 dev eth1
 Cannot find device eth1

 also got a lovely little notification on the linux system bar
 SELinux is preventing the iptables from using potentially mislabeled
 files


 On Sun, Jun 28, 2009 at 9:05 AM, Lowell Higleyhigle...@gmail.com wrote:
  As root, I drop the following in a terminal:
 
  iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
  sysctl -w net.ipv4.ip_forward=1
  ip addr add 192.168.0.200/24 dev eth1
  ifconfig eth1 up
  ssh r...@192.168.0.202
 
  Works like a charm.  Only caveat is make sure you clear the previous SSH
  signature out of .ssh/known_hosts
 



 ___
 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-unstable] making bricks...

2009-06-28 Thread Martin Jansa
  On Sun, Jun 28, 2009 at 8:55 AM, jeremy jozwikjerjoz.for...@gmail.com
  wrote:
   with the freerunner connected to machine:
  
   [r...@localhost sbin]# ./ifconfig
   eth0      Link encap:Ethernet  blah blah blah
  
   lo        Link encap:Local Loopback
            blah blah blah

You should use at least -a parameter.

-a display all interfaces which are currently available, even if
down

-- 
uin:136542059jid:martin.ja...@gmail.com
Jansa Martin sip:jama...@voip.wengo.fr 
JaMa 

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


[shr-unstable] making bricks...

2009-06-27 Thread jeremy jozwik
hello list. im in dire need of assistance. ive just re-flashed my
phone to shr-unstable 20090624 all went well until i tried to do an
ssh. turns out my usb0 is not showing up in anyway.

every time i try to initiate the steps i get

[r...@localhost sbin]# ./ifup usb0
Device usb0 does not seem to be present, delaying initialization.

i have done nothing to the system its just stopped working. ive also
tried on my umbuntu system and that more or less generates the same
error.

if re-flashed to the older version of shr-testing, that worked but the
rest of the phone was seriously unstable, hence the need for the
upgrade.

if anyone could help me sort this out i would be grateful not to be
wasting another day...
- jeremy

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


Re: [shr-unstable] making bricks...

2009-06-27 Thread Vikas Saurabh
On Sun, Jun 28, 2009 at 11:05 AM, jeremy jozwikjerjoz.for...@gmail.com wrote:
 hello list. im in dire need of assistance. ive just re-flashed my
 phone to shr-unstable 20090624 all went well until i tried to do an
 ssh. turns out my usb0 is not showing up in anyway.

Try eth0. Recent kernels(I guess freerunner's driver) have started
registering the device properly and hence it shows up as a network
interface

--Vikas

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