USB networking now creates eth1 on host (was: Re: [neovento 5] applications!)

2009-05-14 Thread Paul Fertser
neovento schumi_8_2...@gmx.de writes:
 Ok please try with Uboot. 
 There were often problems with Qi and debian kernels.

Why do you suggest this instead of using the correct method?!

The guy obviously got eth1 on host. Every time. He should have used it
instead of finding older incorrectly working versions of bootloaders.

The reason is simple: since Qi was fixed to properly provide
factory-configured MAC address for the usb networking interface, it's
detected on the host as it should, every time udev sees that device
it'll assign the same static interface to it (in the simplest case
it'll be eth1), that's the main improvement actually!

I wonder why you neovento guys don't read kernel mailing list, devel
mailing list where this was elaborated in details, why you never come
to IRC to discuss low-level issues etc.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

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


Re: USB networking now creates eth1 on host (was: Re: [neovento 5] applications!)

2009-05-14 Thread reznor


Paul Fertser wrote:
 
 Why do you suggest this instead of using the correct method?!
 
Why didn't you suggest the correct method before, though you knew the
correct method all the time???


Paul Fertser wrote:
 
 The guy obviously got eth1 on host. Every time. He should have used it
 instead of finding older incorrectly working versions of bootloaders.
 
 The reason is simple: since Qi was fixed to properly provide
 factory-configured MAC address for the usb networking interface, it's
 detected on the host as it should, every time udev sees that device
 it'll assign the same static interface to it (in the simplest case
 it'll be eth1), that's the main improvement actually! 
Ok, Ill try that.


Paul Fertser wrote:
 
 I wonder why you neovento guys don't read kernel mailing list, devel
 mailing list where this was elaborated in details, why you never come
 to IRC to discuss low-level issues etc.
Lack of motivation and time. This is only some hobby, we spend as much time
in it as we consider being appropriate. You guys can just ignore the
neovento guys. So what's the problem?
As long there won't be any usable distributions for my freerunner, I'll make
my own. Easy, right?
-- 
View this message in context: 
http://n2.nabble.com/-neovento-5--applications%21-tp2881940p2889485.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: USB networking now creates eth1 on host (was: Re: [neovento 5] applications!)

2009-05-14 Thread arne anka
 Why do you suggest this instead of using the correct method?!

 Why didn't you suggest the correct method before, though you knew the
 correct method all the time???

it was suggested -- at least once and i repeated it after seeing that  
apparently no one cared to read that.

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


[neovento 5] applications!

2009-05-13 Thread Tony Berth
Trying the latest images and have following questions:

Does usb0 networking work? 'ifconfig' on my debian server doesn't show any
usb0 interface any more!
Can I install Sketchbook, screenshot and Phonelog as well?

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


Re: [neovento 5] applications!

2009-05-13 Thread neovento

You should flash the right kernel.

You can install applications.
 

Tony Berth wrote:
 
 Trying the latest images and have following questions:
 
 Does usb0 networking work? 'ifconfig' on my debian server doesn't show any
 usb0 interface any more!
 Can I install Sketchbook, screenshot and Phonelog as well?
 
 Thanks
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 
 

-- 
View this message in context: 
http://n2.nabble.com/-neovento-5--applications%21-tp2881940p2882765.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: [neovento 5] applications!

2009-05-13 Thread Tony Berth
I experince the problem I described by using following packages:

http://opensvn.csie.org/fyp/releases/5/uImage.bin
http://opensvn.csie.org/fyp/releases/5/neovento5.3_GTA02.jffs2

I know that I can install new applications but will they work with neovento
5? Sorry if my phrasing wasn't very clear about that subject.

Thanks

Tony

On Wed, May 13, 2009 at 1:05 PM, neovento schumi_8_2...@gmx.de wrote:


 You should flash the right kernel.

 You can install applications.


 Tony Berth wrote:
 
  Trying the latest images and have following questions:
 
  Does usb0 networking work? 'ifconfig' on my debian server doesn't show
 any
  usb0 interface any more!
  Can I install Sketchbook, screenshot and Phonelog as well?
 
  Thanks
 


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


Re: [neovento 5] applications!

2009-05-13 Thread neovento

usb works, really :D. Maybe it's a problem with the system on your PC. I had
problems with Ubuntu's network manager. 

I understood your question, but I simple never have heard of those
applications before.
scrot is already installed, maybe that's similar to screenshot.
So you just have to try them. Generally said, everything you can install and
use on the other distributions can also be used in neovento as it's simple
debian.
Sorry for being too lazy to answer your questions before :P

regards


Tony Berth wrote:
 
 I experince the problem I described by using following packages:
 
 http://opensvn.csie.org/fyp/releases/5/uImage.bin
 http://opensvn.csie.org/fyp/releases/5/neovento5.3_GTA02.jffs2
 
 I know that I can install new applications but will they work with
 neovento
 5? Sorry if my phrasing wasn't very clear about that subject.
 
 Thanks
 
 Tony
 
 On Wed, May 13, 2009 at 1:05 PM, neovento schumi_8_2...@gmx.de wrote:
 

 You should flash the right kernel.

 You can install applications.


 Tony Berth wrote:
 
  Trying the latest images and have following questions:
 
  Does usb0 networking work? 'ifconfig' on my debian server doesn't show
 any
  usb0 interface any more!
  Can I install Sketchbook, screenshot and Phonelog as well?
 
  Thanks
 


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

-- 
View this message in context: 
http://n2.nabble.com/-neovento-5--applications%21-tp2881940p2883846.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: [neovento 5] applications!

2009-05-13 Thread Tony Berth
something must have chabged regarding networking cause this problem is new
to me . Actually after flashing this new released images!

