2003年01月11日(土)


PPPoE

PC : net/mpd が kernel mode なので速いらしいというので、入れました。

mpd.conf

default:
        load PPPoE

#
# PPPoE client example (see also mpd.links.sample entry "PPPoE")
#

PPPoE:
        new -i ng0 PPPoE PPPoE
        set iface addrs 1.1.1.1 2.2.2.2
        set iface route default
        set iface disable on-demand
        set iface idle 0
        set bundle disable multilink
        set bundle authname MYNAME@ISP
        set link no acfcomp protocomp
        set link disable pap chap
        set link accept chap
        set link mtu 1454
        set ipcp yes vjcomp
        set ipcp ranges 0.0.0.0/0 0.0.0.0/0
        open iface

mpd.links

#
# For our PPPoE connection, using Ethernet interface "fxp1"
# Often the service is ignored. If yours is required, replace
# the "whatever" string with your PPPoE service string.
#

PPPoE:
        set link type pppoe
        set pppoe iface fxp0
        set pppoe service "whatever"

mpd.secret

MYNAME@ISP        pAssw0rD4aUth
neko# chmod 600 mpd.secret
neko# kill -TERM `cat /var/run/tun0.pid`
neko# ngctl shutdown fxp0:
neko# mpd

お、遅くなりました....。



generated by makediary-2.11