Also this doesn't seem to work with VPNConnections, the program for IPSEC VPNs. Shame, I was really excited for it too.
Is there a way to get openVPN or any other type of VPN to connect automatically when I connect to a specific network?
Sent from my Xoom using XDA Premium App
I'm able to get tun.ko to load successfully with insmod. (verified in dmesg)
I get permanently hung with "trying to connect" in "vpn connections". Where can I see the output of what it is calling at the commandline?
I'm using know good settings from vpnc on linux
su
cd /path/to/conf/files
openvpn your.conf
I've fixed vpnconnections to work with the XOOM. I build busybox into the app, and updated the vpn script accordingly.
You'll need a kernel with tun working.
I've fixed vpnconnections to work with the XOOM. I build busybox into the app, and updated the vpn script accordingly.
You'll need a kernel with tun working.
<3>[ 1004.762765] tun: version magic '2.6.36.3-g53275e0 SMP preempt mod_unload ARMv7 ' should be '2.6.36.3Tiamat_Xoom-v1.1.6_BRDizzle--gdbf3921 SMP preempt mod_unload ARMv7 '
I'm unable to insmod the overclocked tun.ko on the overclocked kernel.
I get the following error:
anyone having and issue when they disconnect their vpn of it hanging with the updated vpnc?
To OP and others that have gotten this to work:
I've run into a wall with this, and could use help/advice.
1. Do you having to use both OpenVPN & VPNC Along with the obvious installs and additions of busybox & the TUN.ko file?
This may be a stupid question, but with my DX I'm able to just use VPNC, the TUN.ko file & busybox to access my company's Cisco SSL vpn.
I've run through the same process with the Xoom -yes I used files that were crafted for the Xoom (tun file and vpnc client from here & a busybox installer from a different forum-) and its a no go every time.
I had some luck early on and could get it to connect and pull and IP from the host network, however I could not get to anything inside or outside the tunnel. (seemed like no dns on either side) plus once i disconnected I had to toggle between 3G and wifi for 3 to 4 minutes to be able to get back to the net.
I'm currently running the non-oc kernel but have tried with both.
Any help would be greatly approached.
Cheers,
Hattrick
I'll try http://code.google.com/p/android-openvpn-settings/issues/detail?id=26 when I get out of work. Weird thing is though it works on my phone no problem.
edit// that seems to have done it. I'm now connected and can pass traffic. Now I just need to figure out why "connected" keeps popping up in my notifications.
Anyone coming across this, that is having a similair issue. Here is the part of the log that pointed trackerk to the push issue (just in case I remove the log from my dropbox)
Code:Tue Mar 8 15:36:18 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:4: dhcp-pre-release (2.1.1) Tue Mar 8 15:36:18 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:5: dhcp-renew (2.1.1) Tue Mar 8 15:36:18 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:6: dhcp-release (2.1.1) Tue Mar 8 15:36:18 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:13: route (2.1.1) Tue Mar 8 15:36:18 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:14: route (2.1.1) Tue Mar 8 15:36:18 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:15: route (2.1.1) Tue Mar 8 15:36:18 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:18: register-dns (2.1.1) Tue Mar 8 15:36:18 2011 Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:20: ifconfig (2.1.1)
I've fixed vpnconnections to work with the XOOM. I build busybox into the app, and updated the vpn script accordingly.
You'll need a kernel with tun working.
Also this doesn't seem to work with VPNConnections, the program for IPSEC VPNs. Shame, I was really excited for it too.
su
mount -w -o remount /system
mkdir /system/xbin/bb
ln -s /system/xbin/busybox /system/xbin/bb/ifconfig
ln -s /system/xbin/busybox /system/xbin/bb/route
cp /mnt/sdcard/openvpn /system/xbin/
chmod 555 /system/xbin/openvpn
mount -r -o remount /system
su
insmod /mnt/sdcard/openvpn/tun.ko