system Any type speed phone login-script
system specifies the name of the remote system. type gives the name of an entry in the Devices file, specifying a line and modem type. speed specifies the speed of the connection between the system and the modem. phone specifies the phone number for the remote system. The login-script tells SLIP or PPP how to log into the remote system.
In this example, the local station "wenders" uses this line in its /etc/uucp/Systems file to call station lynch. The connection is made at 38,400 bps. The password is "hopper." SLIP logs in to the remote station by responding with "slip-wenders" to the login prompt, and "hopper" to the password prompt.
The information must be in one continuous line. The last string, "SLIP," forces the local station to wait for the remote station to announce that it is starting the SLIP protocol.lynch Any ACUSLIP 38400 5551212 "" \r\c ogin:--ogin: slip-wenders \
asswd: hopper SLIP
The third field in the systems file (in this case, "ACUSLIP") specifies the modem line to be used to call the remote station. There must be at least one entry matching this field in the /etc/uucp/Devices file.
For more information on the /etc/uucp/Systems file, see "The Systems File".
The first field, type, can be any string you like, but it should correspond with the type specified in the Systems file. If you have multiple modems that can be used interchangeably, they should all have the same type name--the system automatically selects one of these modems when making a call. The type name ACUSLIP is commonly used to designate a modem for use with SLIP or PPP.type device null speed 212 x dialer
device can be any flow-control device associated with a port not currently in use. speed should be the speed of the connection between your system and the modem. dialer can be any dial program listed in /etc/uucp/Dialers.
If you want to configure more than one modem speed, use a different port, or use a modem that supports a different command set, create a new line in the devices file that reflects the change.
For example, the following line configures SLIP to use a TelebitTM T2500 modem at 38,400 bps on the serial port 2 hardware flow control device:
For more information on the /etc/uucp/Devices file, see "The Devices File".
ACUSLIP ttyf2 null 38400 212 x t25slip
You shouldn't need to add an entry to the dialers file, unless you are installing a type of modem not supported by IRIX. If you do need to add or modify an entry in the dialers file, see "The Dialers File".
For example, if you want to use ttyf2 for dial-out SLIP, the line for ttyf2 in /etc/inittab should read
This line turns off the getty program on port number 2.
t2:23:off:/etc/getty ttyf2 co_38400 # port 2
If the link can be initiated by either station, you must turn on uugetty. For example, to configure a symmetric link using Telebit T2500 modems, change the line to
Changes made to /etc/inittab are acted upon when init reexamines the /etc/inittab file. To make init reexamine /etc/inittab immediately, use this command:
t2:23:respawn:/usr/lib/uucp/uugetty -Nt 60 -it25in,conn ttyf2 dx_38400
For more information, see inittab(4)./etc/telinit q
salad out remotehost=dial-in.salad.com localhost=caesar.salad.com quiet add_routeThis example specifies a connection between the local host caesar.salad.com and a remote machine called dial-in.salad.com. The out keyword specifies that this is an outgoing connection. The quiet keyword specifies a demand-dialed connection (see "Demand Dialing"). The add-route keyword tells PPP to set up a default route through dial-in.salad.com.
For a complete list of options for the ppp.conf file, see the ppp(1M) reference page.