Connecting the TP-Link TL-SG3226 using the USB-RJ45 Console Cable with the CH340
chip on Ubuntu is straightforward; just install minicom. Linux Kernels have built-in
CH340/CH341 serial drivers since v2.6.24, or you can download the latest driver for manual
compilation and installation.
test-pc@test:/$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 1a86:7523 QinHeng Electronics CH340 serial converter
test-pc@test:/$ sudo dmesg | grep ttyS*
[ 0.7353217] printk: legacy console [tty0] enabled
[ 2.752159] tty tty42: hash matches
[ 906.590405] ch341-uart ttyUSB0: break control not supported, using simulated break
[ 906.590577] usb 2-2.1: ch341-uart converter now attached to ttyUSB0
After confirming the product is recognized with lsusb, you can configure the serial tool.
On Ubuntu, it is recommended to use minicom. Installation method:
$ sudo apt-get install minicom. Once installed, configure minicom.
Configuration for TP-Link TL-SG3226
A - Serial Device : /dev/ttyUSB0 |
After configuration, save it, and you can use minicom to operate.
test-pc@test:/$ sudo minicom