From owner-freebsd-questions Wed Jul 18 8:19:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail7.carolina.rr.com (fe7.southeast.rr.com [24.93.67.54]) by hub.freebsd.org (Postfix) with ESMTP id 573AD37B403 for ; Wed, 18 Jul 2001 08:19:37 -0700 (PDT) (envelope-from khayman@carolina.rr.com) Received: from carolina.rr.com ([168.215.135.201]) by mail7.carolina.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Wed, 18 Jul 2001 11:19:31 -0400 Message-ID: <3B55A902.A31720A3@carolina.rr.com> Date: Wed, 18 Jul 2001 11:19:30 -0400 From: khayman X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Re: pccard NIC initialization order References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It appears that at boot time when rc.conf is parsed, the ep0 interface does not yet exist. I see it try to get an IP, but it says "interface ep0 does not exist." Is it the initialization of the pcmcia card services themselves that is causing this? By the time the pcardd is started and the interface is recognized, I'm already past the login prompt. How do i make the card servcies daemon start earlier, thereby getting the NIC recognized before rc.conf is parsed. rc.conf looks like this: # -- sysinstall generated deltas -- # # Created: Tue Jul 17 11:50:01 2001 # Enable network daemons for user convenience. # This file now contains just the overrides from /etc/defaults/rc.conf # please make all changes to this file. pccard_enable="YES" pccard_mem="DEFAULT" pccardd_flags="" network_interfaces="ep0 lo0" ifconfig_ep0="DHCP" hostname="pandora.barometersoup.com" inetd_enable="NO" kern_securelevel="1" kern_securelevel_enable="YES" linux_enable="YES" moused_enable="YES" nfs_server_enable="NO" portmap_enable="NO" sendmail_enable="YES" sshd_enable="YES" usbd_enable="YES" thanks again, "f.johan.beisser" wrote: > > On Wed, 18 Jul 2001, khayman wrote: > > > Hello all, > > > > I just finished building 4.3-stable on an IBM Stinkpad 600x. After a > > few snafus, its up and running. Then i learned that my Cardbus nic > > wasn't supported so I threw in a 10-base pcmcia nic. The new (or old as > > the case may be) nic works fine, it just initializes after I'm presented > > with a login prompt and does not get a dhcp address. > > ok. what's the line in your /etc/rc.conf for this card? > > > If I run dhclient (which I dont really know how to do properly) I get an > > address fine but get all sorts of IPv6 errors (not supported) output to > > the screen for the duration of the system's uptime. > > try to run 'dhclient ', that should help stop those > errors. read the man page for dhclient. > > > Can someone point me in the right direction (or blatantly tell me if you > > feel like it), on how to initialize the card earlier so that it gets an > > address without having to run dhclient? Or let me know the proper usage > > of running dhclient? > > well, the DHCP option on the card's interface just runs dhclient > anyway. it's the same effect. > > make sure that you have pccard_enable set to yes, and > pccard_ifconfig="DHCP" aswell. > > that should solve most of your problems. > > > My rc.conf file has the interface defined as dhcp. > > which interface? > > -------/ f. johan beisser /--------------------------------------+ > http://caustic.org/~jan jan@caustic.org > "which then led me to realize leading my life by the motto 'i'm not > as bad as jan' would still let me get away with A LOT" > --- j. leah williams, University of Chicago, 19 Jan, 2001 > > 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