From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 06:15:57 2003 Return-Path: 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 4358A16A4CF for ; Wed, 3 Dec 2003 06:15:57 -0800 (PST) Received: from smtp05.wxs.nl (smtp05.wxs.nl [195.121.6.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28F7A43FAF for ; Wed, 3 Dec 2003 06:15:55 -0800 (PST) (envelope-from akruijff@www.kruijff.org) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp05.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HPB009HDOYHRF@smtp05.wxs.nl> for freebsd-questions@freebsd.org; Wed, 03 Dec 2003 15:15:54 +0100 (MET) Received: from Alex.lan (localhost [127.0.0.1]) by kruij557.speed.planet.nl (8.12.9p2/8.12.9) with ESMTP id hB3EFsvv001559; Wed, 03 Dec 2003 15:15:54 +0100 (CET envelope-from akruijff@Alex.lan) Received: (from akruijff@localhost) by Alex.lan (8.12.9p2/8.12.9/Submit) id hB3EFrvQ001558; Wed, 03 Dec 2003 15:15:53 +0100 (CET envelope-from akruijff) Date: Wed, 03 Dec 2003 15:15:53 +0100 From: Alex de Kruijff In-reply-to: To: Zhang Weiwu Message-id: <20031203141553.GA394@dds.nl> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.1i References: cc: freebsd-questions@freebsd.org Subject: Re: ADSL cannot dial ("0.0.0.0/0 already exist) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2003 14:15:57 -0000 On Wed, Dec 03, 2003 at 06:46:49PM +0800, Zhang Weiwu wrote: > Hello. > > I just brought an ADSL modem (Alcatel Homeplus 501). This modem is > pre-configured > I used FreeBSD several years, but this is the first time I use ppp: > . > My /etc/ppp/ppp.conf is: > > ------ > 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.138/0 > > cncom: > set device PPPoE:ed0 > set authname LOGINNAME > set authkey PASSWORD > set dial > set login > add default 10.0.0.138 > ------- > > The modem is 10.0.0.138, it assigned me the address 10.0.0.1. > Ping 10.0.0.138 has response. > > To dial with "ppp -ddial cncom" I get the error message: > 0.0.0.0/0 already exist. > > So what should I do now? > > I'm running FreeBSD 4.9 RC3. ppp is for calling in with a modum on a telefone network. It doesn't work as a stand alone for a ADSL modum. There a couple of ports avalible for ADSL modums. (pptpclient is one) But is feel its better to have something more independed. Can you modum be setup so it connects on its own? I have a PPTP connection over my ADSL modum. I've configured my modum so that it builds the connection and routes the packets though on regular ip connection to my computer. It does take configuring of you FreeBSD box this way. Its proberbly best to go for something in bewain first like setting your modum up to be a nat router. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/