From owner-freebsd-questions Sat Jan 11 7:58:11 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49A6737B401 for ; Sat, 11 Jan 2003 07:58:08 -0800 (PST) Received: from tomts16-srv.bellnexxia.net (tomts16.bellnexxia.net [209.226.175.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67AAF43F43 for ; Sat, 11 Jan 2003 07:58:07 -0800 (PST) (envelope-from matt@gsicomp.on.ca) Received: from gabby.gsicomp.on.ca ([65.95.180.103]) by tomts16-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20030111155806.HOWA10990.tomts16-srv.bellnexxia.net@gabby.gsicomp.on.ca>; Sat, 11 Jan 2003 10:58:06 -0500 Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by gabby.gsicomp.on.ca (8.12.6/8.12.6) with SMTP id h0BFtwk5093602; Sat, 11 Jan 2003 10:55:59 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <003001c2b98a$389a7ff0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Matthew Emmerton" , "Stephen D. Kingrea" Cc: References: <001601c2b989$aae2e5d0$1200a8c0@gsicomp.on.ca> Subject: Re: newbie questions about pppoe and netgraph Date: Sat, 11 Jan 2003 10:58:02 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > What does your ppp.conf look like? For PPPoE, it you should have a line > like this: [ dang email client ] set device PPPoE:ed1 where ed1 is the network card that is hooked up to your DSL modem. > > -- > Matt > > > > > www# /usr/sbin/ppp > > Working in interactive mode > > Using interface: tun0 > > tun0: Command: default: add default HISADDR > > tun0: Command: default: enable DNS > > tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.0/2 255.255.255 > > 0.0.0.0 > > tun0: Command: default: set authname ****** > > tun0: Command: default: set authkey ****** > > tun0: Command: default: set login > > tun0: Command: default: set dial > > tun0: Command: default: set timeout 0 > > tun0: Command: default: open > > tun0: Phase: bundle: Establish > > tun0: Phase: closed -> opening > > tun0: Phase: PPP started (interactive) > > tun0: Phase: deflink: Connected! > > tun0: Phase: deflink: opening -> dial > > tun0: Chat: deflink: Dial attempt 1 of 1 > > tun0: Phase: deflink: dial -> carrier > > ppp ON www> tun0: Phase: deflink: Disconnected! > > tun0: Phase: deflink: carrier -> hangup > > tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out > > tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Sat Jan 11 > > tun0: Phase: deflink hangup -> closed > > tun0: Phase: bundle: Dead > > > > i imagine that some of this is unnecessary, but it appears that i am not > > even getting to authentication before disconnecting. > > > > thank you > > > > stephen > > > > On Sat, 11 Jan 2003, Matthew Emmerton wrote: > > > > >> attempting to run pppoe on freebsd 4.7 over cable/dsl connection. > > >> > > >> manual says kernel recompilation unnecessary for this release in > > >> order to run pppoe. however, netgraph does not seem to be loading at > boot > > >> time. additionally, pppoe seems unable to get past lcp when connecting. > > >> > > >> how can i tell if netgraph is active after boot? if not, can netgraph > > >> modules be loaded at boot by adding necessary lines into loader.conf? > or > > >> is recompiling kernel a preferred method? > > > > > >If netgraph and pppoe support are not present in your kernel (or not > loaded > > >from modules automatically), the ppp program will complain loudly. > > > > > >Can you post part of your ppp log file so that we can determine if the > lack > > >of pppoe is your problem or if it's something else? > > > > > >-- > > >Matt Emmerton > > > > > > > > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org > > >with "unsubscribe freebsd-questions" in the body of the message > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message