[Q] L2TP VPN TnT Lite 4.2.2 + stock kernel - G Tablet General

Folks,
Quick question and I apologize if this has already been answered elsewhere in this forum but a search didn't reveal anything. I'd like to configure VPN on my g-tab so I can get into work from home. Does the default kernel support VPN? If not, is there currently a compiled kernel that I can dl that'll support L2TP. If I install this kernel, can I access/configure the VPN with my currently installed ROM which is TnT Lite 4.2.2 or do I need to switch to another rom?
thanks!

Id like to know this as well if anyone can answer please.
Thanks, Rob

I've been struggling with this ever since I bought my tablet back in early DEC. I couldn't use my juniper VPN because it required a java client, but I've been trying numerous different combos of kernels and loads to see what would work for my Cisco L2TP VPN (with a shared secret). The winning combo that worked for me was:
VEGAn-TAB GingerEdition - Experimentals: verison 03082011.
Kernel - pershoot 2.6.32.31-cyanogenmod.
The VPN setting does not show up in the network settings, so I downloaded "5 VPN" from the android market. When you click "connect", it takes you to the VPN settings of the device. I created my LTP connection and BAMMMM! It works!

Related

[Q] Proxy Support

I'm stumped and am trying to find a way to connect to our work network using my Gtab... problem is most corporate networks use proxy's. I don't have an option in the browser nor networking settings to assign a proxy. Has anyone did this already? How?
Supposedly pressing menu from the wifi menu brings up advanced which should have proxy on it. My advanced menu doens't show it - I am using VegaN-tab beta 5 and the Clemsyn Kernel.
I too need to get this working. I tried TransProxy and AnyCut to access the proxy settings. AnyCut gave me a short cut that doesn't appear to work.
TransProxy always fails with the message "Failed to start redirect.sh (FIX ME! implement getprotobyname() bionic/libs/bionic/stubs.c:378 iptables v1.3.7: can't initialize iptables table `nat': iptables who? (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.
There is more but it goes out of the message box.
I found a link at comments.gmane.org/gmane.comp.handhelds.android.kernel/1082 which seems to indicate the kernel needs to be rebuilt with CONFIG_NETFILTER. There might be a manual way too but it requires a bunch of .ko files I don't have.
Should we move this thread to G Tablet Android Development in an effort to actually get it resolved? This is something I really need to figure out. I don't know enough about Android development to make this my first project to tackle.
gksmith said:
Should we move this thread to G Tablet Android Development in an effort to actually get it resolved? This is something I really need to figure out. I don't know enough about Android development to make this my first project to tackle.
Click to expand...
Click to collapse
I have the kernel ready for this. What build (TNT, VEGAN, ZPAD) do you want me to make for this kernel? LMK.
I wanted to post an update to this. Clemsyn's kernel work's great. However, you still need a way to enable the proxy.
I ended up using two programs. TransparentProxy and ASProxy. TransparentProxy is ideal if you have one proxy and always want it on. I also use it specifically when connecting via the docking station LAN at work.
However, if you are more mobile and move between WiFiconnections, you want ASProxy. It lets you configure proxies based on the SSID of the WiFi connection. This is what I use at work when I'm roaming. It's also great because I don't have to do anything special to disable Proxy when I leave the corporate network.
I plan to send an email to the ASProxy developers to see if they'd add eth0 support too. This way I could just use one program instead of two.
Also, I'd like the see the WiFi advanced network settings get the proxy UI. This isn't a big deal - just usefull.
clemsyn said:
I have the kernel ready for this. What build (TNT, VEGAN, ZPAD) do you want me to make for this kernel? LMK.
Click to expand...
Click to collapse
Kool, thanks man, any chance of a link please ?
Both programs should be on the market.
*Update - I couldn't find transparent proxy in the market. I post a link later. The Asproxy dev is already working on the wired lan issue.
Sent from my G-Tablet running Vega-Nb5.1
Great work, can you post a link for the kernal for a VEGAn 5.1 build? Thanks in advance, really need proxy support!
Here you go - this is Clemsyn's Kerenl - http://forum.xda-developers.com/showthread.php?t=895825
@clemsyn
Hi is there any chance you could provide a little more infor on proxy support from within your kernel? I've installed your latest kernel on a Vegan b5.1 (it shows up correctly on sys info) but I cant seem to find how you connect via the proxy (or enter any proxy info)
Maybe I'm missing an obvious step...?
Thanks in advance...
You need AnyCut or TransProxy3.08Beta, or ASProxy - basically, any piece of software that lets you enter the proxy settings. Several of the roms I tried didn't have the WiFi advanced menu options so I needed one of these 3 programs.
TransProxy I found via Google and AnyCut and ASProxy are available via the Market.
thanks, much appreciated. I've got TransProxy running and it seems to work fine, even authentication whcih is great. Unfortunately it requires a manualy start each time the tablet boots, I can't seem to find a way to get it to default to enabled after a reboot. Any thoughts on how to achive this..? The tablets are going to be used in an environment where users will have limited abilities and having them enable the proxy first is not really an option. Thanks
ASProxy will auto start and you can have per SSID proxies.
Sent from my G-Tablet running Vega-Nb5.1

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!"

