How establish VPN in Android x86 ?

1,730 views
Skip to first unread message

Ali Razavi

unread,
Feb 10, 2015, 6:01:03 PM2/10/15
to andro...@googlegroups.com
Hi everybody,
I install android 4.4.r2 x86 on my Asus T100TA but I can't establish any VPN connection because missing TUN. KO kernel module, I download and try Tun Installer App but not found specific file for my android version.
who I can use VPN connection (PPTP, OpenVPN or ...)
please help me.

Rustam Ivanovich

unread,
Feb 13, 2015, 8:54:28 AM2/13/15
to andro...@googlegroups.com
среда, 11 февраля 2015 г., 2:01:03 UTC+3 пользователь Ali Razavi написал:
try in console command:
su
insmod tun.ko

and show result here, 

Ali Razavi

unread,
Feb 14, 2015, 12:47:13 PM2/14/15
to andro...@googlegroups.com
Hi, thanks Rustam Ivanovich for reply
the output is:
root@x86:/ # insmod tun.ko
insmod can't open 'tun.ko'

Ali Razavi

unread,
Apr 23, 2015, 3:46:46 PM4/23/15
to andro...@googlegroups.com
anybody can help me?!

Povilas Staniulis

unread,
Apr 23, 2015, 4:13:18 PM4/23/15
to andro...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Android x86 has tun module enabled as builtin by default. You don't need a tun installer.
Just download your favorite VPN client and use it.

Ali Razavi

unread,
Apr 23, 2015, 4:17:59 PM4/23/15
to andro...@googlegroups.com
thanks,
I use OpenVPN Connect but when I try connect to a VPN server see the this error:

Problem creating TUN interface
Possibly the tun.ko kernel module is not loaded in your Android kernel.

Ali Razavi

unread,
Apr 23, 2015, 4:45:09 PM4/23/15
to andro...@googlegroups.com
here is OpenVPN log file
please help

On Wednesday, February 11, 2015 at 2:31:03 AM UTC+3:30, Ali Razavi wrote:
Screenshot_2015-04-24-01-07-24.png

Povilas Staniulis

unread,
Apr 23, 2015, 5:12:18 PM4/23/15
to andro...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
Yes, same for me. It seems that /dev/tun is broken.
The error code is EBUSY.

Will need to take a look at this.

Ali Razavi

unread,
Apr 24, 2015, 2:13:26 AM4/24/15
to andro...@googlegroups.com
How can fix this problem?

Ali Razavi

unread,
Apr 25, 2015, 2:20:19 PM4/25/15
to andro...@googlegroups.com
What program would you recommend instead vpn? Because any vpn connection not working on Android kitkat x86, I use HOLA app, this app is good for web surfing but not work on apps like facebook, youtube and ...
please recommend me a good app for this purpose.

thank you


On Wednesday, February 11, 2015 at 2:31:03 AM UTC+3:30, Ali Razavi wrote:

Povilas Staniulis

unread,
Apr 25, 2015, 7:03:03 PM4/25/15
to andro...@googlegroups.com


2015 m. balandis 25 d., šeštadienis 21:20:19 UTC+3, Ali Razavi rašė:
What program would you recommend instead vpn? Because any vpn connection not working on Android kitkat x86, I use HOLA app, this app is good for web surfing but not work on apps like facebook, youtube and ...
please recommend me a good app for this purpose.

thank you


It depends what do you need it for. I assume you only need it to hide your IP, not for true VPN use.
If you have SSH access to the server, you can try the SSH Tunnel app. 

Ali Razavi

unread,
Apr 26, 2015, 5:50:38 AM4/26/15
to andro...@googlegroups.com
I need vpn because many sites (apps) like facebook, youtube, imdb and ... blocked in my country.
Due to problems with Android 4.4.4 x86, what apps to bypass this limitation you recommend?
thank you

TBD

unread,
Apr 26, 2015, 9:05:21 AM4/26/15
to andro...@googlegroups.com

You can try HotSpot Shield, I used It for awhile, and I believe I remember seeing something about a version for android...

TBD
--

Ali Razavi

unread,
Apr 26, 2015, 11:12:04 AM4/26/15
to andro...@googlegroups.com, theblack...@gmail.com
I try HotSpot Shield but unfortunately this app not working on Android 4.4.4 x86.

JS S

unread,
Jul 20, 2015, 11:13:45 AM7/20/15
to andro...@googlegroups.com, theblack...@gmail.com
Anyone ever figured this out?

Facing the same issued with SonicWALL Mobile Connect

Andre Kettschau

unread,
Aug 11, 2015, 6:12:41 AM8/11/15
to Android-x86
 any news on this? The problem with /dev/tun still persists with 4.4-r3. 

I compiled tun.ko as a module, but this did't help either.

What can i do to hel find the problem?

 

freder.t...@gmail.com

unread,
Aug 27, 2015, 12:42:41 PM8/27/15
to Android-x86
Any update on this at all? It doesn't appear to have worked in any recent version of Android-x86 (I've looked back to 2011). This is the one item keeping me from actually using the 4.4-r3 build. I've tried using the native vpn client, cisco anyconnect, and fortigate forticlient; all 3 do not work.

