![]() |
2010-01-19
, 20:27
|
Posts: 77 |
Thanked: 38 times |
Joined on Jan 2010
|
#2
|
![]() |
2010-01-19
, 20:37
|
|
Posts: 850 |
Thanked: 626 times |
Joined on Sep 2009
@ Vienna, Austria
|
#3
|
apt-get install sshfs
apt-get install openssh-server
mkdir /media/n900 chown <username> /media/n900 sshfs root@n900.host.or.ip:/home/user /media/n900 -o allow_other
![]() |
2010-01-20
, 04:31
|
Posts: 147 |
Thanked: 29 times |
Joined on Sep 2009
@ Lincs, UK
|
#4
|
![]() |
2010-01-20
, 08:44
|
Posts: 268 |
Thanked: 304 times |
Joined on Oct 2009
@ Orlando, USA
|
#5
|
Thanks guys, to do this ssh, do I need a wifi router with active connection to the web?
iface usb0 inet static address 192.168.2.14 netmask 255.255.255.0 broadcast 192.168.2.255
sudo ifup usb0
The Following User Says Thank You to archebyte For This Useful Post: | ||
![]() |
2010-01-20
, 15:23
|
Posts: 147 |
Thanked: 29 times |
Joined on Sep 2009
@ Lincs, UK
|
#6
|
No. You can connect from Ubuntu using SSH via the USB cable. Instructions for N900 setup are here
You would also need to install openssh on the N900.
On the Ubuntu side, modify the /etc/network/interfaces file and add these lines:
and then restart the interface on the Ubuntu after connecting the cableCode:iface usb0 inet static address 192.168.2.14 netmask 255.255.255.0 broadcast 192.168.2.255
you should now be able to ping the N900 from Ubuntu (ping 192.168.2.15) and use ssh or sshfs to have full access to the N900's filesystemCode:sudo ifup usb0
![]() |
2010-01-20
, 16:59
|
Posts: 147 |
Thanked: 29 times |
Joined on Sep 2009
@ Lincs, UK
|
#7
|
![]() |
2010-01-20
, 17:03
|
Posts: 147 |
Thanked: 29 times |
Joined on Sep 2009
@ Lincs, UK
|
#8
|
![]() |
2010-01-20
, 17:07
|
|
Posts: 850 |
Thanked: 626 times |
Joined on Sep 2009
@ Vienna, Austria
|
#9
|
When it came to doing it the other end, pinging my N900 from my laptop doesnt work, I get 100% packets NOT received.
Also, I then try to connect via either filezilla or secure shell and cant establish a connection.
sudo gainroot /etc/init.d/ssh restart
![]() |
2010-01-20
, 18:00
|
Posts: 147 |
Thanked: 29 times |
Joined on Sep 2009
@ Lincs, UK
|
#10
|
I've been reading the modding thread and while I have installed midnight commander and used it to add the "Reboot" button with no problems, there are other things I want to mod and play around with like changing wifi logo, battery logo's etc, but I would just feel a lot happier doing this via my laptop.
Anyone have a way?