[Q] Help with VPNC Widget - Xoom Q&A, Help & Troubleshooting

Hey guys.
So I've got VPNC widget set up nicely on my desire, and want it on my rooted Xoom.
I got launchpad 1.2.2 with tun.ko - I installed tun.ko with insmod - and it shows up nicely in lsmod.
VPNC has root - BUT! When pressing "Check prerequisites" in vpnc widget, it says root is missing. It seems to find the tun fine, and also it has beef with Advanced routing - but it's worked on my phone with this problem too.
When I try to connect at first it seems like it went okay, as it shows up green and "VPNC is ON!" but, I have no connection to the network, can't ping anything on the vpn.
I shut it off and go back in to check the logs, and its filled with:
reloc_library[1315]: xxxxx cannot locate '__set_syscall_errno'...
CANNOT LINK EXECUTABLE
there are like 15-20 lines of this, and then something about:
quick mode response rejected (ISAKMP_N_INVALID_PAYLOAD_TYPE)(1)
Can anyone help me here??

Related

WIFI Tether not working..

Guys, apologies if this has been posted before but couldn't find it.
I've rooted my phone with JF RC9, but for some reason I can't use the wifi tether (one of my main reasons for rooting in the first place). So far as I can tell, I have root (in that I can su in a terminal) and my pc can see the ssid of the phone and connects quite happily but I don't get internet access for some reason - am I missing something really obvious or have others encountered this before?
Hi!
I assume you are using "Wifi Tether for Root Users" ...
If yes please make sure that you are using the lastest Version (0.97.1) which is available here:
http://code.google.com/p/android-wifi-tether/downloads/list
(0.97.1 fixes some cupcake-related issues)
You say that you see that your client is able to connect ... right?
Please check the following:
1) What ip-address do you got from the phone?
(For Windows): Open command-prompt and type "ipconfig"
You should got an ip-address like: 192.168.2.100 (maybe 101, 102, ... at the end).
2) Are you abel to ping the standard-gateway?
type: ping 192.168.2.254
You client must support ad-hoc mode - otherwise it won't work.
Please check and report back.
Man, have I been dense. After spending a couple of weeks, scouring forums, taking the classic I.T. approach of 'turn off, wait, turn on again', I've figured it out...
I'd set up a static i.p. on my pc a long time ago so was still trying to make it through the router...
doh!
Thanks for your reply though harry_m, it was your comment around pinging the i.p. address tat jogged my memory! works like a charm now

[Q] Lost wifi connectivity

Need some expert help on this one. I've googled loads but cannot find a solution.
I'm also very new to this, so be gentle.
Here's my problem: I cannot connect to anything via Wifi. I can browse the web, visit the market etc etc with wifi turned off, but with wifi turned on ... nada!!
History: I rooted my HTC Desire HD recently (using VISIONary) and took out some annoying apps (via adb shell), such as Stocks, Peep and Flickr. Now maybe I've deleted something I shouldn't, but I thought I was being very careful.
I've also clocked the phone using Buzz_sense_1.3.8.3_OCUV, and it appears stable at 1.2GHz (used setCPU)
So Far: I followed a thread to check my wifi is OK and the router is OK, there are no security issues, I trashed all my settings and re-did them, I got a ping app and pinged the router successfully. I use AndFTP app on my phone and that reported a java.net.SocketException: No route to host.
ROM Manager reports "the ROM you are using does not support OTA updates"
The Market app reports "A network error has occured"
WiFi settings says I'm connected, but I cannot browse to anywhere on my phone through Wifi. It's driving me nuts.
Any ideas guys?
[email protected] said:
Need some expert help on this one. I've googled loads but cannot find a solution.
I'm also very new to this, so be gentle.
Here's my problem: I cannot connect to anything via Wifi. I can browse the web, visit the market etc etc with wifi turned off, but with wifi turned on ... nada!!
History: I rooted my HTC Desire HD recently (using VISIONary) and took out some annoying apps (via adb shell), such as Stocks, Peep and Flickr. Now maybe I've deleted something I shouldn't, but I thought I was being very careful.
I've also clocked the phone using Buzz_sense_1.3.8.3_OCUV, and it appears stable at 1.2GHz (used setCPU)
So Far: I followed a thread to check my wifi is OK and the router is OK, there are no security issues, I trashed all my settings and re-did them, I got a ping app and pinged the router successfully. I use AndFTP app on my phone and that reported a java.net.SocketException: No route to host.
ROM Manager reports "the ROM you are using does not support OTA updates"
The Market app reports "A network error has occured"
WiFi settings says I'm connected, but I cannot browse to anywhere on my phone through Wifi. It's driving me nuts.
Any ideas guys?
Click to expand...
Click to collapse
3 ideas:
flash another baseband radio
re-flash your current rom, or another rom if don´t works...
150% effective lol
thanks Sergi but that didn't have any impact, still cannot browse over wifi

[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

[Q] WiFi Tether App Not Broadcasting

Hey guys,
So over the weekend I hacked my original Droid and put Cyanogenmod 7 on it (the stable one). Now I'm trying to get the WiFi Tether app working. I downloaded and installed the WiFi Tether beta found off the Google site (I can't post a direct link since I dont have the 8 post requirement). I set up the SSID name and a WEP password, but it's not broadcasting. Neither me nor my roommate can see it. I even tried connecting to it manually through my laptop just incase the SSID wasn't being broadcasted for whatever reason, but no luck there. I looked through the settings and it literally looks like there isn't much to set up. I was wondering why this is happening? I'm rooted.
When I pressed edit under the menu, then under settings and selected "(Re)-Install binaries/configs", I received the following error: "Couldn't install file - /data/data/com.googlecode.android.wifi.tether/bin/dnsmasq!" I fixed it by stopping the tether and then clicking it again, it said the install was successful. I'm on a Windows 7 machine, my roommate is on a Mac. Neither of us could see the SSID being broadcast even after I installed the binaries/configs.
Someone recommended I try Barnacle. I did, and same result. No errors or red flags, says it's broadcasting, and neither of us can see it. I hardly doubt this is an operating system issue, I believe something's not going right in the apps.

Tips to get VPNC Working on Your Transformer

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....

Categories

Resources