N900 USB networking
Using USB networking for Maemo applications
By default, standard network applications works well with USB networking, while Maemo-specific applications do not.
Install libicd-network-dummy
from Fremantle Nokia-binaries repository or better libicd-network-null
from extras-devel, and when USB networking is up pickup "Dummy network" from the connection manager.
If the dummy network does not show up in the network manager you could run
the following commands in xterm:
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"
and maybe
gconftool-2 -s -t string /system/osso/connectivity/IAP/DUMMY/autoconnect false
If connect automatically is used with "Any Connection", the phone will also use Dummy Network, which is not good. To prevent this, you need to run the following command :
gconftool -s /system/osso/connectivity/network_type/auto_connect -t list --list-type string "[WLAN_INFRA,GPRS]"
Keep in mind the above command will get overwritten if you change the value via UI. (If you choose any / wifi / gprs, and you will want to go back to "wifi or gprs" you will have to do the CLI thing again.
Then restart icd2:
killall icd2
or reboot the device.