Subject: Re: IPV6 and sshd problems
To: Erik Nielsen <Erik@kythra.net>
From: Pavel Cahyna <pavel.cahyna@st.mff.cuni.cz>
List: netbsd-help
Date: 02/15/2005 12:54:11
On Wed, 09 Feb 2005 03:50:48 -0800, Erik Nielsen wrote:

> 2. I need to disable IPV6 without recompiling the kernel. Before
> everyone jumps on me with "IPv6 is great, no one should disable it, it
> just works", hear me out. I don't care whether IPv6 is running or not, I
> don't use it. However, in 2.0, whenever I try to use pkg_add, it sits
> and hangs for a while before spitting out an IPv6 address and claiming
> "no rout to host" I was under the impression that if IPv6 failed,
> pkg_add/ftp/etc should try IPv4, but it is not! The only time I got

This is strange. I have a 2.0_BETA with IPv6 support, without IPv6
connectivity. See:
pavel@pc:~$ ftp ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc.tar.gz
Trying 2001:4f8:4:7:2e0:81ff:fe21:6563...
ftp: connect to address 2001:4f8:4:7:2e0:81ff:fe21:6563: No route to host
Trying 204.152.190.13...
Connected to ftp.netbsd.org.
...

It tries IPv4 immediately - so no problem for me.

Bye	Pavel