Digi TransPort WR11 User Manual page 916

Hide thumbs Also See for TransPort WR11:
Table of Contents

Advertisement

Performing device administration tasks
Disable or enable the USB ports
If required, you can disable the external USB ports. Disabling the USB ports prevents any unauthorized
copying of files to or from the router, or unauthorized use of flash drives or serial devices connected to
the USB ports.
    Command line
To disable the USB ports, use the usbcon command. The parameters to use on the usbcon command
are:
dislist
Disables the USB port.
enalist
Explicitly enables a list of USB drivers. The driver list can be comma-separated to specify more than
one driver if required.
The format of the usbcon command to disable the USB port is:
usbcon 0 usb-x-p<.p>.<DRIVER>
Where:
x=1 for the bottom USB port and 2 for the top port.
n
p=<port #> (if connected to a USB hub the port numbers can increase).
n
DRIVER=MSD for Mass Storage Device, SERIAL for serial devices, or HUB for hub devices.
n
For example:
Disable a Flash stick on the top port only:
n
usbcon 0 di sl i st usb- 2- 2. M SD
Use wildcards to disable flash devices entirely:
n
usbcon 0 di sl i st usb- * . M SD
This will match on ALL MSD devices even if in another HUB.
Disable both external USB ports on a DR64x0, enter the following commands:
n
usbcon 0 di sl i st " usb- 1- 2* , usb- 2- 2* "
or
usbcon 0 di sl i st " usb- ?- 2* "
The final -2 is important in both cases. Otherwise, the command disables the internal USB
devices, which could include connections to the wireless module or other components.
Digi TransPort® Routers User Guide
Manage files
916

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents