From 07da9cd38bf6a485943aa458cd9641b37dafbdd4 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 30 May 2012 17:17:36 +0200 Subject: Add fix for CM9 /dev/tun ownership (closes issue #35) --- res/values/strings.xml | 7 +++++-- res/xml/main_headers.xml | 7 +------ 2 files changed, 6 insertions(+), 8 deletions(-) (limited to 'res') diff --git a/res/values/strings.xml b/res/values/strings.xml index bea7220c..a40c5830 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -125,7 +125,7 @@ Custom Options Edit VPN Settings Remove the VPN Profile %s? - " On some custom ICS images the permission on /dev/tun might be wrong, or the tun module might be missing completly" + " On some custom ICS images the permission on /dev/tun might be wrong, or the tun module might be missing completly. For CM9 images try the fix ownership option under general settings" Opening tun interface failed badly. "Error: " Clear @@ -194,10 +194,13 @@ imported profile imported profile %d Broken Images - <p>Offical HTC images are known to have a strange routing problem causing traffic not to flow through the tunnel (See also <a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=18\">Issue 18</a> in the bug tracker.)</p><p>The offical SONY images from Xperia arc S and Xperia Ray have been reported to be missing the VPNService completly from the image. Other Sony images may be affected as well. (See also <a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=29\">Issue 29</a> in the bug tracker.)</p><p>On custom build images the tun module might be missing or the rights of /dev/tun might be wrong. On the experimental CM9 Defy image a <i>chown system /dev/tun</i> is needed to make the VPNService API work.</p> + <p>Offical HTC images are known to have a strange routing problem causing traffic not to flow through the tunnel (See also <a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=18\">Issue 18</a> in the bug tracker.)</p><p>The offical SONY images from Xperia arc S and Xperia Ray have been reported to be missing the VPNService completly from the image. Other Sony images may be affected as well. (See also <a href=\"http://code.google.com/p/ics-openvpn/issues/detail?id=29\">Issue 29</a> in the bug tracker.)</p><p>On custom build images the tun module might be missing or the rights of /dev/tun might be wrong. Some CM9 images need the fix ownership option under general settings.</p> The username must not be empty. PKCS12 File Encryption Key Private Key Password Password + General Settings + Tries to set the owner of /dev/tun to system. Some CM9 images need this to make the VPNService API work. Requires root. + Fix owner of /dev/tun \ No newline at end of file diff --git a/res/xml/main_headers.xml b/res/xml/main_headers.xml index 030b5488..92740382 100644 --- a/res/xml/main_headers.xml +++ b/res/xml/main_headers.xml @@ -5,14 +5,9 @@ android:fragment="de.blinkt.openvpn.VPNProfileList" android:summary="@string/vpn_list_summary" android:title="@string/vpn_list_title" /> - - -