vicr123 / QNearbyShare

Nearby Share implementation for Linux
MIT License
106 stars 6 forks source link

Sharing wifi causes it to get stuck. #13

Open 103sbavert opened 7 months ago

103sbavert commented 7 months ago

Sharing a wifi connection from a phone to this tool with quickshare causes the tool to get stuck until I Ctrl+C the thing.

vicr123 commented 6 months ago

Hey, can you provide more details? Who's sending/receiving and what do you get on the terminal?

I haven't tested WiFi tethering so there's no guarantee that it will work but if you provide more details I might be able to troubleshoot.

103sbavert commented 6 months ago

Sure, I used my phone to send the wifi connection to my Desktop Linux PC. As for the terminal, it shows as follows:

$ qnearbyshare-receive 
Awaiting a Nearby Share connection.
Use Nearby Share on another device to connect to this device to share files.

This Device Name: SPC

Connection established!
Peer Device Name: Y-Pixel
PIN: 6905

Files to transfer:
FILE NAME   SIZE

:: Proceed with transfer? [Y/n] 
Starting transfer...

until I Ctrl + C to terminate the process. Weirdly, my phone says the transfer was successful after that.

vicr123 commented 6 months ago

Oh, sharing items other than files is currently not supported. I wasn't even aware you could share WiFi connections - maybe something for me to investigate? :)