I've been trying to get my Galaxy Nexus to connect to a remote VPN for the past few days now, and have been having some issues.
Worth mentioning, the PPTP VPN server is hosted by a Linksys WRT54G running DDWRT, and is verified to be working properly. (My Windows 7 x64 PC using a Wind Datastick can connect to the VPN, and everything works as expected)
However, I seem to be having some problems getting my Gnex to play nicely with the remote network, and have been experiencing the following issues:
If I select the "PPP Encryption (MPPE)" checkbox, the phone will not connect to the VPN. It reports "Unsuccessful"
If I deselect the "PPP Encryption" checkbox, the phone will connect to the VPN, however I cannot seem to access the internet via the remote gateway, and do not seem to be able to access any resources on the remote LAN (as best as I can tell anyway). The status window on my phone shows packets going out, but received traffic stalls at around 30 packets or so.
I was stumped.
I did some googling, and found a reference to adding the following lines to the routers startup script which supposedly would make it work with MPPE encryption:
cat /tmp/pptpd/options.pptpd | grep -v mppe > /tmp/pptpd/options.pptpd
echo -e 'mppe required\nmppe stateless' >> /tmp/pptpd/options.pptpd
So I added that, gave it a try, and not only could I still not connect with the encryption checkbox ticked, but then the working Windows 7 PC couldn't connect either. Kept getting an error stating "The local computer does not support the required data encryption type."
Removed that line from the router, and I'm back to square one.
Stumped.
Anyone have any ideas?
(Oops, this should be in the Q&A section. My Bad.)
Nobody else having this issue, eh?
I have the same issue with my Atrix on CM9 - CM7 was fine.
Splashed from a puddle in Devon
Related
Hi all,
I've just got my XDAIIs and am just playing about with it before I start loading all my apps and syncing with outlook.
I've got the Wifi working with my home access point (with encryption).
When I try and use Terminal Service to remote desktop to my pc it trys to dial-up to O2 Active GPRS - why won't it use the wifi connection thats enabled? I can ping the pc via hostname and ip fine though.
By the way, the XDIIs is setup for use on O2 as standard (it's a brand new contract phone).
Any ideas? ANy help would be appreciated.
Many thanks
i think if you change the type of network from internet to work on the xda iis, then it might work.
I had a similar problem with activesync over wifi and had to set network card to work to get it to connect.
I tried that and it was still doing the same.
For atest I deleted all connection settings.
Then Terminal Services told me that I HAD to create a VPN connection setting for the server I'm connecting to. I did this but it kept faling when trying to connect with user/pass error.
I then thought I'd try the IP address of my machine instead of the hostname - This worked straight away!!
So does Terminal Services not like hostnames? I was hoping to connect to my server when I'm away from home using my no-ip address.
Does anyone have a similar setup or can shed any light on this?
Many thanks
DOH!
Just realised I should be using the fully qualified hostname rather than just the pc name.
i.e.
"server.uniquetouch.local" instead of just "server"
"athlon1400.uniquetouch.local" instead of just "athlon1400"
"pentium4.uniquetouch.local" instead of just "pentium4"
"dell.uniquetouch.local" instead of just "dell"
Now that I've got that bit working, I'm going to add the O2 GPRS connection settings back in and see if it still works.
Have you tried pocketVNC yet?? im just about to install it as i run vnc on all our system instead of terminal services
I also recommend VNC viewer.
It acts, amongst others, as a remote control to my windows media player & winamp on my media server.
You can find it all over the place, but here is 1 link:
http://www.cs.utah.edu/~midgley/wince/vnc.html
Hi,
I'm experiencing a weird problem and please let me know if it's only my problem or there is some work around for it.
My phone is SX66 upgraded to 1.40 ROM + 1.13 Radio stack
I can connect Wifi fine whenever I have some phone signal (at work). Whenever I go home where the phone signal is weak then the WIFI couldn't get connected (I believe I set up my home network correctly as I've been using it for so long and configure it for several computer/laptop in house). The network could detect the AP with the SSID but I just couldn't connect to it even I'm sitting right next to the AP.
ROM 1.40
Radio: 1.13
MDD
Are you sure it isn't connecting? What has led you to this conclusion?
Is it possible that it is connecting, but that you just can't browse the internet, in which case check your connection proxy settings. If your work uses a proxy server and you've enabled the pass-through setting in ActiveSync, your network connection may be configured with your work proxy server.
If you're sure you're just not connecting however, things to check are;
WEP/WPA Encryption - If you're using it and have other wireless devices on your network, you no doubt know what to do. If not, say so & I can help you.
DHCP - Does your router/AP support Auto-IP Addressing? Is it enabled? If not, you'll have to configure the WiFi card with a static IP within the same subnet as your router. Ask if you need help.
MAC Filtering - Are you blocking unauthorised MAC Addresses (on your router/ap)?
Interference - Wireless A/V Senders and digital cordless phones are common culprits for RFI. 802.11x APs support multiple channels (most default to channel 11), and you can change these in case of interference. Once again, if you have other WiFi gear already connected with good, strong signals, you can probably discount this one.
Sorry if this is all elementary to you - I don't know how technical you are.
Thanks for your reply.
> Are you sure it isn't connecting? What has led you to this conclusion?
Yes, I've check wireless status on the phone. "Connected to the network", and the AP with DHCP on showed the status of an IP has been allocate to the SX66 mac address. However I dont' really believe it then I check the "Adater", it said network available, and the WIFI icon just didnot show any traffic.
> Is it possible that it is connecting, but that you just can't browse the internet, in which case check your connection proxy settings. If your work uses a proxy server and you've enabled the pass-through setting in ActiveSync, your network connection may be configured with your work proxy server.
I've experience once with the internet connection via Active Sync so I disable the passthrough. Both home and work doesn't have proxy server so I selected not to have any on the phone.
> WEP/WPA Encryption - If you're using it and have other wireless devices on your network, you no doubt know what to do. If not, say so & I can help you.
At work, I have 128 WEP and the connection works fine with the key. At home, I open my network but using MAC filtering to protect it. I have problem with the open network one at home. Perhaps, I will try to setup WEP at home and see if it can work.
The only thing I'm not really clear is the difference between setting "WPA" and "WPA-PSK" from the phone.
> DHCP - Does your router/AP support Auto-IP Addressing? Is it enabled? If not, you'll have to configure the WiFi card with a static IP within the same subnet as your router. Ask if you need help.
Yes, DHCP enable as I don't want to change it back and forth when traveling.
> MAC Filtering - Are you blocking unauthorised MAC Addresses (on your router/ap)?
I do it and I already opened the network and then captured the MAC address into the AP memory. (that's why I think it's connected but will check).
> Interference -
Not really, I'm 6' away from the AP and I don't have any cordless device in my computer room.
> Sorry if this is all elementary to you - I don't know how technical you
are.
No problem, I'd like to learn more about this PDA. The concept is about the same with PC, but the tools to debug is not there. I can't use tracert/traceroute, ifconfig or ping broadcast to really know if I'm the network.
Once again, thanks a lot.
Okay, well it sounds like you're on the right track & know what you're doing.
A useful troubleshooting tool, which gives you tracert, ping, whios, ipconfig and a host of other tools is "vxUtil", which is freeware. I'd give you a URL for downloading it, but I'm on my iMate now (sipping coffee by the Yarra in a Melbourne Cafe - oh what a techno-wanker am I!), but search these forums or Google it and you'll find it.
Now, regarding the proxy thing... These PPCs are a little tricky with their internet settings, and I had to create a different 'connect using...' connection profile, if that makes sense. The important setting within the profile, which is under the Proxy tab, from memory, is "This network connects to the internet".
Now for some reason, if you don't enter in a proxy server here, that check-box doesn't stay checked when you ok your way out. So what I've had to do is go into the advanced area & enter anything in the "wap" proxy, then ok out.
Strange, but it seems to work. Although I always leave my "Private network" on "My Work Network", I can now browse the 'Net through the WiFi AP/Router.
Download vxUtil & see if you can ping your AP, then go from there.
I've worked around the problem by using static IP address instead of depending on DHCP. Thanks to Hitchhiker software. I noticed that it was trying to obtain IP address from DHCP but failed. (The very same DHCP work wells for the rest of my network). Anyway, I will use Hitchhiker to switch IP back and forth if necessary.
Thanks a lot!
MDD
Great to hear you found the problem - well done.
I've got an EVO running CM6 stable with android-wireless-tether (pre7). I am able to pair/connect to my home PC by setting up a bluetooth PAN in Windows 7. I right click on my device, choose "Connect > Access Point" and it says "Connection Successful". The only thing I get now is "Identifying..." until I am stuck with the good ol' 169.xx... IP address.
I checked the log for the wireless tether app, and it shows:
Enabling NAT rules... done
Enabling IP forwarding... done
Tethering now running... done
error: SIOCSIFFLAGS (Cannot assign requested address)
I've done a little research on the error and tried a few suggestions (rebuild binary/config files, changing the default LAN IP in awt settings) to no avail.
I also tried disabling WiFi and just attempting to share the 3G connection which still isn't working out (same error). Can anyone help me out with this one? I've also tried awt pre8 with the same results.
I had same setup and problem. Started the supper user app and quit app. Powered down phone restarted phone. After restart WiFi tether worked fine. Don't know why .
Sent from my PC36100 using XDA App
Just turn on wireless teather and the go to access conections fine androidap and connect to that. Why do you have to use blue tooth am I missing something? Wireless teather is in the settings with CM6 so you dont need an extra app for teather?
Thanks for the suggestions. I tried opening/closing SU app and rebooting, got the same result.
The reason why I am doing it this way is because I have a PC with only a network card (not WiFi). It's about 30/40 ft. from my router. Rather than buying a wireless card or some cable, I'm connecting via bluetooth and sharing my phones WiFi connection.
I understand if I had a WiFi adapter I could just use the built in Hotspot feature, but if I had WiFi, I would rather connect directly to the router.
I'm definitely interested in this too. At work, we have a no-wireless router policy, and I don't really feel like firing it up and have a guy holding a Fluke wireless network analyzer come and find me.
Bluetooth is alright for what I need. Seems to almost be a kernel issue or something. Worked *perfectly* with my N1, even with pre8. The EVO with CM6 stable isnt working. Just as a note, the wifi portion works correctly.
Actually let me rephrase : The bluetooth section does work, I believe there might be an issue related to the dnsmasq dhcp server not being able to serve IPs. The 'Upload' section of the information panel changes, the Green Download section stays 0.00. The client never receives an IP address, and thats about it.
Logcat didnt really show me much of anything critical error-wise, I'm really hoping that I can downgrade/upgrade a kernel in order to support whatever hardware changes there were between the N1 and the EVO.
I checked the wireless router wifi mode, and it no longer works either. 'Started with errors' is what I get now when in the wifi mode. The built-android wireless tether works fine, but I either wish I could hide the ESSID or have a bluetooth option available.
It *seems* related to the kernel, but logcat doesnt mention anything about not being able to load a module, and the wifi-tether app doesnt have a txt log, or does it?
I'm using CM9 on my galaxy nexus.
I can connect to my PPTP VPN server (my router running tomato) fine without tunneling, both inside my lan, and outside it.
I can connect to my SSH server (again my router), both inside my lan and outside it. And have successfuly forwarded ports before w/ connect bot and remote desktop apps.
But everything I try results in my VPN connection timing out when I try to do it over the SSH tunnel. I have it connecting to localhost on the VPN settings side. And on the connect bot side i am forwarding port 1723 to 192.168.1.1:1723 (which is my routers lan IP).... but it still times out.
Does anyone have any ideas? is this even possible?
bump - so no one has tried to do this?
edit: nevermind, not possible with PPTP http://www.webhostingtalk.com/showthread.php?t=666728
PPTP requires the GRE protocol, which you can't tunnel over SSH. I've googled this extensively and have tried it repeatedly without any success. You could do PPP over SSH, but it's not very easy to set up, and depending on what OSes you're running, it might be out of your reach.
Check out OpenVPN; it runs on both Windows and Linux, uses a single configurable port for communications, and does everything over that port; as long as you can find an unblocked port on your network to use it on, you should be fine.
Click to expand...
Click to collapse
I was having some issues connecting to mobile hotspot with galaxy tab 3 7.0 wifi. It would connect just fine to my home internet. And although it would show a strong signal connection to the hotspot running off my phone it would not connect to the internet.
I found this post online and I just thought I would share here with the community in case anyone else is having issues. This worked for me.
I take no credit for this, just wanted to share it.
***************************************************************************************************************************************************************
I ve spent nearly 3 hours today and 4 hours last week trying to resolve this on my new S3. I was pretty flummoxed when the wifi signal seemed to drop off without any reason.
After much hunting, my initial hunch seems to be correct
a) Interference from other devices
b) Unable to get an IP address
c) I am just a layman when it comes to networking, but since all of my other devices at home the iPad, iPhone and my laptop seem to have no issues (my laptop occassionally has the same drop-off problem), I thought it's likely to be a phone issue rather than a router issue.
To resolve this I found another thread on the forum and I tried this, and Bingo! it worked.
Press these menu options on your phone: Settings > Wi-fi> (Choose your network by tapping on it for a few seconds) > Modify network config
Check "Show advanced options"
Choose IP Settings: "Static"
Enter these details
IP - 192.168.1.253 or 195.168.1.253
Gateway - 195.168.1.1 (I chose 192.168.1.1 since that's my router address)
NPL - 24
Netmask - 255.255.255.0 (I could not find this option)
DNS 1 - 8.8.4.4 or 8.8.8.8 (I had the latter by default and let it stay)
DNS 2 - 4.4.4.4
And save.
Presto! It just connected in a few milliseconds.
It may not be so simple for each phone, but it's certainly worthwhile to try.
Here is the link the forum thread, where I resolved it:
Good luck
***************************************************************************************************************************************************************
cool.
I've some problem with wifi on galaxy tab 3 7.0 SM-T211 (JB 4.1.2)
When connect using hotspot laptop or tethering via other device, my wifi always scanning every 7s. make my battery run out.
I was trying use advance setting (static IP) but still same.
How to solved this problem?
instable wifi
Somehow the solution with a static ip works perfectly
I also assigned this ip in the router to the mac adress of the phone
Thanks raptorseye