Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autofind tun.ko driver and save into prefs #20

Open
GoogleCodeExporter opened this issue Aug 9, 2015 · 5 comments
Open

autofind tun.ko driver and save into prefs #20

GoogleCodeExporter opened this issue Aug 9, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

Proposal for a feature:
- on first startup try to autodetect the tun.ko driver and set the
preferences (insmod and tun.ko path)

Find the file with the following command (root not required) 
# find /sdcard /system /data -name tun.ko
/system/lib/modules/tun.ko


What do you think?

Original issue reported on code.google.com by christophevandeplas@gmail.com on 5 Apr 2010 at 8:12

@GoogleCodeExporter
Copy link
Author

See also:
http://code.google.com/p/android-openvpn-settings/source/detail?r=86651cf1503147
eb8eef77070dc9a995dba71767

Original comment by christophevandeplas@gmail.com on 5 Apr 2010 at 9:17

@GoogleCodeExporter
Copy link
Author

Original comment by christophevandeplas@gmail.com on 5 Apr 2010 at 9:17

@GoogleCodeExporter
Copy link
Author

I like the idea, but i would rather use a pure java solution in this case.
IMHO it would be better not to rely on an external process.

I already implemented a similar method in OpenVPN-Installer which we could use 
(Need
to add the recursion, but that's trivial).
Code is here:
http://code.google.com/p/android-openvpn-installer/source/browse/src/de/schaeuff
elhut/android/openvpn/installer/OpenVPNInstaller.java#440

The find process should run in int's own thread, while a progress bar is shown 
to the
user (even if scanning is be quick). Code for that might also be found in the
OpenVPN-Installer source.

Original comment by friedrich.schaeuffelhut on 5 Apr 2010 at 3:13

@GoogleCodeExporter
Copy link
Author

Original comment by friedrich.schaeuffelhut on 16 Sep 2010 at 3:04

@GoogleCodeExporter
Copy link
Author

Original comment by friedrich.schaeuffelhut on 28 Dec 2011 at 11:27

  • Added labels: tun.ko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant