[Q] Getting OpenVPN to Work - Motorola Droid Bionic

I currently pay for a VPN service called Hide My Ass and it works nicely on my computer. I can use it on my Bionic but I would like to use OpenVPN. I installed from the Market the two OpenVPN Settings and Installer and copied the config files to the SD card. I found it here http://hidemyass.com/vpn-config/ Now for some reason when I try to log in to the VPN it won't connect. If anyone has any input on how to make this work I would appreciate it.
Thanks.

You need a tun.ko kernel module, and based on the word kernel and the locked bootloader I don't even know if that module would even help in any way.

I think this kernel has tun built in... I use vpnc all the time and it needs one too.
Sent from my DROID BIONIC using xda premium

bnred777 said:
I think this kernel has tun built in... I use vpnc all the time and it needs one too.
Sent from my DROID BIONIC using xda premium
Click to expand...
Click to collapse
OpenVPN will not work with OpenVPN and OpenVPN settings because there is no tun.ko kernel module. Tried this myself and nope, it's not going to work. There might be a way if there is a talented dev out there. I know that the boot has to be signed but I don't know about kernel modules. Beyond the module itself will the kernel even allow you to start a module anyway?

Related

[Module] tun.ko for stock 2.6.32.9 (for openvpn/vpnc/etc)

Compiled from the recent kernel source dump. Loaded just fine into the stock kernel, /dev/tun device created. I haven't had a chance yet to test out openvpn, but will later today.
Also, now that there's a tun/tap driver for the base android system, it should work within the webtop environment as well.
Enjoy.
EDIT: Tested with OpenVPN from the Market (Installer and Settings apps) and works fine.
I will be watching closely. I need vpn badly!
Where does the file go?
I put it in /system/lib/modules, but it can go pretty much anywhere if you're using it with the openvpn settings app, since you can specify the path that insmod uses.
I put it in /system/lib and it works fine with VPNC Widget. Thanks!
What exactly does this do? I hate to sound like a noob
Krshaw18 said:
What exactly does this do? I hate to sound like a noob
Click to expand...
Click to collapse
It gives us the virtual tunneling network interface so we can use openvpn.
agentdr8 said:
Compiled from the recent kernel source dump. Loaded just fine into the stock kernel, /dev/tun device created. I haven't had a chance yet to test out openvpn, but will later today.
Also, now that there's a tun/tap driver for the base android system, it should work within the webtop environment as well.
Enjoy.
EDIT: Tested with OpenVPN from the Market (Installer and Settings apps) and works fine.
Click to expand...
Click to collapse
I owe you a beer sir. With the past week to other good people in xda forums, I owe three beers in total.
Oh crap, I need root for OVPN and I upgraded to beta release. Oh well, time to SBF to stock.
Great find my friend !!! will this module work only on the android side or can it be worked in with the webtop side too ?
molotof said:
Great find my friend !!! will this module work only on the android side or can it be worked in with the webtop side too ?
Click to expand...
Click to collapse
agentdr8 said:
Also, now that there's a tun/tap driver for the base android system, it should work within the webtop environment as well.
Click to expand...
Click to collapse
Instead of using the android openvpn binary, you could use one compiled for linux arm within the webtop and it should work just fine.
1. lsmod shows tun.ko
2. VPNC set to enable VPN
3. Unable to ping any resources on the remote network. VPN says never connected.
Any thoughts on where to go from here?
This is a Cisco VPN I am connecting to.
Run a logcat either from adb shell or through ConnectBot/Terminal Emulator on phone and see what vpnc is doing during connection.
Tested and verified this works perfect with my Atrix connecting to an ASA 5500 Cisco appliance using IpSec. I made a video that will help people trying to understand all this. Just go to youtube and type android vpn. I'll be one of the first 5 videos and it's a 2 parter.
Thanks OP! I was looking for this back when I got my ATRIX and had no luck.
connexion2005 said:
Tested and verified this works perfect with my Atrix connecting to an ASA 5500 Cisco appliance using IpSec. I made a video that will help people trying to understand all this. Just go to youtube and type android vpn. I'll be one of the first 5 videos and it's a 2 parter.
Thanks OP! I was looking for this back when I got my ATRIX and had no luck.
Click to expand...
Click to collapse
That's my exact scenario and mine also works flawlessly.
Sent from my MB860 using XDA Premium App
I'm getting a connection, but no traffic is flowing through it. My laptop can connect though. Nothing returns a ping on the other end.
Kernel
Does any one have the module for kernel 2.6.32.9-00005?
--
Thanks
Scott
ZeroData said:
Does any one have the module for kernel 2.6.32.9-00005?
Click to expand...
Click to collapse
Try out the attached. The vermagic should match your OTA kernel exactly.
EDIT: Attachment removed (not working)
Getting -1 Unknown symbol in module
Can you post the last 20 lines of dmesg after trying the insmod?

