Date: Mon, 22 Jan 2001 23:20:47 +0000 From: Brian Somers <brian@Awfulhak.org> To: Julian Elischer <julian@elischer.org> Cc: Felix-Antoine Paradis <reel@idemnia.ath.cx>, "Daniel C. Sobral" <dcs@newsguy.com>, hackers@FreeBSD.ORG, brian@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: PPPoE Message-ID: <200101222320.f0MNKl104853@hak.lan.Awfulhak.org> In-Reply-To: Message from Julian Elischer <julian@elischer.org> of "Mon, 22 Jan 2001 08:52:28 PST." <3A6C654C.F14FA457@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I think the best way to implement this is some sort of config message = to the pppoe node (before the connect/listen). The NETGRAPH version = of ppp(8) is capable of doing ``chat scripts'' with netgraph nodes, = so it's fairly easy to configure the node configuration conversation... Hopefully now that Christmas is over I'll be able to get back to = netgraph'ifying ppp :-) > Felix-Antoine Paradis wrote: > > = > > To get pppoe to work, just set the options in the kernel and use a go= od > > config (ppp.conf) and use pppd. > > = > > On Mon, 22 Jan 2001, Daniel C. Sobral wrote: > > = > > > It seems I need the following parameters to get my PPPoE to work. C= ould > > > we have these options, please? > > > > > > >> -f disc:sess > > > >> The -f option sets the Ethernet frame types for > > > >> PPPoE discovery and session frames. The types are > > > >> specified as hexadecimal numbers separated by a > > > >> colon. Standard PPPoE uses frame types 8863:8864. > > > >> You should not use this option unless you are abso=A1 > > > >> lutely sure the peer you are dealing with uses non- > > > >> standard frame types. If your ISP uses non-stan=A1 > > > >> dard frame types, complain! > = > Definitly complain! This is equivalent to calling a protocol tcp/ip > but using a first byte in the packet. > I will look at a configuration message for the netgraph node > but Brian will hav eto work out how to send it, and where the > configuration parameter should be set to do this.. > = > The other possibility is a sysctl. > = > = > > > >> -S service_name > > > >> Specifies the desired service name. pppoe will > > > >> only initiate sessions with access concentrators > > > >> which can provide the specified service. In most > > > >> cases, you should not specify this option. Use it > > > >> only if you know that there are multiple access > > > >> concentrators or know that you need a specific ser=A1 > > > >> vice name. > = > = > If you are talking about the netgraph based pppoe, then -xxx type = > flags are not how you configure it. I think you are talking about > the (rather inefficient) userland ppp daemon. > = > the service name requested is already an argument in the pppoe = > configuration. > = > "If a PPPoE:iface[:provider] specification is given, ppp will at- > tempt to create a PPP over Ethernet connection using the given > iface interface by using netgraph(4). " > = > In this case the "provider" is the service name. > = > = > -- = > __--_|\ Julian Elischer > / \ julian@elischer.org > ( OZ ) World tour 2000 > ---> X_.---._/ from Perth, presently in: Budapest > v -- = Brian <brian@Awfulhak.org> <brian@[uk.]FreeBSD.org= > <http://www.Awfulhak.org> <brian@[uk.]OpenBSD.org= > Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101222320.f0MNKl104853>