Tips to get VPNC Working on Your Transformer - Eee Pad Transformer Themes and Apps

After finding bits and pieces of help all around these forums, I have assembled consolidated instructions on the steps I needed to take to get the VPNC Widget working on my Transformer (running Prime 2.1.1).
Install the newest version of VPNC from the Market
Install the newest version of Busybox from the Market
Open a terminal window
Switch user to root
su -​Change the /system filesystem to read-write
mount -o,rw,remount -t ext4 /dev/block/mmcblk0p1/system​
Rename /system/bin/ip to /system/bin/ip.bak
mv /system/bin/ip /system/bin/ip.bak​
Change the /system filesystem back to read only
mount -o,ro,remount -t ext4 /dev/block/mmcblk0p1/system​
Update the vpnc-script
cd /data/data/com.gmail.mjm4456.vpncwidget/files
chmod 777 vpnc-script
vi vpnc-script​
Change MYBOX="$0-box" to ="'
I commented out the original, and added the new entry as a new line:
press i to get to insert mode
add a # in front of the line above so it reads #MYBOX="$0-box"
create a new line that says MYBOX=""
press the Volume-Up and e key to leave insert mode
enter :w to write the file
enter :q to close the vi session
chmod 500 vpnc-script​
The VPNC Widget should now work

This did the trick. I did manage to connect to vpn with vpn connections app, but it would freeze when trying to disconnect. This one disconnects easily so I can get back to home network. Thanks.

Hmm, I must be weird.....I installed a "VPNC Widget", entered the information, and can access my companies VPN just as if I was using a regular Linux box; and the only major tweak I've made to my TF was changing to Prime.
Sent from my Transformer TF101 using Tapatalk

Cross posting from the Cisco VPN thread, how can I configure the password to prompt me for my token?
Edit in:
Just leave the PW field blank and it prompts me
Also, I was able to make all your modifications from Root Explorer

I'm running stock prime kernel and I get an error that the advanced routing is not enabled. My VPN disconnects after a random amount of time. Does Roach's OC kernel contain the advanced routing? Can a kernel be recommended that has that? I'd like to be able to maintain a VPN session for longer than 30 mintues.

jefbal99 said:
I'm running stock prime kernel and I get an error that the advanced routing is not enabled. My VPN disconnects after a random amount of time. Does Roach's OC kernel contain the advanced routing? Can a kernel be recommended that has that? I'd like to be able to maintain a VPN session for longer than 30 mintues.
Click to expand...
Click to collapse
I haven't found one yet. I just tried Clemsyn's new kernel, but same thing

I have upgraded to ICS and found I can now VPN using the native application included with ICS. I used the same credentials in the IPSEC Xauth PSK setup as I did in the VPNC Widget setup, and it worked perfectly. Should be no more random disconnect issues.

dm36415 said:
I have upgraded to ICS and found I can now VPN using the native application included with ICS. I used the same credentials in the IPSEC Xauth PSK setup as I did in the VPNC Widget setup, and it worked perfectly. Should be no more random disconnect issues.
Click to expand...
Click to collapse
Yeah, but did you actually use your VPN after connecting? It seems that ICS has a bug and it really doesn't work (do some google searches).
So close, yet so far away... Back to VPNC Widget....

works great for me here ,only issues i have seen are folks using junos pulse but that seems to be a juniper thing YMMV

I guess I should clarify - I'm connecting to a Cisco IPSec VPN using a pre-shared key. Are you saying that you have this working with the current version of ICS (4.0.3)? No that I think of it, I think it's only broke in 4.0.3 - was ok before that....

Related

WPA Enterprise Auth - confirmed working

