Книга: Linux Network Administrator Guide, Second Edition

Using a Direct Connection

Using a Direct Connection

Assume you use a direct line to connect your system vstout to tiny. Much like in the modem case, you have to write a system entry in the sys file. The port command identifies the serial port tiny is hooked up to:

system          tiny
time            Any
port            direct1
speed           38400
chat            ogin: cathcart word: catch22

In the port file, you have to describe the serial port for the direct connection. A dialer entry is not needed because there's no need for dialing:

port            direct1
type            direct
speed           38400
device              /dev/ttyS1

Оглавление книги


Генерация: 0.960. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз