Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jul 1999 22:08:11 -0400 (EDT)
From:      matt <matt@MLINK.NET>
To:        Doug <doemill@shocking.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: pppd script donations
Message-ID:  <Pine.BSF.4.10.9907102159390.10141-100000@dns02.arpa-canada.net>
In-Reply-To: <Pine.BSI.4.05.9907101746260.21422-100000@fingers.shocking.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 10 Jul 1999, Doug wrote:

: hey
: This list has been nothing but helpfull to my questions, and im stuck in
: another hole and I would apreciate any help, Im wondering if anybody will
: send their pppd scripts (taking out their password!) so typing pppd aty the
: command line will bring up the conection? thanks, my pppd scripts from
: openbsd didnt work with freebsd, any help would be welcomed!
: 
: Doug

This is how I used to do it before I got my DSL:

/etc/ppp/options:

-- cut here --
modem 
user <isp login>
crtscts
defaultroute 
bsdcomp 15,15  *** DO NOT USE UNLESS COMPILED IN KERNEL ***
deflate 15,15  *** DO NOT USE UNLESS COMPILED IN KERNEL ***
connect /etc/ppp/sconnect
/dev/cuaa1
115200
-- cut here --

/etc/ppp/sconnect:

-- cut here --
#!/bin/sh
chat ABORT BUSY ABORT ERROR "" AT"<MODEM INIT STRING>" OK 
ATD<ISPPHONENUMBER> CONNECT
-- cut here --

/etc/ppp/pap-secrets:

-- cut here --
# Secrets for authentication using PAP...
# client        server       secret        IP addresses
<USER>          *          <ISP PASSWD>
-- cut here --

That should set you up nicely if your ISP runs PAP Auth.. It's always
worked for me, on Linux, OpenBSD, FreeBSD.... all ya gotta do is type
pppd for it to run. Make sure to chmod +x /etc/ppp/sconnect btw.. 

Hope this helps,

Matt

--
matt@MLINK.NET




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9907102159390.10141-100000>