[Q] OpenVPN for Asus Transformer - Upgrading, Modifying and Unlocking

I just bought an Asus Transformer. It is currently rooted and using Prime 1.7 final. I am trying to get OpenVpn working on it, but have not been succesful. I have downloaded BusyBox, OpenVPN instaler, and OpenVPN Settings. It looks like its logging on but then it states Fatal:linux ifconfig failed: Could not excute external program.
What am I missing?

Download the updated OpenVPN for Honeycomb (Optional)
http://code.google.com/p/android-openvpn-settings-honeycomb/downloads/list
Follow these instructions:
http://forum.xda-developers.com/showthread.php?t=1071228

Related

OpenVPN connects but no pages load...?

Hi,
I've been struggling with OpenVPN for quite some time now, but have finally got it connecting using DeFrost 2.0d. The joy ends there as no pages load for me. Have googled, and googled some more to figure out the issue.
I thought it could be DNS related or perhaps something mentioned in this thread with a fix in this post ?
"
wraithdu posted on 28th June 2010, 04:20 PM
I had the same problem, and it's due to the built in versions of ifconfig and route I think. I did this:
1) installed busybox 1.15.3 to /system/xbin and installed the links (busybox --install .)
2) reboot into recovery
3) mount /system and adb shell:
# cd /system/bin
mv ifconfig ifconfigoff
mv route routeoff
ln -s /system/xbin/busybox ./ifconfig
ln -s /system/xbin/busybox ./route
4) reboot
This creates the busybox ifconfig and route symlinks in /system/bin. After this, OpenVPN Settings works perfectly. Since OpenVPN uses hardcoded paths, this is the only workaround I can think of."
Related to ifconfig and route?
Anyone with any tips for me - much appreciated!
Cheers
(Sorry - can't post link to thread as new user - in Droid Incredible Android Development)
semi-fixed...
works fine over wifi...the problem above over 3G...connects fine but doesn't browse anything. very strange. could my provider be blocking vpn?
anybody on Hi/KPN in the netherlands and have this working over 3G? have seen reports of the same problem quite allot, fine over wifi but not over 3g.
In my case problem was that Desire didn't acquire IP address from DHCP. The same config file that worked on my laptop didn't work on my phone. VPN connected properly by could not open any page from my local network.
After I've added ifconfig line in ovpn config file - it started to work.
could you show me an example of your config please?

[Q] openvpn on skyraider 2.5.2

I am running unrevoked forever, have the skyraider kernel with tun support, installed the openvpn binary and have pointed to the /system/lib/modules location for the tun.ko in the openvpn settings app. I have also loaded the appropriate certs and conf files to my sdcard. when attempting to authenticate with my vpn I receive the following error message:
Cannot allocate TUN/TAP dev dynamically
Any suggestions on what I am doing wrong?
Are these instructions still valid with the skyraider ROM?:
hxxp://forum.xda-developers.com/showthread.php?t=702634&highlight=openvpn
bump..
no suggestions?

OpenVPN / tun.ko / Binary Galaxy Tab

Hi,
openvpn is up and running.
Install busybox via busybox-Installer (Market). Then install Openvpn via Openvpn-Installer (Market). I dont know if Openvpn-Installer is needed, as we are replacing the binary with another file - but as it takes care of dependencies just install it
Use tun.ko from there:
xxx.android-hilfe.de/samsung-galaxy-tab-forum/51007-openvpn-tun-ko-unionfs-ko.html
(replace the xxx with www)
Binary from here: (OpenVPN Installer won't work - its not able to recognize push options)
github.com/downloads/fries/android-external-openvpn/openvpn-static-2.1.1.bz2
Finally you have to provide the busybox-ifconfig in /system/xbin/bb/ifconfig and busybox-route in /system/xbin/bb/route (ln -s /system/bin/busybox /system/xbin/bb/ifconfig ...)
cheers
patrick
Can you give any hint how to install the additional binaries? Even with a rooted Tab and a terminal, I dot not get this working.
Sent from my GT-P1000 using Tapatalk
hi
just run openvpn installer from the market
I tried and got the connection established. But in opposite to my Desire, traffic is not routed that way.
Also, there is no /dev/tun
Addendum: Got it running, beside that I am using tap, doing a reinstall after having created the a.m. symlinks for busyboy, adding some push options on the server to force the routing did the trick (they were not required on my Desire).
I used the tun.ko module for the VPN Connections app and got it working great... except when I disable the VPN connection, it doesn't reset the dns servers to the values that where there before.
I don't believe it's the application since the same version on my Nexus One works correctly. If I turn off the data then turn it back on, I get my data back. I believe it to be the tun.ko not being written to reset the dns entries.
I think I could kiss someone, I now have working cisco vpn
How do we make the tun.ko module stay after a reboot? Mine disappeared from /modules/ when I restarted my tab? I copied it with root explorer.
Also if we can get it to stick will I have to run these commands each time?
insmod /modules/tun.ko
ln -s /system/bin/busybox/system/xbins/bb/ route
ln -s /system/bin/busybox/system/xbins/bb/ ifconfig
Hi, i am not getting this to work, is there any thing i am missing? What i did:
1. Rooted device and installed busybox
2. copying the tun.ko from the german site to /modules after remounting to r/w.
3. Running those three commands from previous post in terminal
4. Installing vpnc 0.99 and configuring connection
5. Connect
still get failed to connect.
any tips please?
Sent from my GT-P1000 using XDA App
trondjl said:
Hi, i am not getting this to work, is there any thing i am missing? What i did:
1. Rooted device and installed busybox
2. copying the tun.ko from the german site to /modules after remounting to r/w.
3. Running those three commands from previous post in terminal
4. Installing vpnc 0.99 and configuring connection
5. Connect
still get failed to connect.
any tips please?
Sent from my GT-P1000 using XDA App
Click to expand...
Click to collapse
I believe that's exactly what I did. Were all the commands successful?
works now.
I rebooted and reinstalled vpnc and busybox and recopied and reissued commands. Something must have been hanging from all my testing.
Tanks!
This is so great! Now I'm online with Sip, xmpp and RDP with work!
I know, get a life
Sent from my GT-P1000 using XDA App
I had to copy tun.ko to /system/lib/modules. I did have to create that directory but when I did, it was loaded every time.
You can make sure by using the lsmod command in the terminal emulator.
Yes, it works. Excellent!
Sent from my GT-P1000 using XDA App
sorry for noob question as i dont know that much about open vpn
i know its a virtual private network, and some ppl in my country offering a cheaper internet connection through them
what did this one do exactly?
Cisco vpn ftw
This is great! After reading everything and getting everything done I can connect through our Cisco VPN.
Question
What does this do that the Tabs built in VPN doesnt?
How can I use terminal emulator to run the two ln -s commands? I guess I need some prior commands to enable r/w to system?
I bought Better Terminal Emulator Pro in the Market to do this.
This is how I did it:
1. Install busybox from the Market into /system/bin,
2. Install root-explorer (to get r/w access to /system/xbin),
3. Create /system/xbin/bb,
4. Create symbolic links in /system/xbin/bb to busybox with the names ifconfig and route:
ln -s /system/bin/busybox /system/xbin/bb/route
ln -s /system/bin/busybox /system/xbin/bb/ifconfig
5. Copy tun.ko into /system/xbin with root-explorer,
6. Install OpenVPN from the Market into /system/xbin and set the paths to route/ifconfig to /system/xbin/bb,
7. Install OpenVPN Settings from the Market,
8. Configured to activate the TUN module via Menu / Advanced with insmod in path /system/xbin/tun.ko and to activate "Load tun kernel module"
9. Copied my existing and working OpenVPN-settings to the memory card and finally
10. Set the path to the OpenVPN configuration and to the OpenVPN binary.
After this, the OpenVPN connection could be established the data was rerouted via that connection.
@alias_neo
The internal Android functions do not support OpenVPN which can be quite easily installed on a Linux root server to establish a secure connection to that server. Setting the firewall rules on that server properly, the whole traffic can virtually enter the internet via the server and systems inbetween the Tab and the server cannot see what's going on anymore. So even an open WLAN hotspot can be safely used as well as all monitoring/logging/recording on forwarding systems sees only an encrypted connection.
Also OpenVPN is in my eyes more secure than a simple username/password encrypted connection (as PPTP offers). So, the secret to encrypt the connection is better protected as with PPTP.
If a VPN provider is used to tunnel the traffic into the internet (to hide it from the systems inbetween when there is no own server available), the encryption method of the VPN provider is relevant. For example, SwissVPN only offers PPTP or OpenVPN.
ipaqkiller said:
I had to copy tun.ko to /system/lib/modules. I did have to create that directory but when I did, it was loaded every time.
You can make sure by using the lsmod command in the terminal emulator.
Click to expand...
Click to collapse
I don't know if' I'm missing something, but I can't get the module to automatically load on a reboot. lsmod doesn't show tun.ko in the list. I have to issue insmod /system/lib/modules/tun.ko on each startup.
EDIT: Think I've sussed it, will post my details later for anyone who wishes to get this setup for cisco only without installing the openvpn installer.
ritdaw said:
I don't know if' I'm missing something, but I can't get the module to automatically load on a reboot. lsmod doesn't show tun.ko in the list. I have to issue insmod /system/lib/modules/tun.ko on each startup.
Click to expand...
Click to collapse
That's why I use the OpenVPN Settings app from the Market. It allows to activate the module with insmod when OpenVPN is started as this obviously cannot be done by the system automatically.
ipaqkiller said:
I had to copy tun.ko to /system/lib/modules. I did have to create that directory but when I did, it was loaded every time.
You can make sure by using the lsmod command in the terminal emulator.
Click to expand...
Click to collapse
akxak said:
That's why I use the OpenVPN Settings app from the Market. It allows to activate the module with insmod when OpenVPN is started as this obviously cannot be done by the system automatically.
Click to expand...
Click to collapse
Worked that out in the end, I thought it was only specific to OpenVPN connections.
Nevermind...?

[SOLVED] OpenVPN - tun.ko-modules for ArcNight-Kernel 3.5.1

Hey Guys, I'm desperately in search for the tun.ko-modules for ArcKnight Kernel 3.5.1. In the developping-thread is mentioned, that there is an addon-package, but the only link is dead.
The dead link is:
ARC-Night-ICS-BETA-Modules.zip
in this thread:
http://forum.xda-developers.com/showthread.php?t=1597771
Maybe anybody has these modules for me and can reupload them?
I flashed the Doom-Kernel instead, because they said that the tun.ko-module is included, but it isnt. I also tried different tun.ko-files, but none of them (6 different) worked with insmod.
Thanks in advance, pornofee
Click to expand...
Click to collapse
Edit:
I found a solution for my Problem, the modules are included and working fine
The ifconfig and route - Symlinks were broken and had to be recreated manually
If anyone ever wants to use openvpn together with this kernel heres a small howto:
- download and install busybox, open it and MANUALLY install "iconfig" and "route" again (I ignored the warnings, everything still works fine)
- download and install sshdroid
-- start sshdroid
- connect PC to phone with putty (or just 'ssh [email protected]' in a linux-terminal) and mount /system as "read-write" with:
Code:
busybox mount -o rw,remount /system
-- delete incorrect symlinks with:
Code:
rm -f /system/xbin/bb/ifconfig
rm -f /system/xbin/bb/route
--recreate symlinks with
Code:
ln -s /system/xbin/ifconfig /system/xbin/bb/ifconfig
ln -s /system/xbin/route /system/xbin/bb/route
(Pro-Mode: check if everything is correct:
Code:
ls /system/xbin/bb
--> Everything is ok?
Fine, close SSHDroid now
- Download and install "Openvpn Installer" and "OpenVPN Settings" from Android-Market
-- install and configure these (there are many tutorials in the web)
Hope, this works for you
can u upload it sir,tq
I wants to ask about vpn... i am using my xperia pro phone to tether internet to my computer.
And i am thinking to use vpn in computer....if i do that, can i bypass my internet quota????
Because i have 1gb quota only in my handphone...
Pls answer
Sent from my Xperia Pro using xda app-developers app

Fire stick - adbfire - device offline

OK so I installed the system update recently. I already had Kodi all set up on my Fire stick. When the RC1 update was released I set about updating Kodi.
I followed the guide here:
http://www.tweaking4all.com/home-theatre/xbmc/kodi-on-amazon-fire-tv/
Eventually I got adbfire to connect (had to turn adb debugging on and off first though). I pushed the Kodi RC1 apk over as advised on the guide (near the bottom). However when I open ADB Shell and attempt to install using
adb install -r kodi.apk
I get an error saying the device is offline. It mentions emulator-5554. I'm at a loss what to do to solve this. I'm half tempted to try install the Kodi.apk using Total Commander but am unsure whether all my Kodi addons and settings will be retained.
Any advice please before I go and possibly make things worse!?!?! Thanks!

Categories

Resources