[Nook HD+] VPN setup issues - Nook HD, HD+ Q&A, Help & Troubleshooting

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?

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?

[Q] Getting OpenVPN to Work

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?

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

[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.

Cisco Anyconnect VPN not working under CM11 M11

Hey there,
I'm using CM 11 M11 on my nook HD+ but somehow I can't connect with Cisco Anyconnect to a VPN, I always get the error: "VPN Server could not parse request." whereas it's working on CM11 on my Y300 phone with same settings.
I also tried the rooted edition of Anyconnect as it was mentioned somewhere else here but it still didn't work... Is there any fix to this problem? Or another working VPN app?
Thanks a lot, everything else is perfect in this ROM [emoji6]
luigipomodoro said:
Is there any fix to this problem?
Click to expand...
Click to collapse
Apparently, someone else last year had this problem with cm 10.1 -> http://forum.xda-developers.com/showthread.php?t=2348211
Also, you should check your password and username for non characters and numbers as a test - > https://supportforums.cisco.com/discussion/11178241/ssl-vpn-authentication-using-radius

Categories

Resources