hi,

the kernel-based pppoe(4) implementation uses the sppp(4) network
layer for PPP connectivity, configuration and status reporting.

this has been previously configured with the spppcontrol(8) utility,
as mentioned in the manual page of the pppoe driver:

---/etc/hostname.pppoe0---
pppoedev ne0
!/sbin/ifconfig ne0 up
!/usr/sbin/spppcontrol \$if myauthproto=pap myauthname=testcaller \
       myauthkey=donttell
!/sbin/ifconfig \$if inet 0.0.0.0 0.0.0.1 netmask 0xffffffff
!/sbin/route add default 0.0.0.1
up
---snap---

i just commited some bits for ifconfig(8) to replace the spppcontrol
functionality. users running -current and kernel pppoe should try to
update their configuration.

accordingly,
---/etc/hostname.pppoe0---
inet 0.0.0.0 255.255.255.255 0.0.0.1 pppoedev ne0 \
       authproto pap authname testcaller authkey donttell up
!/sbin/route add default 0.0.0.1
---snap---

and
---snip---
$ ifconfig pppoe0                                                               
 
pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
        dev: fxp2 state: session
        sid: 0x496 PADI retries: 6 PADR retries: 0 time: 01:14:47
        sppp: phase network authproto pap authname "XXX" 
        groups: pppoe egress 
        inet6 fe80::203:1dff:fe01:a31f%pppoe0 ->  prefixlen 64 scopeid 0xa
        inet 82.xx.xx.xx --> 0.0.0.1 netmask 0xffffffff 
---snap---

reyk

-- 
/* .vantronix|secure systems - (research & development)
 * reyk floeter - friendly known free software engineer
 * [EMAIL PROTECTED] - http://team.vantronix.net/reyk/
 */

Reply via email to