longzuyuan / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
0 stars 0 forks source link

No automatic reconnect with only a "Mobile Data" connection #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
My phone uses only a "Mobile Data" (or GSM or 3G or whatever it is called 
correctly) and very seldom a WLAN. 

OpenVPN is set to reconnect on a switch between WLAN and "Mobile Data", but in 
my case i only switch between "Mobile Data" and "Nothing at all". OpenVPN does 
not reconnect, it merely hangs while RESOLVEing the host name.

My Phone is a Galaxy Note with Android 4.0.4

Regards, Christof

Original issue reported on code.google.com by xxx-goo...@netplan.de on 6 Aug 2012 at 7:21

GoogleCodeExporter commented 9 years ago
Update: i manually added a resolv-retry 99999 as a custom option. This helps 
insofar as OpenVPN keeps trying to resolve the host name. Unfortunatly, the 
Phone will never enter "Deep Sleep" that way. I think putting OpenVPN to sleep 
when no Data Connection is available might be a good idea for a future version.

Regards, Christof

Original comment by xxx-goo...@netplan.de on 9 Aug 2012 at 9:41

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 6e9d955db144.

Original comment by arne@rfc2549.org on 12 Aug 2012 at 1:06