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

Telephone number

Telephone number

If the remote system is to be reached over a telephone line, the phone field specifies the number the modem should dial. It may contain several tokens interpreted by uucico 's dialing procedure. An equal sign (=) means wait for a secondary dial tone, and a dash (-) generates a one-second pause. Some telephone installations choke when you don't pause between dialing a special access code and the telephone number.[95]

It is often convenient to use names instead of numbers to describe area dialing codes. The dialcode file allows you to associate a name with a code that you may subsequently use when specifying telephone numbers for remote hosts. Suppose you have the following dialcode file:

# /usr/lib/uucp/dialcode - dialcode translation
Bogoham         024881
Coxton          035119

With these translations, you can use a phone number such as Bogoham7732 in the sys file, which will probably make things a little more legible and a whole lot easier to update should the dialing code for Bogoham ever change.

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


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