Next: 16 Shorewall
Up: Redhat FAQ
Previous: 14 Obsolete RAID Procedures
Contents
15 Serial Ports
To add a new serial port from a PCI card if the system does not see
it.
- Determine the I/O port and interupt the card uses
$ less /proc/pci
Bus 2, device 1, function 0:
Serial controller: NetMos Technology 222N-2 I/O Card (2S+1P)
(rev 1).
IRQ 11.
Master Capable. Latency=64.
I/O at 0xecf8 [0xecff].
I/O at 0xece8 [0xecef].
I/O at 0xe4d8 [0xe4df].
I/O at 0xecc8 [0xeccf].
I/O at 0xecb8 [0xecbf].
I/O at 0xeca0 [0xecaf].
- Create the file /etc/rc.d/serial.sh. Using the above I/O and
Interrupt values add a line for each ttyS*
/bin/setserial /dev/ttyS1 port 0xecf8 uart 16550 irq 11 baud_base
115200
/bin/setserial /dev/ttyS2 port 0xece8 uart 16550 irq 11 baud_base
115200
- Repeat for as many ports as the card(s) support.
- Source this file in /etc/rc.d/rc.local
. /etc/rc.d/serial.sh
2005-03-20