pppoe

Nuno Antunes nuno.antunes at gmail.com
Fri Mar 23 16:58:18 PDT 2012


2012/3/19 Andrey N. Oktyabrski <ano at bestmx.ru>:
> Good day.
>
> How can I configure PPPoE interface? Now I use "ppp" program with this
> configuration:
> pppoe:
>  set device PPPoE:fxp0    #Interface to adsl-modem-bridge
>  set authname <USERNAME>
>  set authkey <PASSWORD>
>  set dial
>  set login
>  add default HISADDR
>  nat enable yes
>
> $ ps ax | grep ppp
>  254 ??  SLs      4:39.48 /usr/sbin/ppp -quiet -ddial -nat pppoe
>
> ... and see this in the "top":
>  254 root       0  6460K     0K     RUN  0   4:42    4:42 16.11% ppp
>
>
> Is it possible to use anything other than "ppp"? ng_pppoe? How to configure
> it? "man ng_pppoe" does not give me any useful information. Can anybody to
> give me and example? Or I must compile mpd and use it?

Hi,

As far as I know, ppp is currently the only way to configure PPPoE
sessions on DragonFly. The ppp userland program makes use of ng_pppoe
kernel counterpart to deal with the PADIs/PADOs etc of the PPPoE
session.

Your configuration seems correct. You should get a tun0 interface with
an ip address if everything goes well.

Cheers
Nuno





More information about the Users mailing list