From 7ad957328c7edc9c14ff39ed3aecec3957696303 Mon Sep 17 00:00:00 2001 From: galister <3123227-galister@users.noreply.gitlab.com> Date: Wed, 20 Dec 2023 14:07:27 +0000 Subject: [PATCH] dongles-over-ip wording --- content/docs/other/dongles-over-ip/_index.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/content/docs/other/dongles-over-ip/_index.md b/content/docs/other/dongles-over-ip/_index.md index b7cbc74..32cd2a1 100644 --- a/content/docs/other/dongles-over-ip/_index.md +++ b/content/docs/other/dongles-over-ip/_index.md @@ -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 *