1
I recently purchased a USB to serial cable to connect to other desktop computers (reason is for headless servers), and I don't know if it is working right or I am just doing something wrong. The USB cable has a male end if that matters any.
As a test I fired up the Ubuntu installer on a to-be server with an additional parameter:
console=ttyS0
However, I fired up putty and connected to the COM port that device manager told me that USB adapter was using and did not get any output.
I just now connected the USB to serial cable to an old laptop and fired up putty on both computers and mashed some keys to see if I could see ANY output on one of the terminals. Nothing. So, am I completely ignorant on how serial is supposed to work?
Note: In order to connect the laptop to the other laptop I had to purchase a gender changer.
Makes sense, I'll pick up a null-modem adapter tomorrow and see what happens. Thanks for the answer! Just a quick question though, if I mash keys on one end I should see the keys in the terminal on the other end correct? – Natalie Adams – 2009-11-08T02:14:19.397
If you are running putty or some other terminal emulator on both ends, you might and you might not. You might only see the letters on the opposite screen if you don't have echo turned on. I believe putty turns on local echo, so you should be okay there. The other thing to watch for is the CR/LF options - you may need to play with that to get your line-feeds to work as expected. See the Terminal options in the putty config dialog. – Shannon Nelson – 2009-11-08T03:15:06.047
A little update, I was able to get a female serial cable that has an 8 pin connector (same connector as ethernet plugs) on the end and get a serial to 8 pin female (again female ethernet plug). So, I plug the female end of the serial cable from the desktop to the USB adapter and it works great from my laptop to the desktop/server. However, my old laptop wont do anything. – Natalie Adams – 2009-11-10T16:23:04.300
Does your old laptop have a (a) real serial port or (b) are you using another USB gizmo? If (a), does the laptop bios need to be tweaked to enable the serial port? If (b), is the OS on the old laptop new enough to know about serial-USB? Maybe start with a low baud rate on both ends to deal with sloppy UART timing on the older laptop, e.g. 2400 rather than 115.2k. – Shannon Nelson – 2009-11-11T04:16:52.880