Many of us was looking for the way to connect their phones to the internet via PC internet connection
Today i will show an easy way to do this
First go to http://virtualrouter.codeplex.com/
download the Version for your OS
then install the program
then start the program and make a new router with the name you want
and the password you like
then start the Virtual Router
after that go to your android phone and go to settings Wireless & Networks
Turn on you Wi-Fi Connection
select the network you just started and enter the password you made
and that's it you are connected to the internet via your PC's Connection
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).
This post is how have I solved some problems with rooting my XT910 JB (all this questions are asked in the corresponding thread: http://forum.xda-developers.com/showthread.php?t=2257137)
I can't answer in that thread, so may be someone will see it here.
Next tutorial by MichelBFR is quite good:
http://forum.xda-developers.com/showpost.php?p=40901777&postcount=30
and its video tutorial by TheRazrGuy:
http://www.youtube.com/watch?v=5mOIcBLffYE
but some people (and me too) have next 2 problems. Here is my solution of them:
Razr can't connect to the remote storage (Network error)
Change PC from wireless to a wire connection with router
Change settings of virtual connection "VirtualBox Host-Only Network" to: ip and dns automatic. DHCP switch on.
Change network settings of the VM. From bridge to virtual host adapter. Name: VirtualBox Host-Only Network
Rooting process stops at the: "daemon started successfully"
Unplug device and then plug in again
Choose Motorola XT910 [0216] in menu Devices -> USB Devices
I have a Smartphone Xiaomi Redmi Note 6 Pro. This can not share it's Internet connection with my PC (a Widnwos 10 and another Windows 8.1) or with other devices, by USB connection.
When USB Thetering is enabled in the Smartphone, it connects with the PC, but the PC can not access the Internet indicating or following: "No Internet Access".
Attached Smartphone Specs, SimCard and APN parameters.
The BUG
When USB Thetering is enabled on the Smartphone, it connects with my PC, but the PC can not access the Internet indicating or following:
'NO INTERNET ACCESS'
What troubleshout procedures were done:
1. The NDIS driver was changed to the Microsoft standard:
The problem was not solved.
2. Using ADB commands, changed the "tether_dun_required" parameter that was null to 0
global settings tether_dun_required 0
The problem was not solved either
3. The same Simcard installed in my old HTC 9 T-Mobile USA unlocked, shares its Internet connection with the same APN parameters to the same PCs (Windows 8.1 and Windows 10), The same with my Unlocked Samsung A4 tablet.
4. Same bug sharing Internet via WiFi Hotspot. "No Internet Access" message in PC.
"Xiaomi Support" has not indicated how to solve this bug
Please, can anyone help me with this?
Regards
HI
I have a new Galaxy S5e tablet.
I have successfully made a connection via wifi to my PC using the microsoft shared app using my pc fixed ip address 192.168.1.100.
I have two other apps that both give the following error message when attempting to access my pc shared folders:
‘Connection failed with ‘Failed to connect: 0.0.0.0<00>/192.168.1.100’.Trying again.’
I have followed the instructions at:
"https://appuals"com/how-to-fix-the-windows-10-file-sharing-not-working-problem//how-to-fix-the-windows-10-file-sharing-not-working-problem/"
(remove the quotes change "com)
regarding my pc access, but I still get the error.
Does anyone know how what I need to do to connect to my pc shared folders via SMB?
Regards and thanks
I think that smb is off by default in win 10. Ensure it is on. You can check it via windows features in Progtams. Google smb windows 10 hot switch on and you will find plenty guides.
Both devices needs to be connected to the same wifi network.
Sent from my SM-G965F using Tapatalk
SMB is definitely on.
Both devices are on the same wifi.
My pc does not have wifi but uses the router to connect.
I don't believe this is a problem with my wifi or pc or else Windows remote on my tablet wouldn't connect and work with my pc.
As it would appear no one has a clue where this code error comes from nor how to rectify it I have to assume Oreo is not fit for purpose.