[Q] Previous version of Cisco AnyConnect for Rooted Devices? - Eee Pad Transformer Themes and Apps

Does anyone have an apk for a previous version of Cisco AnyConnect for Rooted Devices? I had it installed on my TF and it worked great with my company's VPN. However, on September 8th they released an updated version and I foolishly updated to the current 2.4.7073 version. Now whenever I start it it says "Completing setup. Please wait..." then throws an error "A problem occured while completing setup." I tried reinstalling it several times with the same outcome. If someone has a previous apk I would really aprpeciate it.
Thanks

any connect
I had this same issue. Try reinstalling busybox, this fixed my issue.

Brondar1 said:
I had this same issue. Try reinstalling busybox, this fixed my issue.
Click to expand...
Click to collapse
Thanks for the reply. I am running Prime ROM and after I downloaded Busybox installer from the market (and ran the installer to install it) it is now telling me that Cisco could not obtain appropriate permissions - like my TF is not rooted, but it is. I guess I screwed it up.

Gorby try loading add-openvpn-without-tun (need to flash through clockwork mod. It can be found here
http://forum.xda-developers.com/showthread.php?t=1125996
Should install all the lib files and symlinks needed to get anyconnect to work.

Thanks all. I re-installed new Prime ROM, installed Cisco (got the same error), then using Root Explorer I copied Cisco libraries into system/lib folder as recommended in Prime ROM thread and it is working great. I like the new enhancements that Cisco did too, the status icon is now gone when you close VPN.

gorby911 said:
Thanks all. I re-installed new Prime ROM, installed Cisco (got the same error), then using Root Explorer I copied Cisco libraries into system/lib folder as recommended in Prime ROM thread and it is working great. I like the new enhancements that Cisco did too, the status icon is now gone when you close VPN.
Click to expand...
Click to collapse
Thanks for the info - I've been trying to get AnyConnect running since I got my Transformer but kept getting the same error you were getting.
When you say to copy the Cisco libraries into system/lib, where can I get the "Cisco libraries" in the first place (not running Prime - running Revolver 2.5).
Thanks!
Sent from my Transformer TF101 using Tapatalk

jtrosky said:
Thanks for the info - I've been trying to get AnyConnect running since I got my Transformer but kept getting the same error you were getting.
When you say to copy the Cisco libraries into system/lib, where can I get the "Cisco libraries" in the first place (not running Prime - running Revolver 2.5).
Thanks!
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
Hi, the libraries are actually installed when you install the new Anyconnect from the market but you need to copy them to system/lib folder. The details are in this post.
Also, you need tun.ko module installed as part of kernel in order for Anyconnect to work. One of the reasons I picked Prime ROM is because it has it built in already so I didn't have to worry about installing it myself. I donno if Revolver has it, you should check. Hope this helps.

gorby911 said:
Hi, the libraries are actually installed when you install the new Anyconnect from the market but you need to copy them to system/lib folder. The details are in this post.
Also, you need tun.ko module installed as part of kernel in order for Anyconnect to work. One of the reasons I picked Prime ROM is because it has it built in already so I didn't have to worry about installing it myself. I donno if Revolver has it, you should check. Hope this helps.
Click to expand...
Click to collapse
Thanks for the reply. I actually figured out where to copy them from and I got AnyConnect up and running, but when I connected, the VPN said 'No license" and disconnects me. I guess AnyConnect isn't going to be my solution either...
All that I want to do is use my Android device to connect to my works Ciscso IPSec (pre-shared keys) VPN! Every other device in the world supports this VPN - why not Android devices??? I just don't get it....
Sent from my Transformer TF101 using Tapatalk

jtrosky said:
Thanks for the reply. I actually figured out where to copy them from and I got AnyConnect up and running, but when I connected, the VPN said 'No license" and disconnects me. I guess AnyConnect isn't going to be my solution either...
All that I want to do is use my Android device to connect to my works Ciscso IPSec (pre-shared keys) VPN! Every other device in the world supports this VPN - why not Android devices??? I just don't get it....
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
Sorry, can't help you there. I remember reading somewhere that "No license" error is related to something on the server side... but I could be wrong. Anyconnect works fine for my work's VPN now though, but I agree that Android users should not be jumping through all these hoops to get VPN working. Google really dropped the ball on this one in terms of competing with others. I got HP Touchpad on "fire sale" and configured VPN in 1 minute right out of the box - works great. Same with video calls on Skype... which is still not working on Android Tegra 2 tablets. Granted, this one is not Google's fault but frustrating.

gorby911 said:
Sorry, can't help you there. I remember reading somewhere that "No license" error is related to something on the server side... but I could be wrong. Anyconnect works fine for my work's VPN now though, but I agree that Android users should not be jumping through all these hoops to get VPN working. Google really dropped the ball on this one in terms of competing with others. I got HP Touchpad on "fire sale" and configured VPN in 1 minute right out of the box - works great. Same with video calls on Skype... which is still not working on Android Tegra 2 tablets. Granted, this one is not Google's fault but frustrating.
Click to expand...
Click to collapse
Yeah, somehow, I don't think my company is going to spring for additional licenses, just so I can VPN in with my Transformer!
What about the VPN Connections app? Has anyone successfully connected to a Cisco IPSec (pre-shared keys) VPN using the VPN Connections app? I was able to get so far (it said "Connected"), but I coulnd't access any of my companies network devices, so I don't think it's working properly...
Anyone have any experience with the VPN Connections app for Android?
Thanks again - this is one of my last hangups with Android at this point, but it's a huge limiting factor!!!
Sent from my Transformer TF101 using Tapatalk

In case anybody was in the same situation as I was in (Cisco IPSec VPN - Pre-shared key), I FINALLY got it working on my Transformer!! And it was as easy as installing a free app from the Market....
The App is called "vpnc Widget" - you will need a kernel that has the tun module built in, etc, but it just works! I'm using it on Revolver 2.5 currently (stock kernel). You simply install the app and then create a new widget (NOT an app shortcut) - an actual "vpnc Widget" widget.
When you want to connect to the VPN, click the widget - it connects and logs you in. When you are done, click the widget again to disconnect from the VPN.
I can't believe it was that simple the whole time... I was struggling with AnyConnect, the "vpnc" app and was getting nowhere fast. "vpnc widget" worked in minutes.
And it's free!
Sent from my Transformer TF101 using Tapatalk

I found this thread after Googling "cisco android anyconnect a problem occurred while completing setup" because my AnyConnect stopped working on my Transformer Prime after doing the latest OTA update, even though I'd used Voodoo OTA RootKeeper. Then I ran Titanium Backup, which threw an error because although the restored su binary had the correct UID (0, root), it had the wrong GID (2000, shell). After setting the GID to 0 and rebooting, AnyConnect worked fine.

Related

Feature Request PPTP

Would one of the Dev's be willing to tackle getting VPN PPTP with encryption (mppe 128 or 256) working on the G-Tab? Right now it is either not working or working as unsecured PPTP (depending on the ROM). If anyone knows of a ROM where this is functional please let me know.
What little I have found on the history of VPN in android indicates that the last version with encrypted PPTP was version 1.6. Google was having problems keeping a connection to the VPN server.
Reference: http://code.google.com/p/android/issues/detail?id=4706
For myself and my coworkers this has become an important need. If we can't get the feature we may be forced to get iPads (*cringe*). I for one am willing to make donations to Dev(s) who can add this. Some ROMs have the option but seem to be lacking the module (unconfirmed) to handle encryption through the included PPPD.
It is possible this may come back in Android 3.0 since it is geared toward tablets but I haven't been able to find any information either way.
Thank you for your time.
Newanzer said:
Would one of the Dev's be willing to tackle getting VPN PPTP with encryption (mppe 128 or 256) working on the G-Tab? Right now it is either not working or working as unsecured PPTP (depending on the ROM). If anyone knows of a ROM where this is functional please let me know.
What little I have found on the history of VPN in android indicates that the last version with encrypted PPTP was version 1.6. Google was having problems keeping a connection to the VPN server.
Reference: http://code.google.com/p/android/issues/detail?id=4706
For myself and my coworkers this has become an important need. If we can't get the feature we may be forced to get iPads (*cringe*). I for one am willing to make donations to Dev(s) who can add this. Some ROMs have the option but seem to be lacking the module (unconfirmed) to handle encryption through the included PPPD.
It is possible this may come back in Android 3.0 since it is geared toward tablets but I haven't been able to find any information either way.
Thank you for your time.
Click to expand...
Click to collapse
Did you try one of clemsyn's latest kernels - they have the tun support. Also on market place there is an OpenVPN app that attempts to install an openvpn binary - that same dev also has an OpenVPN settings app that you can use to create your tunnel. Perhaps that will work for you.
prscott1 said:
Did you try one of clemsyn's latest kernels - they have the tun support. Also on market place there is an OpenVPN app that attempts to install an openvpn binary - that same dev also has an OpenVPN settings app that you can use to create your tunnel. Perhaps that will work for you.
Click to expand...
Click to collapse
I can currently get a VPN connection, but the server refuses it because it isn't encrypted - even with the encryption option on. I'll try clemsyn's kernel. I noticed he posted one specific to the ZTab ROM recently.
Newanzer said:
I can currently get a VPN connection, but the server refuses it because it isn't encrypted - even with the encryption option on. I'll try clemsyn's kernel. I noticed he posted one specific to the ZTab ROM recently.
Click to expand...
Click to collapse
PLEASE keep us updated. This is also essential to my job and I want to use android! GTab in particular.
jmdearras said:
PLEASE keep us updated. This is also essential to my job and I want to use android! GTab in particular.
Click to expand...
Click to collapse
No luck. Tried the new kernel and still get the same error. G-Tab shows connection lost. Server log shows same error (port 47 blocked or unable to negotiate encryption). Since our laptops all work I'm going to assume port 47 isn't blocked on our network. Maybe not enabled on G-Tab?
Which ROM are you using?
EDIT: nevermind - I see zpad rom. Did you try the vegan rom or tnt rom?
I am setting up a server with two cards and windows server 8 and an accesible ip just as test lab for this. If any dev wants access pm me.
Sent from my DROIDX using XDA App
Newanzer said:
Would one of the Dev's be willing to tackle getting VPN PPTP with encryption (mppe 128 or 256) working on the G-Tab? Right now it is either not working or working as unsecured PPTP (depending on the ROM). If anyone knows of a ROM where this is functional please let me know.
What little I have found on the history of VPN in android indicates that the last version with encrypted PPTP was version 1.6. Google was having problems keeping a connection to the VPN server.
Reference: http://code.google.com/p/android/issues/detail?id=4706
For myself and my coworkers this has become an important need. If we can't get the feature we may be forced to get iPads (*cringe*). I for one am willing to make donations to Dev(s) who can add this. Some ROMs have the option but seem to be lacking the module (unconfirmed) to handle encryption through the included PPPD.
It is possible this may come back in Android 3.0 since it is geared toward tablets but I haven't been able to find any information either way.
Thank you for your time.
Click to expand...
Click to collapse
Try this, I enabled everything re: PPP in this kernel including PPTP and also enable MPPE (Microsoft PPP Encryption). I hope this helps. BTW, this MPPE is experimental in the kernel but I hope it works for you.
clemsyn said:
Try this, I enabled everything re: PPP in this kernel including PPTP and also enable MPPE (Microsoft PPP Encryption). I hope this helps. BTW, this MPPE is experimental in the kernel but I hope it works for you.
Click to expand...
Click to collapse
Brillant! I have a connection! From home even. Many Thanks! (but I can only hit the button once...)
I'll keep an eye on it and see how long the connection lasts. That seemed to be the bug that killed Google's interest in this. With luck it wont show because someone tweaked over it.
I'll spread the word. Thanks again!!
Update: Unfortunately the data traffic stops within a minute. The connection stays up and reports a server connection just no data passes. This is the same issue as Google has in it's bug report. I"ll look at the server logs in the morning to see if anything is reported, but it is at least a step in the right direction.
BTW: The GUI seems a bit faster. Were there any other tweaks in that kernel?
Newanzer said:
Brillant! I have a connection! From home even. Many Thanks! (but I can only hit the button once...)
I'll keep an eye on it and see how long the connection lasts. That seemed to be the bug that killed Google's interest in this. With luck it wont show because someone tweaked over it.
I'll spread the word. Thanks again!!
Update: Unfortunately the data traffic stops within a minute. The connection stays up and reports a server connection just no data passes. This is the same issue as Google has in it's bug report. I"ll look at the server logs in the morning to see if anything is reported, but it is at least a step in the right direction.
BTW: The GUI seems a bit faster. Were there any other tweaks in that kernel?
Click to expand...
Click to collapse
There is a cryto sha 256 or 512. Lmk which to enable
clemsyn said:
Try this, I enabled everything re: PPP in this kernel including PPTP and also enable MPPE (Microsoft PPP Encryption). I hope this helps. BTW, this MPPE is experimental in the kernel but I hope it works for you.
Click to expand...
Click to collapse
This is awesome - and just what I was looking for! Any chance you could post the Vegan version as well? Thanks so much!
Hi Clemsy,
Thanks again for all the great work you're doing. If you could also do this for vegantab it would be greatly appreciated.
Cheers
Jonesie
How do I install this file?
Jonesie18 said:
Hi Clemsy,
Thanks again for all the great work you're doing. If you could also do this for vegantab it would be greatly appreciated.
Cheers
Jonesie
Click to expand...
Click to collapse
I might have to take a pause on this since I'm having issues with my Gtab at the moment. My screen turned white and I can't see a thing. I was playing angry birds and noticed that my screen sensitivity turned bad and a few seconds later it turned all white. I might have to get a replacement for my Gtab
I can build the kernel for Vegan tab but there is no way for me to test it but it should work fine
I read a post that doing this might fix it:
Add the following to /etc/pptpd.conf
mru 1280
mtu 1280
Please try and see how it goes.
More Info
I had our network admin look at the VPN server logs for my connection. No errors or warning from the server.
One interesting thing to note, it seems that when the data transfer between the tab and the VPN server stops it's only one way. I was able to send mail out from the tab, but not receive mail or view web pages. I'm wondering if the decryption side (incoming to tab) of MPPe is broken. That could explain why the server keeps a connection, but the data flow seems to stop.
Could we steel code from a linux kernel that works?
clemsyn said:
I read a post that doing this might fix it:
Add the following to /etc/pptpd.conf
mru 1280
mtu 1280
Please try and see how it goes.
Click to expand...
Click to collapse
I don't have a pptpd.conf in /etc. What is the file syntax? I'll make one and copy it in. I'm assuming this is ./etc and not ./system/etc.
Edit: Never mind found info here: http://www.linux.org.au/~quozl/pptp/pptpd.conf.5.html
Edit Edit: Ok I think I have reached the level of my ignorance. How do you get a file copied to /etc? I have tried a file manager with SU permissions, and a terminal with SU permissions. In both cases I am getting a permission denied error. What's the secret?
Newanzer said:
I don't have a pptpd.conf in /etc. What is the file syntax? I'll make one and copy it in. I'm assuming this is ./etc and not ./system/etc.
Edit: Never mind found info here: http://www.linux.org.au/~quozl/pptp/pptpd.conf.5.html
Edit Edit: Ok I think I have reached the level of my ignorance. How do you get a file copied to /etc? I have tried a file manager with SU permissions, and a terminal with SU permissions. In both cases I am getting a permission denied error. What's the secret?
Click to expand...
Click to collapse
Upload the file and ill make a zip file for you to flash it.
So close ... I think Google may need to work out a few of their bugs first.
First off a big thanks to clemsyn for the hard work. (I used Root Explorer to copy the file pptp.conf)
Using the latest kernel posted here for VeganTab I was able to connect to a MS PPTP VPN and ping for a long while however just like my Samsung Vibrant the VPN appears to die once a burst of traffic is shot through the tunnel. The tunnel I have discovered is not disconnected but unusable through the Android system. If I disconnect the VPN session remotely the log files indicate that the remote server killed the connection. Not sure much can be done as now I feel I am hampered by Google's inability to care for VPN access. I am sure the developers here can figure this out but why should they have to figure this out when it seems to be a fundamental issue with Google's code. Maybe this disconnection does not happen with OpenVPN? Anybody use it? I am tempted to setup a test OpenVPN server just to see how long I can keep my connection.
BTW ... After remotely killing the VPN connection the VPN services crashes and throws up an exception in the back ground when terminating the service.
Not working. I might try without the encryption in the server side to check if that works. It actually connects (pings) a couple of seconds with the LAN computers... then it nevers connects again... even with reboots. Does the pptpd.conf only need those two lines?
I found this site which may help
http://code.google.com/p/android/issues/detail?id=6402
A user stated this:
"Hey! Saw another post elswhere in the forum. For Microsoft VPN using PPTP, I think it helps to disable Software Compression in Routing and Remote Access Manager on the Windows server hosting VPN. After I did that, I was able to connect to VPN.
In Routing and Remote Access Manager, right click on the server in the tree and select Properties. Then, under the PPP tab, uncheck Software Compression. I am the Sys Admin at my Co, so I was able to do this myself. Others may have to submit a request to your respective Sys Admins. Besides, who uses compression on VPN's since the death of Dial-up?
Good Luck!"

PDAnet tablet!!!

pdanet guy has released an app to the marlet that lets you access the web from your gtablet via bluetooth through your phone. I tried on my gtablet and works as advertised. Note this is a web proxy solution so not all apps work, but browser/http based stuff should be fine.
Does you phone have to be an android phone?
Seems to be almost working with Droid X and Gtab, but always fails just after connection. Still messing around with pairing options. This would be an awesome way to tether tablets.
I have this app running as I'm typing now on my gtab.
My mobile isn't rooted yet and its virgin mobile, so locked down on wifi tethering.
So I tried this app out, it took a little work and a few roms.
I had tnt lite 4.4 and the latest G harmony rom 2.4?
They would both freeze up on me when I was in the browser.
I'm now on Cyanogenmod 7.0.3. The latest stable version and its working fine.
Good rom, and I got netflix and hulu working on it too.
The PdaNet tablet Beta app only let's you share internet to the Browser APPs though not all apps.
brettdwagner said:
Seems to be almost working with Droid X and Gtab, but always fails just after connection. Still messing around with pairing options. This would be an awesome way to tether tablets.
Click to expand...
Click to collapse
I have a droid x as well running .595 GB. What ROM are you running on the Gtab? I am gonna try this out tonight on CM7.
What is this app called? I need to grab it before they remove it from market.
goodintentions said:
What is this app called? I need to grab it before they remove it from market.
Click to expand...
Click to collapse
It is called "PdaNet Tablet (beta)"
goodintentions said:
What is this app called? I need to grab it before they remove it from market.
Click to expand...
Click to collapse
No need to hunt for it.
Here is the developer's official page.
justauser said:
pdanet guy has released an app to the marlet that lets you access the web from your gtablet via bluetooth through your phone. I tried on my gtablet and works as advertised. Note this is a web proxy solution so not all apps work, but browser/http based stuff should be fine.
Click to expand...
Click to collapse
I'm using Android Wifi Tether from here. Works with wifi and bluetooth also. It's free but need a root device.
caveritt said:
I have a droid x as well running .595 GB. What ROM are you running on the Gtab? I am gonna try this out tonight on CM7.
Click to expand...
Click to collapse
I'm running Calkulin+Clemsyn 1.5ghz Froyo V6 on the gtab and stock GB on the DX. PDAnet tablet has been updated a couple of times and I still fail when connecting. Haven't spent a lot of time troubleshooting.
I am running Vegan tab 5.1.1 suppl and am having problems connecting. I enable the blue tooth on the phone (Droid 2) server and the gtab client. The tab recognizes the phone but when I go into settings on the phone it says the gtab is paired but not connected. Any suggestions? I get "fail to connect bluetooth server (java.io.IOException: Connection timed out.")
Thanks
Even with all the updates I'm still not able to connect. Oh well wireless tether it is.

