[Q] [CM7] VPN only works over wifi - T-Mobile LG G2x

I have tried the nighties # 65 and RC-1 but vpn only works over wifi. I tried both openvpn and L2tp/IPSec - same thing. It would connect to the vpn server over data and the little key icon will come saying connected but it would either freeze the internet or you will get internet but it would reveal your real ip address.
Is onyone else having similar issues?
EDIT: After reading different threads, it looks like the issue may be related to iptables. I am still researching on how to go about addit it.

Related

Captivate Wifi/3G data issue

Has anyone had a problem with the Captivate when in both WIFI and 3G coverage the phone will not download or open a webpage? If I shut off one or the other it works but if both are active it hangs up and doesnt download.
Is this by chance on an enterprise wifi access point? Such as one of those expensive cisco APs you find in schools and enterprise class networks? If so, there is currently a driver problem with the captivate connecting to it, but not trasnfering data. Whether the netwrok is encrypted or open doesnt seems to matter. Personally, I find this a bigger problem than the GPS issue. I had to use wifi static to manually set IP, subnet, etc. This is a workaround, not a fix.
jhannaman82 said:
Is this by chance on an enterprise wifi access point? Such as one of those expensive cisco APs you find in schools and enterprise class networks? If so, there is currently a driver problem with the captivate connecting to it, but not trasnfering data. Whether the netwrok is encrypted or open doesnt seems to matter. Personally, I find this a bigger problem than the GPS issue. I had to use wifi static to manually set IP, subnet, etc. This is a workaround, not a fix.
Click to expand...
Click to collapse
Hey, I think I'm running into this issue at my workplace (we definitely use those Cisco APs, I see them all around). I'm connected, I have an IP, but I can't browse anywhere.
Here's the weird thing though: I can connect to the company's wifi in any other building (I guess different APs?) than the one I'm in and wifi works fine. It's just the building my cubicle's in that doesn't work and it's infuriating!
well thats dumb.
I had that happen once since I bought the phone on launch. I restarted my phone and it went away.
I've had this problem as well, usually my phone switches to only wifi pretty quickly though, so I don't notice much. The phone acts like it is using the 3G connection because the arrows are both indicating data coming and going, but nothing actually happens unless only one or the other is on.
i need to check this at more places but at home i have a standard dlink dl-624 router with no security over comcast. i think my issue initially was because of the wifi sleep policy (see below) but now i am just getting really really slow speeds. pages seem to load slower than 3G....(i mean really cinemaxHD is showing last of the mohicans in pan and scan)....also the pages time out very very frequently.....
Anyone having problems check out the advanced setting for wifi. The phone has a WIFI sleep policy. my default setting was to disconnect from wifi after the screen locks. my screen locks after 30 seconds. so basically it always looking for my network. you can change it to never.
I want to reiterate our findings again. There are multiple threads on other forums concerning this as well. When it comes to wifi, the captivate has a major problem. DHCP does not work on enterprise networks. Period. It is a driver issue. The network can be open or using any form of encryption, the results are thr same. I had numerous software, hardware and network analyst tackling this issue all week in my department. It is related in part to most enterprise networks not using a default subnet mask of 255.255.255.0. There is a workaround, but it is not a fix. You can either set a static from your static pool of ip's in wifi settings, or, if u connect to multiple networks, use wifi static from the market to remember and apply seperate static configs accross multiple networks which is what were having to do currently. This affects all captivates, one which we consider a major problem with deploying this phone to our other users.
Sent from my SAMSUNG-SGH-I897 using XDA App
I had the same problem and this is how a turn around the problem when I'm connected but cannot browse.
-Use Wifi Static
- DNS from google 8.8.8.8,8.8.4.4
- switch to airplane mode
- activate wifi
- test my conection (open the browser and surf)
- switch to phone mode
Hope it help
floppy__ said:
I had the same problem and this is how a turn around the problem when I'm connected but cannot browse.
-Use Wifi Static
- DNS from google 8.8.8.8,8.8.4.4
- switch to airplane mode
- activate wifi
- test my conection (open the browser and surf)
- switch to phone mode
Hope it help
Click to expand...
Click to collapse
Did this, Wifi Static was being used previously to bypass dhcp, and it correctly assigned the IP settings, used the static I assigned from our static pool of addresses. Still no data transfer over Cisco APs at work.
jhannaman82 said:
Did this, Wifi Static was being used previously to bypass dhcp, and it correctly assigned the IP settings, used the static I assigned from our static pool of addresses. Still no data transfer over Cisco APs at work.
Click to expand...
Click to collapse
are you able to access a website thru his IP address? in this case it's a DNS problem, try the Google DNS 8.8.8.8 - 8.8.4.4
floppy__ said:
are you able to access a website thru his IP address? in this case it's a DNS problem, try the Google DNS 8.8.8.8 - 8.8.4.4
Click to expand...
Click to collapse
Its hit or miss really, seems the wifi radio stack locks up and stops responding according to our trace logs. yes i have tried both our internal DNS server's as well as googles. Everywhere else works perfectly. But at work with our Cisco open (no security) APs, it doesnt work most of the time. Through whos ip address??? I have a static set from our static pool to make sure dhcp was not the culprit. Its def the device, and not my netwrok. I have over 100 of these APs deployed here.
Wifi works great everywhere else (at home with WPA2, etc). There is def a problem with enterprise cisco APs.
Netmask issue and cisco AP's
Posted this over in development thread.
http://forum.xda-developers.com/showpost.php?p=7698066&postcount=410
Make sure your netmask is correct.
Thanks jhannaman82
I just wanted to give a big thanks to jhannaman82 for posting his company's findings with these wifi issues. My wifi works 100% at home on my linksys tomato router (of course, with a netmask 255.255.255.0). But on my college campus they use an enterprise router setup with 255.255.0.0 and I have been going NUTS trying to figure out if it is my captivate or the network.
I can sometimes get a few minutes of working connection, but it always seems to crap out within 1 or 2 minutes.
I will attempt to fiddle around with switching the dhcp to static IP, and will post my results. Thanks!
edit: no luck with static IP fiddling so far. from my laptop (connected wirelessly), I gathered that the netmask is actually 255.255.248.0... when I set my captivate's netmask to anything other than 255.255.0.0, it does not connect. It says "connected" when I set the netmask to 255.255.0.0, but as usual no data will transfer (it seems). I'm at a loss. *shrug* Hopefully there's a driver update or something.
Thanks jhannaman82!
I just wrote a script with the GScript app: "ifconfig eth0 netmask 255.255.255.0", and have a shortcut on homescreen. The problem was that the netmask was wrongly set to 255.255.0.0 on my office wifi. Now all I need to do is tap on this shortcut at office, and the connection works!
Has anyone contacted Samsung about this ?
I'm hoping this gets fixed soon... This refuses to stay connected at my school. Huge pain.
I entered in an IP address and 255.255.252.0 for my netmask after seeing what it was on my computer and turn on flight mode and tested the wifi and now it's working. I'm not sure if it's just one of those fluke connections that I get... but we'll see.

Can't Connect to VPN

I just got my TB this morning, am working on configuring it to replace my DInc. I have an L2TP over IPSec (PSK) VPN set up on my DInc, and it works without any problem. I tried the exact same settings on my TB, and I get a box "Attention Unable to connect to the network. Do you want to try again?"
I get this message whether I try to connect from 3g/4g or from my own wireless network (on the same LAN as the VPN). When I look at the logs on the machine hosting the VPN, I see absolutely nothing when I attempt to connect from my TB (connecting from my DInc produces the right log entries). I can also connect to the VPN server from other clients (Windows 7, etc.) without any problems.
*Edit: Cannot connect from TB via PPTP either. Can connect from other PPTP clients.
I have been able to connect to my works VPN (using PPTP) without problem.
Very fast and stable so far! Used it for about 15 minutes without a hitch.
rajuabju said:
I have been able to connect to my works VPN (using PPTP) without problem.
Very fast and stable so far! Used it for about 15 minutes without a hitch.
Click to expand...
Click to collapse
Thanks for the reply. I am still unable to connect directly from my TB, using PPTP or L2TP. If I configure my TB as a mobile hotspot and connect to the internet through it, though, I can connect to my VPN server using the TB's internet connection. But I still cannot connect from the TB using its VPN client.
Lovely. After doing some extensive reading, it sounds like the problem is likely the rom itself. Guess I'll be waiting for an update.
can you list what settings your using in your VPN? since this forum is aout people having trouble and not bragging about whats working?
I too am running dasBAMF and have no VPN's added nor can I find default settings
papajay224 said:
can you list what settings your using in your VPN? since this forum is aout people having trouble and not bragging about whats working?
I too am running dasBAMF and have no VPN's added nor can I find default settings
Click to expand...
Click to collapse
I'm guessing your post was directed at rajuabju, but hopefully I can help. I do finally have both PPTP and L2TP/IPSec VPN's working on my TB. With what are you having trouble?
Have you tried OpenVPN? I have had the most luck with that, as well as having it forward all traffic through the VPN.

[Q] PPTP VPN connection issues

