The term "management connectivity" refers to the ability to configure or control a device. By default, the TL-WDR4300 is accessible via:
- SSHv2 - root:email@example.com (port 22)
- HTTP - root:firstname.lastname@example.org (port 80)
In addition, it is possible to add serial (or console) connectivity to the router. The key advantage of this method is that it may be able to help you recover from a bad firmware flash or interact with the device when the networking stack of the router is not fully functional.
The primary benefit of having serial access to the router having is a reliable means of recovering the configuration and files present on the router if you manage to disable access by the default management methods. In addition, this will allow you to restart the network process without losing management connectivity.
There are two ways to add a serial (also known as a console connection) to your router:
- Through use of a usb-to-serial adapter occupying a USB port; or
- Wiring a serial connection from the baseboard.
Both of these methods have certain advantages and disadvantages.
This method requires the use or purchase of a UART to serial converter. You plug this device directly into one of the USB ports at the rear of the router (or use a powered USB hub) and then connect the management device to the other end of the serial line.
The key advantage of this method is that it is simple and requires no special skill or tools. However, this method requires software to run on the router and depends on the router's USB process. As such, you will not see any console output until the router has fully started the USB process (after the initial boot is complete). This makes it unsuitable for recovering from a bad firmware flash.
- 1 x USB-to-Serial adapter (see here for an example)
- An appropriate serial cable (may be a standard RS-232 cable with DB9 connections or a Cisco-style rollover cable terminated with an RJ-45 connector and a suitable adapter)
- From a terminal on the router, install lsmod to detect exactly how the adapter presents to the OpenWRT kernel:
- Install the necessary kernel module package to provide a kernel driver for the adapter. Table 1 below is an incomplete list of supported adapters and associated kernel module packages:
Table 1 - USB Serial Adapters and Supporting Kernel Modules
|Adpater (as seen by lsmod)||Kernel Module Package|
howto/tl-wdr4300/hw.management.txt · Last modified: 2013/05/02 01:53 by jeremy.moschner