From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 07:09:04 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 4623116A4CE for ; Wed, 3 Dec 2003 07:09:04 -0800 (PST) Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id C31CC43F3F for ; Wed, 3 Dec 2003 07:09:02 -0800 (PST) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([67.20.101.103]) by mta10.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with SMTP id <20031203150906.QCJP1464.mta10.adelphia.net@barbish>; Wed, 3 Dec 2003 10:09:06 -0500 From: "fbsd_user" To: "Alex de Kruijff" , "Zhang Weiwu" Date: Wed, 3 Dec 2003 10:09:00 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <20031203141553.GA394@dds.nl> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal 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 Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2003 15:09:04 -0000 I don't know where the last poster got his info, but it's all wrong. User ppp is used for ADSL connection all the time. You yourself have proved it works by what you have working all ready. User ppp will automatically keep the last assigned ip address of the interface, tun0, when it loses it's connection ifconfig will display your interfaces. You should see more than one ip address on tun0. Add this to your cncom section of ppp.conf. disable iface-alias # Stop adding old IP addr as alias when ppp # redials because line was lost. These old ips # showed using ifconfig -a on tun0. iface clear # Remove all previous IP address replace your add default 10.0.0.138 statement with this statement add default HISADDR # Add a (sticky) default route (Mandatory) try test again and if you still have problem then post /var/log/ppp.log file be sure to empty contents of log file before test so file only contains msgs from just this test. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Alex de Kruijff Sent: Wednesday, December 03, 2003 9:16 AM To: Zhang Weiwu Cc: freebsd-questions@freebsd.org Subject: Re: ADSL cannot dial ("0.0.0.0/0 already exist) 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/ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"