DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Configuring outgoing PPP connections

Configuring a login script

Using the PPP Outgoing Connection Wizard, you can define a login script that will be used to log into a remote system. To use a login script, select Yes. To disable its use, select No.

In the Expect and Send fields, enter up to five pairs of strings that will be used for the login dialog.

The expect string only has to match part of the full string that the remote machine returns. For example, if the remote machine prints ``Login:'' to prompt for a user name, the expect string could be set to ogin: and the send string would be set to the user name. (replacing ``<USER>'') Similarly, if the remote machine prints ``Password:'' to prompt for a password, the expect string could be set to ``ssword:'' and the send string would be set to the user's password (replacing ``<PASSWORD>'')


NOTE: If the remote system expects you to press <Enter> before it will print ``Login:'', use an expect string such as ogin:--ogin:, "" \r ogin:--ogin:, or "" \r ogin:-BREAK-ogin:.

You may also need to enter a pair of expect and send strings to start a PPP session on the remote machine.

See the Systems(4bnu) manual page for a description of the escape characters that you can use in login scripts to represent special items such as carriage returns, spaces, backspaces, and time delays.



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