View Single Post
Posts: 198 | Thanked: 76 times | Joined on Mar 2010
#4
switched to libicd-network-null (though, in hindsight it wouldn't probably have made any difference) and spent some more time to substitute non-existent documentation.
finally came up with the following, which seems to work -- except "autoconnect", simply plugging in or unplugging the USB cable does _not_ trigger connect and disconnect respectively

Code:
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
(not sure, if the last line is necessary)
check with

Code:
gconftool-2 -a /system/osso/connectivity/IAP/DUMMY
returns:
Code:
 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
(if N*** hasn't been that ignorant, all this hassle would have been unnecessary, but so would probably be most of this forum ...).

Last edited by arne.anka; 2012-12-01 at 00:36.
 

The Following User Says Thank You to arne.anka For This Useful Post: