Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for windows 11 connection sharing #1208

Open
psiyco opened this issue Jan 9, 2024 · 1 comment
Open

fix for windows 11 connection sharing #1208

psiyco opened this issue Jan 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@psiyco
Copy link

psiyco commented Jan 9, 2024

Is your feature request related to a problem? Please describe.

yes fixed the connection and was able to reproduce it again * suggesting adding it to the guide for now

Describe the solution you'd like

in powershell !!! type

Set-ExecutionPolicy RemoteSigned
Set-ExecutionPolicy Unrestricted

turn on bluetooth
turn on pc hotspot and disabled power saver in option of hotspot
IMPORTANT !

(youll have to edit the script to YOUR file name and location from here !!)
cd - # to ps1 script location

powershell -ExecutionPolicy ByPass -File .\win_connection_share.ps1 -SetPwnagotchiSubnet

powershell -ExecutionPolicy ByPass -File .\win_connection_share.ps1 -EnableInternetConnectionSharing

*note that windows will actively play with adapters and configuration you will see your net freak out or tunneling internet from hotspot try to rest evreything going into airplane mod and disconnecting usb cable or restart the computer will fix it and than run the script again

  • genral rule for the bug if you wanna be sure pwnagotchi ran the script good without any windows problem
    youll see your adpters switch numbers in the script like wifi board wil be number 1 and after clicking on it it the second options it will switch places so be awere of that closing the script mid way will fu* up the config and youll have to restart the pc

Describe alternatives you've considered
use linux as stated or windows 10

Additional context
try to keep the hot spot conneted to something because it will go to sleep and will ignore the setting in windows' 11 i just connect it to my phone

*note youll have to turn on hotspot to have internet in pwnagotchi its somehow usuing it as a tunnel

sometimes it will freak out just ping google like 15 packets and look if thay all came back
when it bugged on me it wrote that its tunnling the net from the hotspot somehow and than i had 50% packet loss but restart fixed it for me :]

@psiyco psiyco added the enhancement New feature or request label Jan 9, 2024
@psiyco psiyco changed the title fix for windows 11 connation sharing fix for windows 11 connection sharing Jan 9, 2024
@JD-2006
Copy link

JD-2006 commented Jan 10, 2024

If you are trying to share your pc internet, it's easier (maybe quicker) to plug into the pi's otg port, and under 'Network Connections' go to to the internet receiving device i.e. Wi-Fi, then Properties, and the tab for sharing, select the pi's USB/RNDIS.
Then profit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants