From owner-freebsd-mobile Fri Aug 17 16:53:19 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id E023237B403; Fri, 17 Aug 2001 16:53:09 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id RAA17935; Fri, 17 Aug 2001 17:53:07 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id RAA16421; Fri, 17 Aug 2001 17:53:07 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15229.44642.772267.787258@nomad.yogotech.com> Date: Fri, 17 Aug 2001 17:53:06 -0600 To: nate@yogotech.com (Nate Williams) Cc: freebsd-mobile@FreeBSD.org, toshi@FreeBSD.org, imp@FreeBSD.org Subject: Re: Documentation for rc.conf's removable_interfaces? In-Reply-To: <15228.2988.181554.313833@nomad.yogotech.com> References: <15228.2988.181554.313833@nomad.yogotech.com> X-Mailer: VM 6.95 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > First of all, rc.conf doesn't (yet) contain the definition of > removable_interfaces, which I plan to MFC when the RE gives me > permission. Unless he knows what this does, I don't have permission to use this. However, it appears to me that the current pccard_ether configuration is completely broken. In particular, the default route is never added to the system, although there is code to set a variable which is never used. :( Toshi-san, can you please follow up with me on this to make sure we don't ship 4.4RC with a non-working pccard_ether setup? Thanks! Nate > > However, the use of this variable is causing me problems on my laptop. > In particular, I have 3 different different network cards in my laptop, > one built-in, and two external ones. > > Unfortunately, I can't easily configure all of them using the old way of > just stating: > > ifconfig_fxp0="inet 1.2.3.4 netmask 255.255.255.255" > ifconfig_ed1="inet 4.3.2.1 netmask 255.255.255.255" > ifconfig_ep1="inet 9.8.7.6 netmask 255.255.255.255" > pccard_ifconfig="NO" > > What happens is that in /etc/pccard_ether, it stops on the line: > case ${pccard_ifconfig} in > [Nn][Oo] | '') > ---> expr "${removable_interfaces}" : ".*${interface}" > /dev/null || exit 0 > ;; > *) > # Backward compatible > eval ifconfig_${interface}=\${pccard_ifconfig} > ;; > > I'm not sure what this line is supposed to be doing, but it's causing my > configuration to blow up. If I comment this out, things proceed as > normal and expected. > > Am I supposed to be adding 'ed1 and ep1' to 'removable_interfaces'? If > so, why? Any documentation on this would be greatly appreciated! > > > > > Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message