Manage files
Digi TransPort User Guide
784
Disable/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.
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.
•
p=<port #>
(if connected to a USB hub the port numbers can increase).
•
DRIVER=MSD
for Mass Storage Device,
SERIAL
for serial devices, or
HUB
for hub devices.
For example:
• To disable a Flash Stick on the top port only:
usbcon 0 dislist usb-2-2.MSD
• To use wildcards to disable flash devices entirely:
usbcon 0 dislist usb-*.MSD
This will match on ALL MSD devices even if in another HUB.
• To disable both external USB ports on a DR64x0, enter the following commands:
usbcon 0 dislist "usb-1-2*,usb-2-2*"
or
usbcon 0 dislist "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.
• To disable serial devices from using either external USB port on a DR64x0, or on a port
connected to a hub on either these ports:
usbcon 0 dislist "usb-1-2*.SERIAL,usb-2-2*.SERIAL"
or
usbcon 0 dislist usb-?-2*.SERIAL
Содержание TransPort
Страница 1: ...User Guide Digi TransPort ...
Страница 95: ...Regulatory and safety statements Digi TransPort User Guide 95 TransPort WR41Declaration of Conformity ...
Страница 96: ...Regulatory and safety statements Digi TransPort User Guide 96 ...
Страница 97: ...Regulatory and safety statements Digi TransPort User Guide 97 TransPort WR44 Declaration of Conformity ...
Страница 773: ...Manage files Digi TransPort User Guide 773 For example ...