From owner-freebsd-hackers Mon Jan 22 15:18:26 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id 788D837B6B8; Mon, 22 Jan 2001 15:18:02 -0800 (PST) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.1/8.11.1) with ESMTP id f0MNIdU19899; Mon, 22 Jan 2001 23:18:39 GMT (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.1/8.11.1) with ESMTP id f0MNKl104853; Mon, 22 Jan 2001 23:20:47 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200101222320.f0MNKl104853@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Julian Elischer Cc: Felix-Antoine Paradis , "Daniel C. Sobral" , hackers@FreeBSD.ORG, brian@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: PPPoE In-Reply-To: Message from Julian Elischer of "Mon, 22 Jan 2001 08:52:28 PST." <3A6C654C.F14FA457@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Mon, 22 Jan 2001 23:20:47 +0000 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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