From owner-freebsd-hackers Mon Jan 22 9: 1:43 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id 9BE6A37B69B; Mon, 22 Jan 2001 09:01:23 -0800 (PST) Received: from portonovo-27.budapest.interware.hu ([195.70.60.91] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 14KkL1-0003u3-00; Mon, 22 Jan 2001 18:01:07 +0100 Message-ID: <3A6C654C.F14FA457@elischer.org> Date: Mon, 22 Jan 2001 08:52:28 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Felix-Antoine Paradis Cc: "Daniel C. Sobral" , hackers@FreeBSD.ORG, brian@freebsd.org Subject: Re: PPPoE References: Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Felix-Antoine Paradis wrote: > > To get pppoe to work, just set the options in the kernel and use a good > 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. Could > > 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ˇ > > >> lutely sure the peer you are dealing with uses non- > > >> standard frame types. If your ISP uses non-stanˇ > > >> 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ˇ > > >> 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message