speed 38400 dialer nakwell The information pertaining to (Make a web site)
speed 38400 dialer nakwell The information pertaining to the dialers is kept in yet another file called — you guessed it –dial. For each dialer type, it basically contains the sequence of commands that are issued to dial up a remote site, given the telephone number. Again, this is specified as a chat script. For example, the entry for NakWell might look like this: # /etc/uucp/dial -per-dialer information # NakWell modems dialer nakwell chat “” AT&F OK ATDT\T CONNECT The line starting with chat specifies the modem chat, which is the sequence of commands sent to and received from the modem to initialize it and make it dial the desired number. The \T sequence will be replaced with the phone number by uucico. To give you a rough idea how uucico deals with these configuration files, assume you issue the following command: $ uucico -s pablo The first thing uucico does is look up pablo in the sys file. From the sys file entry for pablo, it sees that it should use the serial1 port to establish the connection. The port file tells uucico that this is a modem port, and that it has a NakWell modem attached. uucico now searches dial for the entry describing the NakWell modem, and having found one, opens the serial port /dev/cua1 and executes the dialer chat. That is, it sends AT&F, waits for the OK response, etc. When encountering the string \T, it substitutes the phone number (555-22112) extracted from the sys file. After the modem returns CONNECT, the connection has been established, and the modem chat is complete. uucico now returns to the sys file and executes the login chat. In our example, it would wait for the login: prompt, then send its username (vstout), wait for the password: prompt, and send its password (lorca). After completing authorization, the remote end is assumed to fire up its own uucico. The two then enter the handshake phase described in the previous section. Figure 16.1 illustrates the dependencies among configuration files. Figure 16.1: Interaction of Taylor UUCP configuration files