#	BSDI SYS,v 2.5 1995/05/09 15:55:05 prb Exp
# Standard dialin and dialout entries.
# These two should normally be left untouched.

Dialin:\
	:di:\
	:li=/etc/netscripts/Dialin.login:\
	:lu=/etc/netscripts/Dialin.up:\
	:ld=/etc/netscripts/Dialin.down:

Dialout:\
	:do:\
	:li=/etc/netscripts/Dialout.login:\
	:lu=/etc/netscripts/Dialout.up:\
	:ld=/etc/netscripts/Dialout.down:

# everything you need to define a modem connection
# the name 'modem0' is referenced by the dial out lines below
# An ls(1) of the device should be similar to:
#
# crw-------  1 uucp  wheel   8, 0, 0 Feb 24 12:15 /dev/tty00
#
# Note that this example uses /dev/tty00, you may need to change
# this on your system if your modem is located elsewhere.  This
# entry also assumes you have a hayes compatible modem.
#
# Generally a 14.4 modem should run at 57600 and a 28.8 at 115200
# In either case, you want at least a buffered (16550) UART.

modem0:du:at=hayes:dv=/dev/tty00:br#57600:

# sample demand dial connection.
# This connection will dial out when an attempt is made to send a
# packet over the interface.
# The connection will be terminated after 10 minutes of idle time.
# 
# The local IP address is LOCAL_IP and the remote IP address is REMOTE_IP
#
# To place the call use one of these commands:
#
# $ ppp Pdemand		# Only place one call
# $ ppp -d Pdemand	# Wait for a new packet after the connection is dropped

Pdemand:tc=Dialout:\
	:in#0:id#600:if=inet LOCAL_IP REMOTE_IP:\
	:pn=REMOTEPHONENUMBER:\
	:s0=\r:e0=ogin:f0=\r:\
	:s1=YOURLOGIN\r:e1=word:\
	:s2=YOURPASSWORD\r:\
	:tc=modem0:

# A sample immediate mode connection.  This connection will be established
# as soon as possible and will not time out.
#
# The IP addresses are assumed to be assigned from the remote (server) side.
#
# To place the call use one of these commands:
#
# $ ppp Palways		# Only place one call
# $ ppp -d Palways	# Wait for a new packet after the connection is dropped

Palways:tc=Dialout:\
	:im:id#0:\
	:pn=REMOTEPHONENUMBER:\
	:s0=\r:e0=ogin:f0=\r:\
	:s1=YOURLOGIN\r:e1=word:\
	:s2=YOURPASSWORD\r:\
	:tc=modem0:

