I'm not sure whether this post belongs here, but I have googled high and low and I have not found anything that directly pertains to my Samsung Galaxy S2 issue. And here at XDA, the VPN questions seem to be about private VPNs (not commercial).
I am currently running Android 2.3.4 Gingerbread.XXKG6
I follow these steps for connecting to a LT2P
www_dot_hopthewall_dot_com/wiki/wiki/Android_L2TP_Over_IPSec
And these for PPTP
www_dot_hopthewall_dot_com/wiki/wiki/Installing_personalVPN-PPTP_on_Android_Mobile_Phone
I have tried the PPTP and L2TP
Both fail to connect
L2TP yields:
"Unable to connect to network. Try again?"
But no additional error message.
PPTP however, seems to allow the connection.
I connected a few times.
I used pptp.sfo.witopia.net. as the VPN server
That seemed to let me connect a few times;
and according to hide-my-ip.com I had an L.A. IP
But now, when I try to connect, I'm getting an error message that reads:
"Server hung up. User name or password incorrect. Try again?"
But I didn’t do or change anything. I just tried to connect as usual.
I've tried
restarting the phone.
waiting a while.
Connecting with the computer (connects without a problem)
I tried connecting to the different VPN servers.
I also tried connecting changing the VPN server from URL to an IP address,
but that just tells me "Unable to connect to network. Try again?"
I am at a loss...
I have tried at home, on my wifi account...
The same one that my computer is on, but no dice.
The VPN service provider is also at a loss.
They said "...iPhones connect all day..." (talk about a kick in the teeth)
They asked me if I wanted to cancel my account and request a refund.
Nice.
Thanks for the replies.
This forums are always so helpful.
No, that's okay, don't get up. I'll get that.
A two part work around I found was:
PART I
Sharing the VPN Connection Over WiFi by Converting my Laptop into WiFi VPN Router. An article by BESTVPNSERVICE.COM
Using a Windows 7 machine with a Wi-Fi NIC
1) Click on your computers start button and in the search box type “cmd” and wait for it to appear on the menu.
2) After it appears, right click on it and select “Run As Administrator”.
3) When the Black Command Prompt Opens up, type the following command and press enter
4) netsh wlan show drivers
5) You will see something like the following image. If the ‘Hosted Network Supported’ (in the red square) say ‘Yes’, it means the driver is installed and if it says ‘No’, download the drivers.
6) Once it is made sure that you have the required driver, it’s time to set it up.
7) Type netsh wlan set hostednetwork mode=allow ssid=test key=password. Following Screen would appear. (Devices will detect network SSID as “test” change it to anything you want. Moreover, ‘key’ is your password which in this case is ‘password’, change it to whatever you want, I would suggest you to not to use numbers in password)
8 ) Then type, netsh wlan start hostednetwork. You will see the messages illustrated in the snap shot.
9) If you see the message that the ‘hosted network couldn’t be started’, then your WiFi driver is outdated, the best way to update the WiFi driver is Run you Windows Update or download the latest version from its official website.
10) Now that we have setup hosted network, we will make sure that it is shared on public Wi-Fi.
11) To do this, click on your Wi-Fi signal buttons on the bottom right hand corner of your screen.
12) Click on ‘Open Network and Sharing Center’.
13) Then click on Change adapter settings.
14) Click on the Connection that has description of ‘Your Created VPN Connection’ and right click on the Icon to go to its properties.
15) In Properties, go to ‘Sharing’ tab and check on ‘Allow Other Network User to connect through this computer…’
16) From the drop down menu of ‘Home Networking Connection’, Select the connection which had a description of ‘Microsoft Virtual WiFi Miniport Adapter’/’Virtula AP’ or it can be ‘Wireless Network Connection 2’ as in my case.
17) Check on the ‘Allow other network users to control or disable….’ Option as well.
18) Click ok and you are all set to go now.
19) Connect your VPN and ask your Friends or Colleague to discover your VPN enabled WiFi Connection.
20) Now, whenever you will restart your computer, your Shared WiFi connection will be disabled. You will have to reenter only the following command in the command prompt to enable it again.
netsh wlan start hostednetwork (or create a custom batch file for this, if you want to avoid reentering the command every time).
PART II
If the wi-fi direct on your phone isn't discovering your freshly created network,
you may need enable Ad Hoc connections for it.
For that I looked at an article here; but instead of Root Explorer is simply used ES Explorer:
Download this version of wpa_supplicant
Like I said, I used "ES Explorer"
• use "ES Explorer" to mount /system/bin/ and make a backup of wpa_supplicant
• rename the current one to wpa_supplicant.bak and copy the new wpa_supplicant to /system/bin
• then we need to adjust the permissions on the file to:
ticked - All options in the read and execute columns; and write column owner row
unticked - write column & group row; write column & others row.
• change /system/bin back to read only
• disable and re-enable wireless
• now your adhoc wireless network should be listed with the other wireless networks and you can connect.
After this two maneuvers, I was able to connect my phone to my laptop using my laptop's internet access and thus connecting to the VPN.
I find that the order of network activation matters.
What I mean is:
First connect to the internet (router, modem, or however that may be)
Then connect to the VPN
And then activate and connect to the hostednetwork.
I hope this helps someone, despite the fact that you have to be within wifi range of your windows machine. It's not quite the same as being on the streets and connecting to your VPN -but Android can't [consistently and reliably] connect to VPNs. And since no one replied to me here it stands to reason that no one knows how to get Android to connect to commercial VPN services (not even WiTopia's tech support).
Hey guys I'm trying to get to run the following setup:
Connecting my Android Phone to Tor through orbot and then connect to a VPN through that tor connection.
It should be possible shouldnt it?
(All apps) -> VPN -> Orbot -> VPN -> Internet
But how to set it up?
I'm using the Hideninja App for the VPN connection and already hacked it a bit (edited the openvpn config file to include a socks proxy on 127.0.0.1:9050 which is the orbot default socks port) but it just crashes and writes some dump file with chinise symbols lol.
So I tried adding the orbot proxy as the proxy to openvpn - but that didn't do the trick... could be though that the hideninja app uses a stipped down verion of openvpn since its called "miniopenvpn" (you can find the openvpn binary and the config file in the apps data/cache/ directory).
--------
Long talk short sense:
Can anyone please enlighten me how to set stuff up to have everything routed correctly? I don't want the VPN to know my real IP, but I need the VPN to have a "valid" IP for google etc. (else I would just use orbot off course).
tor vpn over tor
I am not sure but may be possible,but if you use tor +VPN+tor its may slow down your net connection.
For that you have to setup iptable.but i am also finding some method .]
Hi..
Can we use Hideninja Ovpn in computer by openvpn?
zroice said:
Hey guys I'm trying to get to run the following setup:
Connecting my Android Phone to Tor through orbot and then connect to a VPN through that tor connection.
It should be possible shouldnt it?
(All apps) -> VPN -> Orbot -> VPN -> Internet
But how to set it up?
I'm using the Hideninja App for the VPN connection and already hacked it a bit (edited the openvpn config file to include a socks proxy on 127.0.0.1:9050 which is the orbot default socks port) but it just crashes and writes some dump file with chinise symbols lol.
So I tried adding the orbot proxy as the proxy to openvpn - but that didn't do the trick... could be though that the hideninja app uses a stipped down verion of openvpn since its called "miniopenvpn" (you can find the openvpn binary and the config file in the apps data/cache/ directory).
--------
Long talk short sense:
Can anyone please enlighten me how to set stuff up to have everything routed correctly? I don't want the VPN to know my real IP, but I need the VPN to have a "valid" IP for google etc. (else I would just use orbot off course).
Click to expand...
Click to collapse
zroice said:
Hey guys I'm trying to get to run the following setup:
Connecting my Android Phone to Tor through orbot and then connect to a VPN through that tor connection.
It should be possible shouldnt it?
(All apps) -> VPN -> Orbot -> VPN -> Internet
But how to set it up?
I'm using the Hideninja App for the VPN connection and already hacked it a bit (edited the openvpn config file to include a socks proxy on 127.0.0.1:9050 which is the orbot default socks port) but it just crashes and writes some dump file with chinise symbols lol.
So I tried adding the orbot proxy as the proxy to openvpn - but that didn't do the trick... could be though that the hideninja app uses a stipped down verion of openvpn since its called "miniopenvpn" (you can find the openvpn binary and the config file in the apps data/cache/ directory).
--------
Long talk short sense:
Can anyone please enlighten me how to set stuff up to have everything routed correctly? I don't want the VPN to know my real IP, but I need the VPN to have a "valid" IP for google etc. (else I would just use orbot off course).
Click to expand...
Click to collapse
This guide applies to doing the same thing through a Chrombook, but its easily translated to work for a PC regardless.
http://www.omgchrome.com/an-introduction-to-tor-on-chrome-os/
I finally got my android device to connect to my VPN server using NCP vpn client. I am able to connect but am unable to access network shares using es file explorer or connect to remote desktop connection for an in-network computer.
Can anybody help me out here.
Thank you
vpn for android
you can try waselpro.com it's the perfect vpn app for android
Hi there,
I've got a strange problem with my Samba filesharing on Android.
On my Nexus 4 I'm using latest AOPK ROM and I tried several samba servers (Samba filesharing; SambaDroid; Samba Server) - of course not simultanously. With all apps I've got the problem, that although I can see and connect to the Nexus via Windows and I can see the shared folder "SDCARD" but I can't access the folder.
Username and password are correct since I can connect to the device and see the folder.
I get network error 0x80070043 an Windows 7. I already activated "Send LM & NTLM -- use NTLMv2 session security if negotiated" for “
Network Security: LAN Manager” in the LocalPolicies and set encryption level below 128bit.
On my OnePlusOne everthing works fine. The only differences in configuration are that the OPO has CM11 running and there is XPosedFramework with XPrivacy on the Nexus. But all rules are deaktivated for the Samba servers in XPrivacy. I installed XPrivacy after the error occured for the first time anyway.
I couldn't find any special rules for the right management regarding the storage in the AOKP ROM.
Any ideas what is going wrong or what I'm missing?
Hi all, I finally got my android device to connect to my VPN server using NCP vpn client. I am able to connect but am unable to access network shares using es file explorer or connect to remote desktop connection for an in-network computer.
Can anybody help me out here.
Thank you