From owner-freebsd-questions Mon Jan 3 11:20: 8 2000 Delivered-To: freebsd-questions@freebsd.org Received: from blackhelicopters.org (geburah.blackhelicopters.org [209.69.178.18]) by hub.freebsd.org (Postfix) with ESMTP id E9D5415296 for ; Mon, 3 Jan 2000 11:20:00 -0800 (PST) (envelope-from mwlucas@blackhelicopters.org) Received: (from mwlucas@localhost) by blackhelicopters.org (8.9.3/8.9.3) id OAA00154; Mon, 3 Jan 2000 14:19:50 -0500 (EST) (envelope-from mwlucas) From: Michael Lucas Message-Id: <200001031919.OAA00154@blackhelicopters.org> Subject: Re: automatic conf of pcmcia ethernet In-Reply-To: from Marc Schneiders at "Jan 3, 2000 8: 3:16 pm" To: marc@oldserver.demon.nl (Marc Schneiders) Date: Mon, 3 Jan 2000 14:19:50 -0500 (EST) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you look at /etc/pccard.conf, you will see "insert" and "delete" statements, to be run when the card is found & ejected. You can do you ifconfig there. > I've installed FreeBSD (4.0) on an old laptop (Toshiba 486 SX 33 with > 4 MB, yeah). I edited /etc/rc.conf: > > ... > pccard_ifconfig="YES" > ... > network_interfaces="ed0 lo0" > ifconfig_ed0="inet 10.10.10.11 netmask 255.255.255.0" > > ed0 is also in the kernel. > > Card is not setup during boot, because the pccardd is started and the > card found after the network configuration is done. I can manually > ifconfig the card after logging in and it works. > > Now I've added an ifconfig.sh to /usr/local/etc/rc.d and that works > alright. But it does not feel good. There must be another, more > 'official' way. > > I would appreciate any comment and will be pleased to give more info > if needed. > > -- > Marc Schneiders > > marc@venster.nl > marc@oldserver.demon.nl > > propro 2:20pm up 3 days, 16:09, load average: 1.01 1.05 1.17 > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message