User`s guide

436
Where DRIVER = "MSD" for Mass Storage Device. "SERIAL" for serial devices, or "HUB" for
hub devices.
To disable a Flash Stick on the top port only...
usbcon 0 dislist usb-2-2.MSD
Wildcards are also possible so to disable flash devices entirely. For example:
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 the following commands can be used...
usbcon 0 dislist "usb-1-2*,usb-2-2*"
or
usbcon 0 dislist "usb-?-2*"
Note that the final -2 is important in both cases as otherwise the command would disable
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
The enalist takes the same format but when matches it causes the device to be specifically
enabled. If a device matches the enable list as well as the disable list the enable list will
take preference.
When a device matches a list an event is written to the event log of the form...
"USB device usb-1-2.4.MSD disabled"
or
"USB device usb-1-2.4.MSD enabled"
in the case the device matches the enalist.
These events can be used to debug the correct matching string to match on when trying to
configure these parameters.
If both lists are left blank, all drivers are enabled and no extra events will appear in the
event log.
Universal config.da0 using tags
The config.da0 contains a list of commands, one per line that are parsed at boot. The
commands in this file differ depending on the model of the router, the firmware in use and
the hardware options installed.
A single universal configuration file can be created with the use of tags, defining sections
that only relate to a specific hardware type or firmware version.
The tag values that can be used are:
The base model, for example: DR6410