Chih-Wei Huang

unread,
Aug 27, 2015, 11:48:06 PM8/27/15
to Android-x86
2015-08-28 0:28 GMT+08:00 <freder.t...@gmail.com>:
> Any update on this at all? It doesn't appear to have worked in any recent version of Android-x86 (I've looked back to 2011). This is the one item keeping me from actually using the 4.4-r3 build. I've tried using the native vpn client, cisco anyconnect, and fortigate forticlient; all 3 do not work.

What the error? Any log?

I suggest you provide the detailed steps
you tried so more experienced people
can take a look.


--
Chih-Wei
Android-x86 project
http://www.android-x86.org

freder.t...@gmail.com

unread,
Aug 28, 2015, 11:33:08 PM8/28/15
to Android-x86
The error is basically "disconnected".  I'm not sure on the Android file system where it stores the actual vpn log files.

The built in VPN client shows me nothing other than Connecting... and then a Disconnected a few seconds later.

The Fortigate Forticlient is simply showing: "Revoked by Android.  REBOOT!". 

I know this works as I have another standalone Android tablet that works just fine using both the internal VPN client and 3rd party clients FortiGate Forticlient and Cisco Anyconnect.

If someone can direct me where to look for logs, I'll pull them.

pstglia

unread,
Aug 29, 2015, 10:57:14 AM8/29/15
to Android-x86
Hi,


If someone can direct me where to look for logs, I'll pull them.

If you boot under debug mode ( there's an entry on grub for this), you'll have all logs saved to /data/log.txt (basically this is all saved "logcat" cmd output)

For kernel messages, you can use dmesg cmd on terminal:

ex: busybox dmesg > /sdcard/Download/dmesg.txt

If your Android network is working, you can attach them here using your Android Browser. Otherwise, copy the files to an usb flashdrive or another harddisk partition and attach from other OS.

Regards,
Pstglia

J Spoor

unread,
Aug 29, 2015, 6:16:06 PM8/29/15
to andro...@googlegroups.com
Same thing with Dell SonicWALL Mobile Connect. Connects then immediately disconnects.

From: freder.t...@gmail.com
Sent: ‎28-‎8-‎2015 20:33
To: Android-x86
Subject: Re: How establish VPN in Android x86 ?

--
You received this message because you are subscribed to a topic in the Google Groups "Android-x86" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-x86/tktiqciItMM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-x86...@googlegroups.com.

Plamen Dimitrov

unread,
Jan 28, 2016, 4:52:47 PM1/28/16
to Android-x86
Same issue confirmed with a Qemu virtual machine for android-x86-4.4-r3.iso (and android-x86-5.1-rc1.iso).

Here is output from a log file I managed to obtain thanks to the SendLog app from Neil Boyd (4.4-r3):

01-28 21:14:58.253 I/mtpd    ( 3986): Connecting to euro217.vpnbook.com port 1723 via eth0
01-28 21:14:58.271 F/mtpd    ( 3986): Connect() Operation not permitted
01-28 21:14:58.464 I/LegacyVpnRunner( 1318): Aborting
01-28 21:14:58.464 I/LegacyVpnRunner( 1318): java.lang.IllegalStateException: mtpd is dead
01-28 21:14:58.464 I/LegacyVpnRunner( 1318):     at com.android.server.connectivity.Vpn$LegacyVpnRunner.execute(Vpn.java:1096)
01-28 21:14:58.464 I/LegacyVpnRunner( 1318):     at com.android.server.connectivity.Vpn$LegacyVpnRunner.run(Vpn.java:975)
01-28 21:14:58.473 I/iptables( 1081): iptables: No chain/target/match by that name.
01-28 21:14:58.476 I/iptables( 1081): iptables terminated by exit(1)
01-28 21:14:58.476 E/Netd    ( 1081): exec() res=0, status=256 for /system/bin/iptables -t mangle -D st_mangle_POSTROUTING -p tcp -o eth0 --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
01-28 21:14:58.476 I/ip6tables( 1081): ip6tables: No chain/target/match by that name.
01-28 21:14:58.477 I/ip6tables( 1081): ip6tables terminated by exit(1)
01-28 21:14:58.477 E/Netd    ( 1081): exec() res=0, status=256 for /system/bin/ip6tables -t mangle -D st_mangle_POSTROUTING -p tcp -o eth0 --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
01-28 21:14:58.477 I/iptables( 1081): iptables: No chain/target/match by that name.
01-28 21:14:58.479 I/iptables( 1081): iptables terminated by exit(1)
01-28 21:14:58.479 E/Netd    ( 1081): exec() res=0, status=256 for /system/bin/iptables -t nat -D st_nat_POSTROUTING -o eth0 -m mark --mark 61 -j MASQUERADE
01-28 21:14:58.479 D/Vpn     ( 1318): setting state=DISCONNECTED, reason=exit
Reply all
Reply to author
Forward
0 new messages