[Q] Cisco VPN

Would it be possible with the transformer? I need to set gateway, group name, group password, user name and userpassword. I don't see the group fields in the vpn configuration.
I would rather not root.
Yes, I really want know too if anybody knows about Cisco VPN. I heard somewhere Cisco built the client for Android but I have not found it anywhere.
The only client that I know working is VPN Connections (my friend has it working in his Evo phone), but it requires root access, so I have not tried it yet in my transformer.
Nothing available as of yet, I've spent hours searching.
Samsung had announced they were including this on the 10.1, however I posted the question in that forum, and it was not included in the initial release.
More on this topic at http://code.google.com/p/android/issues/detail?id=3902&cnum=500&cstart=1233#makechanges
I got this working last night !
I am running Prime 1.4 which includes the tun.ko kernel module which is needed. Then install this app: http://code.google.com/p/get-a-robot-vpnc/
The app is designed for phones, looks absolutely terrible on a tablet, and is unusable in portrait mode. BUT with all that said, I created a profile, entered the vpn address, group name, group password, username and left the user password blank (token auth for me). I set it up to load tun.ko automatically. long press the profile and select "Connect", got prompted for my password, entered it and bam! I'm vpn'd into my work cisco vpn.
Good luck.
That is super news that you got it working! The project is open source, so making it tablet friendly will surely happen. But installing a kernel module means having root.
ppirate said:
That is super news that you got it working! The project is open source, so making it tablet friendly will surely happen. But installing a kernel module means having root.
Click to expand...
Click to collapse
Indeed it does. I'm actually surprised/disappointed tun.ko is not a standard on all devices. I'd also like to see cifs.ko standard, but there are far fewer people tht wold find that useful I think.
If I understand correctly, the only thing asus would have to do is add tun.ko to the modules. Then everything can be done in userland.
One other link I found was the following:
https://www.nixuopen.org/blog/2011/5/android-and-cisco-ipsec-vpn/
This nicely integrates the cisco vpn support into android. This would be the perfect solution.
Starting with Cisco ASA version 8.4(1) Cisco is supporting Android remote clients using Android native VPN client (only L2TP/IPsec is supported at this point)
http://www.cisco.com/en/US/docs/security/asa/asa84/release/notes/asarn84.html
I hope Google will include a full featured VPN client (group support, etc.), and Cisco will provide clientless VPN support for Android devices.
lqaddict said:
Starting with Cisco ASA version 8.4(1) Cisco is supporting Android remote clients using Android native VPN client (only L2TP/IPsec is supported at this point)
http://www.cisco.com/en/US/docs/security/asa/asa84/release/notes/asarn84.html
Click to expand...
Click to collapse
Aha, this might be useful for me. One of the vpn addresses at my uni starts with asa1vpn.* . Thus in my case it might work, I'll probably better send the IT department the above link, they will help me further.
Though I still hope native cisco vpn gets supported in android.
Cisco is supposed to release the anyconnect ssl vpn client for android....but knowing how cisco works ot may be a while. Its supposed to be on their cius tablet.
Sent from my DROIDX using XDA App
timekillerj said:
I got this working last night !
I am running Prime 1.4 which includes the tun.ko kernel module which is needed. Then install this app: http://code.google.com/p/get-a-robot-vpnc/
The app is designed for phones, looks absolutely terrible on a tablet, and is unusable in portrait mode. BUT with all that said, I created a profile, entered the vpn address, group name, group password, username and left the user password blank (token auth for me). I set it up to load tun.ko automatically. long press the profile and select "Connect", got prompted for my password, entered it and bam! I'm vpn'd into my work cisco vpn.
Good luck.
Click to expand...
Click to collapse
How did you setup tun.ko to auto load? I've got get-a-robot-vnc working on my HTC Supersonic running CM7 out of the box. However, on TF104 running Prime 1.4 when I try to connect, I get an immediate "Failed to Connect" error. I'm guessing the tun.ko module is not loaded.
Looking online, I searched for the tun.ko module via "find -iname tun.ko" and found it at "/system/lib/modules/tun.ko"
To load it I did "inmod /system/lib/modules/tun.ko" and got a # prompt which I think is expected (I'm linux dumb).
I went back to VPN Connections and got the same error.
Looking at the LogCat, VPN_Connections is saying that tun doesn't exist
Edit in:
ok I think I had a typo in my command up there, should be ins[/]mod. When I run that command, I get "insmod: init_module '/system/lib/modules/tun.ko' failed (File exists)
jefbal99 said:
How did you setup tun.ko to auto load? I've got get-a-robot-vnc working on my HTC Supersonic running CM7 out of the box. However, on TF104 running Prime 1.4 when I try to connect, I get an immediate "Failed to Connect" error. I'm guessing the tun.ko module is not loaded.
Looking online, I searched for the tun.ko module via "find -iname tun.ko" and found it at "/system/lib/modules/tun.ko"
To load it I did "inmod /system/lib/modules/tun.ko" and got a # prompt which I think is expected (I'm linux dumb).
I went back to VPN Connections and got the same error.
Looking at the LogCat, VPN_Connections is saying that tun doesn't exist
Edit in:
ok I think I had a typo in my command up there, should be ins[/]mod. When I run that command, I get "insmod: init_module '/system/lib/modules/tun.ko' failed (File exists)
Click to expand...
Click to collapse
I had this problem as well. Doing a full wipe including cache and dalvik then reflashing prime 1.4 cleared that up for me.
Here is where I am at now. I can connect to the VPN, checking the netcfg from the shell or terminal emulator shows that my tunnel interface is up and has an IP address but when I attempt to use the connection either by web browser or ping from within the shell the tunnel interface drops out.
Checking the last connection log I can see the MOTD banner pop up and show I am connected then I see the following;
Device "wlan0
wlan0" does not exist
RTNETLINK answers: No such device
cp: can;' stat '/etc/resolv.conf' : No such file or directory
process stderr Device "wlan 0
wlan0" does not exist
RTNETLINK answers: No such device
cp: can;' stat '/etc/resolv.conf' : No such file or directory
Connection string detected
velocd said:
I had this problem as well. Doing a full wipe including cache and dalvik then reflashing prime 1.4 cleared that up for me.
Here is where I am at now. I can connect to the VPN, checking the netcfg from the shell or terminal emulator shows that my tunnel interface is up and has an IP address but when I attempt to use the connection either by web browser or ping from within the shell the tunnel interface drops out.
Checking the last connection log I can see the MOTD banner pop up and show I am connected then I see the following;
Device "wlan0
wlan0" does not exist
RTNETLINK answers: No such device
cp: can;' stat '/etc/resolv.conf' : No such file or directory
process stderr Device "wlan 0
wlan0" does not exist
RTNETLINK answers: No such device
cp: can;' stat '/etc/resolv.conf' : No such file or directory
Connection string detected
Click to expand...
Click to collapse
Fixed this issue by applying this fix in the link below.
http://bugs.gentoo.org/show_bug.cgi?id=331445
I also placed a set-x command at the beginning of the VPNC-script file to get a better debug in the lastconnection.log
Now I am seeing the following error;
+ fix_ip_get_output
+ sed s/cache//;s/metric \?[0-9]\+ [0-9]\+//g;s/hoplimit [0-9]\+//g
+ /system/bin/ip route add
RTNETLINK answers: No such device
I can still connection and in the log I can see the router tables build but I am having issues getting the data to pass through the tunnel. The tun0 interface drops as soon as I attempt to pass date through it.
Anyone have any ideas?
tun.ko / VPN Connections does NOT work on Prime 1.4.
Even if it looks like it is working it does not pass traffic through the tunnel.
M-A-A said:
tun.ko / VPN Connections does NOT work on Prime 1.4.
Even if it looks like it is working it does not pass traffic through the tunnel.
Click to expand...
Click to collapse
Yup, my problems were related to a lack of SuperUser providing root access to the VPN Connections software. I got the updated binary and it says it connects, but disconnects within minutes.
Must be a bug in either HoneyComb or the Prime 1.4 ROM. I have VPN Connections fully functioning on my HTC Supersonic running CM7
I checked out the project from the SVN, changed the target to Android 3.1 and rebuilt it.
Now, the UI is a lot better.
The thing that happens to me (it happened before), is that the apps stays on trying to disconnect. I checked on the ASA (the device that manages the connection), and it's not there... So dunno. I just kill the app...
I've attached the program below. Its license is GPLv3 so there shouldn't be a problem.
sh337 said:
I checked out the project from the SVN, changed the target to Android 3.1 and rebuilt it.
Now, the UI is a lot better.
The thing that happens to me (it happened before), is that the apps stays on trying to disconnect. I checked on the ASA (the device that manages the connection), and it's not there... So dunno. I just kill the app...
I've attached the program below. Its license is GPLv3 so there shouldn't be a problem.
Click to expand...
Click to collapse
This definitely looks a lot better! We just need to get the backend stuff working now
M-A-A said:
This definitely looks a lot better! We just need to get the backend stuff working now
Click to expand...
Click to collapse
What do you mean? It is working for me...
sh337 said:
What do you mean? It is working for me...
Click to expand...
Click to collapse
When I connect to my corp network, no packets flow. As soon as I try to access anything, the VPN session drops.
sh337 said:
What do you mean? It is working for me...
Click to expand...
Click to collapse
You have it passing traffic through the tunnel?

