DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
BNU troubleshooting

Using expect/send strings to troubleshoot uucp

When uucp(1bnu) attempts to contact another system, it generally waits on certain events. uucp expects particular response from the remote system and can appear to hang waiting for this response (uucp generally waits five minutes or longer for a response; some uucp processes can appear to wait endlessly).

The expect/send strings used by uucp are used on both direct lines and modem lines. See Systems(4bnu) for more information.


NOTE: The expect/send strings are not used by cu as default, since it considers itself connected as soon as the remote system acknowledges the call. Use cu -x to use expect/send strings.

The character strings that uucp expects the remote system to send, and the responses that uucp sends to the remote system, constitute an expect/send chat script for connecting to the remote system. For normal uucp use, they should be:

expect send
in: uucp
word: uucp_passwd

where uucp_passwd is the uucp password you obtain from the administrator of the remote system.

In this default case, uucp would first wait for ``in:'' (the ending of the word ``Login:'' and respond by sending uucp. Then uucp would wait for ``word:'' (the ending of the word ``password:'') and respond by sending the password.


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004