From owner-freebsd-questions Tue Jan 4 14:46:41 2000 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id DA88914DD4; Tue, 4 Jan 2000 14:46:26 -0800 (PST) (envelope-from marc@oldserver.demon.nl) Received: from [212.238.105.241] (helo=propro) by post.mail.nl.demon.net with esmtp (Exim 2.12 #1) id 125cie-000Mhv-00; Tue, 4 Jan 2000 22:46:24 +0000 Date: Tue, 4 Jan 2000 23:46:23 +0100 (CET) From: Marc Schneiders To: John Baldwin Cc: freebsd-questions@freebsd.org Subject: RE: automatic conf of pcmcia ethernet In-Reply-To: <200001041437.JAA34434@server.baldwin.cx> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 4 Jan 2000, John Baldwin wrote: > > On 03-Jan-00 Marc Schneiders wrote: > > 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" > > Use ifconfig_pccard instead of ifconfig_ed0. Also, you can go ahead and take > ed0 out of network_interfaces. > Tried that, but alas. The messages suggest that it is impossible, so it seems, as the card is not detected quick enough: Jan 4 18:53:36 baby /kernel: lpt0: Interrupt-driven port Jan 4 18:53:36 baby /kernel: Mounting root from ufs:/dev/wd0s1a Jan 4 18:53:36 baby /kernel: pccard: card inserted, slot 0 Jan 4 18:53:35 baby pccardd[45]: Ether=00:00:51:c6:00:00 Jan 4 18:53:40 baby /kernel: ed1 at port 0x300-0x31f irq 3 slot 0 on pccard0 Jan 4 18:53:41 baby /kernel: ed1: address 00:c0:0c:03:91:66, type NE2000 (16 bit) Jan 4 18:53:49 baby pccardd[45]: pccardd started During the 4-5 seconds it takes to find the card the network setup from rc.conf is already over. Appending it at the end in 'local' setup seems to be the only way to do it. Thanks for all the help! > > 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. > > -- > > John Baldwin -- http://www.FreeBSD.org/~jhb/ > PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Marc Schneiders marc@venster.nl marc@oldserver.demon.nl propro 7:00pm up 4 days, 20:49, load average: 2.40 2.10 2.03 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message