From owner-freebsd-questions@FreeBSD.ORG Wed Feb 2 08:02:05 2005 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 39DC616A4CF for ; Wed, 2 Feb 2005 08:02:05 +0000 (GMT) Received: from nuumen.pair.com (nuumen.pair.com [209.68.1.119]) by mx1.FreeBSD.org (Postfix) with SMTP id 944A843D55 for ; Wed, 2 Feb 2005 08:02:04 +0000 (GMT) (envelope-from thuppi@nuumen.pair.com) Received: (qmail 10307 invoked by uid 55300); 2 Feb 2005 08:02:04 -0000 Date: Wed, 2 Feb 2005 03:02:04 -0500 (EST) From: Tom Huppi X-X-Sender: thuppi@nuumen.pair.com To: Alexander Bubnov In-Reply-To: <233098718.20050202102913@mail.ru> Message-ID: References: <233098718.20050202102913@mail.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: ppp -auto my_provider 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, 02 Feb 2005 08:02:05 -0000 On Wed, 2 Feb 2005, Alexander Bubnov wrote: > could you help me, please? (I have FreeBSD 5.3) > > this question: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/ppp.html#PPP-AUTO-NOREASONDIAL > > Why does ppp(8) dial for no reason in -auto mode? I've fought the same irritating issue now and again. As for diagnosis, the most useful thing I've found is to turn on full logging (in ppp.conf), then grep (or tail -f or whatever) the log looking for the dial trigger after a spurious dial. I'm not on the machine from which I have the misfortune of needing to use a modem so I can't say off-hand the exact string to look for, but it's not any of the four lines you've posted. If you need more info about the nature of the transaction, try 'tcpdump -i tun0'. I used this recently to determine that various operations on NAT machines behind my gateway were generating spurious (and obviously failing) reverse DNS lookups and thus, an unwanted dial. I never reached a conclusion about how to deal with this other than to set up a cacheing-only DNS server, but I shouldn't even mention it here since it's probably not related to a solution for you (...or is it?) BTW, and totally unrelated, does anyone know of a graphical dial utility for ppp(8) (aka, user-ppp?) I see two in the ports collection for 'pppd', but I know 'user-ppp' slightly better. My goal is to set up a machine for a completely computer non-literate friend, and I would rather use FreeBSD than any of the Linux distros that may also be suitable. I would need to make his system very user-friendly. Thanks, - Tom > I used the following line for log-file: > > set log tcp/ip > > /var/log/ppp.log includes next text: > > Feb 1 10:24:04 fatal ppp[894]: Phase: Using interface: tun0 > Feb 1 10:24:04 fatal ppp[894]: Phase: deflink: Created in closed state > Feb 1 10:24:04 fatal ppp[895]: TCP/IP: OUT <0>: fe80::2c0:26ff:fea4:b6b0 ---> ff02::1:ffa4:b6b0 (72) > Feb 1 10:24:04 fatal ppp[895]: TCP/IP: OUT ICMP: :::135 ---> ff02::1:ffa4:b6b0 (16/64) > > (I install FreeBSD 5.3 from mini-install disk and I do not have samba) > > also I used next: > /etc/ppp/ppp.conf: > default: > ... > set filter dial 1 deny udp src eq 53 > set filter dial 2 deny udp dst eq 53 > set filter dial 3 permit 0/0 0/0 > ... > > > my_provider: > ... > > and I killed sendmail, typing killall sendmail > > These ways did not help me :( > > What do I need to do to solve a problem? > > When ppp begins to dualup 'netstat -rn' outputs next: > Internet6: > Destination Gateway Flags Netif Expire > ::1 ::1 UH lo0 > fe80::%rl0/64 link#1 UC rl0 > fe80::2c0:26ff:fea4:b6b0%rl0 00:c0:26:a4:b6:b0 UHL lo0 > fe80::%lo0/64 fe80::1%lo0 U lo0 > fe80::1%lo0 link#3 UHL lo0 > ff01::/32 ::1 U lo0 > ff02::%rl0/32 link#1 UC rl0 > ff02::%lo0/32 ::1 UC lo0 > ff02::%tun0/32 fe80::2c0:26ff:fea4:b6b0%tun0 UC tun0 > > this string adds when 'ppp -auto my_provider' dialups: > > ff02::%tun0/32 fe80::2c0:26ff:fea4:b6b0%tun0 UC tun0 > > _______________________________________________ > 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" >