View Single Post
Posts: 15 | Thanked: 15 times | Joined on Dec 2009 @ Brisbane, Australia
#6
All the info you need should be on the wiki page (http://wiki.maemo.org/N900_USB_networking). I used that no probs but I have a Linux desktop. What OS do you run on your desktop?

If you're having problems with the device-side setup, here's my condensed instructions (I made these because I've had to rebuild my N900 a few times already) which are based on the wiki page.

Connect to a network (Wifi/3G) to install required software: rootsh, openssh.
Connect via USB and select PC Suite mode.
Run X-Terminal: sudo gainroot then ifup usb0.
Confirm that you can login via SSH.

On the device:
edit /etc/network/interfaces:
Code:
	up route del default
	up route add default gw 192.168.2.14
        up run-standalone.sh dbus-send --type=method_call --system --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:DUMMY uint32:0
        down run-standalone.sh dbus-send --system --dest=com.nokia.icd /com/nokia/icd_ui com.nokia.icd_ui.disconnect boolean:true
Run those route commands now.
Verify that you can ping a server on the internet (traffic is going out via USB cable).
Create /etc/apt/sources.list:
Code:
deb http://repository.maemo.org/extras-testing/ fremantle free non-free 
deb http://repository.maemo.org/extras-devel/ fremantle free non-free
Install some required bits and set them up:
Code:
apt-get update
apt-get install libicd-network-null
gconftool-2 -s -t string /system/osso/connectivity/IAP/DUMMY/type DUMMY
gconftool-2 -s -t string /system/osso/connectivity/IAP/DUMMY/name "Dummy Network"
gconftool-2 -s -t boolean /system/osso/connectivity/IAP/DUMMY/autoconnect false
Edit /usr/sbin/pcsuite-*:
Before the exit 0 line at the end add ifup usb0 or ifdown usb0 depending on the script.
Edit /etc/resolv.conf
Code:
# Google DNS
nameserver 8.8.8.8
nameserver 8.8.4.4
MAC address fixing:
Code:
echo options g_nokia host_addr=00:11:22:33:44:55 > /etc/modprobe.d/g_nokia
Turn off extras-devel in /etc/apt/sources.list.
Run apt-get update

If you get to something that doesn't work, please reply letting me know which step failed. If it's that you can't ping after running the route commands your desktop machine isn't setup right.
 

The Following 3 Users Say Thank You to a1291762 For This Useful Post: