need sugestions

Iurii yuri at reverseenterprises.com
Mon Nov 23 14:04:22 CET 2009




arne anka wrote:
> 
> ifdown usb0
> ifconfig usb0 192.168.0.202 netmask 255.255.255.0 up
> route add -host 192.168.0.202 dev usb0
> 
> for ubuntu, prefix every line with sudo.
> 
> the wiki page lists _all_ of the above!
> 
>> http://wiki.openmoko.org/wiki/USB_Networking
> 
> please a) read the wiki and b) post useful and complete error messages.
> you never answered, what device was using 192.168.0.202 already nor gave  
> really useful information so far!
> 
> for windows as ssh client you are probably best off with putty.
> 
> _______________________________________________
> support mailing list
> support at lists.openmoko.org
> https://lists.openmoko.org/mailman/listinfo/support
> 
> 
 im sory if i'm writing not clear i'try to correct my mistakes

Firstly im using ubuntu 2.6.24

At starting point i disconnect all the network devices from the machine 
my lan is disconnected as well
if i do ifconfig i get this output



eth0      Link encap:Ethernet  HWaddr 00:14:2a:a9:4d:fb  
          inet addr:192.168.0.200  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:39863 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4764 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:5180502 (4.9 MB)  TX bytes:622521 (607.9 KB)
          Interrupt:16 Base address:0xe400 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1831 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1831 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:149190 (145.6 KB)  TX bytes:149190 (145.6 KB)


After this im connecting my FR with USB cable 
and my ifconfig changes to :

eth0      Link encap:Ethernet  HWaddr 00:14:2a:a9:4d:fb  
          inet addr:192.168.0.200  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:39863 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4764 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:5180502 (4.9 MB)  TX bytes:622521 (607.9 KB)
          Interrupt:16 Base address:0xe400 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1835 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1835 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:149542 (146.0 KB)  TX bytes:149542 (146.0 KB)

usb0      Link encap:Ethernet  HWaddr d2:d8:e1:48:cd:a2  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:5321 (5.1 KB)

usb0:avahi Link encap:Ethernet  HWaddr d2:d8:e1:48:cd:a2  
          inet addr:169.254.9.209  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

At this point my PC is connected only with FR (no other devices)
here im checking my kernel IP routing table
$netstat -r 

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
192.168.0.200   *               255.255.255.255 UH        0     0          0
eth0
192.168.0.0     *                255.255.255.0      U        0      0         
0 eth0
link-local      *                   255.255.0.0         U        0      0         
0 usb0
default         *                   0.0.0.0               U        0      0         
0 usb0

here im trying to add a new route : sudo route add-host 192.168.0.202 dev
usb0
$netstat -r 
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
192.168.0.202   *               255.255.255.255 UH        0       0         
0 usb0
192.168.0.200   *               255.255.255.255 UH        0       0         
0 eth0
192.168.0.0     *                255.255.255.0     U         0       0         
0 eth0
link-local      *                   255.255.0.0        U         0        0         
0 usb0
default         *                   0.0.0.0              U         0       
0          0 usb0

and after this im trying to ssh 
#ssh root at 192.168.0.202
ssh: connect to host 192.168.0.202 port 22: no route to host

tnx a lot for your time i really apriciate that i was reading the wiki and
tryed all the staff which it offers with no luck


-- 
View this message in context: http://n2.nabble.com/need-sugestions-tp4036447p4050952.html
Sent from the Openmoko Support mailing list archive at Nabble.com.



More information about the support mailing list