pyamsoft / tetherfi

TetherFi - Internet sharing without Root
Apache License 2.0
383 stars 30 forks source link

asks for pin #125

Closed garfieldbanks closed 1 year ago

garfieldbanks commented 1 year ago

When attempting to connect to the hotspot from a windows device it asks for a pin. I tried the password I set in the android app but it didn't work. What have I done wrong?

pyamsoft commented 1 year ago

Sorry, I have no idea about the specifics of Windows connections.

I would treat this in two parts

  1. Connect to the WiFi network. You should be able to do this just like any other WiFi network by entering the name and password.

  2. Make sure the network gets connected to the Internet. Once you are connected to the hotspot WiFi, now try inputting the proxy settings into Windows.

Any screenshots you can take of your Android or Windows would help

garfieldbanks commented 1 year ago

Am I supposed to be able to connect to wifi on the android device itself first? Because I'm trying that (tried both manually entering all the details and also using the QR code) and it doesn't ever seem to see the the hotspot I created (in tetherFi). In the tetherFi app the broadcast, proxy, and hotspot statuses are all running.

At this point I try to connect to the wifi from windows and I get this prompt: image

garfieldbanks commented 1 year ago

Am I supposed to be able to see the wifi from within the same device that creates it using tetherFi?

pyamsoft commented 1 year ago

You should have two devices

1, and Andoid running TetherFi that is already connected to the Internet.

Two your Windows PC which does not have internet.

After starting Tetherfi on your Android, you should be able to see it on Windows in the WiFi network menu.

Select the Tetherfi network and click Connect using a security key instead. Enter the password you set up in Tetherfi. Once you are connected on Windows, you won't have Internet yet. Set the proxy settings on Windows and then Tetherfi will be able to share your Android internet with windows.

pyamsoft commented 1 year ago

Your Android phone will not be able to see the Tetherfi network, as it is the one broadcasting it.

garfieldbanks commented 1 year ago

OK I got it working on both windows 11 and windows 10. I had to find the manual proxy settings. On 11 I was able to use the UI to connect but on windows 10 I had to manually create the wifi entry. Windows 11: image

Windows 10: image and image

Now the problem is getting it to use a VPN. Any reason why a VPN wouldn't be able to connect through this? I can't seem to get it to connect...

pyamsoft commented 1 year ago

Glad to hear

Sadly VPNs are generally not supported. Only a select few have been shown to work, and they must be running on the Android device and allowing LAN connections.

I do not think its possible at the moment to connect to a VPN from your Windows device unless the VPN app provides specific proxy settings.

Most VPNs use OpenVPN UDP or Wireguard, which Tetherfi cannot proxy yet.

garfieldbanks commented 1 year ago

Mine has TCP options. Should that work somehow?

pyamsoft commented 1 year ago

It may but that depends on the VPN. At the point you're at you are proxied to Tetherfi, and anything else is sadly out of my hands.

If you do manage to get your VPN working, I'd love if you could comment which VPN you were using and what kind of settings you used

garfieldbanks commented 1 year ago

I did get the vpn working as you said on the android device only using the "stealth" option. Not sure what that does but it works, at least I can get a browser window to report a changed ip from iplocation.net. But I don't know how to get p2p working. Which interface do I bind to on in my torrent client?

pyamsoft commented 1 year ago

I'm not sure. It sounds like the proxy part of tetherfi is working so this sounds out of scope for this application.

I'd reach out to your Torrent developer and see what they say about it.