Serial Port Communication on Linksys AC Series with OpenWRT

Wiki.TerraBase.info
Revision as of 20:09, 2 October 2021 by Root (talk | contribs) (Created page with "...no, this article is not about communicating with the router via the Serial / TTL port on the system board of the router. This article is about communicating to a device ex...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

...no, this article is not about communicating with the router via the Serial / TTL port on the system board of the router. This article is about communicating to a device external to the router through a USB to Serial adapter / cable (example: Dell PowerConnect Ethernet Switch, APC MasterSwitch, etc.)

Physical USB to Serial Adapter

  • FTDI Chipset:Contemporary chipset, currently supported by Windows 10, etc. Tested and it works great with OpenWRT
  • PL2303 Chipset (Prolific):Devices based on this chipset are old. Windows 10, Server 2016, 2019, etc. doesn't support this chipset (but with a bit of effort, one can make it work). But OpenWRT does support it, so this is a good choice on where to use all of those old adapters that don't work with Windows anymore.

Recommendation: If one doesn't own a USB to Serial Adapter, then definately the FTDI Chipset. If one has a bunch of PL2303 Adapters sitting around that can't be used by Windows, then use these.

Software Installation

  • For the FTDI Chipset
    • opkg update
    • opkg install kmod-usb-serial-ftdi
  • For the PL2030 Chipset
    • opkg update
    • opkg install kmod-usb-serial-pl2303

All dependencies will be installed automatically

Serial Communication Software (Telnet without the IP Capability)

There are several choices with picocom (opkg install picocom) and minicom (opkg install minicom) being the top two choices.