Hi, I setup /etc/hostname.pppoe0 as specified in pppoe(4), I fixed the scrub thing so it would allow IP changes on the interface. The NAT works, everything works 100%, except for when the ISP drops the connection or if I turn off the "modem" I'm using as a bridge to my ISP.
It then fails to reconnect at all. As soon as I type... # ifconfig pppoe0 up It reconnect and carries on like usual. This doesn't seem like particularly normal behaviour, NetBSD's pppoe runs 100%, handles all the ISP disconnections every 24 hours and operates perfectly. Is it possible I've misconfigured something? Anything? #> cat /etc/hostname.pppoe0 pppoedev dc0 !/sbin/ifconfig dc0 up !/usr/sbin/spppcontrol \$if myauthproto=pap myauthname=bloodyusername myauthkey=bloodypassword !/sbin/ifconfig \$if inet 0.0.0.0 0.0.0.1 netmask 0xffffffff !/sbin/route add default 0.0.0.1 up In /etc/pf.conf I have... scrub in on fxp0 max-mss 1440 nat on pppoe0 from 172.30.3.64/26 to any -> (pppoe0) And other rules to allow traffic out, of course. I really can't find a reason for it to not automatically reconnect. Am I alone with this problem? Is there a solution?