You
need to create device files in the /dev
directory for serial ports. Each serial port used for pppd
may require one to four device files. Depending on the hardware
attached, you may need files for dial-in, dial-out, or direct connection.
Use the System Administration Manager (SAM) to create device
files. Creating the device files with appropriate minor numbers
is important.
The following is an example of an entry in /dev
for the device tty0b1, a dial-in modem with hardware flow control
enabled.
major number = 1 minor number = 0x000012 |
The minor number corresponds to the template 0xIIPPHM, which
is resolved as follows:
You can also use the mknod(1M)
command to create device files, for example:
mknod /dev/ttyd10 c 1 0x000001 #dial-in |
The termio(7) man page describes
how to derive the minor number of the device file for dial-in, dial-out,
and direct connections. Major and minor numbers may be different
from system to system. See termio(7)
for more details about configuring a serial device.