tun.ko for GT-P7300

Hi,
Has anyone loaded tun.ko on GT-P7300? I guess this file is needed to make vpnc work..
if so, could you tell me the instructions to do so?
Thanks in advance,
Use _motley kernel.
It has tun module compiled inside, OpenVpn just work's fine.
Even the stock kernel has tun/tap compiled in. No need for a tun.ko module.
Thanks.
But what about vpnc? Is it working on the motley kernel?
Or is there any other way to make cisco VPN works on the GT?
Sent from my Nexus One using XDA App
i use 3.2 stockroom with root, busy box and superuser.
vpnc works fine
Thanks for giving the hope! Is there any step by step procedure? I have never worked with busybox, is there any certain settings i shuld go through?
What vpnc client you are using?
Sent from my Nexus One using XDA App
What about adding proxy
Thanks! I could make it work with your insights!
what about adding a proxy pac, is it possible in a way or another? Since over VPN I am not able to browse over the internet anymore, only intranet.
i connect with vpnc widget to my AVM Fritz Box 7390,
and modify the avm config "accesslist = "permit ip 0.0.0.0 0.0.0.0 192.168.1.201 255.255.255.255";"
with this change (blue) i browse now over the AVM Router.
my english is ugly, i know

Avast mobile security firewall activation problem

I am running Crash ROM v8.2 and hydracore 1.7 kernel. My phone is thus definitely rooted, superuser access for Avast is granted. but I cannot activate the firewall.
The error message I get is:
"error applying firewall rules (exit code 1):
dmessg:klogctl! Function not implemented".
I have uninstalled and reinstalled avast mobile security but to no avail.
Not sure how long this has been the case for as it worked when I orginally installed Avast several months ago but have updated the ROM and kernel a number of times since I last checked the firewall was working.
Any ideas how can I rectify this and activate the firewall please?!
Many thanks in advance...
Read this. http://forum.xda-developers.com/showpost.php?p=26515993&postcount=2
jonpaslim said:
Read this. http://forum.xda-developers.com/showpost.php?p=26515993&postcount=2
Click to expand...
Click to collapse
Thanks, but avast is free, a recognised anti-virus software provider, and has 10 million downloads from the play store so I don't think it's a scam!
Make sure Avast is granted in Device Administrators under Settings>Security>Device Administrators.
Avast works with logging, kernel you have has it disabled, which is why you get the error message I think. Someone has posted this already in the kernel thread. Forgot if it worked or not.
You should be able to enable logging by putting line androidlogger in a file somewhere in system, same way as you enable logging in speedmod. Might need to creaye the file first thought, root explorer is pretty straight forward in using that.
That will eat batterylife thought, so think about other solutions for firewall, like patch rom with pdroid or use something like droidwal that doesnt rely on logging.
Sent with a grin (^.^)
Hi OP, I had the issue with Speed mod and your kernel too.
Basically after conversing with Avast support and Speedmod 's Dev, I found that the issue is due to Kernal logging being disabled. This is not the Android logcat. As for solutions, Avast said they cannot do a thing while the Kernal Dev said it is not possible without recompiling the Kernal.
What you can do: go back to a supported Kernal.
Use another firewall software.
Sent from my GT-N7000 using Xparent SkyBlue Tapatalk 2
Markuzy said:
Hi OP, I had the issue with Speed mod and your kernel too.
Basically after conversing with Avast support and Speedmod 's Dev, I found that the issue is due to Kernal logging being disabled. This is not the Android logcat. As for solutions, Avast said they cannot do a thing while the Kernal Dev said it is not possible without recompiling the Kernal.
What you can do: go back to a supported Kernal.
Use another firewall software.
Sent from my GT-N7000 using Xparent SkyBlue Tapatalk 2
Click to expand...
Click to collapse
Thanks for clear, helpful analysis/options, and to others for their responses to.
Guess I'll look for different firewall software as I like the hydra kernel...
Sorry about the 4 year bump, but since avast v5.9.2, running on Nougat, how come whenever I access the app permissions menu, app locking gets disabled in avast?

