From owner-freebsd-newbies Sun Nov 24 2:26:19 2002 Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D17637B401 for ; Sun, 24 Nov 2002 02:26:17 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 432BE43E88 for ; Sun, 24 Nov 2002 02:26:16 -0800 (PST) (envelope-from alexander.pohoyda@gmx.net) Received: (qmail 21792 invoked by uid 0); 24 Nov 2002 10:26:14 -0000 Received: from p508bc95d.dip.t-dialin.net (HELO oak.pohoyda.family) (80.139.201.93) by mail.gmx.net (mp019-rz3) with SMTP; 24 Nov 2002 10:26:14 -0000 Received: from oak.pohoyda.family (localhost [127.0.0.1]) by oak.pohoyda.family (8.12.3/8.12.3) with ESMTP id gAOAQ77g000762; Sun, 24 Nov 2002 11:26:12 +0100 (CET) Received: (from apog@localhost) by oak.pohoyda.family (8.12.3/8.12.3/Submit) id gAOAQ67P000759; Sun, 24 Nov 2002 11:26:06 +0100 (CET) To: "Martin Guindon" Cc: Subject: Re: PPPoE? References: <000901c29381$806ee250$0101a8c0@slipstream> From: Alexander Pohoyda Date: 24 Nov 2002 11:26:05 +0100 In-Reply-To: "Martin Guindon"'s message of "Sun, 24 Nov 2002 01:19:50 -0500" Message-ID: <87n0nzi7r6.fsf@oak.pohoyda.family> Lines: 50 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org "Martin Guindon" writes: > (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoe.html) and > created the following ppp.conf: > > # ppp.conf > default: > set log Phase tun command # you can add more detailed logging if you wish > set ifaddr 10.0.0.1/0 10.0.0.2/0 [...] I believe that there is a violation of the ppp.conf syntax here. As stated in `man ppp': o A command line must contain a space or tab in the first column. > When I dial (ppp -ddial igs), I get no error output, You should get a log, at least. Please have a look at your /var/log/ppp.log or whatever file you have configured in your /etc/syslog.conf file. If you have successfully connected, you will be able to see a tunel with a valid IP address in the `ifconfig' output. > or ping something I get a no route to host. You may need a line enable dns in your /etc/ppp/ppp.conf file as well. > I'm using FreeBSD 4.7 so from what I understand there is nothing special to > do in the kernel. options NETGRAPH #netgraph(4) system options NETGRAPH_PPPOE options NETGRAPH_SOCKET pseudo-device tun 1 # Packet tunnel That's what I have in my kernel config. Hope this helps. -- Alexander Pohoyda To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message