pavlobu / deskreen

Deskreen turns any device with a web browser into a secondary screen for your computer. ⭐️ Star to support our work!
https://deskreen.com
GNU Affero General Public License v3.0
15.46k stars 832 forks source link

Prefers Wifi's IP instead of Ethernet #228

Closed ManChrys closed 10 months ago

ManChrys commented 1 year ago

Hello guys,

I am using ubuntu 18.04. I would like to screen mirroring my pc to a tablet using deskreen. The problem is the following:

For example

my pc's wifi is 192.168.1.10 and thernet's 192.168.1.2

The deskreen reads ethernet's ip and not wifi's so under QR code i have 192.168.1.2:3131/101913 instead of 192.168.1.10:3131/101913. The problem is that in ethernet port i have connect my lidar unit ( a device for measurements) which need ethernet connection to transfer data. For that reason i cant mirror my pc to tablet. When i unplug ethernet cable deskreen work normally. So my question is how can i make deskreen not read ethernet and read only wifi's ip so i can have lidar measuring and deskreen mirroring at the same time ?

Thanks in advance!