Subject: Re: Setting up pppoe
To: None <netbsd-users@netbsd.org>
From: Klaus Heinz <klaus.heinz@onlinehome.de>
List: netbsd-users
Date: 04/11/2002 23:34:52
ipthomas@mac.com wrote:
> 4. Ran adsl-setup
I don't remember this one.
> I'm not sure of the format exactly. I've already man pppoe.conf, it
> doesn't show exact syntax.
I copied /usr/pkg/share/examples/rp-pppoe/pppoe.conf to /etc/ppp/
and changed what I needed:
ETH=fxp0
USER="my username"
DEMAND=180
[DEMAND shuts down the connection afte 180 seconds without traffic]
You should read the man page again with this example at hand.
Depending on your ISP you probably need CHAP or PAP authentication.
I use CHAP and created /etc/ppp/chap-secrets (don't forget
'chmod 600 chap-secrets'). The format is described in pppd(8).
# client server secret ip-addresses
"my username" * "secret password" *
Maybe you have to use a specific name for the 'server' field, but that
should be in your docs from the ISP.
ciao
Klaus