Date: Tue, 30 Apr 2002 18:52:04 +0400 From: Anton Shcherbinin <useperl@fastmail.fm> To: Nathan KInkade <nkinkade@dsl-only.com> Cc: freebsd-questions@freebsd.org Subject: IPv6: how can I get rid of it Message-ID: <17231605203.20020430185204@fastmail.fm> In-Reply-To: <20020429133417.1964fb3b.nkinkade@dsl-only.com> References: <743669500.20020427213601@fastmail.fm> <LPBBIGIAAKKEOEJOLEGOOEPMCOAA.barbish@a1poweruser.com> <20020428104538.B83112@wantadilla.lemis.com> <1411696390.20020428231738@fastmail.fm> <20020429133417.1964fb3b.nkinkade@dsl-only.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17231605203.20020430185204>