mirror of
https://gitlab.com/lvra/lvra.gitlab.io.git
synced 2024-11-10 02:20:26 +01:00
dongles-over-ip wording
This commit is contained in:
parent
2b1067af3c
commit
7ad957328c
1 changed files with 6 additions and 7 deletions
|
@ -9,8 +9,8 @@ This setup uses USB-over-IP to let you plug your Watchman dongles (the ones that
|
|||
|
||||
#### The benefits of this setup
|
||||
|
||||
- Trackers can be far away from your computer
|
||||
- Trackers can be far away from radio interference
|
||||
- Dongles can be far away from your computer
|
||||
- Dongles can be far away from radio interference
|
||||
- You can conveniently hide the ugly cabling under/behind a piece of furniture
|
||||
|
||||
#### Requirements
|
||||
|
@ -19,19 +19,18 @@ This setup uses USB-over-IP to let you plug your Watchman dongles (the ones that
|
|||
|
||||
### Dongle host setup
|
||||
|
||||
1. Install `usbip` and Python3 on dongle host. On debian/raspbian it's `apt install usbip python3`.
|
||||
1. Install `usbip` and `python3`` on dongle host. On debian/raspbian it's `apt install usbip python3`.
|
||||
2. Put the `usbip-bind` script (from below) on the dongle host, (e.g. into `/root`)
|
||||
`sudo wget https://gist.github.com/galister/2fbd23cfaff8ba4839efa13184e4e197/raw/13b0b2fd6dee609169b6a98b302f6a6ac5c2d307/usbip-bind -O /root/usbip-bind; sudo chmod +x /root/usbip-bind`
|
||||
3. Set up `usbip-bind bind` to run on startup
|
||||
On Raspbian: `echo '/root/usbip-bind bind' | sudo tee -a /etc/rc.local`
|
||||
3. Set up `usbip-bind bind` to run on startup. On Raspbian: `echo '/root/usbip-bind bind' | sudo tee -a /etc/rc.local`
|
||||
4. With your dongles plugged in, run `sudo /root/usbip-bind bind`, to bind them for the first time
|
||||
|
||||
### VR PC setup:
|
||||
### Main PC setup:
|
||||
|
||||
1. Download `usbdongle` and put it somewhere safe:
|
||||
`wget https://gist.github.com/galister/2fbd23cfaff8ba4839efa13184e4e197/raw/13b0b2fd6dee609169b6a98b302f6a6ac5c2d307/usbdongle; chmod +x usbdongle`
|
||||
2. Edit `usbdongle` and set the `DONGLE_HOST` variable to the IP or hostname of your dongle host. (run `ip addr` on dongle host to find out)
|
||||
3. Optional: If you don't want to enter your sudo password for `usbdongle` every time, run this as a single multi-line command:
|
||||
3. Optional: If you don't want to enter your sudo password for `usbdongle` every time, run this as a single multi-line command (as your non-root user!):
|
||||
|
||||
```bash
|
||||
echo "$USER ALL=(root) NOPASSWD: /usr/sbin/usbip detach *
|
||||
|
|
Loading…
Reference in a new issue