From owner-freebsd-mobile Sun Sep 5 16:46:11 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by hub.freebsd.org (Postfix) with ESMTP id C7B4314C97 for ; Sun, 5 Sep 1999 16:46:08 -0700 (PDT) (envelope-from jedgar@fxp.org) Received: by pawn.primelocation.net (Postfix, from userid 1003) id 6B63EF818; Sun, 5 Sep 1999 19:45:53 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by pawn.primelocation.net (Postfix) with ESMTP id 5FF719B1C; Sun, 5 Sep 1999 19:45:53 -0400 (EDT) Date: Sun, 5 Sep 1999 19:45:53 -0400 (EDT) From: "Chris D. Faulhaber" X-Sender: jedgar@pawn.primelocation.net To: Eric Jacoboni Cc: FreeBSD-mobile@FreeBSD.ORG Subject: Re: Configuring PCMCIA NIC after it's loaded In-Reply-To: <87r9kdnd5l.fsf@titine.fr.eu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 6 Sep 1999, Eric Jacoboni wrote: > "Chris D. Faulhaber" writes: > > > Try putting the commands in /etc/pccard.conf in an 'insert' line: > > > > card "" "" > > config > > insert kldload /lkm/setmac.ko > > insert /usr/local/sbin/setmac ep0 > > insert /etc/pccard_ether ep0 > > Oh no ! If i try this, my laptop resets at boot times after having > loaded pccard and without unmount / :( > > The pb seems that these lines are called _before_ ep0 is up. > > I can get the same pb if i forget to make a 'ifconfig ep0 down' before > the 'setmac ep0 blah'... or even if ep0 is not yet configured. > > It's _very_ important that 'setmac ep0 blah' is called _after_ ep0 is > down, and ep0 can be down only _after_ pccard has done is job (as long > i've understood this process). > > With your solution, it seems that, when setmac is called, ep0 is not > yet configured (/var/log/messages says 'ep0: no such device'). > can you add an insert line or two at the beginning to bring the card up and down before you call setmac? ----- Chris D. Faulhaber | All the true gurus I've met never System/Network Administrator, | claimed they were one, and always Reality Check Information, Inc. | pointed to someone better. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message