Usbip-switch is a virtual KVM(except no V), which allows fast switching keyboard and mouse between two computers in one LAN.
- server - linux PC with keyboard and mouse connected to it. a.k.a.
--shost
- client - windows or linux* PC without neither keyboard nor mouse. a.k.a.
--chost
* You'll need to modify code.
git clone https://github.com/vggscqq/usbip-switch.git
cd usbip-switch
sudo pip install -r ./requirements.txt
// sudo required since server app needs root permissions in order to runusbip
- Load usbip kernel module
sudo modprobe usbip_host
- You might need to replace IDs of your devices on
aio.py
line 10 - Replace path to your
usbip.exe
onaio.py
line 11 (see below for installation) - Start server usbip-switch server
sudo python aio.py --mode server --lhost 192.168.1.169 --rhost 192.168.1.167
- Download usbip.exe https://github.com/cezanne/usbip-win
- Run
python win_client.py
Open in your web browser http://SERVER_IP:5000