View Single Post
Posts: 268 | Thanked: 304 times | Joined on Oct 2009 @ Orlando, USA
#18
DanStarr, this is bascially the setup required on the client-side (Ubuntu):

1) modify /etc/network/interface per my post above
2) Connect USB cable (on the N900, select PC Suite Mode and execute ifup usb0 as root)
3) verify that the usb0 interface is recognised by running the following command in Ubuntu:
Code:
dmesg
you should see something like this in the last line:
Code:
[295050.409021] usb0: register 'cdc_ether' at usb-0000:00:1d.7-7, CDC Ethernet Device, de:59:f3:a9:fa:fe
4) Start up the usb0 interface with this (on Ubuntu)
Code:
sudo ifup usb0
5) verify that usb0 is up (on Ubuntu)
Code:
archebyte:~$ ifconfig usb0
usb0      Link encap:Ethernet  HWaddr de:59:f3:a9:fa:fe  
          inet addr:192.168.2.14  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::dc59:f3ff:fea9:fafe/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4216 (4.2 KB)  TX bytes:9714 (9.7 KB)
you can now ping the N900 from Ubuntu
Code:
archebyte:~$ ping 192.168.2.15
PING 192.168.2.15 56(84) bytes of data.
64 bytes from n900 (192.168.2.15): icmp_seq=1 ttl=64 time=0.526 ms
64 bytes from n900 (192.168.2.15): icmp_seq=2 ttl=64 time=0.457 ms
6) ssh into the N900 and use the password entered when you install openssh on the N900.
Code:
ssh root@192.168.2.15
7) or use sshfs from Ubuntu using the command above