Skip site navigation (1)Skip section navigation (2)
Date:      06 Sep 1999 01:37:10 +0200
From:      Eric Jacoboni <jaco@titine.fr.eu.org>
To:        FreeBSD-mobile@FreeBSD.ORG
Subject:   Re: Configuring PCMCIA NIC after it's loaded
Message-ID:  <87r9kdnd5l.fsf@titine.fr.eu.org>
In-Reply-To: "Chris D. Faulhaber"'s message of "Sun, 5 Sep 1999 18:44:18 -0400 (EDT)"
References:  <Pine.BSF.4.10.9909051842080.90049-100000@pawn.primelocation.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"Chris D. Faulhaber" <jedgar@fxp.org> writes:

> Try putting the commands in /etc/pccard.conf in an 'insert' line:
> 
> card "<MANUFACTURER>" "<CARD VERSION>"
> 	config <stuff goes here>
> 	insert kldload /lkm/setmac.ko
> 	insert /usr/local/sbin/setmac ep0 <blah>
> 	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').

Anyway, thanks for your help, i'm still searching...
-- 
---------------------------------------------------------
Éric Jacoboni       « No sport, cigars! »  (W. Churchill)
---------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87r9kdnd5l.fsf>