WiFi on campus here uses WPA enterprise auth - good. I was shocked when I saw that the phone seemingly didn't support it. Network didn't even appear in the list, and Add Network only supports WPA Personal / WEP. How Apple of them. But WHY? It's wpa_supplicant behind the scenes.
I've been using campus wifi successfully for a few days now. It seems to integrate well enough - the wifi settings menu doesn't seem to break at all, the enterprise-authed network and status are listed correctly including the 'lock' icon, etc.
These instructions are slightly modified from being specific to the particular university (posted locally too, you see). If you can rub some braincells together, this can be adapted. The parts regarding a certificates file may or may not be needed in your setup, for example.
* Get a root shell
* cd /data/misc/wifi/
* cat wpa_supplicant.conf
* The existing supplicant config is displayed - copy and paste it into a text editor (the beginning bits are important, as are your existing networks)
* Paste in a working wpa_supplicant.conf section for your network at the end
* Fill in username and password in the new section. Replace the path for cacerts.pem with /data/misc/wifi/cacerts.pem
* Save the new config onto the SD card
* Save the cacerts.pem (same site) onto the SD card also
* On the handset: In the settings/storage menu, disable the SD card for USB storage (otherwise, can't access it from the shell)
* rm wpa_supplicant.conf
* cp would be used here normally, but it isn't in the stock image: dd if=/sdcard/wpa_supplicant.conf of=wpa_supplicant.conf
* chmod 666 wpa_supplicant.conf (Warning! Readable/Writable by EVERYONE! Use 664 such that only root can write it if you want, but this will possibly disallow changes by the settings app - if chown was available, ownership would be reverted back to wifi:wifi)
* dd if=/sdcard/cacerts.pem of=cacerts.pem
* chmod 444 cacerts.pem (needs to be readable by wifi user)
* The network should appear in the wifi menu and connect if you enable wifi. Reboot if not maybe?
Problems:
* Permissions are a bit wonky due to lack of chown. The process would be cleaner with busybox installed (possible with root), but this process is written to work on a stock RC29 handset.
* It will almost surely fail following an update. Try not to give up root before the WiFi UI is patched
* Maybe there's a reason that enterprise auth is absent from the settings UI
* WiFi settings page may or may not break. WiFi settings page may or may not undo your changes.
A quick troubleshooting tip: if you've dealt with wpa_supplicant before, note that wpa_cli is available to root. Helpful to diagnose any issues that crop up.
Enjoy.
How Apple of them. But WHY? It's wpa_supplicant behind the scenes
Click to expand...
Click to collapse
I suspect it's because the majority of consumers only access wifi networks secured through psk or mac-address. iirc my university used mac-address too. Not sure if that's changed by now. In any case, I wouldn't hold my breath for official support on the G1. Maybe on some future Android device with enterprise in mind.
Anyway, good tips and good first post. Welcome to the forum
busybox has chown
WPA2
Can I ask a question?
The SSID for your campus wifi is not broadcasted, correct? if this is true, then it won't show up and the only way to get access is to add it manually.
Now when you go to add it manually, did you try to change the type of security before you flipped out the keyboard? Just wondering since WPA2 is clearly seen if you have the keyboard in and if you have it out it looks like WPA2 isn't an option but if you try to move the security box with a swipe up with your finger, WPA2 will be shown. I haven't had a single problem attaching to my home or work network using WPA2 PSK since RC19 and beyond.
Yep, busybox has chown - which makes the whole thing cleaner and safer. My instructions were written originally with no assumptions as to previous modding, incl how to get telnet.
The wifi network here does broadcast, but is filtered out due to "unsupported" security. Add network lists wpa2 personal but not enterprise.
I modified my wpa_supplicant.conf file using your instructions and it worked!
Thanks!
Dave
vSymm said:
How Apple of them. But WHY? It's wpa_supplicant behind the scenes.
Click to expand...
Click to collapse
Because there's a substantial amount of UI work that needs to be done for WPA2-Enterprise compared with the relatively common WPA2-PSK.
My advice? If official support is something you'd like, go write it and submit a patch to the Android devs.
Not working
I can't get this to work. It says "failed to start wifi".
My non-enterprise wifi won't even work now. It connects but apps say network error.
I am trying to connect to my university's wifi that is "Secure 802.1X authentication and EAP-TTLS with PAP inner-authentication (anonymous)"
Can anyone give me an example config for this? It doesn't use a certificate.
Confirm that the permissions were set correctly on wpa_supplicant.conf
I'm sure you can find an example for that particular setup online somewhere.
happyface_0 said:
I can't get this to work. It says "failed to start wifi".
My non-enterprise wifi won't even work now. It connects but apps say network error.
I am trying to connect to my university's wifi that is "Secure 802.1X authentication and EAP-TTLS with PAP inner-authentication (anonymous)"
Can anyone give me an example config for this? It doesn't use a certificate.
Click to expand...
Click to collapse
try this:
adb shell
cd /data/misc/wifi
chown 1010:1010 wpa_supplicant.conf
Worked for me too, but the connection was really unstable. I've added the option bssid to wpa_supplicant.conf to prevent roaming. Now it works really well on my desk, but I haven´t tried the rest of the company.
need help connecting
I'm trying to connect to a campus network, I see the SSID detected (as following), and It tries to connect and aborts by itself.
my wpa_supplicant.conf shows this:
network={
ssid="Techwifi"
scan_ssid=1
key_mgmt=NONE
priority=2
}
hey guys,
will this also work with WPA2 and EAP/TTLS with PAP?
or do you know when this feature will be integrated?
thaks a lot
linulli said:
hey guys,
will this also work with WPA2 and EAP/TTLS with PAP?
or do you know when this feature will be integrated?
thaks a lot
Click to expand...
Click to collapse
Yes, I have it working.
Code:
network={
ssid="ssidname"
scan_ssid=1
key_mgmt=WPA-EAP
eap=TTLS
identity="user"
password="pass"
phase2="auth=PAP"
}
Note: It seems to drain my G1's battery pretty nicely and it starts to get hot after being connected for a bit. Also, my G1 added disabled=1 to the end of this network after the ADP1 v1.1 update, strange.
Thanks happyface_0,
so I will have a few minutes online.
Is there a way to alter your wpa_supplicant settings on an unrooted German G1 , or how can i downgrade and then alter the settings, does anyone know?
I'd love to know that too, i really want to use wifi at work.
Can we do anything to help you help us?
Maybe someone with a US RC33 can look if the WPA 2 Enterprise support finally made it into the gui of the G1 , then our problem would be solved ,
can´t find something on the net which says that WPA 2 Enterprise was part of the Internet .
So please can somebody look up his or her connection settings for wlan and tell us if WPA 2 Enterprise is available now?
Gedomania said:
Maybe someone with a US RC33 can look if the WPA 2 Enterprise support finally made it into the gui of the G1 , then our problem would be solved ,
can´t find something on the net which says that WPA 2 Enterprise was part of the Internet .
So please can somebody look up his or her connection settings for wlan and tell us if WPA 2 Enterprise is available now?
Click to expand...
Click to collapse
Neither WPA-Enterprise nor WPA-2 Enterprise are available yet without actually editing the wpa_supplicant configuration manually, even on RC33.
Hmm thats pretty sad, is it actually possible to write a program which can edit the Wpa_supplicant file so that we can manually insert the settings we need to get WPA 2 Enterprise working , even on phones without root?

Android tablet kyros mid 7015 -connect to Adhoc aka WiFi tether

Ok eveyone Here is something that myself and adamdietrick
Worked on for a few hours. The tablet is not to great without the internet
So I been racking my brain trying to figure this out.
So what we need to do first is get a few programs from the market place
The programs you will need are:
HydTech's adhoc wifi <-----Install it onto your phone cost like $.99
This program you might want to test without it first.I seem to be able to kill
the app on my phone and still connect just fine.
WiFi Tether <-----Tested it with this one others might work not sure.
For the purpose of making it easy program on your phone the SSID as
androidtether with the key being 0123456789012
There is a way to edit this but I want to keep it simple.
Next on your Tablet you will need the to install a program called gscript.
This is a free program from the market place.
Once you have done all this the next step is to download the zip file below
Extract the zip file and mount your sdcard on your tablet.
Inside the zip there is folder called gscript place this on the sdcard.
Inside the zip there is 5 files.The adhoc.sh and normal.sh have to stay within the gscript folder.
The other 3 files are named
wpa_supplicant.conf
wpa_supplicant.conf.adhoc
wpa_supplicant.conf.normal
These need to be pushed to /data/misc/wifi
I would recommend using droid explorer and then you can just paste them into
the correct directory.
Once you have this done then open gscript and click the menu button
choose add script The first one I named adhoc and then make sure that needs su is checked. Once this is done choose load file and choose the adhoc.sh file
click on save. Now Do the same steps over but this time when choosing load file choose normal.sh then click save.
Now on the desktop press and hold choose shortcuts and goto gscripts then choose one of the ones that you saved.Repeat this but choose the other one that you created.
One thing I have noticed about this is that it's more than likely best to turn the WiFi off when switching between the 2 types of networks. When switching I also noticed that sometimes it takes a little longer for it to connect to the networks.
Hope this works for everyone.
I'm not having any luck with this fix. I am using a Windows Mobile Phone Touch Pro 2 that has WIFI router installed on it. I noticed that you are using a 13 digit key "0123456789012" where as the windows mobile phone only allows for a 10 digit key with the default of "1234567890". I modified the wpa_supplicant.conf.adhoc to have just the "1234567890" key, but when I choose the adhoc script on the tablet, the wifi (androidtether connection) says obtaining ip address, and then eventually says unable to obtain IP. Is there a way to set a static IP in the WPA supplicant, or force this connection to work? Also I notices that network type is set to auto. My phone uses WEP. I wonder if this is the problem??? Is there a way to force the network type in whe wpa_supplicant.conf.adhoc to have a network type of WEP.
Any help you can provide would be appreciated!!!
By the way, I can tether just fine from any Windows laptop to my phone, so I know the phone is not the problem.
apr24991 said:
I'm not having any luck with this fix. I am using a Windows Mobile Phone Touch Pro 2 that has WIFI router installed on it. I noticed that you are using a 13 digit key "0123456789012" where as the windows mobile phone only allows for a 10 digit key with the default of "1234567890". I modified the wpa_supplicant.conf.adhoc to have just the "1234567890" key, but when I choose the adhoc script on the tablet, the wifi (androidtether connection) says obtaining ip address, and then eventually says unable to obtain IP. Is there a way to set a static IP in the WPA supplicant, or force this connection to work? Also I notices that network type is set to auto. My phone uses WEP. I wonder if this is the problem??? Is there a way to force the network type in whe wpa_supplicant.conf.adhoc to have a network type of WEP.
Any help you can provide would be appreciated!!!
By the way, I can tether just fine from any Windows laptop to my phone, so I know the phone is not the problem.
Click to expand...
Click to collapse
Not sure how much difference it will be for a windows mobile phone compared to android so it might have issues. I had this same issue before getting the
HydTech's adhoc wifi installed on my phone not sure what it does but was told to use it. I can kill it and still get it to connect.
Hi, this directory "/data/misc/wifi/" is on your SD card right?
I tryed on my MID7015.
It kept saying: stderr: /data/misc/wifi/wpa_supplicant.conf.
adhoc: No such file or directory
clmlo said:
Hi, this directory "/data/misc/wifi/" is on your SD card right?
I tryed on my MID7015.
It kept saying: stderr: /data/misc/wifi/wpa_supplicant.conf.
adhoc: No such file or directory
Click to expand...
Click to collapse
no this is a directory on the system.
the directory that needs to be on the sdcard is the gscript.
from the cmd prompt you have to go to the sdk
example === C:\android\android-sdk-windows\tools
then type
adb push wpa_supplicant.conf /data/misc/wifi
adb push wpa_supplicant.conf.adhoc /data/misc/wifi
adb push wpa_supplicant.conf.normal /data/misc/wifi
This should fix the issue
Sorry, I am new to this.. I just got my Coby today... How do you go to command pompt? I try to just drop the file on system using the explorer to /data/ and say I don't have enough permission.
I guess I have to install that SDK?
kyros
Ok I fallowed you guide to the T but I can not see my htc hero on my tablet. My laptop sees it but not my tablet. Help me out. I placed the files in the correct dirctories but no go. My tablet is rooted with z4root temp root a my apps that need root wotk fine, but i cant get this to work. Iam on Android 2.1 on both the tablet and my hero.
You know.. I gave up! After screwing around for hours... I lost my wifi on my pad. It say can not scan for wifi...
I was so freaked out! Finally I hold the Power button and the Home Button on power up. Then hit "Reset and erase all users data". I was managed to get my WiFi back....
Screw it! I can't freaking believe they don't have Ad-Hoc on android! I didn't know until I brought this thing!
I believe Android 2.2 support it? When or will we ever going to get this??? Or someone out there can made an application for this...... it will made our life easier!!
sal1ace said:
Ok I fallowed you guide to the T but I can not see my htc hero on my tablet. My laptop sees it but not my tablet. Help me out. I placed the files in the correct dirctories but no go. My tablet is rooted with z4root temp root a my apps that need root wotk fine, but i cant get this to work. Iam on Android 2.1 on both the tablet and my hero.
Click to expand...
Click to collapse
Ok so you did install Gscript and have both the adhoc.sh and normal.sh in the gscripts folder on the sdcard correct? If so then in the program gscripts
you added the scripts into there I am guessing. If this is the case then
You can do the shortcuts like I explained or you can open the gscript program and click either adhoc or normal. Also did you try it with the hydtech adhoc.
I can not find the HydTech's adhoc wifi in the market Place. I guess without that one the tiwlan.ini is going to be missing. Am I right? I just want ot tether from my IPHONE 3Gs to the COBY KYROS. Do I need the TIWLAN.INI ?
tether
I too would like to be able to tether it with my iphone i know i should have got a droi phone but we were already stuck with an atnt contract
on my tablet i don't have the misc or misc/wifi folders in the data folder...should i create them?
stardawg said:
on my tablet i don't have the misc or misc/wifi folders in the data folder...should i create them?
Click to expand...
Click to collapse
Your using the Coby Kyros 7015
havic said:
Your using the Coby Kyros 7015
Click to expand...
Click to collapse
I'm using a witstech a81e+ with froyo 2.2 1122 version
I tried using astro, es file explorer and andExplorer all with no luck creating the folder
i used z4root to root and add superuser
i have also installed su but don't know how to use it 8^/
stardawg said:
I'm using a witstech a81e+ with froyo 2.2 1122 version
I tried using astro, es file explorer and andExplorer all with no luck creating the folder
i used z4root to root and add superuser
i have also installed su but don't know how to use it 8^/
Click to expand...
Click to collapse
Try Root Explorer. It will show folders that other apps will not.
OK...this was a great learning experience, but without payoff
I rooted my device...gave gscript lite to run as su...copied the conf, adhoc and normal files to the /system/data/misc/wifi folder using adb push commands...modified the adhoc and normal files using droid explorer...and lost ability to connect to any wireless network
deleted the wpa_supplicant.conf file using adb shell and reconfigured my wireless router
thought..hmmm...maybe if i use the .conf file droid automagically created it will all work...bump bump bum...DOH!
deleted the wpa_supplicant.conf file using adb shell and reconfigured my wireless router
BACK WHERE I STARTED WITH NO ADHOC WIFI
Anyone having an issue with Droid Explorer not seeing your tablet? I even followed the steps Droid Explorer provides in the youtube video.
Edit* I was able to copy the files using Root Explorer, but now when clicking Load File in gscript it doesn't list any .sh files.
Edit #2* Okay, I didn't put the .sh files in the gscript folder that is why they didn't show up.
Edit #3* I think I'm just an idiot, but after everything is installed and now I try to turn on wi-fi, it turns on for a split second, then turns itself off.
stardawg said:
OK...this was a great learning experience, but without payoff
I rooted my device...gave gscript lite to run as su...copied the conf, adhoc and normal files to the /system/data/misc/wifi folder using adb push commands...modified the adhoc and normal files using droid explorer...and lost ability to connect to any wireless network
deleted the wpa_supplicant.conf file using adb shell and reconfigured my wireless router
thought..hmmm...maybe if i use the .conf file droid automagically created it will all work...bump bump bum...DOH!
deleted the wpa_supplicant.conf file using adb shell and reconfigured my wireless router
BACK WHERE I STARTED WITH NO ADHOC WIFI
Click to expand...
Click to collapse
Just wanted to let everyone know I got this working with WMWifiRouter. It appears my Media Net connection on the Kaiser was configured to use a proxy server (wish I had written down what was cause now its gone). Anyway...there is a setting in WMWifiRouter to enable proxy use. Checked that guy and off I went. Now I've cleared the proxy settings in both the Media Net configuration and the WMWifiRouter. It works...but drains the battery bad Anyone know how to tether a droid 2.2 tablet to a wm6.1 Kaiser on ATT network using a usb cable or bluetooth dun?
stardawg said:
Just wanted to let everyone know I got this working with WMWifiRouter. It appears my Media Net connection on the Kaiser was configured to use a proxy server (wish I had written down what was cause now its gone). Anyway...there is a setting in WMWifiRouter to enable proxy use. Checked that guy and off I went. Now I've cleared the proxy settings in both the Media Net configuration and the WMWifiRouter. It works...but drains the battery bad Anyone know how to tether a droid 2.2 tablet to a wm6.1 Kaiser on ATT network using a usb cable or bluetooth dun?
Click to expand...
Click to collapse
I've been using WmWiFiRouter, though I have a Touch Pro 2. I can't get this working at all. If I try connecting without modifications, it won't connect to IBSS (ad-hoc) connections. If I use the scripts above, it turns Wifi on, then right back off again, or errors in scanning. What did you do differently? Are you using a Coby MID7015?
bluedeer said:
I've been using WmWiFiRouter, though I have a Touch Pro 2. I can't get this working at all. If I try connecting without modifications, it won't connect to IBSS (ad-hoc) connections. If I use the scripts above, it turns Wifi on, then right back off again, or errors in scanning. What did you do differently? Are you using a Coby MID7015?
Click to expand...
Click to collapse
I am using a Witstech A81E running Android Froyo 2.2. Sorry if I've posted in the wrong forum
But I did use the scripts attached in the zip file in the original post to get mine working. You have to make sure to change the SSID to match your WMWifiRouter SSID. For testing, use the default "WMWifiRouter". Here is what my wpa_supplicant.conf.adhoc file looks like
ctrl_interface=DIR=/data/system/wpa_supplicant GROUP=wifi
update_config=1
ap_scan=2
network={
ssid="WMWifiRouter"
key_mgmt=NONE
mode=1
wep_key0=1234567890
priority=20
}
Click to expand...
Click to collapse
I also had to enable using a proxy in the WMWifiRouter configuration. You have to start up the 3G -> Wifi router first. Then select Options -> Configuration -> Advanced. Then select Profiles -> DNS -> Enable Proxy and set the Enable Domain Name Resolution Proxy setting to Enable.
That's what worked for me

[MOD][RecoveryZIP] OpenVPN for MCR/PRIME

I have created a recovery zip for personal use which adds openvpn binary and tun.ko (tun.ko optional).
It has been tested on Modaco HR7/HR8, PRIME 1.4/1.5, with both Stock kernel and Clemsyn-Blades OC kernel.
I also found when trying to add openvpn that some of the current ROMs do not create all the busybox symlinks, so I added these as well.
Posting this 'as is', I do not have much available time to support it.
What it does:
copy openvpn binary to /system/xbin
copy tun.ko to /system/lib/modules/tun.ko (optional, if your ROM/kernel already has tun.ko then no need to replace it)
create symlinks
set permissions
How to use:
copy your openvpn configuration files to /sdcard/openvpn
download and install OpenVPN settings for honeycomb (link below, thanks Kevincod)
open OpenVPN settings
menu -> advanced
tick 'Load tun kernel module'
open 'TUN module settings'
Load module using: insmod
Path to tun module: /system/lib/modules/tun.ko
Warning: Make sure you take a nandroid backup first, whilst the tablets it was tested on work perfectly I assume no responsibility if it causes issues on your particular set up. Hence a nandroid backup allows you to roll back easily.
Downloads:
add-openvpn-with-tun-3.1.zip (809.43 KB) http://www.multiupload.com/1284WU822D
MD5: B4FE1C0EFE98F3169D6EE6FB0EC67F94
add-openvpn-without-tun.zip (714.46 KB) http://www.multiupload.com/SPQPHPY6WL
MD5: 5623F1D552978647212635AFD4AB0402
OpenVPN Settings for Honeycomb (Thanks Kevincod)
http://forum.xda-developers.com/showthread.php?p=15264488#post15264488
Thanks for this, however after flashing the openvpn+tun zip file on PRIME! v1.5 there is an annoying thing that happens. The tunnel I connect to works fine - I can see the VPN IP address when I go to myiptest.com - but the notification tray keeps popping up with the 'connected' confirmation over and over. It keeps happening until I disconnect the VPN tunnel. Is there anything that can be done about this? Is it a ROM issue or a problem with the openvpn binary file?
From what I have read it is a known issue.
Sent from my Desire HD using Tapatalk
jonitfcfan said:
Thanks for this, however after flashing the openvpn+tun zip file on PRIME! v1.5 there is an annoying thing that happens. The tunnel I connect to works fine - I can see the VPN IP address when I go to myiptest.com - but the notification tray keeps popping up with the 'connected' confirmation over and over. It keeps happening until I disconnect the VPN tunnel. Is there anything that can be done about this? Is it a ROM issue or a problem with the openvpn binary file?
Click to expand...
Click to collapse
That is a known issue with the OpenVPN Settings application.
It has been reported. http://code.google.com/p/android-openvpn-settings/issues/detail?id=74
daedelus82 said:
That is a known issue with the OpenVPN Settings application.
It has been reported. http://code.google.com/p/android-openvpn-settings/issues/detail?id=74
Click to expand...
Click to collapse
There hasn't been any updates to OpenVPN Settings for a while and it's open source, ill see if i can get a honeycomb fixed version running.
Kevincod said:
There hasn't been any updates to OpenVPN Settings for a while and it's open source, ill see if i can get a honeycomb fixed version running.
Click to expand...
Click to collapse
Go for it .
There: http://forum.xda-developers.com/showthread.php?p=15264488#post15264488
That was quick . I'll have to try this out and report back with my findings...
I've now tried this for myself and on the whole it works very well. One thing however is that the notifications tray does still get slightly 'spammed' after connecting to the tunnel, but after a few moments it does settle down and stop as I would expect it to. Good first attempt but still needs a few small tweaks to keep the notifications under control. Keep working on it, it's showing promise .
jonitfcfan said:
I've now tried this for myself and on the whole it works very well. One thing however is that the notifications tray does still get slightly 'spammed' after connecting to the tunnel, but after a few moments it does settle down and stop as I would expect it to. Good first attempt but still needs a few small tweaks to keep the notifications under control. Keep working on it, it's showing promise .
Click to expand...
Click to collapse
Yea I just wanted to quick fix the spam after the tunnel was connected, during connection its still buggy, ill fix that when i have more time
It looks as though the connecting messages lag a bit after the tunnel is up. I noticed other notifications lag similarly, as if they get queued up.
For me it seems to last around 10 seconds, very minor. Thank you for making this mod.
Thanks OP. This makes openvpn installation super easy.
Sent from my Transformer TF101 using Tapatalk

CMD for ipconfig /release , ipconfig/renew ??

My problem again is that i cant connect to a second wireless router(no password needed for second router), the 1sth router its password protected (@ my work) ,then i come home and i cant connect because the IP from my work its not gone and theres no way to release/renew
I want to know if theres an app to emulate CMD like in windows (and not a computer needed to do it),i want to do it on my tf instead (dont tell me "turn off/on your router " please, i wont be asking on mcdonalds or burguer king if they can turn off/on their router )or any other place if they can do that so i can release my ip and get a new one
Thats what i want to avoid , so if theres some way to release /renew my ip (and no computer needed) then that will be great
I have revolver rom installed , but this PROBLEM was even on the stock rom ,so is not the rom or the 2 routers, my wifes ipod 4th gen connects right away and always renews ip at any place
Please help me
Thanks in advanced
jesesystem said:
I want to know if theres an app to emulate CMD like in windows (and not a computer needed to do it),i want to do it on my tf instead (dont tell me "turn off/on your router " please, i wont be asking on mcdonalds or burguer king if they can turn off/on their router )or any other place if they can do that so i can release my ip and get a new one
Click to expand...
Click to collapse
You can use terminal emulator for "CMD" window.
Just turning off your tablet will reset the wifi and it will scan for a new access point. Leaving the area of the AP at work should cause it to scan for a new one too. If you have hard coded a static IP address in your advanced wireless settings, pick up an app like WiFi Manager from the market to allow you to have multiple profiles and switch between them.
---------- Post added at 01:15 PM ---------- Previous post was at 01:13 PM ----------
gls9 said:
You can use terminal emulator.
Click to expand...
Click to collapse
Network settings require root to perform and there are nice apps that do point and tap to set it.
gls9 said:
You can use terminal emulator for "CMD" window.
Click to expand...
Click to collapse
Do you know how to release / renew ip with that program?
drowe said:
Just turning off your tablet will reset the wifi and it will scan for a new access point. Leaving the area of the AP at work should cause it to scan for a new one too. If you have hard coded a static IP address in your advanced wireless settings, pick up an app like WiFi Manager from the market to allow you to have multiple profiles and switch between them.
---------- Post added at 01:15 PM ---------- Previous post was at 01:13 PM ----------
Network settings require root to perform and there are nice apps that do point and tap to set it.
Click to expand...
Click to collapse
Both are DHCP enabled, so i dont know why it wont release it from previous routers , ive tried turning off/on both routers and tablet aswell and the problem persist.
With wifi manager i can make my TF to "release", or forget the las ip ?
Maybe I don't understand the problem, but can't you change wireless connections in the settings/wireless menu? Tap on the new connection?
sent from my cyanogen(mod) vision
gee one said:
Maybe I don't understand the problem, but can't you change wireless connections in the settings/wireless menu? Tap on the new connection?
sent from my cyanogen(mod) vision
Click to expand...
Click to collapse
i cant release the previous ip (my work , protected with password, dhcp enabled)
when i get home i have the last IP (from work), si i try to connect at my home router but i can see i have the ip form work, and theres no way i can release it to get a new onw from my home router.
i can acces my tf options to see what connections are on range and i can connect aswell, but the old ip form work wont dissapear and i cant acces internet or any other web content because i dont have a valid IP and there no way i can get rid of it
so i was asking if theres some way/app/etc etc to get the new ip working from my home router(not password protected)
but i think thats not the problem(open router), mi wifes ipod can connect everytime she gets home, its TF problem
If you need to get a new IP, turn on airplane mode, then turn it off. Simple as that. You're seriously overcomplicating this.
a.mcdear said:
If you need to get a new IP, turn on airplane mode, then turn it off. Simple as that. You're seriously overcomplicating this.
Click to expand...
Click to collapse
i have not tried that, i will take the TF to work today and se if that works
on a side note; im not overcomplicating anything, im trying to get help for something i dont know, im just a new TF user
thank you for the advice and i hope it works
Also, just in case, you may want to check that you don't accidentally have a static IP set on your device. Sometimes its easiest to avoid problems by simply deleting the network profile from your Transformer (or "forget" the network in Wifi Settings), and then attempt to re-connect again fresh.
a.mcdear said:
Also, just in case, you may want to check that you don't accidentally have a static IP set on your device. Sometimes its easiest to avoid problems by simply deleting the network profile from your Transformer (or "forget" the network in Wifi Settings), and then attempt to re-connect again fresh.
Click to expand...
Click to collapse
Its set to DHCP so i know thats not the problem, i guess the problem rely on the routers, maybe i need to add password to my home router and see if keep getting the same problem, but as i said before i will have problems on every open wireless network maybe
As alluded to, the work IP falls out of range and hunts for a new AP.
Do you have MAC filtering?
OT: Why do you have an open home net?
GasGuzz said:
As alluded to, the work IP falls out of range and hunts for a new AP.
Do you have MAC filtering?
OT: Why do you have an open home net?
Click to expand...
Click to collapse
i know it have to look for a new ip, but no its not doing it on my home network, thats why im having problems
as i said before, what am i gonna do when i try to connect to another open network ?? (ask them to turn off/on their routers , ask them to put password)
i dont know if this only happens with my router, i will try all the advices when i get home tonigth and see what happens
It’s (most probably) not the TF.
My work has both Open/Secured APs. It connects to the Secured as soon as it’s in range/awake, unless I manually hook it up to the Open. Same at Secured home, it connects no-mess/no-fuss.
How many Open nets do you ‘see’ at home?
GasGuzz said:
It’s (most probably) not the TF.
My work has both Open/Secured APs. It connects to the Secured as soon as it’s in range/awake, unless I manually hook it up to the Open. Same at Secured home, it connects no-mess/no-fuss.
How many Open nets do you ‘see’ at home?
Click to expand...
Click to collapse
just my network it's open, but my wifes ipod can connect/disconect as fast as you say with you network, it's just the TF not getting the new IP everytime i get home from work.
i was so freaking mad 2 days ago so i did a full wipe, that did the trick , i didnt have lot of apps that's why i did it , but i dont want to do it again and get all my apps lost one more time
nop !!!
none of the above advices worked , im so sorry for the guy saying i was overcomplicating this, and no , the airplane mode dindt solve it either
so i dont know wth can i do , the problem again is that i cant get a new IP, my last ip it's still not released (not even with airplane mode) , turnit off/on the device and tablet wont solve it either
i did the test with my wifes ipod (took it work then comeback)and it works as it should, just the TF doesnt work
so if i can do it with with terminal emulator (to release/renew IP) i will appreciate the step by step guyz
thanks in advanced
If you're using DHCP, under GNU/Linux the way is to launch the terminal emulator and run
Code:
dhclient -r
and then either restart the network interfaces (different between distros) or to run the DHCP client on the interface (in my tablets case, probably 'dhclient wlan0' without the quotes).
BUT!!! This being an Android tablet rather than a standard GNU/Linux system, has no dhclient program as far as I know. I have access to ifconfig, dhclient, etc by way of having Debian stable programs running in a chroot.
You might try disabling WiFi, forgetting the network, and reconnecting to it. The last router I had also had a way of getting rid of leases manually, either by telling it to tell the client to FO or deleting them all.
EDIT: Give or take specifics, I think the TF101 (or at least Prime) has dhcpcd. Try
Code:
dhcpcd -k wlan0
dhcpcd -n wlan0
to release and then renew. No promises if that will do jack though. You might also just try running 'dhcpcd wlan0' (without quotes).
For terminal emulators, go to the market or check if your ROM has one (Prime does).
Sent from my Transformer TF101 using Tapatalk
You really shouldn't have to go through any of this stuff. I'd say the system is borked, maybe the hardware, maybe the software. You could try flashing a new version or just take it back, show them you can't connect to their network and get a replacement. It really works as easily as we say and as easy as the wife's ipod. I would take it back or send it in for repair, I think you have a broken system.
Spidey01 said:
If you're using DHCP, under GNU/Linux the way is to launch the terminal emulator and run
Code:
dhclient -r
and then either restart the network interfaces (different between distros) or to run the DHCP client on the interface (in my tablets case, probably 'dhclient wlan0' without the quotes).
BUT!!! This being an Android tablet rather than a standard GNU/Linux system, has no dhclient program as far as I know. I have access to ifconfig, dhclient, etc by way of having Debian stable programs running in a chroot.
You might try disabling WiFi, forgetting the network, and reconnecting to it. The last router I had also had a way of getting rid of leases manually, either by telling it to tell the client to FO or deleting them all.
EDIT: Give or take specifics, I think the TF101 (or at least Prime) has dhcpcd. Try
Code:
dhcpcd -k wlan0
dhcpcd -n wlan0
to release and then renew. No promises if that will do jack though. You might also just try running 'dhcpcd wlan0' (without quotes).
For terminal emulators, go to the market or check if your ROM has one (Prime does).
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
with that code i get this
open_control : Permision denied
with dhclient -r i get this
dhclient : permision denied
im already rooted, my TF its the tf101
drowe said:
You really shouldn't have to go through any of this stuff. I'd say the system is borked, maybe the hardware, maybe the software. You could try flashing a new version or just take it back, show them you can't connect to their network and get a replacement. It really works as easily as we say and as easy as the wife's ipod. I would take it back or send it in for repair, I think you have a broken system.
Click to expand...
Click to collapse
well i cant do that , i bougth it from ebay , i dont think its the TF itself, maybe the router (but the ipod works :S )
i will try and see if it happens on some other open network, or just replace the modem

[Q] Advanced Routing?

The VPNC Widget in use by several here requires the use of advanced routing to maintain the VPN connection, otherwise it randomly will drop.
Question 1 - Are there any kernels currently available with advanced routing enabled? I have not been able to find any.
Question 2 - Are there advanced routing modules that can be loaded ad hoc?
Thanks in advance for the guidance.
When I was using Prime 2.1.1 on my TF101, I had no problems. Except the thing would regularly FC even if vpnc was still running, and it would disconnect after like X minutes of inactivity.
Sent from my Transformer Prime TF201 using Tapatalk
Spidey01 said:
...it would disconnect after like X minutes of inactivity.
Click to expand...
Click to collapse
The random disconnect issue is a result of not having advanced routing in the kernel, hence my request. Otherwise, VPNC Widget works perfectly for me.
I have not seen a ROM with advanced routing but it is not going to be an issue anymore. ICS has (among other things) a built-in support for old-style Cisco VPNs (XAuth) and the long-awaited update is being rolled out by Asus (currently in Asia only) => VPNC Widget won't be needed.
jpkx1984 said:
I have not seen a ROM with advanced routing but it is not going to be an issue anymore. ICS has (among other things) a built-in support for old-style Cisco VPNs (XAuth) and the long-awaited update is being rolled out by Asus (currently in Asia only) => VPNC Widget won't be needed.
Click to expand...
Click to collapse
I have tried accessing our corporate VPN on a Prime running ICS, it won't handle the group ID and password necessary, so VPNC will still be required for that.
dm36415 said:
I have tried accessing our corporate VPN on a Prime running ICS, it won't handle the group ID and password necessary, so VPNC will still be required for that.
Click to expand...
Click to collapse
My network uses group password as well and it works fine with ICS on my Galaxy Nexus. The VPN type has to be set to "IPSec Xauth PSK", "IPSec identifier" is actually a group name. You are asked for final user login/password during connection attempt.
jpkx1984 said:
My network uses group password as well and it works fine with ICS on my Galaxy Nexus. The VPN type has to be set to "IPSec Xauth PSK", "IPSec identifier" is actually a group name. You are asked for final user login/password during connection attempt.
Click to expand...
Click to collapse
Thanks for the tip, I'll check it out.
Hello
I'm having some problems with Connecting to my works VPN with my TF101 which just got the ICS update this morning.
I set it all up just like I used to with my Xoom (running ICS) and just how I do with my Galaxy Nexus, those all work fine, but with my Transformer when I click on the VPN thing to connect, it connects, however when I look at it's info, I can see that nothing is being sent or received.
When I try to remote into my comptuers I can't, when I try to access the intraweb I can't.
So I really don't know if this is something I'm doing wrong (although I'm doing exactly what I have done before on other devices) or if it's something wrong with the TF101.
I'm not rooted currently and I got the update over the air.
Thanks, and I'm sorry if I am posting this in the wrong place.
dm36415 said:
Thanks for the tip, I'll check it out.
Click to expand...
Click to collapse
I upgraded to ICS this morning and tried it, unfortunately it again just timed out.

Categories

Resources