[Q] Openvpn issues on LG G2x other than cyanogen - T-Mobile LG G2x

I am having problems with openvpn and I would really appreciate any help that I can get. I was not able to make openvpn work on Eagle Blood rom. Here are the steps I used. I installed binary file at the system/xbin using the openvpn installer from the market. I then created a folder at the root of sdcard and named it openvpn. I placed in the folder the configuration files. I then downloaded and installed openvpn settings from the market and tried to connect to openvpn. It would connect to the server (a small key would appear on the top of the screen and says connected) but data would not be tunneled through the vpn. My real IP address would still show while connected to vpn.
BTW, I flashed cyanogenmod 7 nighties #53 and it worked. I use simple mobile and data does not work with cyanogen since the APN needs to manually configured and with all the APN issues going on with cyanogen at this time, I would prefer to use another rom that would support openvpn.
Thanks in advance and I apologize in advance if I posted this at a wrong place. I am new to XDA forums.

Related

Download Wifi Certificate to install

I'm trying to connect my HTC Desire to my university's Wifi and I'm running into the common problem of the security certificate issue. (After connecting says there is an issue with the certificate, then after continuing get connecting error.)
The problem I'm having is that I can't get the certificates any other way, are the certificates stored on the phone somewhere, or is there a way I can force them to be download or something along these lines?
Thanks!
I had used my work wifi settings for linux (including manually creating a .pem file & editing wpa_supplicant.conf file to connect . Check if linux instructions work

[Q] WiFi finds networks but can't surf after Unlock/Root/Tiamat1.4.0?

Hi folks, I'm new to playing with Android & have a Motorola Xoom here, but I'm kinda stumped by what I'm seeing right now.
First off, I've unlocked my Xoom (WiFi model), put the ClockworkMod Recovery on & updated to the 1.4.0 Tiamat kernel for Xoom WiFi. I'll note that I did it the manual way with adb and not by having ClockworkMod Recovery update from a ZIP, because I was having troubles getting the file to the device.
Well now I have a Xoom tablet that sees networks in the area and only connects to my secured network with the correct password, but when I try to do any network activity from an Android app (tried web browser, market, and youtube), data doesn't appear to move, kinda like it's stuck on DNS - but even if I try a direct IP, data doesn't move.
I've been searching but haven't (yet) run across any hints about what to check... I'm really open to suggestions now - and thanks in advance!
you can try re-pushing the modules through adb or maybe run tiamat 1.4.0 from recovery with .zip file. its real easy to goof things in adb.
Thanks for the response jase!
Well I had tried manually reloading (aka the pre-ClockworkMod method) a number, and when I would adb shell back to the device, it could ping out to other devices & I could ping it from other devices, so the wifi driver was loaded. It's just that nothing could resolve a DNS name, and I couldn't even browse to a local server by IP address in the browser.
I don't have an SD card (yet) and I haven't seen nor discovered another way to download the .zip into ClockworkModRecovery to install it that way. When I try to use the CMR's option to mount the SDcard on my computer, my computer doesn't see the tablet at all - not as an ADB, fastboot, nor mass storage device. A pointer to a good thread with information on using CMR would be appreciated!

[Q] Tiamat Manta Ray and OpenVPN

Having installed Tiamat 2.0.1 Manta Ray, I would like to be able to access OpenVPN. The list of Tiamat features indicates OpenVPN support, but I haven't found how this can be done.
Could someone help with this?
Thank you
Gordon
I never received any replies to my initial post regarding using OpenVPN, so I'd like to try again. If Manta Ray (no, I am not using Hammerhead yet) has built in support for OpenVPN, what do I need to do? Is it just a matter of creating and installing conf and certificate files. If so, where should they be placed?
Anyone had any experience of this?
Thank you
Gordon1M
http://forum.xda-developers.com/showthread.php?t=972550 tutorial work great for me, but I didn’t need to put the tun.ko in place, it was already there in the last taimat kernel.
Thanks for the reply. I saw the tutorial, but it seemed a bit old, given that Manta Ray has OpenVPN included in the ROM. However, maybe I should look at it again to see if I can adapt it. One downside of the tutorial seemed to be that one has to set things up each time OpenVPN is used.
Anyway, it's encouraging that OpenVPN is working well for you.
I have tried to follow the tutorial at http://forum.xda-developers.com/showthread.php?t=972550, but I can't get it to work. My Xoom is rooted. The steps I have taken are as follows:
Install Busybox ... Manta Ray comes with Busybox installed in /system/xbin/busybox, so I have skipped this step.
Install Openvpn Installer ... done.
Run Openvpn Installer ... In Manta Ray, the file openvpn is already installed in /system/xbin. There is also a file openvpn-up. I don't know what this file is for. Given that openvpn is already installed, I moved the original to another location, so that the Openvpn Installer could do its work, without any potential clash with an existing copy of openvpn. I then ran Openvpn Installer and, as instructed, specified /system/xbin as the installation location. The installer also asked me for the location of ifconfig and route, offering /system/xbin/bb, which I selected. I then let the installer continue, but there was no indication of any failure (the tutorial says it will fail but that it would leave "the bit we need on the sdcard"). I can't see that anything has been left on sdcard. Furthermore there is no /mnt/sdcard/openvpn directory (was this what should have been left?).
Regardless of the above, I continued with the tutorial and opened a terminal shell.
su worked fine.
I made the /system/xbin/bb directory without a problem.
I created the two symbolic links for busybox
I then tried to: cp /mnt/sdcard/openvpn /system/xbin/. Of course, this failed, as the source directory, /mnt/sdcard/openvpn did not exist.
So, where do I go from here? It seems that the Openvpn Installer should be doing something that it isn't. Should it be creating the /mnt/sdcard/openvpn directory and putting something in it? If so, this is not happening.
Any help much appreciated.
Thank you
Gordon
In the end, the solution was straightforward:
Install BusyBox and provide a link for ifconfig and route in a newly created directory, /mnt/system/bb.
For Manta Ray, openvpn was already there in /system/xbin (already set to chmod 555), so it wasn't necessary to install it.
tun.ko was also available in Manta Ray in /system/lib/modules, so I just copied it to a newly created directory /mnt/sdcard/openvpn.
Also, I placed (via a USB stick) the openvpn configuration files and certificates, client.ovpn, client2.key, client2.crt and ca.crt in the /mnt/sdcard/openvpn directory.
My existing Windows version of client.ovpn needed to be edited (on a PC) to specify the key and crt names that I had chosen (client2.key and client2.crt).
I saved client.ovpn in Linux file format (using LF for end-of-lines). Whether this was really necessary. I am not sure.
The last step was to use the OpenVPN Settings app from the Market to specify the paths for the location of openvpn and its configuration/certificate files.
From a remote location, I connected through the openvpn tunnel (having turned it on with VPN Settings) to my openvpn server and was able to see my home LAN, check IMAP4 e-mail on my home mail server (using LAN IP addresses) and use a VNC client.
So, this has worked all very satisfactorily in the end, despite my initial teething problems. Now that I have done it, it all seems very simple!!

[ANDROID L][SCRIPT/FIX] - WiFi & USB Tethering fix for Android L

We know that Android L Preview release have same issues : One of this is Wifi/USB Tethering not works.
I find on xda a temporary fix for this issue (thanks buraktamturk) http://forum.xda-developers.com/showpost.php?p=54067884&postcount=3041
I simply done a shell script that give you and install the default gateway ip for your active data connection.
So every time you active a new data connection and you must done a tethering Wifi/USB condivision,
remember to run before this script.
Whats you need for make it work.
FIRST INSTALLATION
Your device must be rooted and you must have busybox installated link: https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
Install Root Explorer from play store (is not free) https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer&hl=en
You need it for execute wifi-tethering-lpv-fix.sh (you can also use terminal emulator even if you need more steps)
Download and Unzip the script attached and save it on your Nexus5 folder (i.e. /system) and give permission rwx (read-write-execute) with root explorer apk. (or chmod 777 wifi-tethering-lpv-fix.sh with terminal emulator)
RUN WIFI/USB TETHERING SCRIPT
After that every time you start a new data connection done this steps:
1. Run wifi-tethering-lpv-fix.sh with Root exlorer apk
2. Enable and disable tethering ; After that re-enable it. (this step is important otherwise dhcp server is not started - internal bug from Android L preview)
Now your USB or WIFI tethering connection would be work.:good:
An interesting problem...
davidmore said:
We know that Android L Preview release have same issues : One of this is Wifi/USB Tethering not works.
I find on xda a temporary fix for this issue (thanks buraktamturk) http://forum.xda-developers.com/showpost.php?p=54067884&postcount=3041
I simply done a shell script that give you and install the default gateway ip for your active data connection.
So every time you active a new data connection and you must done a tethering Wifi/USB condivision,
remember to run before this script.
Whats you need for make it work.
FIRST INSTALLATION
Your device must be rooted and you must have busybox installated link: https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
Install Root Explorer from play store (is not free) https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer&hl=en
You need it for execute wifi-tethering-lpv-fix.sh (you can also use terminal emulator even if you need more steps)
Download and Unzip the script attached and save it on your Nexus5 folder (i.e. /system) and give permission rwx (read-write-execute) with root explorer apk. (or chmod 777 wifi-tethering-lpv-fix.sh with terminal emulator)
RUN WIFI/USB TETHERING SCRIPT
After that every time you start a new data connection done this steps:
1. Run wifi-tethering-lpv-fix.sh with Root exlorer apk
2. Enable and disable tethering ; After that re-enable it. (this step is important otherwise dhcp server is not started - internal bug from Android L preview)
Now your USB or WIFI tethering connection would be work.:good:
Click to expand...
Click to collapse
Ok, so between your post and the other fix that you have posted, i have had SOME success, but is this significant?
I have a Nexus 5, that generally has a sim card i use primarily for data, which is on Aldimobile (MVNO using the Telstra 3g network), at the time i first tried this, i had an Amaysim (MVNO using Optus 3g network) inserted. So heres what happened -
I first followed your procedure (Amaysim card inserted, unsure how or if this is significant) , which allowed me to create a wifi hotspot connection between the laptop and the mobile. The effect was actually almost immediate when i ran your script. This did not allow any data throughput.
I then used the procedure you have provided in your link above, and bamf, i had a working wifi tether connection. Easy as pie.
I can report that it is repeatable, and you can enable then disable tether at will, until you reset the phone, and you have to go through the whole shebang again (i presume due to your mobile provider updating your ip address)
BUT - I then wanted to use my Aldi mobile in it, as the Amaysim is the one i generally use in my general purpose mobile, so i slapped the Aldi sim into the mobile... and.... nothing.
No amount of fiddling around with resetting the tether, changing settings, your script, the other script, would allow either a tether or data throughput.
Any ideas?
No need more this my script !! New Android pre-relase lollipox (LPX13D) have fixed it. Wi-fi and USB thethering works no more bug
Awesome
davidmore said:
No need more this my script !! New Android pre-relase lollipox (LPX13D) have fixed it. Wi-fi and USB thethering works no more bug
Click to expand...
Click to collapse
Cheers for that info, i hadnt found anything mentioning updates fixing this. Ill go download it.
Thanks for the quick reply, and good work.
This is a massive bump but it might help someone:
I had an issue on my Nexus 5X running 7.1.2 (beta), it had the same symptoms as OP; no default gateway, WiFi & USB tethering not working
Ran this script and now it works again, so the bug has either returned or wasn't fully fixed

Use openVPN client on a LG P500 - which ROM and settings works?

Hello, I am running CM 7 on my LG P500 and would like to connect to a openVPN server on it.
The build-in function doesn´t seem to work, I´ve exported the certificates from my openVPN Server installed them from SD Card on my LGP500 entered all login data but the connection always fails.
OpenVPN Installer
https://play.google.com/store/apps/details?id=de.schaeuffelhut.android.openvpn.installer&hl=de
also doesn´t work.
So is there any ROM where openVPN works just fine? Or did I a mistake in the VPN config? (any tutorial for this specific ROM?)
I have tested the connection with a newer Phone with Android 4.x and it works perfectly with the official app.
Thanks
Update:
Also tried the tun.ko installer, but it says that the module is not compatible with the phone.
georg2010 said:
Hello, I am running CM 7 on my LG P500 and would like to connect to a openVPN server on it.
The build-in function doesn´t seem to work, I´ve exported the certificates from my openVPN Server installed them from SD Card on my LGP500 entered all login data but the connection always fails.
OpenVPN Installer
https://play.google.com/store/apps/details?id=de.schaeuffelhut.android.openvpn.installer&hl=de
also doesn´t work.
So is there any ROM where openVPN works just fine? Or did I a mistake in the VPN config? (any tutorial for this specific ROM?)
I have tested the connection with a newer Phone with Android 4.x and it works perfectly with the official app.
Thanks
Click to expand...
Click to collapse
This thread will be moved to Optimus One, P500, V Q&A, Help & Troubleshooting

Categories

Resources