Can't download certain Apps: Error 497

Hello all,
So I have TWRP 2.6 for my boot recovery on my Transformer Prime TF300T and just installed CyanogenMod 10.1 Nightly build. I couldn't get the 10.0 most recent stable build to actually load up. But the problem that I'm having is now certain applications give me a "Can't download: Error 497" from the playstore. And I get this error with "Goo Manager", "Clean Master", and for some reason "X Comics". But everything else downloads just fine. I've uninstalled, reinstalled the ROMS several times. Done wipes up the wazoo, and so this should be as clean as can be. Like I said, everything works great, but I just can't get those applications. Hoping someone may have a solution.
Thanks.
This sounds similar to problems that I and others are having over here. Does it happen when using cellular data or WiFi? If it's only with WiFi, who is your ISP?
The TF300T is Wi-Fi only. So Cellular isn't an option for me on this device. My ISP is Comcast. Just seems really weird that it's only specific applications.
luma said:
This sounds similar to problems that I and others are having over here. Does it happen when using cellular data or WiFi? If it's only with WiFi, who is your ISP?
Click to expand...
Click to collapse
There are a few causes. Are you using app2sd? Have you fixed permissions? Have you cleared its Data and cache ( under settings / application manager )?
Have you modified your build.prop? Have you modified your dns ( or has another app modified it ) ?
Quoted from a wiki : " Error 497 is related to a downloading category and you usually encounter it while you try to update the applications using a WiFi connection. In this case, adding Google DNS addresses (8.8.8.8 / 8.8.4.4) to your router's configuration settings could solve the problem. "
If none of this works, just google for the app as an apk file and sideload it. Its not a fix for your issue but you can at least get the appp you want installed.
Download the following apk files using your tablet's browser. Then click to install. They are all the latest versions available on the market. I downloaded them on my note 2, backed them up, and uploaded to dropbox for ya.
Heres cleanmaster : http://db.tt/GCqaGdO0
Heres xcomics : http://db.tt/TfLdPn0O
Heres goo manager : http://db.tt/QmvZfkAN
Hit thanks if it helped
Sent from my SGH-T889 using xda app-developers app
I have done a number of complete factory resets, wipes of not just cache but also system and data, with fresh factory images placed down, and I still get the same problem. The only thing that has fixed it for me on my new Nexus 7 has been to use my cell phone's tether so I connect over Sprint instead of Comcast, or to VPN into work which accomplishes the same thing. There's definitely a network issue somewhere, I'd strongly suspect a problem with accessing Google's CDN for app updates.
To answer some of your questions, I have not done any of that, and I'm not sure if any applications messed with my DNS, although I don't have a DNS service setup on my router, so not really sure how that would happen. And I'm not sure if I've fixed permissions yet or not, I'll have to look in recovery and see if I can't figure out a way to do that.
If you haven't guessed by this point, I'm pretty new at all of this. So I'm kinda' learning as I go. I very much appreciate the links for the apk's, and I have downloaded them so you don't need to keep them on your dropbox if you don't want. They work just as expected, so I do appreciate the assistance.
Thanks
If you have a chance, try taking the tablet somewhere where internet isn't provided by Comcast. If you look at the other thread, most of the people there are on Comcast. In my case, as soon as I connect with my phone over WiFi tethering everything works as expected. It's only when I'm on Comcast that I have issues downloading or updating apps.
luma said:
If you have a chance, try taking the tablet somewhere where internet isn't provided by Comcast. If you look at the other thread, most of the people there are on Comcast. In my case, as soon as I connect with my phone over WiFi tethering everything works as expected. It's only when I'm on Comcast that I have issues downloading or updating apps.
Click to expand...
Click to collapse
When I get an opportunity to do so I will. Currently, I don't even know what apps won't work. Since I downloaded the apk's directly and what not, those were the only 3 that I knew were screwing up. But when I get a chance, I'll give the wi-fi a try somewhere else.

