EasyManua.ls Logo

Digi TransPort WR21 - Page 916

Digi TransPort WR21
948 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Performing device administration tasks Manage files
Digi TransPor Routers User Guide
916
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:
n 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.
For example:
n Disable a Flash stick on the top port only:
usbcon 0 di sl i st usb- 2- 2. MSD
n Use wildcards to disable flash devices entirely:
usbcon 0 di sl i st usb- * . MSD
This will match on ALL MSD devices even if in another HUB.
n Disable both external USB ports on a DR64x0, enter the following commands:
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.

Table of Contents

Other manuals for Digi TransPort WR21

Related product manuals