Re: need sugestions

2009-11-23 Thread Iurii



Iurii wrote:
 
 
 http://openssh.comstyle.com/windows.html
 
looks pretty nice can you say me as well where can i find a driver for
windows XP because Xp is not recognizing the usb connection
-- 
View this message in context: 
http://n2.nabble.com/need-sugestions-tp4036447p4049633.html
Sent from the Openmoko Support mailing list archive at Nabble.com.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: need sugestions

2009-11-23 Thread Robin Paulson
2009/11/23 Iurii y...@reverseenterprises.com:
 looks pretty nice can you say me as well where can i find a driver for
 windows XP because Xp is not recognizing the usb connection

no, that's not surprising. windows is slightly crap you see

you really will be *much* better off using a decent operating system -
the hoops you have to jump through just to do something simple like
connect via ssh are ridiculous.

if you must persist with windows, take a look on the wiki for rndis.inf

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: need sugestions

2009-11-23 Thread Iurii



Robin Paulson wrote:
 
 looks pretty nice can you say me as well where can i find a driver for
 windows XP because Xp is not recognizing the usb connection
 
 no, that's not surprising. windows is slightly crap you see
 
 you really will be *much* better off using a decent operating system -
 the hoops you have to jump through just to do something simple like
 connect via ssh are ridiculous.
 
 if you must persist with windows, take a look on the wiki for rndis.inf
 
 
 
i have ubuntu 8.10 as well for developing can you give me the steps to
connect it on it because is not recognizing as well 
-- 
View this message in context: 
http://n2.nabble.com/need-sugestions-tp4036447p4049837.html
Sent from the Openmoko Support mailing list archive at Nabble.com.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: need sugestions

2009-11-23 Thread Robin Paulson
2009/11/23 Iurii y...@reverseenterprises.com:
 i have ubuntu 8.10 as well for developing can you give me the steps to
 connect it on it because is not recognizing as well

a wise choice

have a look on the wiki (it's very useful is the wiki) for usb networking

all your questions will be answered

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: need sugestions

2009-11-23 Thread Iurii



Robin Paulson wrote:
 
 
 a wise choice
 
 have a look on the wiki (it's very useful is the wiki) for usb networking
 
 all your questions will be answered 
 
i tried the suggestions of wiki but... i forced problems with it and i still
cant connect it that's why i asked here(
-- 
View this message in context: 
http://n2.nabble.com/need-sugestions-tp4036447p4049947.html
Sent from the Openmoko Support mailing list archive at Nabble.com.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: need sugestions

2009-11-23 Thread Robin Paulson
2009/11/23 Iurii y...@reverseenterprises.com:
 i tried the suggestions of wiki but... i forced problems with it and i still
 cant connect it that's why i asked here(

i use this bash script to connect. it probably has errors and bad
practice contained within, but it works for me:

sudo iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
sudo sysctl -w net.ipv4.ip_forward=1
sudo ifconfig eth2 up
ssh r...@192.168.0.202

there are other methods. some of them may be better

eth2 may be your neo connection, it might not be. it depends upon the
network cards in your computer

try running ifconfig to find out which connection the neo is given

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: need sugestions

2009-11-23 Thread Iurii



Robin Paulson wrote:
 
 2009/11/23 Iurii y...@reverseenterprises.com:
 i tried the suggestions of wiki but... i forced problems with it and i
 still
 cant connect it that's why i asked here(
 
 i use this bash script to connect. it probably has errors and bad
 practice contained within, but it works for me:
 
 sudo iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
 sudo sysctl -w net.ipv4.ip_forward=1
 sudo ifconfig eth2 up
 ssh r...@192.168.0.202
 
 there are other methods. some of them may be better
 
 eth2 may be your neo connection, it might not be. it depends upon the
 network cards in your computer
 
 try running ifconfig to find out which connection the neo is given
 
 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support
 
 

eth0  Link encap:Ethernet  HWaddr 00:14:2a:a9:4d:fb  
  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 

loLink 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:1778 errors:0 dropped:0 overruns:0 frame:0
  TX packets:1778 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:146052 (142.6 KB)  TX bytes:146052 (142.6 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:125 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:0 (0.0 B)  TX bytes:18376 (17.9 KB)

this is my ifconfig
can you try to explain me what should i do now ? 
the freeruneer is connected as usb0 i think sow

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

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: need sugestions

2009-11-23 Thread Iurii



Iurii wrote:
 
 
 
 Robin Paulson wrote:
 
 2009/11/23 Iurii y...@reverseenterprises.com:
 i tried the suggestions of wiki but... i forced problems with it and i
 still
 cant connect it that's why i asked here(
 
 i use this bash script to connect. it probably has errors and bad
 practice contained within, but it works for me:
 
 sudo iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
 sudo sysctl -w net.ipv4.ip_forward=1
 sudo ifconfig eth2 up
 ssh r...@192.168.0.202
 
 there are other methods. some of them may be better
 
 eth2 may be your neo connection, it might not be. it depends upon the
 network cards in your computer
 
 try running ifconfig to find out which connection the neo is given
 
 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support
 
 
 
 eth0  Link encap:Ethernet  HWaddr 00:14:2a:a9:4d:fb  
   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 
 
 loLink 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:1778 errors:0 dropped:0 overruns:0 frame:0
   TX packets:1778 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0 
   RX bytes:146052 (142.6 KB)  TX bytes:146052 (142.6 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:125 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000 
   RX bytes:0 (0.0 B)  TX bytes:18376 (17.9 KB)
 
 this is my ifconfig
 can you try to explain me what should i do now ? 
 the freeruneer is connected as usb0 i think sow
 
 
forget to say i dont have nothing connected now exept of freeruner throw USB
i disconected the lan for the moment
-- 
View this message in context: 
http://n2.nabble.com/need-sugestions-tp4036447p4050243.html
Sent from the Openmoko Support mailing list archive at Nabble.com.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: need sugestions

2009-11-23 Thread arne anka
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@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: need sugestions

2009-11-23 Thread Iurii



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

loLink 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 

loLink 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 UH0 0  0
eth0
192.168.0.0 *255.255.255.0  U0  0 
0 eth0
link-local  *   255.255.0.0 U0  0   
  
0 usb0
default *   0.0.0.0   U0  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 UH0   0 
0 usb0
192.168.0.200   *   255.255.255.255 UH0   0 
0 eth0
192.168.0.0 *255.255.255.0 U 0   0 
0 eth0
link-local  *   255.255.0.0U 00 

0 usb0
default *   0.0.0.0  U 0   
0  0 usb0

and after this im trying to ssh 
#ssh r...@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.

___
support mailing list
support@lists.openmoko.org

Re: need sugestions

2009-11-23 Thread arne anka
 eth0  Link encap:Ethernet  HWaddr 00:14:2a:a9:4d:fb
   inet addr:192.168.0.200  Bcast:192.168.0.255

here's something wrong already.
a) eth0 should not have address 192.168.0.200 (for the purpose of easy  
access to the fr, that is) and
b) specifically not, when everything is disconnected


 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

eth0 retains the ip and usb0 does not get any.
in theory you need the two first commands i posted now (ifdown usb0 and  
ifconfig), in praxi it wouldn't help much since it most likely clashes  
with your existing network configuration.


 here im trying to add a new route : sudo route add-host 192.168.0.202 dev
 usb0

hardly probable to work -- usb0 has no ip. you did not do ipdown/ifconfig.

there are some serious issues with your network configuration (from the  
point of fr networking at least), which need to be solved first.
theoretically, you could circumvent them by using another mask and  
iptables and stuff.

what's for the moment is mots important, is to figure out why eth0 uses  
192.168.0.200 and why it does retain the ip even when disconnected (by  
which i mean cable being unplugged).
most lilkly avahi is guilty ...

please, check the necessary tools for the configured network properties  
(there should be some tools with graphic user interface available, if  
everything fails, post the content of /etc/network/interfaces) and figure  
out, what ip range your router uses.
furthermore, check if the software on your fr contains an text editor.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support