[Nook HD+] VPN setup issues

Hi there,
I'm a student and need to use VPN on my Nook HD+ to get access to the exclusive resources of the university like electronic library, etc. The university VPN service uses IPSec, IPSEC TCP/UDP with Xauth method, and it has a group name and group secret. I've searched the playstore and the only two clients which support this feature are VPNC widget and openVPN, but they both have issues I cannot solve. VPNC widget could not start properly and reports error saying that my TUN is not installed properly, so I downloaded tun.ko installer to install the tun according to my android OS and kernel versions, but the installer says the file downloaded is not compatible. The openVPN requires CA certificate for the IPSEC TCP/UDP feature, which I don't know how to set up (sorry for the novice I've been). Could anyone who knows how to resolve the VPN issue please share some insights, thank you very much!
lampardlb
lampardlb said:
Hi there,
I'm a student and need to use VPN on my Nook HD+ to get access to the exclusive resources of the university like electronic library, etc. The university VPN service uses IPSec, IPSEC TCP/UDP with Xauth method, and it has a group name and group secret. I've searched the playstore and the only two clients which support this feature are VPNC widget and openVPN, but they both have issues I cannot solve. VPNC widget could not start properly and reports error saying that my TUN is not installed properly, so I downloaded tun.ko installer to install the tun according to my android OS and kernel versions, but the installer says the file downloaded is not compatible. The openVPN requires CA certificate for the IPSEC TCP/UDP feature, which I don't know how to set up (sorry for the novice I've been). Could anyone who knows how to resolve the VPN issue please share some insights, thank you very much!
lampardlb
Click to expand...
Click to collapse
First, are you rooted? Have you enabled 'unknown sources?" Running CM or stock?
Second, there was a discussion of VPN elsewhere, try searching, it may help.
The reason VPN doesn't work, with the exception of PPTP, is because it doesn't have tunnel module. That mean the tun.ko need to be compile for the Nook HD+ and put it on the device(symbolic link to the right directory). The module may still need to be manually loaded every boot, idk.
dbh369 said:
First, are you rooted? Have you enabled 'unknown sources?" Running CM or stock?
Second, there was a discussion of VPN elsewhere, try searching, it may help.
Click to expand...
Click to collapse
Thanks mate, really appreciate your help.
I'm running CM10 build 121230, so I guess it's rooted. I'll try to find that thread, thanks.
someone0 said:
The reason VPN doesn't work, with the exception of PPTP, is because it doesn't have tunnel module. That mean the tun.ko need to be compile for the Nook HD+ and put it on the device(symbolic link to the right directory). The module may still need to be manually loaded every boot, idk.
Click to expand...
Click to collapse
Thanks for your reply.
the database of DroidVPN has a tun.ko file for 4.1.2 and kernel 3.0.31,just as mine, but it's for Nook HD, not HD+. Is it tedious to compile a tun file? do you think I can do it myself?

[Req] tun.ko for stock kernel?

I'm looking for a tun.ko module for the stock kernel, so I can use DroidVPN. Does anyone know where I can find this module? Or can one of the devs around here compile one for us?
Using OpenVPN Settings and it doesn't requires additional tun.ko. Is says "TUN device is at /dev/tun" and works fine! Just need to install OpenVPN binary using OpenVPN Installer.
Maybe you should just make some configurations?
Ah, apparently it's baked into the kernel, so we don't need a module.

Categories

Resources