[ale] identifying serial ports (which is ttyS0, etc.)?

Geoffrey esoteric at 3times25.net
Wed Jan 1 15:27:22 EST 2003


Duh on me.  That won't help identifying the physical port now would it? 
  Stick an external modem on it if you have one, then turn a getty on 
each port, until you see the modem lights respond.

Start a getty on one, hook a serial terminal or another box to it and 
see which one provides login.

Geoffrey wrote:
> An easy way is to cat /proc/tty/driver/serial, then use setserial to 
> change a particular value, say speed for instance.  Then cat 
> /proc/tty/driver/serial again looking for the change.
> 
> John Wells wrote:
> 
>> I'm trying to my x10 remote setup.
>>
>> How can you tell which serial port on a machine is set to /dev/ttyS0,
>> /dev/ttyS1, etc?  Is there a way to tell if something is plugged into the
>> port?
>>
>> Thanks!
>>
>> John
>>
>>
>>
>>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://www.ale.org/mailman/listinfo/ale
>>
>>
> 

-- 
Until later: Geoffrey		esoteric at 3times25.net

The latest, most widespread virus?  Microsoft end user agreement.
Think about it...

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list