VPN Woes - Xoom General

I just picked up my wifi only Xoom today, and discovered that it appears to have an issue that's virtually identical to one that the Thunderbolt shipped with as well: I simply cannot make L2TP over IPSec connections. In fact, judging by the logs on the server, the VPN client in Honeycomb does not even try to connect. Checking the server side logs shows no entries whatsoever. However, if I go back to my Thunderbolt (which now, being rooted and on a different ROM, will work) I can connect to the same VPN, with the same settings, with no issues. But when I try from the Xoom, all I get is "Unable to connect to the network. Do you want to try again?"
However, I can establish a PPTP connection from the Xoom without any problem (which is, again, exactly the behavior that my Thunderbolt exhibited until I was able to go to a new ROM), BUT, once the connection is established, the Xoom behaves as though it has NO internet connection whatsoever.
I would REALLY appreciate help with this. Thanks

Thats odd. I have had no issues with L2TP and IPSec. Works slow for sure but was working fine. I was on wifi at home. When I tried via 3g it was ungodly slow, took like 5 attempts to connect. Any info would be nice

PPTP more info;
http://code.google.com/p/android/issues/detail?id=4706

Related

Wi-fi not working

After connecting to 3 different wireless connections and none of then working, I'm concluded that my wifi isn't working.
I go to settings and check wifi on, it finds the network, connects, but I lose my entire data connection for the duration wifi is turned on!
Is anyone else having this problem?
Sent from my Samsung Vibrant
I'm having the same issues with the wifi. I downloaded wifi analyzer to make sure I was on a good channel. Set it to the best channel and my signal strength is 100%. I will be able to connect for a little bit but for some reason it goes in and out, connection unsuccessful, yada yada yada. I messed with all the troubleshooting solutions for my router (dgl-4300) but nothing works. If anyone can reply with a fix or point me in the right direction, that would be greatly appreciated.
Same Issues
Any help is greatly appreciated. Data working fine when on 3G but Wifi = no data. Connection is fine, IP is fine.
UPDATE: It's working again on my home WIFI. Will have to see if it's just an "at work" issue. Hopefully IT can assist.
Same problem with Verizon MiFi
I have had ZERO problems connecting to the Linksys access points we have setup at my home and my office, but recently my work provided me with a Verizon MiFi (as well as an iPad - don't hate ) and I've had MANY issues trying to get my Vibrant to consistently connect to the MiFi.
My iPad, Motorola Droid, and Laptop have no issues connecting to the MiFi.
On my Vibrant I'm running the 2.1 stock ROM with root & the latest ClockWork recovery.
It will "connect" to the MiFi (I use quotes because I can't really tell - it AT LEAST receives an IP). But I'm unable to send and receive data. I can't even browse to the MiFi's internal configuration page .
To FINALLY get it to connect consistently I have to do some kind of random combo toggling the wifi off and back on and then turning the MiFi off and back on and it will EVENTUALLY connect and stay connected with data flowing freely.
I've customized my configuration a little bit on the MiFi so I'm going to reset it back to factory and not change the config to see if it makes a difference - because at lunch I was able to connect to my boss' MiFi with no problem. I'm thinking it may either be the phone or the mifi...
I've connected to about 10 different wireless networks with NO issues, at all. The connectivity is actually much better than my G1/Nexus.
HOWEVER, last night at a bar I was connected to their wifi, strong signal, but I was not able to use Data. I was in a very poor reception area for T-Mobile... don't think that could be an issue, bit the other places I use wi-fi that is not the case.
I just chalked it up as a fluke and moved on. Not sure what was wrong.
I had this happen to me today. I just rebooted and it went away. Toggling wifi didn't help, but I only tried it once. The phone reboots so quick I figured I'd give it a try.
I have set the phone up manually with static ip. Seems like its a problem with the dhcp.
robnil said:
I have set the phone up manually with static ip. Seems like its a problem with the dhcp.
Click to expand...
Click to collapse
I'm gonna try this.
Sent from my SGH-T959 using XDA App

[Solved] Android and WiFi

I've tried several builds:
Darkstone Froyo
DarkStone FroyoStone
mattc Froyo with Sense
mattc Froyo without Sense
shubcraft
Xcelsior
mccm v1.7
WiFi just does not work at home. It'll connect, but I can't actually browse anything. It comes back immediately as a "page not found" error. Today I took my phone around town specifically to test WiFi on other networks. It worked perfectly on two open networks. There were no issues at all. It works at my office as well.
My network at home is wired as:
Internet --> DLink Gamer Lounge (wired router with special features) --> Linksys WRT54G wireless router
The DLink has DNS and DHCP services. The Linksys has none and is assigned a static IP.
My network at work is wired as:
Internet --> DLink Gamer Lounge --> everything else including a Linksys WRT54G setup just like at home
There is a Windows Server setup to take care of DNS and DHCP. The Linksys has same setup as at home.
At home, I disconnected the DLink, enabled DHCP on the Linksys, then my Android phone worked on wifi just fine.
I reconnected wired router and reset all settings. Android wifi doesn't work anymore.
I don't think my wired router is incompatible. I'm wondering if the wireless router not being the DHCP agent has anything to do it. Other wireless devices connect fine like this. My phone in WinMo connects fine. My friends' iPhones connect fine. My friends' native Android phones connect fine. Every wireless device (except HD2 Android) connects to the network and works just fine.
Anyone have any suggestions?
Is there a route tracing program for Android? Or something that will show me all the IP information (including DNS)?
Update:
DarkStone1337 said:
Because you have no DHCP on your wireless router, your IP address and DNS server and default gateway settings aren't being set by Android. No idea why. You'll need to do this manually in Android by pressing the windows button in the wifi network settings and setting the right values from there.
Click to expand...
Click to collapse
I just used an app to check IP settings. IP address, subnet mask, gateway, DNS, and everything are being set properly (there is a DHCP server on network, just not on WiFi router). I tried to setup a static IP address and other settings. Whenever I try to connect that way, it gets to "Obtaining IP address" and then fails, cycling through the whole process. Is it possible the code for IP stack (or IP Tables) in these builds of Android are not complete?
Update 2:
DarkStone1337 said:
Not an app, but using ADB logcat is sufficient enough.
If you have adb set up then follow this: https://sites.google.com/site/androidhowto/how-to-1/save-logcat-to-a-text-file
Click to expand...
Click to collapse
Just read about ADB (Android Debug Bridge) briefly. I think this will be a bit out of my league. I'm not that familiar with Android / linux. I'll post in the other thread asking if someone else more skilled can grab one. If not, I'll see about trying to figure it all out this weekend.
Same issue
FreakyFerret said:
I've tried several builds:
Darkstone Froyo
DarkStone FroyoStone
mattc Froyo with Sense
mattc Froyo without Sense
shubcraft
Xcelsior
On all of them, WiFi just does not work. It'll connect, but I can't actually browse anything. It comes back immediately as a "page not found" error. Today I took Matt's Froyo with Sense around town specifically to test WiFi on other networks. It worked perfectly on two open networks (Quizno's and McDonald's). There were no issues at all.
My network was wired as
Internet -- Wired router (with special features) -- wireless router
The WiFi router was basically treated like a switch with its DHCP turned off. I disconnected the wired, enabled DHCP on the wireless, then my Android phone worked on wifi just fine.
I reconnected wired router and reset all settings. Android wifi doesn't work anymore.
I don't think my wired router is incompatible. I'm wondering if the wireless router not being the DHCP agent has anything to do it. Other wireless devices connect fine like this. My phone in WinMo connects fine.
Anyone have any suggestions?
Is there a route tracing program for Android? Or something that will show me all the IP information (including DNS)?
Edit: It should be noted other Android phones (that came with Android) do work fine. Just these HD2 builds is the problem.
Click to expand...
Click to collapse
I just want you to know I'm in the same situation as you. My router is a Belkin Wireless N router (WPA2 encryption). I get a valid IP address and I can ping the router but no DNS or access past the router. There was an earlier version of an Android build (I think a MattcFroyo) that worked with my wifi set-up. But I need BT headset support and the Darkstone build seems to be the only one that reliably works with my BT devices. (BlueAnt T1 & Motorola EQ7)
Please let me know if you find a solution that works!
Thanks.
Sept 4 Update. The only version that I have found that provides both Wi-fi connectivity and BT head set is the Shubcraft version 1.4 for my router configuration. Version 1.5 doesn't and neither do the latest Mattc and Darkstone builds.
Hell, I can't even get my Wifi working at all. Darkstones V1... Wifi just says "Error". Have the latest zImage, and everything. :/
Shushunmire said:
Hell, I can't even get my Wifi working at all. Darkstones V1... Wifi just says "Error". Have the latest zImage, and everything. :/
Click to expand...
Click to collapse
jinhenry, I'll let you know.
Shushunmire, are you using HD2Froyo or FroyoStone (clean or Sense)? Also be sure to post in Darkstone's thread that relates to the build. I know HD2Froyo v2 was giving error for wifi, but his latest update fixes that.
I tried various market apps to do network diags on the phone. All they offered was basic ping. When trying to ping anything on the wifi, it just fails right away. It's like it's not even seeing the network and just saying no network around. I even tried to ping the phone's own local IP and it failed. I tried looking for a traceroute type app, but there was none.
I installed Cirtex app. On cell connection, it pulls up the IP info of the wifi (but cell data works):
Device IP Address:{cell IP}
Interface name:/usb0(usb0)InetAddress:/{Ip of wired router, DHCP server, DNS server}
Interface name:rmnet0(rmnet0)Inetaddress:/25.1.238.x (don't know)
Interface name:lo(lo)InetAddress:/127.0.0.1
On wifi connection, it gives error:
Can not get te IP Address for the device. (errors their's)
Interface name:eth0(eth0)InetAddress:/{correct wifi ip}
Interface name:usb0(usb0)InetAddress:/{correct wifi ip}
Interface name:lo(lo)InetAddress:/127.0.0.1
If I use a static IP, and set the gateway to the actual network gateway (wired router, DHCP server, DNS server), phone tries to connect until it gets to the "Obtaining IP" stage, then it fails and cycles over. If I set the gateway to the wifi router (which is no more than a wifi access point) it will connect.
To repeat cause I know you have a lot going on: other wifi devices work on this network fine (using static or dynamic ips) including windows laptops, mac laptops, xbox, Wii, iphones, winmo phones (this one even), and even other android phones.
If I set the wifi router as the gateway (plug internet directly into it and turn on DHCP on wifi router), everything works fine. I don't even change its static IP.
Hopefully some of this will help. :/ The more I play around with it, I get the feeling the IP stack is the cause.
I AM HAVING THE SAME PROBLEM!!!! my lil bro got an htc hd2 as well n we got them the same day n when i flashed android on his and mine... his wifi was working while mine was not and i have tryed so many different builds but nothing solves the problem...it searches but at the end it says unable to scan networks....anyone plz help i really need wifi
p.s we both are on....
rom: core cell series
build: hd2 froyo v2.1
his hd2 works perfect while my wifi is not
jinharry said:
I just want you to know I'm in the same situation as you. My router is a Belkin Wireless N router (WPA2 encryption). I get a valid IP address and I can ping the router but no DNS or access past the router. There was an earlier version of an Android build (I think a MattcFroyo) that worked with my wifi set-up. But I need BT headset support and the Darkstone build seems to be the only one that reliably works with my BT devices. (BlueAnt T1 & Motorola EQ7)
Please let me know if you find a solution that works!
Thanks.
Click to expand...
Click to collapse
have you tried setting the router to use G only? i had an issue with the newer builds on a d-link 635 that was the same, it woudl work then suddenly woudnt work at all, rebooting the phone didnt help, changing the router to use G only instead of mixed seemed to fix the issue
Here's my issue. On my phone I could connect to wireless fine, my two sons liked Android on the hd2 so much that we picked up 2 more hd2's, that's where the problem started. Any one of the phones can work on wireless just fine... but try and connect any of the others and while they do connect, they don't work. Any of them.
It's almost as if they are seen as the same device or something. Some kind of unique id is missing or something.
Ducter said:
Here's my issue. On my phone I could connect to wireless fine, my two sons liked Android on the hd2 so much that we picked up 2 more hd2's, that's where the problem started. Any one of the phones can work on wireless just fine... but try and connect any of the others and while they do connect, they don't work. Any of them.
It's almost as if they are seen as the same device or something. Some kind of unique id is missing or something.
Click to expand...
Click to collapse
are they using the same builds? its possible that the mac address being used is the same and the router sees it as the same device
Richy99 said:
have you tried setting the router to use G only? i had an issue with the newer builds on a d-link 635 that was the same, it woudl work then suddenly woudnt work at all, rebooting the phone didnt help, changing the router to use G only instead of mixed seemed to fix the issue
Click to expand...
Click to collapse
Didn't help Thanks for suggestion though.
unless it has changed recently, all HD2-android builds are using the same MAC-address. So this could very well be your problem.
Ducter said:
Here's my issue. On my phone I could connect to wireless fine, my two sons liked Android on the hd2 so much that we picked up 2 more hd2's, that's where the problem started. Any one of the phones can work on wireless just fine... but try and connect any of the others and while they do connect, they don't work. Any of them.
It's almost as if they are seen as the same device or something. Some kind of unique id is missing or something.
Click to expand...
Click to collapse
FreakyFerret said:
jinhenry, I'll let you know.
Shushunmire, are you using HD2Froyo or FroyoStone (clean or Sense)? Also be sure to post in Darkstone's thread that relates to the build. I know HD2Froyo v2 was giving error for wifi, but his latest update fixes that.
Click to expand...
Click to collapse
I'm using FroyoStone (w/Sense).
And yeah, will do that. I just figured it wasn't working at all until I saw your post.
I use currently mattc 1.5b w/sense and had (have) the same problem with
DHCP is on. I allways got the status "Obtaining IP address" and nothing happen.
I played a little bit with the static IP settings...I set DNS 1 equal the the gateway entry and then wifi works....but only static.
I think this is a router issue...I use Speedport W 502V.
I doubt it's a router problem since all other devices work perfectly.
same issue, please give your attention, developers, thanks.
I've had the exact same problem with my Wi-Fi using several Android builds. Tried static IP and every possible setting I could find and solved it by add the Mac-adress in my router setting. (192.168.1.1) and now it works perfectly. I'm now using shubCRAFTv1.3
Hope you can fix your problem this way. Cheers.
Sent from my HTC HD2 using XDA App
I'm having issues with Wifi too. I'm also currently using mattc Leo + Froyo w/Sense 1.5b. My problem isn't that the phone doesn't connect via wifi... it does. The problem is that after it connects the connection seems to go dead/times out after about a minute or two.
For example, after installing the build and running through the setup, i connect to wifi, then sign in with my gmail account. This all works as it should. Then by the time I want to sign in to my facebook/twitter accounts during that same setup sequence, it no longer can connect to the internet. My suspicions of the connection having a "timing out"-like occurrence was then confirmed when I turned off wifi, and switched it back on. Everything would work and sync for about a minute, then it would cut out again (but it would still show a full strength connection via wifi). It's a bit of a strange one.
I used Energy's build before trying this one, and WiFi worked flawlessly. So I'm assuming its not my router, but something up with my device and/or its settings.
Thanks in advance for any tips/help.
snozze said:
I've had the exact same problem with my Wi-Fi using several Android builds. Tried static IP and every possible setting I could find and solved it by add the Mac-adress in my router setting. (192.168.1.1) and now it works perfectly. I'm now using shubCRAFTv1.3
Hope you can fix your problem this way. Cheers.
Click to expand...
Click to collapse
What do you mean by you added your phone's MAC address to the router? Where exactly in the router? Guessing you mean you set your phone to use a static IP, then set your router's DHCP client to always assign that IP to the phone?
wibblewobbles said:
I'm having issues with Wifi too. I'm also currently using mattc Leo + Froyo w/Sense 1.5b. My problem isn't that the phone doesn't connect via wifi... it does. The problem is that after it connects the connection seems to go dead/times out after about a minute or two.
For example, after installing the build and running through the setup, i connect to wifi, then sign in with my gmail account. This all works as it should. Then by the time I want to sign in to my facebook/twitter accounts during that same setup sequence, it no longer can connect to the internet. My suspicions of the connection having a "timing out"-like occurrence was then confirmed when I turned off wifi, and switched it back on. Everything would work and sync for about a minute, then it would cut out again (but it would still show a full strength connection via wifi). It's a bit of a strange one.
I used Energy's build before trying this one, and WiFi worked flawlessly. So I'm assuming its not my router, but something up with my device and/or its settings.
Thanks in advance for any tips/help.
Click to expand...
Click to collapse
sounds like the same issue i had, i had to set my router to use G only rather then mixed g/n to fix the issue
FreakyFerret said:
I've tried several builds:
I don't think my wired router is incompatible. I'm wondering if the wireless router not being the DHCP agent has anything to do it. Other wireless devices connect fine like this. My phone in WinMo connects fine.
Anyone have any suggestions?
Edit: It should be noted other Android phones (that came with Android) do work fine. Just these HD2 builds is the problem.
Update:
I just used an app to check IP settings. IP address, subnet mask, gateway, DNS, and everything are being set properly (there is a DHCP server on network, just not on WiFi router). I tried to setup a static IP address and other settings. Whenever I try to connect that way, it gets to "Obtaining IP address" and then fails, cycling through the whole process. Is it possible the code for IP in these builds of Android are not complete?
Click to expand...
Click to collapse
I had problems before with a similar setup, and I can tell you that NOT having the DHCP on the router (gateway out) is the issue. You have to remember that "these HD builds" are still in development with WIFI issues still being ironed out.
My advice, try using fixed IP assigning (on wireless router) using the phone's wifi adapter mac address.
Right now your phone is going to the wifi router who will be sending packets to the DHCP server and back to wifi router so that it goes out. Also usually, there tends to be a conflicts because some DHCP clients just assume that the server for DHCP is the gateway too.
or... Check that your DHCP server (if another machine) is doing internet sharing, in case devices try to use its address as a gateway, which will then go out anyway through the wifi router.
The fact you report may be in my oppinion, useful for the devs (eventually), but dont get high hopes for this to be on the immediate to-do list

[Q] WiFi Problems AFTER Internet Sharing

This is an embarrassing question for two reasons. First, I’m sure it’s a simple answer that is just getting past me. Second, every search string I try comes up with dozens of pages talking about setting up Internet Sharing, none that I could find addressing my problem. After reading through numerous pages and double checking the terrific collection of FAQs that mmalka put together for the Rhodium Energy ROM, I decided to ask here.
My problem is with connecting to the Internet through a WiFi connection on my TP2 AFTER having used the Internet Sharing app.
I use WiFi at home all the time and I never have any issues setting it up after flashing – this time was no exception. It’s been working flawlessly since flashing the ROM in my signature several days ago. But I needed independent Internet access at work yesterday to test out a VPN/remote desktop connection on a laptop and decided to try the Internet Sharing app on our phones. VERY impressive! A couple of quick buttons pushed and viola’! Worked like a champ!
However, back at home I had trouble getting my phone to connect to my home WiFi router again. I discovered that when I tried turning on the WiFi, it was looking to be used as an Internet Sharing point again. So I deleted that connection (“forgot” it) and it successfully connected to my home WiFi router. However, it will not actually go to the Internet – everything faults out with “Connection is currently unavailable”. Switching to the T-Mo 3G connection, everything works great.
Has anyone else had this issue? Any suggestions short of a hard-reset?
Many thanks in advance.
Solved!
Well, judging by the number of looks with no reply, either this was a simple solution that I should have been able to easily figure out or no one else is having the issue to know what to do. But I finally figured it out and just in case anyone else eventually comes across the same issue, I thought I tell you what I found.
After digging around, I found that the Internet Sharing application changes the Broadcom 802.11 DHD Network Adapter to a local IP address. So all I had to do was change it to “Use server-assigned IP address” and everything worked. (Settings tab, Wireless Controls, WiFi - Connect to WiFi Network, Advanced, Adapters and Networks, Network Adapters, edit Broadcom 802.11 DHD Network Adapter, Use server-assigned IP address.)
I have no idea whether going back to a standard wireless connection should automatically switch it back, but it doesn’t in my case. If anyone has a simpler way of address this, I’d love to hear about it.
Regardless, I hope this help someone.
Thanks
gregb882 said:
I have no idea whether going back to a standard wireless connection should automatically switch it back, but it doesn’t in my case.
Click to expand...
Click to collapse
OK, so I stumbled into another revelation. It seems that if you remain in the WiFi Router application (or simply go back to it) and use the "Stop" command to discontinue the service, the Broadcomm Network Adapter does get reset to "Use server assigned IP address". The few times I used Internet Sharing, I was in other apps when I finished and simply turned off WiFi.
Oh well, live and learn.
I had a similar issue recently.
my new router was connecting fine to another mobile, but not my EnergyRom mobile.Thought it was my new routers band G/N compatibilty issue. however your post help remind me that i had used internet sharing on my HD2 for my laptop a few days earlier..Checked out my settings and well broadcom adapter was set to static at 192.168.1.1...switched it back to server assigned Ip and voila wireless is connected now
Really appreciate your post..Thanks so much for posting the solution, Gregb882

VPN Constant Disconnects

My Xoom usually disconnects the VPN immediately after opening any file from an SMB Share using ES File Explorer. I preferred Astro but the SMB addon doesn't work with Honeycomb yet. A variation of different vpn clients all do the same, as soon as data is done being transferred from a single download, the VPN will disconnect.
Is there a workaround for this? It would be great to only have the VPN connect when resources on the network were accessed or written.
I haven't found a workaround or solution to keep the VPN up and stable.
(btw, this is a typical MS 2008 PPTP on a Windows Domain)
At the moment, I'm having to reconnect after every file transfer- again, the wireless network doesn't seem to make a difference (although the 3g connection is obviously poor)
I've done a little troubleshooting on this in the last few days using the magic of wireshark. MS PPTP Server, makes the connection and then drops after SMB traffic is attempted, as well any website will not load, and no email / communication will work.
I believe this fully involves a Default Gateway setting on the Xoom, being it's a client-side setting and the Xoom doesn't appear allow that option to be changed (silly that it's missing, imo).
When I make a connection, Verizon's firewall policies see a foreign IP return traffic at some point on their network and blocks the transmission completely, eventually causing PPTP to timeout.
Here's a good read on how to get around the restriction:
http://jbenisek.wordpress.com/2010/10/05/android-2-1-and-2-2-vpn-pptp-over-verizon/
I myself have been on the phone this morning regarding this issue, I'm up to about a 3rd level of tech support and he is trying to tell me 'nothing is blocked at all on the Verizon network'...
I'm awaiting a call back now... at which I'll try to show him the above site/resource and maybe he'll move me to an unrestricted IP block. We bought 3 Xooms with the intention of working remotely in the field using PPTP- 4 more coming soon---
At this point, I'm still tempted to go back to Sprint and just wait on their Xoom release.
*btw, you can verify the above by tethering to the Xoom and changing your default gateway on a laptop/pc, the connection will work fine.
edit:
AH-HAH!
And more info;
http://code.google.com/p/android/issues/detail?id=4706
Apparently this is a known issue.
Encrypted PPTP is broken on Android: http://code.google.com/p/android/issues/detail?id=4706
I've posted about this problem in this thread:
http://forum.xda-developers.com/showthread.php?t=992876
I've tried it on every version of Android since 2.1. I tried it with my Xoom on 3.0 and the problem remains. It appears to be a pretty low priority for Google.
sangreal06 said:
Encrypted PPTP is broken on Android: http://code.google.com/p/android/issues/detail?id=4706
Click to expand...
Click to collapse
Turned off encryption on the server and all was well. I can't believe google let that slide... !?
I guess I'll transition to a L2TP VPN...

Cyanogen 13/04 Wireless Out of Range problem

I can't post this in dev section as I'm too noob, but thought I would share in case anyone else had the problem.
I am running the cyanogen nightly 13/04 and connected fine to the wireless in my office but at home couldn't. I have a BT homehub have WPA2 with a hidden SSID. After putting in the details of the connection the vega wouldn't conenct to it saying "Out of Range". It would however connect to the BTFon open connection that the Homehub broadcasts.
Long and short of it... Change the SSID from being hidden and the vega see's the connection and connects fine. This rom doesn't like hidden SSID's
HTH
There are more problems with wireless and CM7 besides hidden bssids. Having tested multiple accesspoints with different configs my conclusions are:
-unencrypted APs always work
-WPA2-PSK works sometimes:
-the CM7 accesspoint on my Desire Z always works
-a FON AP rarely works (managed to connect once)
-WPA2-EAP rarely works (only managed to connect a couple of times, mostly after reboots)
I'd really like to get CM7 to run, but this is a showstopper for me. "Good thing" is that apparently this bug is also randomly present on other devices running CM7, I trust the cause will we found and repaired soon.

Categories

Resources