RB3011UiAS-RM does not detect devices connected to the USB port

Very nice script :slight_smile:, though personally I am not fond of the :while-do-delay approach in general and in this case I find that checking by this method two conditions (of which one is dependent on the other) is superfluous (though nice granularity for testing).

The USB 2 cable should work and it helps avoiding (not applicable to your case) 2.4 GHz interferences, JFYI:
http://forum.mikrotik.com/t/wifi-connection-deteriorated-with-usb-device-attached/172822/1