VPN L2TP not working in Android 4.0 - HTC One X

Hi
I didn't succeed to conect to my pc in my office

Mine connected with PPTP but when I try with L2TP it connects but the phone reboots after a few seconds. I have had this issue since new and the ota update did not fix it.
Try this thread for your office connection http://forum.xda-developers.com/showthread.php?t=1359389
Sent witH desire from OneX

I was hoping that my above comment was going to get some further replies and advise regarding my issue......i have a StrongVPN server subscription, i have set up both a PPTP connection and a L2TP connection on my One-X. While the PPTP connection works and stays connected, everytime i try to connect using the L2TP connected it forces my One-X to reboot after a few minutes whithout fail...........anyone else having L2TP issues or is it just me with StrongVPN server connection?

Related

Need help from a Vista user! (Internet Sharing)

I had been successfully tethering via Bluetooth with WM6's Internet Sharing function, and was doing so in XP. Well we just took the Vista plunge and I'm having an issue. The Network Connections is showing my BT connection as "Local Only" meaning I can browse other pc's on the network, but I can't get to the internet. My WiFi connection to my router connects to the internet with no problem (The Wireless Connection shows "Local & Internet Access."
So I can not get out to the internet using my Tytn as my connection. I used the "Diagnose Problem" function in Vista, and it tells me that it cannot ping IP address 192.168.0.1. This is the IP address of my router. I don't want it to try to hit that IP address, but I can't find a way to tell it NOT to. All the settings in TCP/IP protocol are set to obtain an IP address automatically. But it seems that even while using BT as the connection, it still wants to get to my router first, even though I'm not using my WiFi at all. I even tried disabling the WiFi connection. Still the same issue.
Does anyone know what I can do to get the pc to stop trying to get my router first?
Thanks!
Tell me about it! It took me an age to find some drivers that worked with my bluetooth, I ended up using the Toshiba stack. After a lot of fiddling I got it working but when it runs it is very hit and miss and I have yet to transfer anything between devices let alone surf the net! Have you tried the bluetooth set up wizard?
stpete111 said:
I had been successfully tethering via Bluetooth with WM6's Internet Sharing function, and was doing so in XP. Well we just took the Vista plunge and I'm having an issue. The Network Connections is showing my BT connection as "Local Only" meaning I can browse other pc's on the network, but I can't get to the internet. My WiFi connection to my router connects to the internet with no problem (The Wireless Connection shows "Local & Internet Access."
So I can not get out to the internet using my Tytn as my connection. I used the "Diagnose Problem" function in Vista, and it tells me that it cannot ping IP address 192.168.0.1. This is the IP address of my router. I don't want it to try to hit that IP address, but I can't find a way to tell it NOT to. All the settings in TCP/IP protocol are set to obtain an IP address automatically. But it seems that even while using BT as the connection, it still wants to get to my router first, even though I'm not using my WiFi at all. I even tried disabling the WiFi connection. Still the same issue.
Does anyone know what I can do to get the pc to stop trying to get my router first?
Thanks!
Click to expand...
Click to collapse
stpete111 said:
I had been successfully tethering via Bluetooth with WM6's Internet Sharing function, and was doing so in XP. Well we just took the Vista plunge and I'm having an issue. The Network Connections is showing my BT connection as "Local Only" meaning I can browse other pc's on the network, but I can't get to the internet. My WiFi connection to my router connects to the internet with no problem (The Wireless Connection shows "Local & Internet Access."
So I can not get out to the internet using my Tytn as my connection. I used the "Diagnose Problem" function in Vista, and it tells me that it cannot ping IP address 192.168.0.1. This is the IP address of my router. I don't want it to try to hit that IP address, but I can't find a way to tell it NOT to. All the settings in TCP/IP protocol are set to obtain an IP address automatically. But it seems that even while using BT as the connection, it still wants to get to my router first, even though I'm not using my WiFi at all. I even tried disabling the WiFi connection. Still the same issue.
Does anyone know what I can do to get the pc to stop trying to get my router first?
Thanks!
Click to expand...
Click to collapse
The internet sharing function on the TyTn used 192.168.0.1
You are saying that your router is also using the same address range.
That is a no-no. Change the router address to 192.168.1.1, and I think you will see better results.
@boz - Actually I have no issues connecting to Vista via Bluetooth, and all profiles work great (I'm using the latest Broadcomm stack). My issue is in my Network Connections, not BT itself.
@Wildbill - the Tytn is not using 192.168.0.1. The PC is trying to ping that IP address because it is the address of my wireless router, and the first time I ever accessed the net with that pc, I did so via WiFi through my wireless router at home. Now, what I am trying to do though is get on the internet in my car, while nowhere near my wireless router. But my pc still seems to want to get to my router as though I'm trying to connect to the net via Wifi, when I'm actually just trying to get to it through my phone. The PC connects to the phone with no problem, and the phone is connected to the internet, But, my problem is that I can't figure out how to tell my pc to NOT look for my wireless router's IP address first.
BT DUN was so much easier with Cingular. I wish one of the cooks could figure out how to get the DUN profile back into WM6's BT stack.
I am really confused here.
When you use Internet Sharing on the TyTn, You are using the Tytn to allow other devices to access the Internet thru the TyTn.
When you do that, the TyTn hands out the address of 192.168.0.100 and it is the gateway, and the Gateway address is 192.168.0.1.
If you have your home router using the same address range, you have the PC that the Tytn is sharing it's internet connection with seeing to addresses within the same range, and two gateways with the same address - The PC LAN card is seing the router at 192.168.0.1 and the Buetooth PAN is seing the phone gateway at the same 0.1 That is what I was trying to say. It won't work like that.
Oh ok I see what you're saying. I was assuming that when it gave me the error, that it was trying to ping my router since I knew that to be my router's address. I did not realize that the Tytn used such a similar gateway.
To correct what I said in my first post: I said that it was trying to ping "IP address"... the exact error message reads "Connot Communicate with DNS Server 192.168.0.1"
It shows a nifty little diagram of the PC connected to the Cingular Bluetooth network connection, then another line connecting to a picture of earth, which they call "internet," but there is a red "X" over that line showing that it can't connect to internet. When you click on Diagnose problem, the above error message is what comes up.
So now, I need to make sure I understand what you are saying Wildbill. I see what you mean from your post... being that I don't connect to my router anymore, ever, at all (since the pc never comes out of the car anymore, and I'm way out of range of my wireless router even in the driveway) what do I need to change? Everything in TCP/IP protocol settings are set to obtain addresses automatically.
Another interesting thing to note is that I did not have this problem when I had XP in my car, and I connected to my wireless router with that pc too. But Internet sharing worked fine with it.
If the only things connected are the TyTn and a PC, then the PC will obtain an IP from the TyTn, and it will be 192.168.1.100. It will tell the pc that the gateway is 192.168.0.1, which is the TyTn. Since the TyTn has Bluetooth 2.0, I would speculate that you could connect additional BT devices to the same BT PAN, and the TytN would likely hand out additional addreses like 0.101, 0.102, etc. I have not tried that nor have I read about it.
See that's what I gathered too. So I don't know why it can't get out to the internet, unless it's that Vista just won't let it for some reason. This bugs me because Internet Sharing worked fine in XP, and BT DUN works fine with Vista with my other phone. Unfortunately I'm getting rid of that phone. If my Tytn had a DUN profile in the BT stack I'd be fine. Weak.
i tehering in wm6 vista using bluetooth ban

[Q] Connectify - With HTC Desire

Guys,
I recently came across connectify app and installed it on my Windows 7 laptop. It installed just fine and created a WIFI Hotspot for me.
But when I try to connect to that WIFI Hotspot from my desire , it keeps saying "Obtaining IP Address from Connectify" and never connects. I am not sure what's wrong , something in my Desire or something with Connectify or if I need to fix some settings in my Win7 laptop ?
Can someone please advise.
FYI - Windows 7 is connected to a my workplace LAN and requires a proxy authentication if i need to access internet.
Thanks in advance;
Even I'm facing problems connecting to Connectify.
I suspect that IP address is not getting assigned since there are no DHCP servers running on the PC. That might be the first problem
Second thing is, even if I run a dhcp server (I'm yet to do it...) in my PC, I think the wifi and ethernet might be on the same or different network based on how the dhcp server is configured. But setting Default Gateway and DNS settings are whats getting me confused.
If I can find some Idle time, i can experiment and try it.. If anyone is already using it successfully, they can post on how to do it here.. will be very helpful.
My laptop is connected to my ADSL modem via ethernet cable, and I'm connecting the mobile to my Laptop's wifi (Via connectify which makes the WLAN in laptop appear as an Access point). This connectify should share the wired internet to my mobile via Wlan but i'm have not yet found how to set it up..
old post i know, but i wanted to chime in and let these people know that the latest beta fixes these problems. at least it now works for me on my eris
gohamstergo said:
old post i know, but i wanted to chime in and let these people know that the latest beta fixes these problems. at least it now works for me on my eris
Click to expand...
Click to collapse
I have the same problem with Connectify 2.0.1.15550, what version are you using?
I found the 2.1 beta, all working now. Thanks.
I had the same problem with connectify and I sincerely suggest you to try Virtual Router. It's crappy but it works.
You can get it here:
http://virtualrouter.codeplex.com/releases/view/36035
Good luck!
I had the same issues and can confirm that virtual router works straight away!
Sent from my HTC Desire using XDA App
Turn off Windows Firewall...
... at least untill you get the IP.
About proxy, that's a whole other story. Still messing with Transproxy, but no success yet.
Hey. I tried Connectify put I got the 'obtaining IP address' problem.
So I tried Virtual Router ... but again I have having problems 'obtaining IP'.
I am trying to connect my Samsung Galaxy S to my Windows 7 Laptop.
Help me...
Thanks guys
bUmP
Connectify`s main usage is to share the wired broadband to the mobile using wifi in laptop as a hotspot. It should be fairly straightforward but needs to set some settings correctly. It would be great if someone for whom its working to post it setp-by-step. Will be really helpful.
And strangely there are no guides on the net on how to set it up exactly in wondows 7 and connectify homepage does not give any useful info.
I keep getting "obtaining IP address from..." on my Android device...
why is this?
Virtual Router or connectify don't work..
is it because android does not support Ad-Hoc?
I have running Froyo 2.2 though...
Any help?
Thanks
Hi,
I don't know if it's really the same problem here but I also had some issues with Windows 7, connectify and the devices I tried to connect.
After following the steps to create a wifi hotspot, I had to deactivate the windows firewall on the private networks (I specified to windows that the connectify network was a private network).
There should be a way to setup the correct permission in the firewall's permission table to make it work properly... Unfortunatly I haven't find it yet.
So it's a quick fix. Hope it will help you.
This will fix the Galaxy S's inability to connect / locate ad-hoc networks
http://www.emoiz.com/how-to-connect-samsung-galaxy-s-to-ad-hoc-wifi-network
Hi guys,
Am new to this forum and new to smartphones.
i faced the same problem in connecting my Wildfire to PC with connectify.
finally i got my own way to sort it out
as most of u got till "obtaining IP address" next is
menu>settings>wireless and networks> wifi settings.
in that again menu>Advanced .
fill these settings
1. check on the static IP
2. IP addres = 192.168.2.2
3. Gateway = 192.168.2.1
4. netmask = 255.255.255.0
5. dsn1 = 8.8.8.8
6. dsn2 = 8.8.4.4
now close wifi and restare wifi Hope it will work. It worked for me
vin_amulya said:
Hi guys,
Am new to this forum and new to smartphones.
i faced the same problem in connecting my Wildfire to PC with connectify.
finally i got my own way to sort it out
as most of u got till "obtaining IP address" next is
menu>settings>wireless and networks> wifi settings.
in that again menu>Advanced .
fill these settings
1. check on the static IP
2. IP addres = 192.168.2.2
3. Gateway = 192.168.2.1
4. netmask = 255.255.255.0
5. dsn1 = 8.8.8.8
6. dsn2 = 8.8.4.4
now close wifi and restare wifi Hope it will work. It worked for me
Click to expand...
Click to collapse
Came here from Google...
Dude/Dudette, I Love you soo very much for this valuable piece of information. Have a "Thanks" It works!
Almost forgot, Welcome to XDA!
jUsT2eXy said:
This will fix the Galaxy S's inability to connect / locate ad-hoc networks
http://www.emoiz.com/how-to-connect-samsung-galaxy-s-to-ad-hoc-wifi-network
Click to expand...
Click to collapse
You need this file for the Desire - search around XDA. You might have to download version 6 of the file.
When you download it, flash it from recovery.
Meanwhile, create an adhoc network on your laptop or wherever, configure the IP address (192.168.137.1 is the IP of the laptop - Windows, for some reason or another, doesn't like sharing on other IPs, though I haven't tried lately) and set your encryption to WEP.
Share your connection from LAN, and you're good to go. On the phone, the adhoc networks will be represented with an asterisk, like
(*)network
none of them work on win 7 64 bit - on win 7 32 bit I cen get IP, on 64 bit cant, whan assigned static IP by below at previous posts, I can connect, but internet does not work.
vin_amulya said:
Hi guys,
Am new to this forum and new to smartphones.
i faced the same problem in connecting my Wildfire to PC with connectify.
finally i got my own way to sort it out
as most of u got till "obtaining IP address" next is
menu>settings>wireless and networks> wifi settings.
in that again menu>Advanced .
fill these settings
1. check on the static IP
2. IP addres = 192.168.2.2
3. Gateway = 192.168.2.1
4. netmask = 255.255.255.0
5. dsn1 = 8.8.8.8
6. dsn2 = 8.8.4.4
now close wifi and restare wifi Hope it will work. It worked for me
Click to expand...
Click to collapse
i came here from google as well. i had the obtaining ip address issue with connectify on win xp and zte blade with cyanogenmod (N142). thanks to this post, i solved the obtaining ip issue, and my phone managed to connect to connectify. apparently: my phone doesn't appear in clients tab in connectify, and my phone doesn't transfer any data traffic. so from the phone it looks like connected, but from connectify no.
edit: i found out that i succesfully connect to connectify with my smartphone only the first time i try (because it worked the very first time i used connectify and the first time i tried again after a complete reset of my phone). then, if i disconnect/reconnect, i find the "obtaining IP"/"no data traffic" issues. of course, resetting my phone each time i want to use my laptop's wifi isn't very handy..
Ficus* said:
...edit: i found out that i succesfully connect to connectify with my smartphone only the first time i try (because it worked the very first time i used connectify and the first time i tried again after a complete reset of my phone). then, if i disconnect/reconnect, i find the "obtaining IP"/"no data traffic" issues. of course, resetting my phone each time i want to use my laptop's wifi isn't very handy..
Click to expand...
Click to collapse
same here, couldnt believe my luck when it worked first time with my HD2 and galaxy.
but like you say, it was a one-hit-wonder and pulled my hair out for next hour trying to re-connect but same "obtaining IP" probs.
anyone throw some light on this???????

VPN problem with Desire

I have Desire. Try to create VPN connection to my work net over 3g, GPRS or Wi-Fi. Tunnel creation is succesful. It's working perfect for 15-20 seconds then nothing. No any warnings in Phone. VPN Server says it's OK. But net resources and RDP connections are unavailable. I'm using IPsec/PP2P protocol. Server with Win2k.
Also try to connect to another VPN server (router). Same result in such different situations
Same problem here. Using hideipvpn.com service. No internet connection when connected to vpn
up? Somebody help pls
Old WinMo works excellent but my new Android doesn't want

[Q] VPN Problem in CM9

Hi
My VPN connection was working correctly but yesterday something weird happened. I was connected to VPN but applications couldn't send/receive data. even the sent/received numbers on vpn dialog were changing. when I disconnect and connect again it gets fixed but after a while it happens again.I tried VPN connection on my laptop and it was ok.
I use this VPN to connect to internet over my university wi-fi. what's the problem ?
I use CM9 RC8

L2TP VPN Doesn't work on native MIUI 11.0.3

Hello everyone,
as noted in the title of this thread, I cannot connect to L2TP/IPSec VPN Server from my phone (Redmi Note 8 Pro, running MIUI 11.0.3 stock).
I've done extensive troubleshooting and appears that phone never even contacts the server. When i configure everything and toggle the VPN, it will try to connect but never does, and then times out.
I'm watching the logs on the server, nothing appears.
I'm watching tcpdump on the server, no packet is even received from phone.
I've connected to WiFi network from i which i know i can connect to VPN (for example from PC or my MikroTik router) and it cannot even connect from that network.
I've enabled packet sniffer on root MikroTik router to sniff the packets, filtering MAC address of my phone, and guess what... When i click on VPN, it doesn't even try to connect to VPN serever. VPN server IP address doesn't even appear on sniff.
I'm wondering why is this happening, is anyone else having issues with L2TP/IPSec VPN? How do i inform Xiaomi of this issue since I've placed couple of feedbacks back in the day, never received an answer and those issues still persists so i don't even thing they are reading the feedback that is sent to them from phone app.
Hoping to get to the bottom of this!
Any help would be greatly appreciated !
Any chance you can try the OpenVPN app? I used to have an issue with my old phone where sometimes it would say connected but it wouldn't be. With the rn8pro, OpenVPN works every time.
Edit: try posting on the Mi forums for a better chance of a response from someone at Xiaomi
https://c.mi.com/global/forum-2234-1.html
Might not just be Xiaomi....https://github.com/SoftEtherVPN/SoftEtherVPN/issues/571
I would hate having two VPN servers installed at the same time. There are times when i want to connect my root mikrotik router to VPN server i question to forward all web traffic via VPN, unfortunately, OpenVPN support is very limited on MikroTik , there are new cipher suites missing and with new OpenVPN servers in place it's impossible to connect tik to OpenVPN.
I know however that OpenVPN app works great with android, but it's weird that native L2TP doesn't seem to be working at all.
I could fall back to PPTP maybe. Both Android and MikroTik works flawlessly with PPTP. But... It's PPTP..
Thanks, i will try posting to Xiaomi forums as well.

Categories

Resources