Talmage wrote:
> I'm planning on implementing a OpenBSD all-in-one router/firewall/ 
> PPPoE_client/VPN_server and have been having issues getting the in- 
> kernel PPPoE to work which is the first thing I'm working on.  I've  
> checked the pppoe(4) manpages but still haven't been able to get it  
> to work.

Your hostname.pppoe0 is bad. See below:
[snip]
 
> $ cat /etc/hostname.pppoe0
> pppoedev em1
> !/sbin/ifconfig em1 up
> !/usr/sbin/spppcontrol \$if myauthproto=pap

there is no line continuation character at the end, so
the next line is passed to ifconfig as a new command.
either join the lines or use: 

  !/usr/sbin/spppcontrol \$if myauthproto=pap \

to connect the lines.

> [EMAIL PROTECTED] myauthkey=SECRET
> !/sbin/ifconfig \$if inet 0.0.0.0 0.0.0.1 netmask 0xffffffff
> !/sbin/route add default XXX.XXX.XXX.80
> up

For debugging pppoe authentication, you can use
spppcontrol -v pppoe0 to check see the current auth settings,
and tcpdump to watch what credentials are being sent.

an example tcpdump command would be:

  tcpdump -nevX -s 1500 -i em1 no ip

Reply via email to