From owner-freebsd-current Mon Jun 12 14: 4:19 2000 Delivered-To: freebsd-current@freebsd.org Received: from quack.kfu.com (quack.kfu.com [170.1.70.2]) by hub.freebsd.org (Postfix) with ESMTP id C983237B813 for ; Mon, 12 Jun 2000 14:04:12 -0700 (PDT) (envelope-from nsayer@mailhost.kfu.com) Received: from icarus.kfu.com (icarus.kfu.com [170.1.70.50]) by quack.kfu.com (8.9.2/8.9.3) with ESMTP id OAA72739 for ; Mon, 12 Jun 2000 14:04:08 -0700 (PDT) (envelope-from nsayer@mailhost.kfu.com) Received: by icarus.kfu.com (8.9.3//ident-1.0) id OAA02295; Mon, 12 Jun 2000 14:04:08 -0700 (PDT) Date: Mon, 12 Jun 2000 14:04:08 -0700 (PDT) From: Message-Id: <200006122104.OAA02295@icarus.kfu.com> To: freebsd-current@freebsd.org Subject: IPv6, PCcard and rc scripts Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have put this at the end of pccard_ether: case ${ipv6_enable} in [Yy][Ee][Ss]) ipv6_network_interfaces=${interface} ipv6_default_interface=${interface} . /etc/rc.network6 network6_pass1 ;; esac It _sort of_ fixes the problem of what to do if you use IPv6 with pccard Ethernet cards. The problem remaining is that the boot stuff will still see ipv6_enable=YES and attempt to configure an interface that is either nonexistent or already up. I'm mentioning this because the issue needs some further thought. I propose that the rc.network* scripts be touched up a bit so that the export a per-interface setup function. This per-interface function would be called once at startup for each interface or once at pc-card insert/remove time, but never at both. Along with this would be functions that happen purely at system startup or after one or more grouped calls to the per-interface setup function. Comments? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message