|
| Serial terminal / USB |
 |
Wed, 21 Nov 2007 15:46:00 +010 |
Hello,
I have set up a few Linux (and BSD servers) to be accessed through the
serial port from a terminal (or from a laptop running Minicom).
It works beautifully both ways. But my current laptop (a nice light 12"
one) doesn't have a serial port and only has USB ports.
I haven't been able to find information on how or even if it is possible
to access a console to my servers through USB (I've got a USB/serial
connector and have made a couple of tries to no avail).
Is this at all possible? If so, could somebody point me to the right
documentation to read? Please feel free to set a follow-up to any other
news group you might think more appropriate to this subject.
Thank you and Greetings,
ngel
--
Saludos,
Angel
|
| Post Reply
|
| Re: Serial terminal / USB |
 |
Wed, 28 Nov 2007 18:05:30 +010 |
Angel wrote:
> Hello,
>
> I have set up a few Linux (and BSD servers) to be accessed through the
> serial port from a terminal (or from a laptop running Minicom).
>
> It works beautifully both ways. But my current laptop (a nice light
12"
> one) doesn't have a serial port and only has USB ports.
>
> I haven't been able to find information on how or even if it is possible
> to access a console to my servers through USB (I've got a USB/serial
> connector and have made a couple of tries to no avail).
>
> Is this at all possible? If so, could somebody point me to the right
> documentation to read? Please feel free to set a follow-up to any other
> news group you might think more appropriate to this subject.
>
> Thank you and Greetings,
> Ángel
>
Hi!
Yes, it is possible. If the kernel on your laptop recognizes the adapter,
then give "screen" a try:
screen -L -t "serial-console" /dev/ttyS0 57600 cs8
|
| Post Reply
|
| Re: Serial terminal / USB |
 |
Wed, 12 Dec 2007 23:57:18 -050 |
On Wed, 21 Nov 2007 15:46:00 +0100, Angel wrote:
> Hello,
>
> I have set up a few Linux (and BSD servers) to be accessed through the
> serial port from a terminal (or from a laptop running Minicom).
>
> It works beautifully both ways. But my current laptop (a nice light
12"
> one) doesn't have a serial port and only has USB ports.
>
> I haven't been able to find information on how or even if it is possible
> to access a console to my servers through USB (I've got a USB/serial
> connector and have made a couple of tries to no avail).
>
> Is this at all possible? If so, could somebody point me to the right
> documentation to read? Please feel free to set a follow-up to any other
> news group you might think more appropriate to this subject.
>
> Thank you and Greetings,
> ngel
Hello,
There are drivers for USB -> serial in the kernel. I'm running 2.6, and
they're located under Device Drivers -> USB support -> USB Serial
Converter support. I was able to get my USB -> serial cable working by
compiling the USB serial converter driver as a module and building in the
USB Generic Serial Driver. I then loaded the module with `modprobe
usbserial vendor=0xVENDORID product=0xPRODUCTID`. I got those numbers
by plugging the cable into my usb and running lsub, look for the numbers
in the format xxxx:xxxx (vendor:product).
Hope this helps,
|
| Post Reply
|
| Re: Serial terminal / USB |
 |
Mon, 17 Dec 2007 11:39:35 +010 |
tom speckert <tom_speckert@rogers.com> wrote:
>
> There are drivers for USB -> serial in the kernel. I'm running 2.6, and
> they're located under Device Drivers -> USB support -> USB Serial
> Converter support. I was able to get my USB -> serial cable working by
> compiling the USB serial converter driver as a module and building in the
> USB Generic Serial Driver.
>
> Hope this helps,
It does. It works wonderfully in combination with screen (as somebody
else suggested me to try).
Thanks a lot.
--
Saludos,
Angel
|
| Post Reply
|
| Re: Serial terminal / USB |
 |
Mon, 17 Dec 2007 12:15:19 +010 |
Piotr Orlowski <piotr.orlowski@linbit.com> wrote:
> Angel wrote:
>> I haven't been able to find information on how or even if it is
possible
>> to access a console to my servers through USB (I've got a USB/serial
>> connector and have made a couple of tries to no avail).
> Yes, it is possible. If the kernel on your laptop recognizes the adapter,
I needed to load the usbserial module, as somebody else has stated on a
different post here.
> then give "screen" a try:
> screen -L -t "serial-console" /dev/ttyS0 57600 cs8
It works wonderfully. Very nice, indeed, much nicer than Minicom.
Screen, to me, is like Vim, every day I learn something new and amazing
about them.
Thanks a lot.
--
Saludos,
Angel
|
| Post Reply
|
|
|
|
|
|
|
|
|
|