1

I'm new to Ubuntu. I recently bought a PL2303 USB to Serial connector and had placed its driver PL2303.C to my Ubuntu 17.10.

I put the command 'lsusb', and it showed:

Bus 001 Device 002: ID 8087:8000 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 004: ID 8087:07dc Intel Corp. 
Bus 002 Device 003: ID 1bcf:28b4 Sunplus Innovation Technology Inc. 
Bus 002 Device 002: ID 138a:0011 Validity Sensors, Inc. VFS5011 Fingerprint Reader
**Bus 002 Device 005: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port**
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

and when I checked the 'dmesg' command ==> dmesg | grep tty it shows:

[    0.000000] console [tty0] enabled
[   19.113237] usb 2-3: pl2303 converter now attached to ttyUSB0
[   25.449300] ttyS3: LSR safety check engaged!
[   25.449943] ttyS3: LSR safety check engaged!

But when I plug that serial to the console port of my switch (i used the original dongle, so dongle must be not an issue), it won't appear. I suspect the com port. but i already check it with the command ==> setserial -g /dev/ttyS[0123456789], it shows :

/dev/ttyS0, UART: unknown, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3: No such device
/dev/ttyS4, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS5, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS6, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS7, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS8, UART: unknown, Port: 0x0000, IRQ: 0
/dev/ttyS9, UART: unknown, Port: 0x0000, IRQ: 0

how to set com port (/dev/ttyS0) in order to be able to connected to the switch? PLease advise

1 Answers1

1

To use putty in Ubuntu 17.10, you need to launch Ubuntu in XOrg. Follow the following answer to launch XOrg: How do you switch from Wayland back to Xorg in Ubuntu 17.10?

Your USB Serial device is at /dev/ttyUSB0. Make sure that you are using that for your putty connection.

sudo putty /dev/ttyUSB0 -serial -sercfg 9600,8,n,1,N

Make sure that you set the speed correctly for the console connection to the switch. It might be 115200 or 19200 or 9600.

Hope this helps!

Terrance
  • 43,712