Debugging BNU login failures using the uucico daemon

Use the uucico daemon to debut BNU login failures.

  • BNU must be installed on your system.
  • A link (hardwired, modem, or TCP/IP) must be set up between your system and the remote system.
  • The BNU configuration files, including the Sysfiles file (if applicable), the Systems file, Permissions file, Devices file, and Dialers file, must be set up for communications between your system and the remote system.
    Note: You must have root user authority to modify the BNU configuration files.
  • You must have root user authority to invoke the uucico daemon in debugging mode.
  1. To produce debugging information about a local-to-remote system connection that is not working, start the uucico daemon with the -x flag as follows:
    /usr/sbin/uucp/uucico -r 1 -s venus -x 9
    where -r 1 specifies the master, or caller mode; -s venus, the name of the remote system to which you are trying to connect; and -x 9, the debug level that produces the most detailed debugging information.
  2. If the expect-send sequence entry in a Systems file in the format of /etc/uucp/Systems is:
    venus Any venus 1200 - "" \n in:--in: uucp1 word:
     mirror
    theuucico daemon connects the local system to the remote system venus. The debugging output is similar to:
    expect: ""
    got it
    sendthem (^J^M)
    expect (in:)^
    M^Jlogin:got it
    sendthem (uucp1^M)
    expect (word:)^
    M^JPassword:got it
    sendthem (mirror^M)
    imsg >^M^J^PShere^@Login Successful: System=venus
    where:
    Item Description
     expect: "" Specifies that the local system will not wait for any information from the remote system.
     got it Acknowledges that the message has been received.
     sendthem (^J^M) Specifies that the local system will send the remote system a carriage return and a new line.
     expect (in:) Specifies that the local system expects to receive the remote system login prompt, which ends in the in: character string.
     ^M^Jlogin:got it Confirms that the local system received the remote login prompt.
     sendthem (uucp1^M) Specifies that the local system will send the uucp1 login ID to the remote system.
     expect (word:) Specifies that the local system expects to receive the remote system password prompt, which ends in the word: character string.
     ^M^JPassword:got it Confirms the local system received the remote password prompt.
     sendthem (mirror^M) Specifies that the local system will send the password for the uucp1 login ID to the remote system.
     imsg >^M^J^PShere^@Login Successful: System=venus Confirms the local system is successfully logged in to remote system venus.
Note:
  1. The expect-send debugging output produced by the uucico command can come either from information in the /etc/uucp/Dialers file or from information in the /etc/uucp/Systems file. Information about communication with the modem comes from the Dialers file, while information about communication with the remote system comes from the Systems file. (Note that /etc/uucp/Systems and /etc/uucp/Dialers are default BNU configuration files. Other files can be specified in /etc/uucp/Sysfiles to serve the same role.)
  2. To set up a connection with a remote system, you must be familiar with the login sequence of that system.