I've got a PPTP VPN set up on my home router that works fine for my Samsung Note 2 phone (4.1.1). I can connect, browse the network at home, and access files etc.
When I set up the client on my tf300(cm 10.1/android 4.2), I can connect to the VPN, but I cannot browse the network at home, and it disconnects from the pptp VPN server within a few minutes. The server side shows a connection for about 45 seconds, then shows no connection from the tf300, but the client device, the tf300, shows that it is still connected.
I thought it might be a ROM issue, so I I tried loading the new PA ROM, but I still experience the same issue.
On the router side, I'm using tomatousb's build in PPTP VPN server.
Anyone else have this issue?
MisterWolfe said:
I've got a PPTP VPN set up on my home router that works fine for my Samsung Note 2 phone (4.1.1). I can connect, browse the network at home, and access files etc.
When I set up the client on my tf300(cm 10.1/android 4.2), I can connect to the VPN, but I cannot browse the network at home, and it disconnects from the pptp VPN server within a few minutes. The server side shows a connection for about 45 seconds, then shows no connection from the tf300, but the client device, the tf300, shows that it is still connected.
I thought it might be a ROM issue, so I I tried loading the new PA ROM, but I still experience the same issue.
On the router side, I'm using tomatousb's build in PPTP VPN server.
Anyone else have this issue?
Click to expand...
Click to collapse
I've used a vpn on my phone when I tether and I have no issues. Not really sure what to tell ya other than try a stock based rom.
Sent from my SGH-T999 using Tapatalk 2

WiFi DNS issue

Currently running Sow Nice OJC on my G920T. I've been running into some odd WiFi issues...namely with DNS and addressing. At my and my girlfriend's house, WiFi is pretty much pointless as I get DNS errors. Her connection is using the standard Xfinity all-in-one modem/router which isn't configurable worth a damn...but her phone and tablet work fine via WiFi, as does my laptop. At my house I have my own modem and router; I have the DHCP server set up to use Google's public DNS servers. All my devices in my house work fine...Xbox, computer, even Chromecast...but for whatever reason my S6 runs into DNS errors which of course disables WiFi Calling as well.
I have tried running static IP and manually setting Google DNS as well as other DNS; it doesn't seem to help. I have also tried toggling airplane mode. I haven't experimented much with other connections that aren't Comcast, so I will include that in my troubleshooting. I am unsure if this is related to the issue I was having with connecting to my GoPro via WiFi.
Anyone else out there running Lollipop have DNS issues (or don't) and have found a solution? It isn't a huge issue at the moment as I have good signal at both places, but I would like to be able to use WiFi for the bandwidth...
Still working on this...it appears to be an IPv4 issue. All devices in my house happily get an ipv4 address alongside ipv6. Not the S6....it only uses ipv6.

OpenVPN TCP Connections Fail? LG ROM Fault?

Anyone else experiencing this?
When I try to connect to my VPN server using OpenVPN connect over TCP I get a Network EOF error, and when connecting with the regular Open VPN Client app I get "SIOCGIFHWADDR(lo) failed." Works fine when I connect under UDP, and connecting to the same server under TCP works fine on my other devices (I'm coming from the Nexus 6 2014 and used it extensively on there).
From what I can see on Google it sounds like this is a ROM issue, but wanted to make sure it's happening to everyone so I know it's not just something misconfigured on my end.
I just tried mine and TCP connection isn't working for me either.
Andrew025 said:
I just tried mine and TCP connection isn't working for me either.
Click to expand...
Click to collapse
Out of curiosity, does UDP work for you? I figured UDP was working, because it showed as connected with no errors on OpenVPN Connect but it actually doesn't load anything from the internet whilst connected and the other OpenVPN app is giving me the same "SIOCGIFHWADDR(lo) failed" error.
This is a pretty major issue
I'll bet your wifi doesn't approve of VPN.
UDP and TCP connection through the Private Internet Access app work fine. There's a configuration problem in what you're trying to do. Either the wifi LAN won't allow it, or your OpenVPN settings are off, or the OpenVPN app is somehow unhappy in Nougat.
Skripka said:
I'll bet your wifi doesn't approve of VPN.
UDP and TCP connection through the Private Internet Access app work fine. There's a configuration problem in what you're trying to do. Either the wifi LAN won't allow it, or your OpenVPN settings are off, or the OpenVPN app is somehow unhappy in Nougat.
Click to expand...
Click to collapse
It's definitely possible that the OpenVPN settings are off, possibly requiring a different configuration on the v20, however the WIFI is fine and Nougat isn't an issue as it works fine on my Nexus 6 2014 running Android 7.0.
PhantomGamers said:
Out of curiosity, does UDP work for you? I figured UDP was working, because it showed as connected with no errors on OpenVPN Connect but it actually doesn't load anything from the internet whilst connected and the other OpenVPN app is giving me the same "SIOCGIFHWADDR(lo) failed" error.
This is a pretty major issue
Click to expand...
Click to collapse
Yep, UDP works without issue through OpenVPN.
My PIA app works as well.
It depends on the security settings with the network, with my home wifi or data using from the Usim, it works ok, if using my company network, it block me out, and won't connect.

Categories

Resources