xiaoyanit / android-openvpn-settings

Automatically exported from code.google.com/p/android-openvpn-settings
GNU General Public License v3.0
0 stars 0 forks source link

can't assign the ip #37

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
On g2 android2.1, when connecting , it just cannot assign the ip, toast: 
ifconfig failed, exit with error status 1.

Then i run in the shell: #openvpn --config XXX.ovpn 
see: 
/system/xbin/ifconfig tun0 10.0.10.6 poingopoint 255.255.255.0 mtu 1500
ifconfig:SIOCSIFDSTADDR: Invalid argument
linux ifconfig failed:externam program exited with error status :1

and before that ,it gives a warning about the argument "255.255.255.0", said:
since you are using --dev tun with a point-to-point topolgy, the second 
argument to --ifconfig must be an IP address. You are using something 
255.255.255.0 that looks more like a netmask.

So why i got that? is my config worng?

Original issue reported on code.google.com by SlayersX...@gmail.com on 15 Aug 2010 at 2:19

GoogleCodeExporter commented 8 years ago
Please make sure this is not duplucate of issue 26 
(http://code.google.com/p/android-openvpn-settings/issues/detail?id=26) 

Also make sure it is not a problem due to a typo in 'poingopoint'.

Original comment by friedrich.schaeuffelhut on 16 Sep 2010 at 2:41

GoogleCodeExporter commented 8 years ago

Original comment by friedrich.schaeuffelhut on 16 Sep 2010 at 2:54