The Following User Says Thank You to arne.anka For This Useful Post: | ||
|
2012-11-17
, 12:58
|
Posts: 21 |
Thanked: 101 times |
Joined on Aug 2012
|
#2
|
The Following 5 Users Say Thank You to Kerio For This Useful Post: | ||
|
2012-11-17
, 13:53
|
Posts: 198 |
Thanked: 76 times |
Joined on Mar 2010
|
#3
|
|
2012-12-01
, 00:34
|
Posts: 198 |
Thanked: 76 times |
Joined on Mar 2010
|
#4
|
gconftool-2 -s -t string /system/osso/connectivity/IAP/DUMMY/type USB gconftool-2 -s -t string /system/osso/connectivity/IAP/DUMMY/name 'Dummy network' gconftool-2 -s -t string /system/osso/connectivity/IAP/DUMMY/ipv4_address 192.168.2.15 gconftool-2 -s -t string /system/osso/connectivity/IAP/DUMMY/ipv4_gateway 192.168.2.14 gconftool-2 -s -t string /system/osso/connectivity/IAP/DUMMY/ipv4_netmask 255.255.255.0 gconftool-2 -s -t string /system/osso/connectivity/IAP/DUMMY/ipv4_dns1 8.8.8.8 gconftool-2 -s -t string /system/osso/connectivity/IAP/DUMMY/ipv4_dns2 8.8.4.4 gconftool-2 -s -t boolean /system/osso/connectivity/IAP/DUMMY/autoconnect true gconftool-2 -s -t string /system/osso/connectivity/IAP/DUMMY/ipv4_type STATIC gconftool-2 -s -t boolean /system/osso/connectivity/IAP/DUMMY/ipv4_autodns false
gconftool-2 -a /system/osso/connectivity/IAP/DUMMY
ipv4_address = 192.168.2.15 ipv4_autodns = false ipv4_gateway = 192.168.2.14 ipv4_type = STATIC name = Dummy network type = USB ipv4_dns1 = 8.8.8.8 ipv4_dns2 = 8.8.4.4 ipv4_netmask = 255.255.255.0 autoconnect = true
The Following User Says Thank You to arne.anka For This Useful Post: | ||
yesterday i stumbled over
libicd-network-usb
which seems to be the perfect solution to another one of nokia's blunders.
but, whenever i try to use that, i only get
"Internet connection failed. Unable to retrieve IP address from server. Try again?"
looks like it tries to retrieve a dhcp lease -- which imo makes no sense. who sets up a dhcp server just to connect his n900 via usb?
instead in /etc/network/interfaces i have
auto usb0
iface usb0 inet static
address 192.168.2.15
netmask 255.255.255.0
gateway 192.168.2.14
which works perfectly well and brings up usb0 with ip and stuff when pluging in usb and switching to PC Suite mode.
but the moment i try to connect via the "usb network" from libicd-network-usb, ip gets lost and above printed error appears.
what am i doing wrong?
and btw: how do i cleanly uninstall that thing again? after installation i had to issue three gconf commands
gconftool-2 -s -t string /system/osso/connectivity/IAP/USB/type USB
gconftool-2 -s -t string /system/osso/connectivity/IAP/USB/name 'USB Network'
gconftool-2 -s -t boolean /system/osso/connectivity/IAP/USB/autoconnect true
and since gconf is gnome's "We're worse than Windows' Registry!" attempt, i don't really know if and how i have to revert these commands ...