Command Line Utility
To use the USB over Network (Linux version) Client run the command line utility with the corresponding command:
$ /opt/ftvusbnet/bin/ftvusbnetctl <command>
Command | Description |
---|---|
help | Show this help. |
show | List available servers and USB devices. |
server add [-a] [-p password] host[:port] | Add server specified by its hostname or IP address and TCP-port and connect to it.
|
server set [-h host[:port]] [-a|-A] [-p password|-P] host[:port] | Set or change settings of the server specified by its hostname or IP address and TCP-port.
|
server remove [-f] host[:port] | Remove the server specified by its hostname or IP address and TCP-port.
|
server connect host[:port] | Connect to the server specified by its hostname or IP address and TCP-port. |
server disconnect [-f] host[:port] | Disconnect from the server specified by its hostname or IP address and TCP-port.
|
device connect [-p password] [-s serial] host[:port] id|vid:pid[:rev] | Connect shared device specified by its ID or vid:pid[:rev].
|
device disconnect [-s serial] host[:port] id|vid:pid[:rev] | Disconnect the device specified by its ID or vid:pid[:rev].
|
import configuration_file | Import settings from configuration file. Root privileges are required. |
export configuration_file | Export settings to configuration file. |
ping timeout[:interval] | Change default ping timings.
|
wait | Wait for changes of device list or device state. |
Examples
Add the server:
$ /opt/ftvusbnet/bin/ftvusbnetctl server add 10.0.0.185
Show the list of the servers and devices:
$ /opt/ftvusbnet/bin/ftvusbnetctl show 10.0.0.185:33000 - connected (2/2) 0105 - 046d:c045:2730 - avail - USB Optical Mouse (1-1) 0107 - 0457:0151:0100 - avail - USB Mass Storage Device (2-1, 83b0cc764a50a1)
Connect a device:
$ /opt/ftvusbnet/bin/ftvusbnetctl device connect 10.0.0.185 0107
Disconnect a device:
$ /opt/ftvusbnet/bin/ftvusbnetctl device disconnect 10.0.0.185 0107
Remove the server:
$ /opt/ftvusbnet/bin/ftvusbnetctl server remove 10.0.0.185