From owner-freebsd-current Wed Nov 11 17:19:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA02063 for freebsd-current-outgoing; Wed, 11 Nov 1998 17:19:11 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA02042; Wed, 11 Nov 1998 17:19:04 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (root@woof.lan.Awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id XAA29792; Wed, 11 Nov 1998 23:51:51 GMT (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id XAA04310; Wed, 11 Nov 1998 23:53:22 GMT (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199811112353.XAA04310@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Dmitry Valdov cc: Brian Somers , Kris Kennaway , Brian Somers , current@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/ppp ip.c In-reply-to: Your message of "Wed, 11 Nov 1998 10:50:33 +0300." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 11 Nov 1998 23:53:22 +0000 From: Brian Somers Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > What do you suggest is changed ? Ppp can't delete the default route > > on it's own - it doesn't necessarily belong to ppp. > > > > Why? If I have add default [...] in ppp.conf, and there is impossible to > have 2 defaults then ppp shoul delete old default and make new :) >From the man page: iface add[!] addr[[/bits| mask] peer] Add the given addr mask peer combination to the interface. Instead of specifying mask, /bits can be used (with no space between it and addr). If the given address already exists, the command fails unless the ``!'' is used - in which case the previous interface address en- try is overwritten with the new one, allowing a change of netmask or peer address. If only addr is specified, bits defaults to ``32'' and peer defaults to ``255.255.255.255''. This address (the broadcast address) is the only duplicate peer address that ppp allows. > > > Also there is one more bug - sometimes ppp don't detect carrier lost and > > > stays in open state for a long time. :( > > > > Get the latest version from http://www.Awfulhak.org/ppp.html and > > enable debug logging. You'll see ppps idea of carrier. I suspect > > that either your modem is faking carrier all the time or that you're > > running a very old version (2.2.5?). > > > > 1. I'm running version from -current. > 2. I've USR Sportster 28800 modem and my friend have an IDC modem. We are > both experiencing the same problem. > > Please check it, I'm really shure that it isn't nmodem or user error :) Have you tried enabling ``debug'' logs ? Does it report the carrier status correctly ? > Dmitry. -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message