So what you are saying is that there _is not_ any way to perform multiple 
pccard_ifconfig statements solely in /etc/rc.conf ?

I feel that defining it in /etc/rc.conf is more elegant, and am surprised 
that it was built to work with one card but will not work with another one.

btw, as I successfully use pccard_ifconfig for ep0, I note that I do not 
have a line in pccard.conf for ep0 (or for wi0) - both of these cards work 
fine out of rc.conf without entries in pccard.conf - just _not at the same 
time_, as you know.

thanks for the example -

LT


>From: "Michael C . Wu" <[EMAIL PROTECTED]>
>Reply-To: "Michael C . Wu" <[EMAIL PROTECTED]>
>To: list tracker <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: multiple pccard_ifconfig statements in one rc.conf ?  
>Problems.
>Date: Thu, 21 Jun 2001 11:20:24 -0500
>
>On Thu, Jun 21, 2001 at 04:13:29PM -0000, list tracker scribbled:
>|
>| I have two pc card NICs in my system - ep0 and wi0.  All of the normal
>| problems (irq, etc.) have been solved, and I am using them beautifully.
>|
>| The problem is, I would like to use the pccard_ifconfig directive to
>| configure BOTH of these cards from /etc/rc.conf.
>|
>| Currently, I have _one_ pccard_ifconfig statement in rc.conf, and NO 
>normal
>| ifconfig statements:
>|
>| pccard_ifconfig="DHCP"
>|
>| and this causes my ep0 (in slot 0) to successfully grab a DHCP address 
>and
>| function on the network.  Since I do not specify in any way which card to
>| use, I am assuming that it just uses whichever card is in slot 0.
>|
>| So the logical thing to try (I thought) was this:
>|
>| pccard_ifconfig_ep0="DHCP"
>| pccard_ifconfig_wi0="inet 10.10.10.10 netmask 255.255.255.0"
>|
>| But this does not work.
>|
>| How do I use the (very convenient) pccard_ifconfig mechanism in rc.conf 
>to
>| configure multiple pccard NICs ?
>
>I know I posted earlier with the same stuff, but here is
>another way to use this.
>
>Use pccard.conf just like this:
>card "Lucent Technologies" "WaveLAN/IEEE"
>         config  0x1 "wi" ?
>         insert  /etc/pccard_ether $device start
>         insert  sh /etc/setup_wi
>       remove  /etc/pccard_ether $device stop
>         remove  /sbin/ifconfig $device delete
>
>The part of interest is "insert sh /etc/setup_wi"
>Put your config scripts there, such as "ifconfig xxx"
>and such.  If you have seperate scripts for different
>cards, you can setup as many cards as possible.
>
>--
>+-----------------------------------------------------------+
>| [EMAIL PROTECTED]         | [EMAIL PROTECTED]       |
>| http://iteration.net/~keichii | Yes, BSD is a conspiracy. |
>+-----------------------------------------------------------+
>
>To Unsubscribe: send mail to [EMAIL PROTECTED]
>with "unsubscribe freebsd-hackers" in the body of the message

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to