# You can delete the examples below and unused ports above
# if you wish to clean up the config file, ofcourse.

# S30 is an external modem.
#
s30.tty		ttyS0

# S31 is a test port with a terminal on it.
#
# NOTE: you can ofcourse also enter tty9 here instead of ttyS1.
#	That way you can test portslave on a virtual console by
#	switching to it with ALT-F9.
#
s31.tty		ttyS1
s31.speed	9600
s31.flow	soft
s31.dcd		0
s31.initchat	""

# S32 is my builtin 9600 baud modem
#
s32.tty		ttyS3
s32.speed	19200

# S33 is connected to a macine that _thinks_ it is connected to a modem.
# In this case, portslaves emulates a Hayes compatible modem. We use it
# to hook up our Mac with MACPPP over a serial null modem cable.
#
s33.tty		ttyS2
s33.speed	57600
s33.emumodem	yes

# Leased Lines.
#
# Note that we change the lcp-timeout (lcp-restart) from 3 (default) to 4.
# PPP 2.2.0f in combination with some other PPP implementations may
# otherwise get stuck in an endless negotiation loop. Dialin lines do
# not have this problem because both sides start up at the same time.
#
# Do this only one _one_ side ofcourse.
s34.tty		ttyR47
s34.initchat	TIMEOUT 10 \
		ABORT "NO CARRIER" \
		ABORT VOICE \
		"" \d\l\dATZ \
		OK\r\n-ATZ-OK\r\n "\c" \
		STATUS Incoming %p:I.HANDSHAKE \
		"" ATA \
		TIMEOUT 75 \
		CONNECT@ "\c" \
		STATUS LEASED %p:%c
s34.authtype	none
s34.issue	""
s34.protocol	ppp
s34.rem_host	192.168.5.249
s34.netmask	255.255.255.248
s34.pppopt	proxyarp modem asyncmap 0 %i:%j netmask %m \
		-ipx-protocol -ccp-protocol passive mtu 576 mru 576 \
		lcp-restart 4 ip-up-script /etc/ppp/ip-up.leased \
		ip-down-script /etc/ppp/ip-down.leased
