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 Basic Support
  • To obtain support for USB storage and mount a local filesystem please see USB Storage
    • To do basic storage operations, see Partitioning, Formatting and Mounting
    • To provide access to file system(s) on a storage device via network see the services Samba, NFS or SSH
    • 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 Printservers 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 USB Audio Support (WIP)
  • To obtain support for USB video streaming devices, USB Video Support
    • 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 over IP tunnel
  • To connect various devices (sensors, GPIO-expanders, ADCs, RTCs etc), see How to use I²C over 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: 2015/04/22 17:26 by micsu