Cox Contour App, HDMI and Root Check Removed for Android TV Boxes

Since the mod is the same as the Xfinity Steram App, I also modded this app.
Removed HDMI Check and Root Check. I also tried to make the app think that it's on Wifi or High Speed Mobile Network. This might or might not work. I'm trying this because this app seems to have low bitrate for the streams and it looked like when it drops to low quality it does not seem to recover. I'm not sure what causes this; but I was actually connected to Ethernet on my Shield Android TV Box and I have good bandwidth.
I only tested it on my Shield Android TV Box. Also note that it might not work on the Leanback Launcher and if it does You will need an Air Mouse. I have my Shield with a custom ROM that runs the full Android ROM and it works fine for me.
https://www.upload.ee/files/7565696/com.cox.contour2-40600014-patched.apk.html
Can you explain how you removed the HDMI Check in the apk? I would like to remove it from Bell Fibe Tv app.
Thanks
behere said:
Can you explain how you removed the HDMI Check in the apk? I would like to remove it from Bell Fibe Tv app.
Thanks
Click to expand...
Click to collapse
That's a hard app to mod, the same with Virgin TV Anywhere. I modded an old version of Bell Fibe TV months ago and it was working fine but then it made me upgrade. I tried last week to mod it again and I gave up. I could not get the HDMI check removed after many hours trying.
It does work on my Laptop running Remix OS and using VGA to connect to my TV though. However on my Shield over HDMI it doesn't.
Could you provide the apk for the one you had working?
behere said:
Could you provide the apk for the one you had working?
Click to expand...
Click to collapse
Don't have it anymore but it would not work anyways because the app won't start, it needs the new version
Maybe give this a try if you are using Android M or lower
http://www.tvboxforum.com/showthread.php?tid=903
This used to work for me on Marshmallow for the Bell Fibe TV App. I'm pretty sure it's not working on Nougat though
Thanks I'll give it a try.
The Contour App works great!!!
~~~~~~~~~~~~~~~
I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.
PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE
I didn't work for me on Bell Fibe Tv lastest app. Also using Jelly Bean
Anyone been able to test watching through VPN on the Cox app successfully?
I have an openvpn setup on my router and I am able to VPN from outside my home network on my laptop and watch all channels as if I was on my home wifi. However, when I try to VPN from my phone and watch through the Cox app, it acts like im on my home network just as my laptop did, but when I hit play the screen just sits there loading until it times out. This happens with the patched version of the app posted as well (not sure if it was patched to support this).
Any assistance is appreciated. Thanks all!
behere said:
I didn't work for me on Bell Fibe Tv lastest app. Also using Jelly Bean
Click to expand...
Click to collapse
Give this a try
Open the Fibe TV apk with APK Editor in Your Android Box, you want to do a full edit
Search for mirror, you will find a hit on bools.xml
Change the value from true to false. Save the file and build the apk again, let me know if that works for You!
That gets rid of the mirroring error for me but gives me some other crappy connection error on my Shield Android TV Box. However it might work for You!
jmrstrs 1 said:
Anyone been able to test watching through VPN on the Cox app successfully?
I have an openvpn setup on my router and I am able to VPN from outside my home network on my laptop and watch all channels as if I was on my home wifi. However, when I try to VPN from my phone and watch through the Cox app, it acts like im on my home network just as my laptop did, but when I hit play the screen just sits there loading until it times out. This happens with the patched version of the app posted as well (not sure if it was patched to support this).
Any assistance is appreciated. Thanks all!
Click to expand...
Click to collapse
Not sure if this thread is still going or if I should start a new one. Just wondering if anyone had been able to look into modding the cox apk to function through a vpn (aka NOT in-home) successfully? Or if they can point me in the right direction. Thanks.
Could we get an updated version of of the app. If possible? I need
v4.10.2.007 because it's the only one that'll launch on my Mi Box
can you tell me what is is you did to remove this limitation? or would you mind doing the same for the spectrum apk?
At the moment it stopped working if I tried to login using a new shield tv I was trying to set it up with. Download works, chrome works but after I put my login credentials it saids the file is corrupt anyway to fix that? On my other shield tv it's been logged in so no problems with that, just can't add it to my new one.

Categories

Resources