From owner-freebsd-questions Tue Apr 30 7:52:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from frontend1.aha.ru (fish.zenon.net [213.189.198.214]) by hub.freebsd.org (Postfix) with ESMTP id 1C1BC37B41A for ; Tue, 30 Apr 2002 07:52:08 -0700 (PDT) Received: from [195.151.197.36] (HELO 127.0.0.1) by frontend1.aha.ru (CommuniGate Pro SMTP 3.5.9) with ESMTP-TLS id 129790284; Tue, 30 Apr 2002 18:52:07 +0400 Date: Tue, 30 Apr 2002 18:52:04 +0400 From: Anton Shcherbinin X-Mailer: The Bat! (v1.53d) X-Priority: 3 (Normal) Message-ID: <17231605203.20020430185204@fastmail.fm> To: Nathan KInkade Cc: freebsd-questions@freebsd.org Subject: IPv6: how can I get rid of it In-Reply-To: <20020429133417.1964fb3b.nkinkade@dsl-only.com> References: <743669500.20020427213601@fastmail.fm> <20020428104538.B83112@wantadilla.lemis.com> <1411696390.20020428231738@fastmail.fm> <20020429133417.1964fb3b.nkinkade@dsl-only.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Tuesday, April 30, 2002, 0:34:17, Nathan KInkade wrote: >> host. E. g., with ftp and ftp.freebsd.org : >> 1) my host queries our DNS server for AAAA record of ftp.freebsd.org >> 2) query times out in 5 secs >> 3) the same query >> 4) query times out in 10 secs >> 5) the same query >> 6) query times out in 20 secs >> 7) the same query >> 8) query times out in 40 secs >> 9) the same query, *but* for A record; DNS server replies in some ms, >> and then everything goes great, my host quickly connects >> to ftp.freebsd.org:21 etc. >> How can I fix that? >> The only thing I could think of is to disable IPv6 at all. But wait a >> second: >> >> $ grep -i ipv6_enable /etc/rc* /etc/defaults/* >> /etc/rc:case ${ipv6_enable} in >> /etc/defaults/rc.conf:ipv6_enable="NO" # Set to YES to set up for IPv6. >> ^^^^^^^^^^^^^^^^ >> Does not it mean that IPv6 is already disabled? > since it hasn't been put out yet, might it work to remove IPV6 from > the kernel altogether by commenting out the follwing line in your > kernel config file and then recompiling the kernel? I'm running > 4.5-stable from releng_4_5 and I've had that line commented out for a > month or two now and haven't seemed to have any problems. then again, > i never really had any problems when it was there in the first place > so this point may be irrelevant? > options INET6 #IPv6 communications protocols Thanks for the idea of recompiling, Nathan. I wish I had no problems too. :( Though you advised to recompile the kernel, I thought of recompiling sendmail, ftp(d), telnet(d) and some other programs which are compiled with something like '-DINET6' option. But I am really a newbie and I do not know whether I break anything just removing '-DINET6' from several /usr/src/.../Makefile's and running 'make world' then. I would like to have the same system as you have (4.5-STABLE, that is). Yesterday I run # cvsup -h cvsup2.freebsd.org stable-supfile where stable-supfile contained the following: ================================================== *default host=cvsup1.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_4 *default delete use-rel-suffix *default compress src-all ================================================== Did I do the right thing? You wrote about '4.5-stable from releng_4_5' and I am confused now: should I use *default release=cvs tag=RELENG_4_5 instead of *default release=cvs tag=RELENG_4 ? I will have holidays till May 13, but then I hope I'll be able to *properly* cvsup my sources and recompile them (probably commenting out '-DINET6' strings in several Makefile's). -- Anton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message