Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2001 12:06:36 -0600
From:      Nate Williams <nate@yogotech.com>
To:        freebsd-mobile@FreeBSD.org, toshi@FreeBSD.org
Subject:   Documentation for rc.conf's removable_interfaces?
Message-ID:  <15228.2988.181554.313833@nomad.yogotech.com>

next in thread | raw e-mail | index | archive | help
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.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15228.2988.181554.313833>