[FreeBSD] PPPoE OpenBSD / FreeBSD and NetBSD

Julian Elischer julian at elischer.org
2001. Nov. 23., P, 07:11:22 CET



On Thu, 22 Nov 2001, [iso-8859-1] Zahemszky Gábor wrote:

> On Thu, Nov 22, 2001 at 01:51:22PM -0800, Julian Elischer wrote:
> > Probaltom, de a magyar tul nehez..
> > 
> > As I wrote the pppoe code for FreeBSD maybe I can
> > give a more authoratative answer.. But I don't quite understand what the
> > question was..
> 
> So: on FreeBSD, there is PPPOE as a netgraph module.  On OpenBSD, there is a
> little binary (pppoe).  On FBSD, we can use (user) ppp and ng_pppoe, on OBSD
> ppp and pppoe.  But.  I'd like to use the kernel level ppp (pppd) with pppoe,
> but I do not know, how.
> As somebody said, on NetBSD, he can use pppoe, but as I know there isn't
> ppp (and ng_pppoe) only pppd, my question is this: how can I use pppd and
> pppoe.  (Yes, I know, that there are some pros on ppp, eg the built-in nat -
> but .... )

Also mpd can do pppoe as a client too..
(it uses netgraph in-kernel ppp code)

FreeBSD can also use the small ppoe program too.
 
I know of no way to make pppd (old kernel ppp) use either the netgraph
pppoe or the userland pppoe.

It might be possible hack something using a pseudo tty and
piping the output to teh pppoe program
but it would need hacking the sources.


> 
> ZGabor < Gabor at Zahemszky dot HU >
> 
> -- 
> #!/bin/ksh
> Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z ;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X"
> 




További információk a(z) BSD levelezőlistáról