I use a standard debian server (Linux 2.6.18-6-686 #1 SMP) and in my
/etc/network/interfaces I have following entries:

allow-hotplug usb0
iface usb0 inet static
address 192.168.0.200
netmask 255.255.255.0
network 192.268.0.0
up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 
up echo 1  /proc/sys/net/ipv4/ip_forward 
up iptables -P FORWARD ACCEPT 
down iptables -D POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 

Thanks for your help


On Wed, May 13, 2009 at 3:44 PM, neovento schumi_8_2...@gmx.de wrote:


 usb works, really :D. Maybe it's a problem with the system on your PC. I
 had
 problems with Ubuntu's network manager.

 I understood your question, but I simple never have heard of those
 applications before.
 scrot is already installed, maybe that's similar to screenshot.
 So you just have to try them. Generally said, everything you can install
 and
 use on the other distributions can also be used in neovento as it's simple
 debian.
 Sorry for being too lazy to answer your questions before :P

 regards


 Tony Berth wrote:
 
  I experince the problem I described by using following packages:
 
  http://opensvn.csie.org/fyp/releases/5/uImage.bin
  http://opensvn.csie.org/fyp/releases/5/neovento5.3_GTA02.jffs2
 
  I know that I can install new applications but will they work with
  neovento
  5? Sorry if my phrasing wasn't very clear about that subject.
 
  Thanks
 
  Tony
 
  On Wed, May 13, 2009 at 1:05 PM, neovento schumi_8_2...@gmx.de wrote:
 
 
  You should flash the right kernel.
 
  You can install applications.
 
 
  Tony Berth wrote:
  
   Trying the latest images and have following questions:
  
   Does usb0 networking work? 'ifconfig' on my debian server doesn't show
  any
   usb0 interface any more!
   Can I install Sketchbook, screenshot and Phonelog as well?
  
   Thanks
  
 
 
 


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


Re: [neovento 5] applications!

2009-05-13 Thread Tony Berth
forgot to add, that instead of the usb0 interface, ifconfig shows the
following:


eth2  Link encap:Ethernet  HWaddr 00:1F:11:01:53:86
  BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Thanks

Tony

On Wed, May 13, 2009 at 3:44 PM, neovento schumi_8_2...@gmx.de wrote:


 usb works, really :D. Maybe it's a problem with the system on your PC. I
 had
 problems with Ubuntu's network manager.

 I understood your question, but I simple never have heard of those
 applications before.
 scrot is already installed, maybe that's similar to screenshot.
 So you just have to try them. Generally said, everything you can install
 and
 use on the other distributions can also be used in neovento as it's simple
 debian.
 Sorry for being too lazy to answer your questions before :P

 regards


 Tony Berth wrote:
 
  I experince the problem I described by using following packages:
 
  http://opensvn.csie.org/fyp/releases/5/uImage.bin
  http://opensvn.csie.org/fyp/releases/5/neovento5.3_GTA02.jffs2
 
  I know that I can install new applications but will they work with
  neovento
  5? Sorry if my phrasing wasn't very clear about that subject.
 
  Thanks
 
  Tony
 
  On Wed, May 13, 2009 at 1:05 PM, neovento schumi_8_2...@gmx.de wrote:
 
 
  You should flash the right kernel.
 
  You can install applications.
 
 
  Tony Berth wrote:
  
   Trying the latest images and have following questions:
  
   Does usb0 networking work? 'ifconfig' on my debian server doesn't show
  any
   usb0 interface any more!
   Can I install Sketchbook, screenshot and Phonelog as well?
  
   Thanks
  
 
 
 


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


Re: [neovento 5] applications!

2009-05-13 Thread neovento

network 192.268.0.0 are you sure?



Tony Berth wrote:
 
 something must have chabged regarding networking cause this problem is new
 to me . Actually after flashing this new released images!
 
 I use a standard debian server (Linux 2.6.18-6-686 #1 SMP) and in my
 /etc/network/interfaces I have following entries:
 
 allow-hotplug usb0
 iface usb0 inet static
 address 192.168.0.200
 netmask 255.255.255.0
 network 192.268.0.0
 up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 
 up echo 1  /proc/sys/net/ipv4/ip_forward 
 up iptables -P FORWARD ACCEPT 
 down iptables -D POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 
 
 Thanks for your help
 
 
 On Wed, May 13, 2009 at 3:44 PM, neovento schumi_8_2...@gmx.de wrote:
 

 usb works, really :D. Maybe it's a problem with the system on your PC. I
 had
 problems with Ubuntu's network manager.

 I understood your question, but I simple never have heard of those
 applications before.
 scrot is already installed, maybe that's similar to screenshot.
 So you just have to try them. Generally said, everything you can install
 and
 use on the other distributions can also be used in neovento as it's
 simple
 debian.
 Sorry for being too lazy to answer your questions before :P

 regards


 Tony Berth wrote:
 
  I experince the problem I described by using following packages:
 
  http://opensvn.csie.org/fyp/releases/5/uImage.bin
  http://opensvn.csie.org/fyp/releases/5/neovento5.3_GTA02.jffs2
 
  I know that I can install new applications but will they work with
  neovento
  5? Sorry if my phrasing wasn't very clear about that subject.
 
  Thanks
 
  Tony
 
  On Wed, May 13, 2009 at 1:05 PM, neovento schumi_8_2...@gmx.de wrote:
 
 
  You should flash the right kernel.
 
  You can install applications.
 
 
  Tony Berth wrote:
  
   Trying the latest images and have following questions:
  
   Does usb0 networking work? 'ifconfig' on my debian server doesn't
 show
  any
   usb0 interface any more!
   Can I install Sketchbook, screenshot and Phonelog as well?
  
   Thanks
  
 
 
 


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

-- 
View this message in context: 
http://n2.nabble.com/-neovento-5--applications%21-tp2881940p2883978.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: [neovento 5] applications!

2009-05-13 Thread Tony Berth
I changed that to 192.168.0.0 but still the same problem!

When I plug FR in, the console displays the following:

usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1: config 2 interface 1 has no altsetting 0
usb 1-1: configuration #1 chosen from 2 choices
eth1: register 'cdc_ether' at usb-:00:1d.0-1, CDC Ethernet Device,
00:1f:11:01:53:86
usbcore: registered new driver cdc_ether

Thanks

Tony

On Wed, May 13, 2009 at 4:01 PM, neovento schumi_8_2...@gmx.de wrote:


 network 192.268.0.0 are you sure?



 Tony Berth wrote:
 
  something must have chabged regarding networking cause this problem is
 new
  to me . Actually after flashing this new released images!
 
  I use a standard debian server (Linux 2.6.18-6-686 #1 SMP) and in my
  /etc/network/interfaces I have following entries:
 
  allow-hotplug usb0
  iface usb0 inet static
  address 192.168.0.200
  netmask 255.255.255.0
  network 192.268.0.0
  up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 
  up echo 1  /proc/sys/net/ipv4/ip_forward 
  up iptables -P FORWARD ACCEPT 
  down iptables -D POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 
 
  Thanks for your help
 
 
  On Wed, May 13, 2009 at 3:44 PM, neovento schumi_8_2...@gmx.de wrote:
 
 
  usb works, really :D. Maybe it's a problem with the system on your PC. I
  had
  problems with Ubuntu's network manager.
 
  I understood your question, but I simple never have heard of those
  applications before.
  scrot is already installed, maybe that's similar to screenshot.
  So you just have to try them. Generally said, everything you can install
  and
  use on the other distributions can also be used in neovento as it's
  simple
  debian.
  Sorry for being too lazy to answer your questions before :P
 
  regards
 
 
  Tony Berth wrote:
  
   I experince the problem I described by using following packages:
  
   http://opensvn.csie.org/fyp/releases/5/uImage.bin
   http://opensvn.csie.org/fyp/releases/5/neovento5.3_GTA02.jffs2
  
   I know that I can install new applications but will they work with
   neovento
   5? Sorry if my phrasing wasn't very clear about that subject.
  
   Thanks
  
   Tony
  
   On Wed, May 13, 2009 at 1:05 PM, neovento schumi_8_2...@gmx.de
 wrote:
  
  
   You should flash the right kernel.
  
   You can install applications.
  
  
   Tony Berth wrote:
   
Trying the latest images and have following questions:
   
Does usb0 networking work? 'ifconfig' on my debian server doesn't
  show
   any
usb0 interface any more!
Can I install Sketchbook, screenshot and Phonelog as well?
   
Thanks
   
  
  
  
 
 
 


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


Re: [neovento 5] applications!

2009-05-13 Thread arne anka
does

ifdown usb0
ifup usb0

help?
what does

netstat -rn

say and what

ifconfig

?

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


Re: [neovento 5] applications!

2009-05-13 Thread neovento

Ok, I do it like that:

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 usb0
ifconfig usb0 up
ssh r...@192.168.0.202



Tony Berth wrote:
 
 I changed that to 192.168.0.0 but still the same problem!
 
 When I plug FR in, the console displays the following:
 
 usb 1-1: new full speed USB device using uhci_hcd and address 2
 usb 1-1: config 2 interface 1 has no altsetting 0
 usb 1-1: configuration #1 chosen from 2 choices
 eth1: register 'cdc_ether' at usb-:00:1d.0-1, CDC Ethernet Device,
 00:1f:11:01:53:86
 usbcore: registered new driver cdc_ether
 
 Thanks
 
 

-- 
View this message in context: 
http://n2.nabble.com/-neovento-5--applications%21-tp2881940p2884146.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: [neovento 5] applications!

2009-05-13 Thread Tony Berth
when I type (as root!) 'ip addr add 192.168.0.200/24 dev usb0', I get:

bash: ip: command not found

Thanks

Tony

On Wed, May 13, 2009 at 4:24 PM, neovento schumi_8_2...@gmx.de wrote:


 Ok, I do it like that:

 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 usb0
 ifconfig usb0 up
 ssh r...@192.168.0.202



 Tony Berth wrote:
 
  I changed that to 192.168.0.0 but still the same problem!
 
  When I plug FR in, the console displays the following:
 
  usb 1-1: new full speed USB device using uhci_hcd and address 2
  usb 1-1: config 2 interface 1 has no altsetting 0
  usb 1-1: configuration #1 chosen from 2 choices
  eth1: register 'cdc_ether' at usb-:00:1d.0-1, CDC Ethernet Device,
  00:1f:11:01:53:86
  usbcore: registered new driver cdc_ether
 
  Thanks
 
 

 --
 View this message in context:
 http://n2.nabble.com/-neovento-5--applications%21-tp2881940p2884146.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: [neovento 5] applications!

2009-05-13 Thread Joseph Reeves
try:

ifconfig usb0 192.168.0.200/24

Joseph




2009/5/13 Tony Berth tonybe...@googlemail.com:
 when I type (as root!) 'ip addr add 192.168.0.200/24 dev usb0', I get:

 bash: ip: command not found

 Thanks

 Tony

 On Wed, May 13, 2009 at 4:24 PM, neovento schumi_8_2...@gmx.de wrote:

 Ok, I do it like that:

 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 usb0
 ifconfig usb0 up
 ssh r...@192.168.0.202



 Tony Berth wrote:
 
  I changed that to 192.168.0.0 but still the same problem!
 
  When I plug FR in, the console displays the following:
 
  usb 1-1: new full speed USB device using uhci_hcd and address 2
  usb 1-1: config 2 interface 1 has no altsetting 0
  usb 1-1: configuration #1 chosen from 2 choices
  eth1: register 'cdc_ether' at usb-:00:1d.0-1, CDC Ethernet Device,
  00:1f:11:01:53:86
  usbcore: registered new driver cdc_ether
 
  Thanks
 
 

 --
 View this message in context:
 http://n2.nabble.com/-neovento-5--applications%21-tp2881940p2884146.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



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


Re: [neovento 5] applications!

2009-05-13 Thread Tony Berth
I did ifdown/ifup on FR

netstat -rn on FR gives following output:

Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 usb0
0.0.0.0 192.168.0.200 0.0.0.0 UG 0 0 0 usb0

ifconfig in FR does display the usb0 interface with IP; 192.168.0.2002

Thanks

Tony

On Wed, May 13, 2009 at 4:23 PM, arne anka openm...@ginguppin.de wrote:

 does

 ifdown usb0
 ifup usb0

 help?
 what does

 netstat -rn

 say and what

 ifconfig

 ?

 ___


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


Re: [neovento 5] applications!

2009-05-13 Thread Tony Berth
get then the following:

SIOCSIFNETMASK: No such device
SIOCSIFADDR: No such device
usb0: ERROR while getting interface flags: No such device

Thanks

Tony

On Wed, May 13, 2009 at 4:35 PM, Joseph Reeves iknowjos...@gmail.comwrote:

 try:

 ifconfig usb0 192.168.0.200/24

 Joseph




 2009/5/13 Tony Berth tonybe...@googlemail.com:
  when I type (as root!) 'ip addr add 192.168.0.200/24 dev usb0', I get:
 
  bash: ip: command not found
 
  Thanks
 
  Tony
 
  On Wed, May 13, 2009 at 4:24 PM, neovento schumi_8_2...@gmx.de wrote:
 
  Ok, I do it like that:
 
  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 usb0
  ifconfig usb0 up
  ssh r...@192.168.0.202
 
 
 
  Tony Berth wrote:
  
   I changed that to 192.168.0.0 but still the same problem!
  
   When I plug FR in, the console displays the following:
  
   usb 1-1: new full speed USB device using uhci_hcd and address 2
   usb 1-1: config 2 interface 1 has no altsetting 0
   usb 1-1: configuration #1 chosen from 2 choices
   eth1: register 'cdc_ether' at usb-:00:1d.0-1, CDC Ethernet Device,
   00:1f:11:01:53:86
   usbcore: registered new driver cdc_ether
  
   Thanks
  
  
 
  --
  View this message in context:
 
 http://n2.nabble.com/-neovento-5--applications%21-tp2881940p2884146.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: [neovento 5] applications!

2009-05-13 Thread arne anka
 when I type (as root!) 'ip addr add 192.168.0.200/24 dev usb0', I get:

 bash: ip: command not found

ip is part of the iproute package. don't know if it is available already  
in stable (guessing from your KVERS). but you can use route instead.

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


Re: [neovento 5] applications!

2009-05-13 Thread Joseph Reeves
Sorry, I mistook what you were trying to do (serves me right for
skim-reading the list). The error is pretty telling, however; you
don't have USB0. Once you get that back you can add a root as per
Arne's suggestions.

Cheers and apologies,

Joseph




2009/5/13 Tony Berth tonybe...@googlemail.com:
 get then the following:

 SIOCSIFNETMASK: No such device
 SIOCSIFADDR: No such device
 usb0: ERROR while getting interface flags: No such device

 Thanks

 Tony

 On Wed, May 13, 2009 at 4:35 PM, Joseph Reeves iknowjos...@gmail.com
 wrote:

 try:

 ifconfig usb0 192.168.0.200/24

 Joseph




 2009/5/13 Tony Berth tonybe...@googlemail.com:
  when I type (as root!) 'ip addr add 192.168.0.200/24 dev usb0', I get:
 
  bash: ip: command not found
 
  Thanks
 
  Tony
 
  On Wed, May 13, 2009 at 4:24 PM, neovento schumi_8_2...@gmx.de wrote:
 
  Ok, I do it like that:
 
  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 usb0
  ifconfig usb0 up
  ssh r...@192.168.0.202
 
 
 
  Tony Berth wrote:
  
   I changed that to 192.168.0.0 but still the same problem!
  
   When I plug FR in, the console displays the following:
  
   usb 1-1: new full speed USB device using uhci_hcd and address 2
   usb 1-1: config 2 interface 1 has no altsetting 0
   usb 1-1: configuration #1 chosen from 2 choices
   eth1: register 'cdc_ether' at usb-:00:1d.0-1, CDC Ethernet
   Device,
   00:1f:11:01:53:86
   usbcore: registered new driver cdc_ether
  
   Thanks
  
  
 
  --
  View this message in context:
 
  http://n2.nabble.com/-neovento-5--applications%21-tp2881940p2884146.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



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


Re: [neovento 5] applications!

2009-05-13 Thread arne anka
 SIOCSIFNETMASK: No such device
 SIOCSIFADDR: No such device
 usb0: ERROR while getting interface flags: No such device

basically looks like debian lost the device somehow.
i get that sometimes when unplugging the fr. usb0 seems not to be shut  
down correctly but in some limbo.
so far i haven't been able to find a clear workaround.

usually my attempts include
- unplugging the fr
- removing all relevant modules (cdc*, usbnet, ...)
- restarting networking (/etc/init.d/networking restart)

sometimes it seems to help if the fr is suspended and resumed.
may be interesting to restart networking on the fr as well.

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


Re: [neovento 5] applications!

2009-05-13 Thread Martijn van den Broek
  eth1: register 'cdc_ether' at usb-:00:1d.0-1, CDC Ethernet Device,

Looks like udev on your machine assigns it to eth1. I had this issue on my
gentoo machine atleast.. Hell.. every time i flash the device it gets
another mac and udev assigns a new device for it. Either you configure
access to your moko to eth1 or change the udev rules in to make it go to
usb0 again.


On Wed, May 13, 2009 at 4:42 PM, Joseph Reeves iknowjos...@gmail.comwrote:

 Sorry, I mistook what you were trying to do (serves me right for
 skim-reading the list). The error is pretty telling, however; you
 don't have USB0. Once you get that back you can add a root as per
 Arne's suggestions.

 Cheers and apologies,

 Joseph




 2009/5/13 Tony Berth tonybe...@googlemail.com:
  get then the following:
 
  SIOCSIFNETMASK: No such device
  SIOCSIFADDR: No such device
  usb0: ERROR while getting interface flags: No such device
 
  Thanks
 
  Tony
 
  On Wed, May 13, 2009 at 4:35 PM, Joseph Reeves iknowjos...@gmail.com
  wrote:
 
  try:
 
  ifconfig usb0 192.168.0.200/24
 
  Joseph
 
 
 
 
  2009/5/13 Tony Berth tonybe...@googlemail.com:
   when I type (as root!) 'ip addr add 192.168.0.200/24 dev usb0', I
 get:
  
   bash: ip: command not found
  
   Thanks
  
   Tony
  
   On Wed, May 13, 2009 at 4:24 PM, neovento schumi_8_2...@gmx.de
 wrote:
  
   Ok, I do it like that:
  
   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 usb0
   ifconfig usb0 up
   ssh r...@192.168.0.202
  
  
  
   Tony Berth wrote:
   
I changed that to 192.168.0.0 but still the same problem!
   
When I plug FR in, the console displays the following:
   
usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1: config 2 interface 1 has no altsetting 0
usb 1-1: configuration #1 chosen from 2 choices
eth1: register 'cdc_ether' at usb-:00:1d.0-1, CDC Ethernet
Device,
00:1f:11:01:53:86
usbcore: registered new driver cdc_ether
   
Thanks
   
   
  
   --
   View this message in context:
  
  
 http://n2.nabble.com/-neovento-5--applications%21-tp2881940p2884146.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
 
 

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




-- 
Martijn van den Broek
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [neovento 5] applications!

2009-05-13 Thread neovento

Do you use Qi or Uboot?



Tony Berth wrote:
 
 get then the following:
 
 SIOCSIFNETMASK: No such device
 SIOCSIFADDR: No such device
 usb0: ERROR while getting interface flags: No such device
 
 Thanks
 
 Tony
 
 On Wed, May 13, 2009 at 4:35 PM, Joseph Reeves
 iknowjos...@gmail.comwrote:
 
 try:

 ifconfig usb0 192.168.0.200/24

 Joseph




 2009/5/13 Tony Berth tonybe...@googlemail.com:
  when I type (as root!) 'ip addr add 192.168.0.200/24 dev usb0', I get:
 
  bash: ip: command not found
 
  Thanks
 
  Tony
 
  On Wed, May 13, 2009 at 4:24 PM, neovento schumi_8_2...@gmx.de wrote:
 
  Ok, I do it like that:
 
  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 usb0
  ifconfig usb0 up
  ssh r...@192.168.0.202
 
 
 
  Tony Berth wrote:
  
   I changed that to 192.168.0.0 but still the same problem!
  
   When I plug FR in, the console displays the following:
  
   usb 1-1: new full speed USB device using uhci_hcd and address 2
   usb 1-1: config 2 interface 1 has no altsetting 0
   usb 1-1: configuration #1 chosen from 2 choices
   eth1: register 'cdc_ether' at usb-:00:1d.0-1, CDC Ethernet
 Device,
   00:1f:11:01:53:86
   usbcore: registered new driver cdc_ether
  
   Thanks
  
  
 
  --
  View this message in context:
 
 http://n2.nabble.com/-neovento-5--applications%21-tp2881940p2884146.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
 
 

-- 
View this message in context: 
http://n2.nabble.com/-neovento-5--applications%21-tp2881940p2884681.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: [neovento 5] applications!

2009-05-13 Thread Tony Berth
Qi

On Wed, May 13, 2009 at 5:47 PM, neovento schumi_8_2...@gmx.de wrote:


 Do you use Qi or Uboot?



 Tony Berth wrote:
 
  get then the following:
 
  SIOCSIFNETMASK: No such device
  SIOCSIFADDR: No such device
  usb0: ERROR while getting interface flags: No such device
 
  Thanks
 
  Tony
 
  On Wed, May 13, 2009 at 4:35 PM, Joseph Reeves
  iknowjos...@gmail.comwrote:
 
  try:
 
  ifconfig usb0 192.168.0.200/24
 
  Joseph
 
 
 
 
  2009/5/13 Tony Berth tonybe...@googlemail.com:
   when I type (as root!) 'ip addr add 192.168.0.200/24 dev usb0', I
 get:
  
   bash: ip: command not found
  
   Thanks
  
   Tony
  
   On Wed, May 13, 2009 at 4:24 PM, neovento schumi_8_2...@gmx.de
 wrote:
  
   Ok, I do it like that:
  
   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 usb0
   ifconfig usb0 up
   ssh r...@192.168.0.202
  
  
  
   Tony Berth wrote:
   
I changed that to 192.168.0.0 but still the same problem!
   
When I plug FR in, the console displays the following:
   
usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1: config 2 interface 1 has no altsetting 0
usb 1-1: configuration #1 chosen from 2 choices
eth1: register 'cdc_ether' at usb-:00:1d.0-1, CDC Ethernet
  Device,
00:1f:11:01:53:86
usbcore: registered new driver cdc_ether
   
Thanks
   
   
  
   --
   View this message in context:
  
 
 http://n2.nabble.com/-neovento-5--applications%21-tp2881940p2884146.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: [neovento 5] applications!

2009-05-13 Thread neovento

Ok please try with Uboot. 
There were often problems with Qi and debian kernels.


Tony Berth wrote:
 
 Qi
 
 On Wed, May 13, 2009 at 5:47 PM, neovento schumi_8_2...@gmx.de wrote:
 

 Do you use Qi or Uboot?



 Tony Berth wrote:
 
  get then the following:
 
  SIOCSIFNETMASK: No such device
  SIOCSIFADDR: No such device
  usb0: ERROR while getting interface flags: No such device
 
  Thanks
 
  Tony
 
  On Wed, May 13, 2009 at 4:35 PM, Joseph Reeves
  iknowjos...@gmail.comwrote:
 
  try:
 
  ifconfig usb0 192.168.0.200/24
 
  Joseph
 
 
 
 
  2009/5/13 Tony Berth tonybe...@googlemail.com:
   when I type (as root!) 'ip addr add 192.168.0.200/24 dev usb0', I
 get:
  
   bash: ip: command not found
  
   Thanks
  
   Tony
  
   On Wed, May 13, 2009 at 4:24 PM, neovento schumi_8_2...@gmx.de
 wrote:
  
   Ok, I do it like that:
  
   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 usb0
   ifconfig usb0 up
   ssh r...@192.168.0.202
  
  
  
   Tony Berth wrote:
   
I changed that to 192.168.0.0 but still the same problem!
   
When I plug FR in, the console displays the following:
   
usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1: config 2 interface 1 has no altsetting 0
usb 1-1: configuration #1 chosen from 2 choices
eth1: register 'cdc_ether' at usb-:00:1d.0-1, CDC Ethernet
  Device,
00:1f:11:01:53:86
usbcore: registered new driver cdc_ether
   
Thanks
   
   
  
   --
   View this message in context:
  
 
 http://n2.nabble.com/-neovento-5--applications%21-tp2881940p2884146.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
 
 

-- 
View this message in context: 
http://n2.nabble.com/-neovento-5--applications%21-tp2881940p2884737.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: [neovento 5] applications!

2009-05-13 Thread arne anka
did you check for eth1 as suggested by someone recently?
he refered to that part of your log which i totally overlooked:


eth1: register 'cdc_ether' at usb-:00:1d.0-1, CDC Ethernet Device,

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


Re: [neovento 5] applications!

2009-05-13 Thread Paul
I can confirm that using Neovento5 with uboot allows you to log into the FR:

[p...@localhost ~]$ ssh r...@neo
Warning: Permanently added 'neo,192.168.0.202' (RSA) to the list of 
known hosts.
r...@neo's password:
Linux debian-gta02 2.6.28-20090105.git69b2aa26 #1 PREEMPT Tue Mar 3 
20:22:28 UTC 2009 armv4tl

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
/usr/X11R6/bin/xauth:  creating new authority file /root/.Xauthority
debian-gta02:~#


Paul

-- 
He is a real pessimist -
he could look at a doughnut and only see the hole in it.
-Anon

http://www.nlpagan.net
MHC - running on Mandriva 2009.0, Ubuntu 9.04, Netbook Remix  Saucony
(Before printing this mail: consider the environment!)


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