User Tools

Site Tools


The USB Port: An Overview

You already adjusted the configuration to meet your basic needs with the help of basic config? Good. If your device has USB ports, here you see how to put them to good use.

  • To obtain a very basic USB support under OpenWrt, see usb.essentials
  • To obtain support for USB storage and mount a local filesystem please see
    • To provide access to file system(s) on a storage device via network see the services Samba, NFS or SSH FS
    • To mount another / instead of the one located on the Flash, please see extroot
    • To execute a Kernel on external storage after booting a Kernel from flash, please see kexec
    • To install packages to a different location other then JFFS2, see opkg
  • To install a printer and grant access to it from the net, see printer.overview.
  • To connect your OpenWrt-Router over your Smartphone with the Internet, see usb.tethering
  • To connect your Smartphone over your OpenWrt-Router with the Internet, see usb.reverse.tethering
  • To obtain audio support (for an USB sound card), and run audio daemon, see (WIP)
  • To obtain support for USB video streaming devices,
    • For a webcam, see webcam (WIP)
  • To use a 3g/4g/UMTS/LTE USB Modem (UMTS Dongle) for WAN connection, please see 3gdongle
  • To use your Bluetooth enabled phone in a PAN see Forum
  • To connect a USB device to your OpenWrt router, but utilize drivers installed somewhere else (sic!), see usb.iptunnel
  • To connect various devices (sensors, GPIO-expanders, ADCs, RTCs etc), see usb.i2c-tiny-usb

:!: Some routers might have difficulties providing full USB power output.

Turn USB power off

On the TP-Link TL-MR3420, TL-MR3220, TL-WR841ND v7 & TL-WR842ND you can turn the power to the USB port on and off like this:

  • ON
    echo 1 >/sys/class/gpio/gpio6/value
  • OFF
    echo 0 >/sys/class/gpio/gpio6/value

Forum post

doc/howto/usb.overview.txt · Last modified: 2014/07/08 12:22 by theoradicus