# MultiTech MT2834BR Intelligent Data/Fax Rack Mounted Modem
# (Probably works on desktop model as well)
# <the first entry, which is commented out, initializes every variable
#  in the modem and does not use the factory defaults.   The second
#  entry, which is recommended, simply resets the modem to factory
#  defaults and only changes those parameters for which the default is
#  wrong.>
#mt-2834:\
#	:is=B1E1M1Q0R0S0=0S10=7S11=70S13=37S24=20S25=0S2=43S30=0\
#	S3=13S4=10S5=8S6=2S7=45S8=2S9=6V1X0Y0#A0#DB0#F2#L0#P0#T1\
#	$A0$BA0$BA0$D0$EB0$F1$MB28800$MI0$R0$SB57600$SB57600$SP0$T1\
#	%C0%E1%E4&A0&B0&BS1&C1&D3&E1&E4&E10&E13&E15&E4&E7&E8&G0&M0\
#	&P0&Q1&R1&RF1&S1&SF0&T5&W0&W0&X1:zm:cp:sm:bs#40
mt-2834:\
        :fd=&F0:is=B1S0=0$SB57600&D3&E13&E4&E7&E8&Q1:\
        :pa=none:lp=/usr/bin/login:hf:bt#8:bs#40:br#57600:zm:sm:\
        :ba=Fsk :bo:

# US Robotics Sportster 28,800 FAX modem with V.34 and V.32bis.
# (Probably works with other V.34 USR modems).   I haven't gotten
# around to paring down the USR definitions by starting from the
# factory default settings - sorry about that.
usr-v.34:\
	is=ATE1F1H0M0Q0V1X4&A3&B1&C1&D3&G0&H1&I0&K1&M4&N0&P0&R2&S0&T5&Y1\
	S0=0S2=43S3=13S4=10S5=8S7=60S8=2S9=6S10=7S11=70S12=50S13=1S14=0\
	S15=32S16=0S19=0S21=10S22=18S23=19S25=5S27=0S28=8S34=0S38=2S51=0\
	S54=64S55=0S56=128S57=0:bs#40:zm:

# US Robotics Courier 14,400 FAX modem with V.32bis.
# (Probably works with other V.32.bis USR modems).
usr-v.32bis:\
	is=ATE1F1H0M0Q0V1X4&A3&B1&C1&D3&G0&H1&I0&K1&M4&N0&P0&R2&S0&T5&Y1\
	S0=0S2=43S3=13S4=10S5=8S7=60S8=2S9=6S10=7S11=70S12=50S13=1S14=0\
	S15=32S16=0S19=0S21=10S22=18S23=19S25=5S27=0S28=8S34=0S38=2:\
	:bs#40:zm:

# Supra 14.4k and 28.8k modems.   This uses the factory default
# feature, which is somewhat screwy on the Supras in that they have
# several defaults.   We choose default #2, which is closest.

supra-fast:\
        fd=&F2:is=W2&C1%C1%E1S110=3:pa=none:hf:bt#8:bs#40:br#38400:zm:bo:

# MT2834BR connecting directly to ppp on connect.   Needless to say,
# PPP should be doing CHAP...
mt-2834-ppp:\
	:pa=none:hf:bt#8:br#57600:lu=pppuser1:lp=/usr/bin/ppp:dl:tc=mt-2834:

# MT2834BR connecting to a login prompt...
mt-2834-login:\
	:pa=none:lp=/usr/bin/login:hf:bt#8:br#57600:ba=4.4BSD :tc=mt-2834:

# USR Courier V.32bis connecting to a login prompt...
usr-login:\
	:pa=none:lp=/usr/bin/login:sm:bt#8:br#9600:ba=4.4BSD :tc=usr-v.32bis:

# Default list of modems to use in modem pool...
modem-pool:\
	:pa=none:lp=/usr/bin/login:hf:bt#8:br#57600:\
	:dv=ttyA00:dv=ttyA01:dv=ttyA02:dv=ttyA03:si:tc=mt-2834:

# USR Sportster V.34 modem connecting directly to the smtp port on
# foo.bar.com.
pager-dialin:\
	:pa=none:hf:bt#8:br#57600:\
	:ca=foo.bar.com:cp=smtp:tc=usr-v.34:

# USR Sportster V.34 modem connecting to a telnet session to
# foo.bar.com.  Authentication is done on foo.bar.com, but the local
# connection is logged to user ``nobody.''  This also means that if a
# telnet bug allows an attacker to get a shell, it won't give away
# much.  The -E flag turns off the escape character, which should
# prevent such an occurrance, the -8 flag passes through all 8 bits,
# allowing zmodem and similar protocols to work, and -q says don't
# print status information before connecting.

foobar-login:\
	:pa=none:hf:bt#8:br#57600:\
	:lp=/usr/local/bin/telnet -E -8 -q foo.bar.com:\
	:lu=nobody:dl:tc=usr-v.34:
