Update: See saturn_de's thread for more modules:
http://forum.xda-developers.com/showthread.php?t=1455382
---
Asus failed big time with their ICS kernel. Not only did they leave out the tun module, they also left out several other required options.
After a lot of trial and error, I've found all the modules necessary to connect to VPN, at least using IPSec XAuth PSK mode with my employer's setup. It may or may not work for you.
Root is required. You can find the compiled modules attached. There is a _readme.txt file inside with instructions. Let me know your results!
Thanks to sklid for his initial tun.ko. If you're looking for cifs.ko, you can find it here:
CIFS kernel module for ICS.
Reserved, or something. Although I can hardly imagine actually needing this.
They also left out the ability to properly use the Battery setting for anything other than system processes - can you fix that in your kernel
Oh & can you fix the ad hoc network issue while your at it
Edited: I wished init.goldfish.sh would work. Anyone knows which script got called at startup?
I modified your instruction a bit as my shell script. It does not work if I tried with the ICS VPN - IPSec Xauth PSK. It works using VPN Widget from market.
You can copy the attached file into /etc and set executed permission for it via Root Explorer. When you need vpn, open terminal then execute it after becoming root. Then setup your vpn widget to connect.
huytrang90 said:
Edited: I wished init.goldfish.sh would work. Anyone knows which script got called at startup?
I modified your instruction a bit as my shell script. It does not work if I tried with the ICS VPN - IPSec Xauth PSK. It works using VPN Widget from market.
You can copy the attached file into /etc and set executed permission for it via Root Explorer. When you need vpn, open terminal then execute it after becoming root. Then setup your vpn widget to connect.
Click to expand...
Click to collapse
Is this the app you're talking about? VPNC Widget
If so, it may be something that vpnc supports but the built-in racoon doesn't. I wonder how your VPN is set up differently from mine. Could you post the logcat output (filtered by racoon) from when you're trying to connect using the built-in VPN tool?
I Thanked you for your effort and excellent documentation, but unfortunately my Prime reboots as soon as it completes Phase 2 negotiation. Can post gory details tomorrow if you're interested. Hopefully your work gets the attention of the devs at Asus!
Noxious Ninja said:
Is this the app you're talking about? VPNC Widget
If so, it may be something that vpnc supports but the built-in racoon doesn't. I wonder how your VPN is set up differently from mine. Could you post the logcat output (filtered by racoon) from when you're trying to connect using the built-in VPN tool?
Click to expand...
Click to collapse
That is correct program. I will get that logcat once I have access to PC.
Sent from my Transformer Prime TF201 using Tapatalk
Hey OP or anyone that knows, do you think this works with VPNsecure?
Tairen said:
Hey OP or anyone that knows, do you think this works with VPNsecure?
Click to expand...
Click to collapse
This VPNSecure? Maybe. I've used a PPTP VPN in Gingerbread on my phone before. I don't think ICS has built-in OpenVPN support, though, so you would have to use these kernel modules with the third-party OpenVPN Installer - assuming it still works with ICS.
If you decide to give it a try, let us know if/how it works.
Noxious Ninja said:
This VPNSecure? Maybe. I've used a PPTP VPN in Gingerbread on my phone before. I don't think ICS has built-in OpenVPN support, though, so you would have to use these kernel modules with the third-party OpenVPN Installer - assuming it still works with ICS.
If you decide to give it a try, let us know if/how it works.
Click to expand...
Click to collapse
Damnit so close. Just tried, got all the way through but when I tried to connect after typing in the passphrase this is what I got:
Wait..
Auth..
Get config..
FATAL: Cannot allocate TUN/TAP dev dynamically
My prime appears to connect fine but when I try to access any data over the connection it restarts.
Connection via the widget above works perfect tho!
Tairen said:
Damnit so close. Just tried, got all the way through but when I tried to connect after typing in the passphrase this is what I got:
Wait..
Auth..
Get config..
FATAL: Cannot allocate TUN/TAP dev dynamically
Click to expand...
Click to collapse
Is this from OpenVPN or PPTP? Are there any more detailed logs?
ssjgesus said:
My prime appears to connect fine but when I try to access any data over the connection it restarts.
Connection via the widget above works perfect tho!
Click to expand...
Click to collapse
Strange that multiple people are having restarts. I wonder if there's something in the vanilla Android kernel that doesn't match up with the Asus kernel, or something missing in my modules. It might just be a bug in Android, though. The VPNC Widget totally bypasses a lot of the built-in ICS VPN pieces and uses its own stuff instead.
Noxious Ninja said:
Is this from OpenVPN or PPTP? Are there any more detailed logs?
Strange that multiple people are having restarts. I wonder if there's something in the vanilla Android kernel that doesn't match up with the Asus kernel, or something missing in my modules. It might just be a bug in Android, though. The VPNC Widget totally bypasses a lot of the built-in ICS VPN pieces and uses its own stuff instead.
Click to expand...
Click to collapse
That program works well. It does complain about missing advance routing capability, but works nonetheless.
Sent from my Transformer Prime TF201 using Tapatalk
Noxious Ninja said:
Is this from OpenVPN or PPTP? Are there any more detailed logs?
Strange that multiple people are having restarts. I wonder if there's something in the vanilla Android kernel that doesn't match up with the Asus kernel, or something missing in my modules. It might just be a bug in Android, though. The VPNC Widget totally bypasses a lot of the built-in ICS VPN pieces and uses its own stuff instead.
Click to expand...
Click to collapse
It's what i get when using openvpn settings and following their instructions. I also directed the filepath to tun.ko as well. And yes i was trying to connect to one of their PPTP servers.
i am having restarts as well. how can i see the log of the vpn trying to connect?
ASUS released the kernel source today on their page, so can we get custom kernels now?
DroidHam said:
ASUS released the kernel source today on their page, so can we get custom kernels now?[/QUOT
Need unlocked bootloader & Recovery to flash.
Click to expand...
Click to collapse
When I issue "insmod tun.ko", I get
"insmod: init_module fail 'tun.ko' failed (Exec format error)"
I'm running the virtuous rom 9.4.2.15v2
Pls help
bklm1234 said:
When I issue "insmod tun.ko", I get
"insmod: init_module fail 'tun.ko' failed (Exec format error)"
I'm running the virtuous rom 9.4.2.15v2
Pls help
Click to expand...
Click to collapse
TUN is already enabled in the stock kernel that comes with Asus 9.4.2.15. It may not have been in earlier Samsung kernels before that. So, you shouldn't need to load that module.
you're right _motley. Thx so much.
Related
I have been having trouble connecting to my work VPN with the G-Tablet. I have since tried going to ZPad 3.0 in hopes this would fix the issue. However, no luck. The VPN server is reporting an event error of 20209.
After a few hours of looking on other forums it turns out this have been an issue since Android 2.1. They have either intentionally left out the encryption module from PPPD or it was forgotten in the build. The 'fix' is to copy the PPPD file from a version prior to 2.1 (Android 1.5?) and save it to the System/xbin directory. However there is an argument over if should go into system/bin for 2.2.
Does anyone have more information on this - or better yet a fix/update? Any help on this would be appreciated.
which ROm are you using
stock ROM doesn't have VPN at all.
justauser said:
stock ROM doesn't have VPN at all.
Click to expand...
Click to collapse
I'm using ZPAD 3.0 ROM at the moment.
I have narrowed it down to a problem with the MPPE 128 encryption. I have found a PPPD that is supposed to fix the problem (see link below), but I don't now how to get it to the system directory. How do you mount system as R/W?
Alternate PPPD:
H***://melko.hiljanen.com/~qvr/android/ppp/
Root explorer will allow you to mount it that way
Sent from my DROIDX using Tapatalk
Let me know how it goes... I have been trying to connect my gtab but I thought I was the only person interested!
Sent from my DROIDX using XDA App
vectorcharlie said:
Let me know how it goes... I have been trying to connect my gtab but I thought I was the only person interested!
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
Ditto!!!!!!!!
Tried your link, getting the same error I've seen in the past:
Code:
pppd: This system lacks kernel support for PPP. This could be because
the PPP kernel module could not be loaded, or because PPP was not
included in the kernel configuration. If PPP was included as a
module, try `/sbin/modprobe -v ppp'. If that fails, check that
ppp.o exists in /lib/modules/`uname -r`/net.
See README.linux file in the ppp distribution for more details.
I think(?) we need a customized kernel with ppp. So far, we have NTFS and CIFS support that's been added by some of the devs, here.
vectorcharlie said:
Let me know how it goes... I have been trying to connect my gtab but I thought I was the only person interested!
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
No luck. The PPPD file didn't make a difference. I guess I should not have been surprised. The L2TP connections are supposed to work so I may try that tomorrow - if I can convince the network admin to make the changes on the vpn server.
The lastest info I have been able to collect on this issue is that it has been known at google since 2.0 was released. They were having a problem keeping a connection using MPPE 128 over PPTP so instead of releasing something that did not work right, they removed support for it until a later date. Said date has not been determined.
I will keep you posted as I find out more.
roebeet said:
Tried your link, getting the same error I've seen in the past:
Code:
pppd: This system lacks kernel support for PPP. This could be because
the PPP kernel module could not be loaded, or because PPP was not
included in the kernel configuration. If PPP was included as a
module, try `/sbin/modprobe -v ppp'. If that fails, check that
ppp.o exists in /lib/modules/`uname -r`/net.
See README.linux file in the ppp distribution for more details.
I think(?) we need a customized kernel with ppp. So far, we have NTFS and CIFS support that's been added by some of the devs, here.
Click to expand...
Click to collapse
I came across this too. Since the ppp directory exists under system/etc I have made the assumption that there is support for it (at least under ztab 3.0). In order to check using the method above we would need a terminal app or some other way to run the commands. If there is a way to do it natively I am too new to know.
Any devs willing to tackle this issue?
Newanzer said:
No luck. The PPPD file didn't make a difference. I guess I should not have been surprised. The L2TP connections are supposed to work so I may try that tomorrow - if I can convince the network admin to make the changes on the vpn server.
...
I will keep you posted as I find out more.
Click to expand...
Click to collapse
No luck. The Net Admin decided it would be too much work just for a tablet test (and his iPAD VPN work just fine thank you). Anyone willing to try a L2TP test?
I have tried L2TP in Vegan with no success. used my android phone to verify settings and it works fine from there.
nephelim said:
I have tried L2TP in Vegan with no success. used my android phone to verify settings and it works fine from there.
Click to expand...
Click to collapse
Ok so that is 2 ROMs down:
TNT Stock - No option
Vegan - Not functional
Just need TNT light and Zpad Clean v3.0 tested. I'm suspecting that it will be no for both. This is starting to creep higher on my list of needs. Does anyone know of a ROM VPN works in?
I confirm that the advent vega rom has the same problem.
Unable to use vpn.
Newanzer said:
Ok so that is 2 ROMs down:
TNT Stock - No option
Vegan - Not functional
Just need TNT light and Zpad Clean v3.0 tested. I'm suspecting that it will be no for both. This is starting to creep higher on my list of needs. Does anyone know of a ROM VPN works in?
Click to expand...
Click to collapse
Do you need tun.ko/kernel support for this stuff? Clemsyn compiled that into one of his kernels - check his thread in the Development forum out, and give that kernel a try with the Vegan ROM, that might get you closer.
rcgabriel said:
Do you need tun.ko/kernel support for this stuff? Clemsyn compiled that into one of his kernels - check his thread in the Development forum out, and give that kernel a try with the Vegan ROM, that might get you closer.
Click to expand...
Click to collapse
That could be worth the check. I would like to see a list of exactly what his kernel supports before I try though.
[EDIT]: Checked change log. VPN module in kernel not mentioned.
Looking over the list of known issues at Google, this problem has been known for a while. The fact that Google hasn't addressed it worries me a bit. It is possible that since phones are the largest part of their OS client, VPN isn't a high priority. They may be waiting for the open source community to solve their problem for them.
Was able to get VPN working
YOU WILL NEED TO HAVE ROOT AND BUSYBOX INSTALLED. PLEASE MAKE A BACKUP IN CASE SOMETHING GOES WRONG.
1st you will need the new kernel found at the below address.
http://forum.xda-developers.com/showthread.php?t=903505
2nd you will need to insert the tun.ko included in with the kernel into /system/lib/modules/2.6.32.27-cyanogenmod folder on the tablet using root explorer.
3rd you will need to install the latest version of vpn from
http://code.google.com/p/get-a-robot-vpnc/downloads/list
4th install a terminal emulator and then you will need type the following commands
su (press enter)
cd /system/lib/modules/2.6.32.27-cyanogenmod (press enter)
insmod tun.ko (press enter)
You should now be able to connect on VPN.
there is very easy installation get and run vpn frome purevpn........
brainyjd said:
YOU WILL NEED TO HAVE ROOT AND BUSYBOX INSTALLED. PLEASE MAKE A BACKUP IN CASE SOMETHING GOES WRONG.
1st you will need the new kernel found at the below address.
http://forum.xda-developers.com/showthread.php?t=903505
2nd you will need to insert the tun.ko included in with the kernel into /system/lib/modules/2.6.32.27-cyanogenmod folder on the tablet using root explorer.
3rd you will need to install the latest version of vpn from
http://code.google.com/p/get-a-robot-vpnc/downloads/list
4th install a terminal emulator and then you will need type the following commands
su (press enter)
cd /system/lib/modules/2.6.32.27-cyanogenmod (press enter)
insmod tun.ko (press enter)
You should now be able to connect on VPN.
Click to expand...
Click to collapse
Sorry for asking this noob question, but is this VPN fix only for Cyanogenmod, or will work with others, such as TnT Lite?
I'm running TnT lite and there no's VPN setup option.
tnt is missing the vpn shortcut
use VPN Show
Kazuyuki Eguchi/Tools
found in android market to access the vpn menu
i have used with sucess on most roms open vpn and open vpn settings
with out problems just by install them and setting it to auto run at start
with install to xbin and create a folder on internal sd "openvpn"
then place a vpn.conf file there
then connect this cause an error but causes super user to give it root rights
after that all my vpn,s work with out going near openvpn
purevpn said:
there is very easy installation get and run vpn frome purevpn........
Click to expand...
Click to collapse
Please elaborate...
Thanks!
I am running the wistilt kernel and not the most current RIL but one of the new RIL from the original RIL thread, but I am not sure it really matters as long as you are using an autobuild version or testing variant of it.
I will caveat that the native Android VPN will not work for my company because it uses Cisco IPSec with Group Name and Password on it. The IPSec in Android is some weird variant of IPSec that is not compatible with Cisco systems. This is a known problem in Android.
Here is what I did. I downloaded VPNC Widget from the markethttps://market.android.com/details?id=com.gmail.mjm4456.vpncwidget It is a simple Widget that is a one-click VPN start/stop.
I then had to get "tun" running on our build. I found it in /system/lib/modules/ folder. I went to Terminal Emulator went to root by typing "su" without quotes. I then type in "mknod /system/lib/modules/tun c 10 200" then I type "modprobe tun". If you get any kind of errors about not finding the file just go "cd /system/lib/modules" and try again. I forget if I had to do that or not.
Once I did that and set up the VPNC Widget with all my info it logged into my VPN, and I was able to set up my Microsoft Exchange server for email, and I was able to use a VNC app to remote into my work desktop.
I thought I might have to add some info into the conf file, but actually it works even after reboot. Maybe some of the developers can tell me why that is, because I was under the assumption a reboot would reset everything again.
Anyway just an FYI. Thought I would help some people wanting to VPN.
On many Linux systems, device files in /dev are created by udev. In our case we might have fixed device files, not sure.
It's odd that you mknoded /system/lib/modules/tun - usually you mknod stuff in /dev/...
Weird...
However what may have happened is that once the device file was mknoded, it stays in the filesystem, and the module autoloads once the device exists.
Entropy512 said:
On many Linux systems, device files in /dev are created by udev. In our case we might have fixed device files, not sure.
It's odd that you mknoded /system/lib/modules/tun - usually you mknod stuff in /dev/...
Weird...
However what may have happened is that once the device file was mknoded, it stays in the filesystem, and the module autoloads once the device exists.
Click to expand...
Click to collapse
I agree most things I see using mknod are in /dev/, but the tun file was not in that folder for me, so I searched for it, and that was the only place I found it. I guess that means that our build wasn't meant to support VPN originally even with the built in Android VPN stuff showing on it. I don't have a home VPN or I would try the Android built on VPN to see if it works now. Although I am thinking about setting one up, but I don't even have a desktop right now so it would be worthless until I get a NAS or desktop on my network.
Which reminds me if wistilt2 has added iptable support into his kernel yet. Off to investigate!
Haven't seen anyone posted the CIFS module for stock Dell Streak kernel. So, attached a copy here for your streaming enjoyment, built from streak_3.09_kernel, tested on stock ROM 360.
Remember to load slow-work.ko before cifs.ko
Happy streaming
UPDATE: Attached nls_utf8.ko in case anyone needed the UTF-8 support as well.
Thank you !!!
Sent from my Dell Streak using XDA App
streakOwner said:
Thank you !!!
Sent from my Dell Streak using XDA App
Click to expand...
Click to collapse
No worry, yay I got a thank meter now
Btw looks like you're using 360 ROM as well. Do you notice wifi turning off when you lock the screen with the power button? Looks like I need to solve that one now to be able to stream music with the screen off
UPDATE: It doesn't seems to be entirely shut off when screen is turned off. Audio plays intermittently, 2-5 seconds pause, continue playing, all over again. Not skipping though
That is very annoying to me too, bcs I do a lot of Skype voicing but have to keep the screen on bcs of the connectivity issue on the wifi . Yes exactly the same symptoms but not only on the 360 also on other customed ROM . Atm I am using 2.3.3 from fardo and the same issue here too.
Sent from my Dell Streak using XDA App
streakOwner said:
That is very annoying to me too, bcs I do a lot of Skype voicing but have to keep the screen on bcs of the connectivity issue on the wifi . Yes exactly the same symptoms but not only on the 360 also on other customed ROM . Atm I am using 2.3.3 from fardo and the same issue here too.
Sent from my Dell Streak using XDA App
Click to expand...
Click to collapse
Good news that it isn't because a bug on the cifs module I built as I've modified some code
I think I remembered having the same problem with IM+, sometimes I found my session disconnected when turning the screen back on.
It seems to be the problem with some bandwidth limiter when screen is turned off. There is already a solution, not sure if we can apply it to Streak's firmware.
http://forum.xda-developers.com/showthread.php?t=752856
watch_mania said:
Good news that it isn't because a bug on the cifs module I built as I've modified some code
I think I remembered having the same problem with IM+, sometimes I found my session disconnected when turning the screen back on.
It seems to be the problem with some bandwidth limiter when screen is turned off. There is already a solution, not sure if we can apply it to Streak's firmware.
http://forum.xda-developers.com/showthread.php?t=752856
Click to expand...
Click to collapse
Wifi problem solved, weak wireless problem as well as bonus
Will post in another thread.
thanks alot for this mate one of the best streak mods ever!!
just to clarify,
1) flash slow-works.ko via streakmod/cwm
2) flash cifs.ko
right?
crashDebug said:
thanks alot for this mate one of the best streak mods ever!!
just to clarify,
1) flash slow-works.ko via streakmod/cwm
2) flash cifs.ko
right?
Click to expand...
Click to collapse
Hmm the zip files on the first post isn't a clockworkmod update.zip. You need to copy over manually on rooted systems.
But I've packaged them as update.zip in this post's attachment
Basically, the easiest way to enable cifs support is now:
1) Flash cifs-streak360-update.zip with StreakMod or CWM.
2) Install CifsManager.
3) Open CifsManager settings, check the "Load cifs module".
4) Make sure "Load via insmod" is checked.
5) Set the "Path to cifs.ko[:<modpath>]*" to "/system/lib/modules/slow-work.ko:/system/lib/modules/cifs.ko", without the quotes.
6) Now the cifs module won't get loaded on system startup, but instead loaded on demand when you start CifsManager before attemping to mount samba shares.
streakOwner said:
That is very annoying to me too, bcs I do a lot of Skype voicing but have to keep the screen on bcs of the connectivity issue on the wifi . Yes exactly the same symptoms but not only on the 360 also on other customed ROM . Atm I am using 2.3.3 from fardo and the same issue here too.
Sent from my Dell Streak using XDA App
Click to expand...
Click to collapse
Have you guys tried going to Settings, wireless and wifi, wifi settings, advanced, wifi sleep policy and changing it from When screen turns off to Never?
Sent from my Dell Streak using XDA App
ThinkinBig said:
Have you guys tried going to Settings, wireless and wifi, wifi settings, advanced, wifi sleep policy and changing it from When screen turns off to Never?
Sent from my Dell Streak using XDA App
Click to expand...
Click to collapse
Yes, we have.
Sent from my Dell Streak using XDA App
Tried just now with no luck
flashed everything installed fine and the services are up and running (checked via adb lsmod) but cifs manager fails stating that 'Mounting the share has failed with an error. Mount: invalid argument'. I am confident that everything is setup properly and the network share path is correct. I tried both with the netbios name and the ip address but still, no luck. Any thoughts chaps?
crashDebug said:
Tried just now with no luck
flashed everything installed fine and the services are up and running (checked via adb lsmod) but cifs manager fails stating that 'Mounting the share has failed with an error. Mount: invalid argument'. I am confident that everything is setup properly and the network share path is correct. I tried both with the netbios name and the ip address but still, no luck. Any thoughts chaps?
Click to expand...
Click to collapse
Try flashing with Superuser.zip rooting script. Could've been requiring mount command which came from busybox from the Superuser.zip. Not sure as I haven't ever done that without busybox and (possibly) mount symlinked.
watch_mania said:
Try flashing with Superuser.zip rooting script. Could've been requiring mount command which came from busybox from the Superuser.zip. Not sure as I haven't ever done that without busybox and (possibly) mount symlinked.
Click to expand...
Click to collapse
well I have root and cifsmanager obtains root access correctly, and I have busybox installed as well (1.19 iirc).
to troubleshoot I have also tried a 'clean' mount command from shell which reads
# su mount -t cifs -o username=xxx,password=yyy //server/path /mnt/cifs/
and I still get mount: invalid argument.
Quite baffled I am
crashDebug said:
well I have root and cifsmanager obtains root access correctly, and I have busybox installed as well (1.19 iirc).
to troubleshoot I have also tried a 'clean' mount command from shell which reads
# su mount -t cifs -o username=xxx,password=yyy //server/path /mnt/cifs/
and I still get mount: invalid argument.
Quite baffled I am
Click to expand...
Click to collapse
Would removing the double slash before the server host or ip helps?
watch_mania said:
Would removing the double slash before the server host or ip helps?
Click to expand...
Click to collapse
thought about it already. tried both ip and netbios with and without double slash, same difference :\
crashDebug said:
thought about it already. tried both ip and netbios with and without double slash, same difference :\
Click to expand...
Click to collapse
Try replacing "su" with "busybox". But run "su" before that
watch_mania said:
Try replacing "su" with "busybox". But run "su" before that
Click to expand...
Click to collapse
Nothings changed. I notice though that the error goes away (or at least changes) as soon as I remove the -t argument. I tried just for checking to mount blabla -t nfs and i still get invalid argument. It seems that mount cannot understand -t ??? doesnt make sense
Hi guys,
i can't vpn using openvpn app. Anyone have a same problem? I have checked that sgs 3 don't active tun.ko in kernel, try to install tun.ko but don't know where to place this file because there no folder /system/lib/modules.
Do you know how to install tun.ko on galaxy S3?
Thanks
The tun.ko must be strict conformance with kernel.
So you can compile a tun.ko from kernel resource code with same version.
Extract /proc/config.gz from the Android phone to Linux paltform.
Use that .config to make tun.ko module.
insmod tun.ko on the phone.
Use lsmod and dmesg command to check tun status.
working openvpn, very easy
According to to viulian in this cifs mod thread the s3 kernel already has a tun module so hurray for that.
However, I used to use openvpn settings and installer I couldn't get these to play.
instead I tried "openvpn for android" and it works a charm with all my open vpn certificates out of the box, no root required. Happy days.
beetnubbin said:
According to to viulian in this cifs mod thread the s3 kernel already has a tun module so hurray for that.
However, I used to use openvpn settings and installer I couldn't get these to play.
instead I tried "openvpn for android" and it works a charm with all my open vpn certificates out of the box, no root required. Happy days.
Click to expand...
Click to collapse
Could you please tell how you got OpenVPN for Android to read the openvpn configuration ffiles?
I have three:
*_ddwrt_small.sh
*_ddwrt.sh
*.ovpn
The "*" is my OpenVPN account name from strongvpn.com. I put the files in /sdcard/openvpn but just get a bunch of errors
Thanks in advance!
aZooZa said:
Could you please tell how you got OpenVPN for Android to read the openvpn configuration ffiles?
I have three:
*_ddwrt_small.sh
*_ddwrt.sh
*.ovpn
The "*" is my OpenVPN account name from strongvpn.com. I put the files in /sdcard/openvpn but just get a bunch of errors
Thanks in advance!
Click to expand...
Click to collapse
You have to load each individual certificate. Click on "all your precious vpns" then click on the folder icon and direct the app to your vpn certificates, select one and click save. It's a bit annoying that it doesn't automatically load the folder and that you have to name them manually but it does work and you can also create shortcuts to each vpn and put them in a folder for super quick access.
Hope that helps
beetnubbin said:
You have to load each individual certificate. Click on "all your precious vpns" then click on the folder icon and direct the app to your vpn certificates, select one and click save. It's a bit annoying that it doesn't automatically load the folder and that you have to name them manually but it does work and you can also create shortcuts to each vpn and put them in a folder for super quick access.
Hope that helps
Click to expand...
Click to collapse
Thanks for that. I just can't get OpenVPN to work, so have installed PPTP/L2TP from strongvpn.com which works just fine, and also on my other devices that don't support OpenVPN without jailbreaking. I won't name those devices here
Phuongld said:
Hi guys,
i can't vpn using openvpn app. Anyone have a same problem? I have checked that sgs 3 don't active tun.ko in kernel, try to install tun.ko but don't know where to place this file because there no folder /system/lib/modules.
Do you know how to install tun.ko on galaxy S3?
Thanks
Click to expand...
Click to collapse
Anyone know how? Please explain in the noobest way as possible. I'm new to this kernel thing. :|
Hi,
Just done a factory reset and upgraded to r5 , this is a UK tablet, region changed to US and flashed. I then rooted using Root_with_Restore_by_Bin4ry_v13 . After several try I got it working, but I had to use a signed VPNfaker to accomplish this.
So now I want to use a VPN, before I used OpenVPN, this worked perfectly, now it fails to connect. I get the error - Running on Sony Tablet S (nbx03) Sony, Android API 15. Your image does not support the VPNService API, Sorry
I tried to use OpenVPN Connect , getting the error due to a know bug in this version of android it is not possible to gain permission to open a VPN Tunnel.
So last attempt using the built in L2tp/IPSec option, with this I just get a timeout error. No Connection.
So was it the rooting method damaged or changed something with VPN or is it this version US R5 ?
Anyone got VPN working on US R5 ?
OpenVPN is working fine on my tablet S with release 5. I use the apps 'OpenVPN Installer' and 'OpenVPN Settings' from Google Play...
Sent from my Sony Tablet S using xda app-developers app
walsera said:
OpenVPN is working fine on my tablet S with release 5. I use the apps 'OpenVPN Installer' and 'OpenVPN Settings' from Google Play...
Sent from my Sony Tablet S using xda app-developers app
Click to expand...
Click to collapse
That was the second option I tried. I enabled the VPN service, then selected the VPN I want to connect. It initiates the connection then stops after a second with no results in the log file. Did you try any of the other VPN apps that don't require root, OpenVPN Connect (I think US Market only) or OpenVPN for Android, this work really well on my Xperia S .
How did you root your Tablet ?
Did you do the incremental update or full install ?
I flashed the full update and basically used the same method like you. I also had to sign VpnFaker.apk for my Swiss tablet... I don't remember any issuses installing OpenVPN (OpenVPN Installerhttps://play.google.com/store/apps/details?id=de.schaeuffelhut.android.openvpn.installer, OpenVPN Settingshttps://play.google.com/store/apps/details?id=de.schaeuffelhut.android.openvpn). Interestingly, no tun.ko module is required.
I quickly tried the apps you suggested and which don't require root. But they didn't work for me in a quick test.
walsera said:
I flashed the full update and basically used the same method like you. I also had to sign VpnFaker.apk for my Swiss tablet... I don't remember any issuses installing OpenVPN (OpenVPN Installerhttps://play.google.com/store/apps/details?id=de.schaeuffelhut.android.openvpn.installer, OpenVPN Settingshttps://play.google.com/store/apps/details?id=de.schaeuffelhut.android.openvpn). Interestingly, no tun.ko module is required.
I quickly tried the apps you suggested and which don't require root. But they didn't work for me in a quick test.
Click to expand...
Click to collapse
Thanks for trying that. I will retry loading my VPN Profiles again in OpenVPN
defsix said:
Thanks for trying that. I will retry loading my VPN Profiles again in OpenVPN
Click to expand...
Click to collapse
Ok, so tried re-installing busybox, tun.ko, OpenVPN settings and OpenVPN installer however still it's not working. I am thinking the problem is deeper than this though. The built in VPN options L2TP/IPSec and PPTP are both failing to work. I just get a time out error. I have uploaded a section of the catlog if someone could have a look at it.
I am still stuck with this problem. I used AIO tool to setup boot loop protection and then re installed the full R5 on top of the old installation. I didn't do a factory reset though, I don't have the time to re install everything.
And still the problem persists.
I am unable to create any VPN
Anyone any ideas ?
ok. Factory Reset.
Factory Reset, reinstalled R5. Titanium Backup restore and still no VPN. I give up.
Sorry to hear that... for more information about the initiation process of your VPN, you could try to start the openvpn binary in a terminal as root with an increased verbosity level... just to see at which step the process actually fails
walsera said:
Sorry to hear that... for more information about the initiation process of your VPN, you could try to start the openvpn binary in a terminal as root with an increased verbosity level... just to see at which step the process actually fails
Click to expand...
Click to collapse
would that give me more or the same as a logcat ?
Could you give me a quick idea how to do this in terminal ?
Well, I am not an expert, but your logfile was just little use for me...
Steps for running openvpn in terminal:
Open terminal
Type 'su' to get root
Change to the directory with your profiles using 'cd PROFILEDIR'
Type 'openvpn' for getting all command line options
To start a connection type something like 'openvpn --config PROFILE.ovpn --verb 3 '
I couldn't test this with my connection because I haven't figured out how to pass my key for my certificate. But I think this is the way to go.
walsera said:
Well, I am not an expert, but your logfile was just little use for me...
Steps for running openvpn in terminal:
Open terminal
Type 'su' to get root
Change to the directory with your profiles using 'cd PROFILEDIR'
Type 'openvpn' for getting all command line options
To start a connection type something like 'openvpn --config PROFILE.ovpn --verb 3 '
I couldn't test this with my connection because I haven't figured out how to pass my key for my certificate. But I think this is the way to go.
Click to expand...
Click to collapse
ok, will give this a try.