View Single Post
Posts: 521 | Thanked: 296 times | Joined on Sep 2009
#2
Originally Posted by smoku View Post
  • First install SSH server on the device. I use 'dropbear' package.
  • Check for the following lines in /etc/network/interfaces and if there aren't there, add them (using root):
    Code:
    iface usb0 inet static
            address 192.168.2.15
            netmask 255.255.255.0
  • Connect N900 with USB cable.
  • Select "PC Suite Mode" in popup.
  • Switch to 'root' on N900 and issue the following commands:
    Code:
    ifup usb0
    /etc/init.d/dropbear start
  • If you're using NetworkManager (Ubuntu etc.) wait for the address search to stop (notification area stops "connecting" animation) and you have a "disconnected" popup.
  • Issue the following command on the PC:
    Code:
    sudo ifconfig usb0 192.168.2.14 netmask 255.255.255.0 up
  • Then you may:
    Code:
    ssh root@192.168.2.15

If I want to connect using Windows, what is the equivalent of:
sudo ifconfig usb0 192.168.2.14 netmask 255.255.255.0 up

Does ipconfig provide this same functionality?
 

The Following User Says Thank You to bugelrex For This Useful Post: