Date: Tue, 1 Jan 2002 01:36:43 +0900 (JST) From: th@cis.ibaraki.ac.jp To: FreeBSD-gnats-submit@freebsd.org Subject: conf/33395: better way to use more than one pccard network cards Message-ID: <200112311636.BAA88791@puma.cis.ibaraki.ac.jp>
next in thread | raw e-mail | index | archive | help
>Number: 33395 >Category: conf >Synopsis: better way to use more than one pccard network cards >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 31 08:40:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: HIYAMA Takeshi >Release: FreeBSD 4.5-PRERELEASE >Organization: Hitachi Naka Electronics Co., Ld. >Environment: FreeBSD breton.hiyama 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #46: Sat Dec 29 00:57:37 JST 2001 root@breton.hiyama:/usr/obj/usr/src/sys/BRETON i386 >Description: Now, easiest way to use more than one pccard network cards is to define pccardd_flags="-z" ifconfig_pccard_INTERFACE1="OPTIONS" ifconfig_pccard_INTERFACE2="OPTIONS" ... in rc.conf. But in this way, ifconfig(3) will be called twice, first from pccard_ether, and then from rc.network. So if someone wants to use DHCP for one interface and, don't want for other one, pccard_ether will call dhclient for the interface, and rc.network will call it again. This may cause DHCP failure, and configuration will be reseted. >How-To-Repeat: Insert two pccard network cards and put pccardd_flags="-z" ifconfig_pccard_INTERFACE1="OPTIONS" ifconfig_pccard_INTERFACE2="DHCP" into rc.conf. >Fix: define pccard_ifconfig_INTERFACE="OPTIONS" in rc.conf --- pccard_ether.orig Tue Jan 1 00:35:46 2002 +++ pccard_ether Tue Jan 1 00:35:36 2002 @@ -72,7 +72,7 @@ . /etc/start_if.${interface} fi - eval ifconfig_args=\$ifconfig_${interface} + eval ifconfig_args=\$pccard_ifconfig_${interface} case ${ifconfig_args} in [Nn][Oo] | '') ;; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112311636.BAA88791>