[Q] VPN with Android 2.3.3 (CM7) and Fritz!Box

Hey all,
i own a Fritz!Box 7390 - and now since Android 2.3.3 (CM7) as VPN build-in i want to connect my Android (Wildfire) with my Fritz!Box via VPN.
Anyone got this allready Working without extra apps or mod for CM7 and can post an How-To here?
Thanks
Andre
Hi,
I just tried many times few weeks ago, but unfortunally my Fritzbox! 7390 do NOT SUPPORT SPEEX codec.
As far as i went, Google is doing the right thing priorizing the use of OPENSOURCE voIP codec, but FRITZBOX -> NOT.
Im so angry !! CANT BELIEVE IT !
If you call with NATIVE GOOGLE ANDROID 2.3 SIP, voice quality is not good as CSipSimple market app, where you can change the SIP CODEC Priority stack.
Shame on Fritzbox.
Am I wrong ? Blame me !
Dear all,
I'm facing the same problem. I'm using a Samsung Galaxy S with Android 2.3.3. I experimented with VPNC, get-a-robot VPNC and the built-in IPSec connector to connect to my fritzbox 7130 - but no success!
I've rooted the phone and installed the current busybox. As I wrote, a tun.ko isn't necessary cause it is included in the 2.6.35.7 kernel. Right?
Can anybody give me a hind, what I can do? Thanks!
If this is still an issue: I didn't try, but it should work using VPNC (https://market.android.com/details?id=com.gmail.mjm4456.vpncwidget) as far as I read...

Ginger Villain - HTTP proxy setting missing?

I've been using Ginger Villain for a long while now, and am currently on version 2.4. However, one feature that appears to be missing is the ability to specify an HTTP proxy on certain wireless networks. It's been a while since I've tried to use this, but I certainly remember it being present on earlier builds, but couldn't really say when it disappeared.
Is this down to the CM sources not including it, or do I need a new/different kernel?
Thanks
Anyone? Can't believe I'm the only one with this problem.

[Q] Is VPN Possible on Stock Skyrocket ROM?

I'm interested in setting up VPN between my home computer and my Skyrocket. But before I go through the process, I wanted to ensure that VPN (and tun module) is available/possible in the stock Skyrocket kernel. The "OpenVPN Installer" and "OpenVPN Settings" android apps indicate that "tun" module must be available on the phone and this seems to be the case for NON-stock ROMs.
If VPN is available in stock rom, can anyone recommend a good walkthrough for setup?
The phone has built in vpn but it's. Very flawed. Most encrypted connections will die after a few min.
This is an android-wide problem and according to forum posts, has existed for years.
Sent from my SAMSUNG-SGH-I727 using xda premium
Does that include third party vpn solutions like openvpn? I was hoping to use vpn for tethering uses.
As long as openvpn supports pptp ipsec or l2tp then yes it will work.
Sent from my SAMSUNG-SGH-I727 using xda premium
After reading this thread, I'm not sure this is necessarily the case. There it is claimed that the required TUN/TAP driver for VPN on the Skyrocket isn't in the stock ROM:
http://forum.xda-developers.com/showthread.php?p=19963725#post19963725
The built in vpn solutions are fine, but rather complicated, and geared more towards those who use enterprise VPN solutions, like the Cisco VPN Concentrators and such.
If you want to use the built in vpn client, you can use raccoon (runs on linux, *bsd and a bunch of others) as the vpn server, but it is a total ***** to configure.. hell, it is a total ***** and a half.
One we start getting more custom kernels out, the developers will start to include the tun driver into the kernel, and we can use openvpn which is simple to setup.

Categories

Resources