Getting a console via USB to serial connector (158 Views)
Reply
Regular Advisor
Simeon Harwood
Posts: 139
Registered: ‎01-20-2003
Message 1 of 9 (158 Views)
Accepted Solution

Getting a console via USB to serial connector

Hi all,
Has anyone attempted this before?
I've got a laptop with no serial connector, so I bought a USB to serial converter. I pluged it into my laptop, it found it, and downloaded the drivers for it. I downloaded Hyperterm, and got it all configured. Everything looks good. I set the speed to 9600, 8N1.
I pluged the other end of the serial cable into the back of an old HP box, but got no output at all.
I've also tried connecting it to a sun box, but again no output. So then I tried to use linux and minicom as my method of getting a console, again no output.
SO then I did all my testing again with another cable, in case the cable was broken, but again no output!!!!!!!

Has anyone else tried this and got it working. I know it should work, I've also tried using an HP terminal and that worked find, but I want to access the console via my laptop.

Help PLEASE!!!! My head is about to explode.

Sime.
You never had this problem with a pencil and paper!
Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,129
Registered: ‎10-02-2001
Message 2 of 9 (158 Views)

Re: Getting a console via USB to serial connector

I know from peers it is working with some adapters, with others it doesn't.

Make to use the correct COM port (use the same within the terminal emulation like configured for the adapter).

I don't like hyperterm so much, I prefer putty.

Hope this helps!
Regards
Torsten.

__________________________________________________

There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________

No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! star in the left column!   
Please use plain text.
Esteemed Contributor
Ludovic Derlyn
Posts: 441
Registered: ‎06-13-2004
Message 3 of 9 (158 Views)

Re: Getting a console via USB to serial connector

Hi

On my pc, same configuration to you,i use usb serial converter
But when i launch hyperterminal, select com5 it's ok , com1 not working
Check your com associated with your usb adaptator


regards
L-DERLYN
Please use plain text.
Honored Contributor
Duncan Edmonstone
Posts: 5,678
Registered: ‎08-05-2000
Message 4 of 9 (158 Views)

Re: Getting a console via USB to serial connector

Sime,

are you using a straight through serial cable? it needs to be a null modem cable:

http://en.wikipedia.org/wiki/Null_modem

HTH

Duncan

HTH

Duncan
Please use plain text.
Regular Advisor
Simeon Harwood
Posts: 139
Registered: ‎01-20-2003
Message 5 of 9 (158 Views)

Re: Getting a console via USB to serial connector

Thanks both of you.
I've check the com ports. Mine uses com5 from windows too, and when I use linux the device is /dev/ttyUSB0.

From a linux point of view, I'm using the pl2303 driver via the usbserial driver, this creates the /dev/ttyUSB0 device file, so I know that that the OS is seeing the cable and loads the driver, but minicom still says that connection is offline.

I seem to remember from many a long year ago, that I might have to tweek the modem codes from within minicom to get it to work, but I can't remember what to tweek.
I've testing the console ports on the HP and sun box via a real console, and also a computer with a real serial output port, and this all works fine, so I must be missing somthing in the congiuration.

Sime.
You never had this problem with a pencil and paper!
Please use plain text.
Regular Advisor
Simeon Harwood
Posts: 139
Registered: ‎01-20-2003
Message 6 of 9 (158 Views)

Re: Getting a console via USB to serial connector

Duncan,
You may well be correct there. I never thought of that. I'm off to do more testing.

Sime.
You never had this problem with a pencil and paper!
Please use plain text.
Regular Advisor
Simeon Harwood
Posts: 139
Registered: ‎01-20-2003
Message 7 of 9 (158 Views)

Re: Getting a console via USB to serial connector

Duncan,
You were right. The USB to serial cable I had got was a straight through, I pluged a null modem cable into the end of it, and hey-presto, it worked.

If you put another entry on this list, I'll give you some more points.

Thanks,
Sime.
You never had this problem with a pencil and paper!
Please use plain text.
Honored Contributor
Duncan Edmonstone
Posts: 5,678
Registered: ‎08-05-2000
Message 8 of 9 (158 Views)

Re: Getting a console via USB to serial connector

Too late for points methinks if the thread is closed. Never mind, 2 points is better than none at all!

Duncan

HTH

Duncan
Please use plain text.
Regular Advisor
Simeon Harwood
Posts: 139
Registered: ‎01-20-2003
Message 9 of 9 (158 Views)

Re: Getting a console via USB to serial connector

... and the answer is, use a null modem cable.
THanks Duncan.
You never had this problem with a pencil and paper!
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation