dhcp, pppd, and MSU dial-ups
Ben Pfaff
pfaffben@msu.edu
10 Jan 2001 17:08:22 -0500
Paul Melson <melson@scnc.holt.k12.mi.us> writes:
> Does anybody already have pppd/dhcp config
> files and/or scripts for dialing up to MSU?
An odd request: DHCP is not used for dialup. I'll ignore the
dhcp part of the request.
> I've got a laptop running Slackware 7.1 that
> I'd like to dial in with.
I use the following as /etc/chatscripts/provider:
ABORT BUSY
ABORT "NO CARRIER"
ABORT VOICE
ABORT "NO DIALTONE"
"" ATM0DT<PHONE#>
host ppp
ogin <USERNAME>@msu.edu
word \q<PASSWORD>
You'll want to replace <PHONE#>, <USERNAME>, and <PASSWORD>, of
course.
The corresponding pppd options (in addition to the defaults
provided in the Debian pppd package, which I would assume to be
similar to those on other systems) are:
refuse-pap noauth
connect "/usr/sbin/chat -f /etc/chatscripts/provider"
defaultroute /dev/modem 38400
You could probably just use PAP, but I've had this rough
configuration since 199$smallnum, before support for such things
was commonplace, and never bothered to change.
--
"Ho ho ho. I _so_ enjoy making a fool out of myself."
--Linus, on Christmas Day, 2000