Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2000 14:16:16 -0600
From:      "Bert Hiddink" <hiddink@galileo.or.cr>
To:        questions@freebsd.org
Subject:   Re: automatic conf of pcmcia ethernet
Message-ID:  <20000913200858.8662E37B42C@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
Hello,

With reference to another message I found:
> My /etc/pccard.conf has:
> 
> card "DYNALINK" "L10C"
>         config  0x20 "ed1" ?
>         ether   0xff0
>         insert  echo PCMCIA Ethernet inserted
>         insert  /etc/pccard_ether ed0
>         remove  echo PCMCIA Ethernet removed
>         remove  /sbin/ifconfig ed0 delete  
> 
> As far as I can see /etc/pccard_ether should get the ifconfig values
> out of rc.conf. Or does this only work if you insert the card *after*
> boot? I just leave it in the laptop, as I don't use any other cards
> with it.
> 
> > > 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

> Marc Schneiders
> 
> marc@venster.nl
> marc@oldserver.demon.nl

I got EXACTLY the same problem as you described above. I have got FreeBSD 4.1 on a Toshiba Intel 
Celeron lap with D-LINK 650 ethernet card.

The card is inserted AFTER setting up the network. As a consequence, shell scripts put in 
/usr/local/etc/rc.d/ which need this card setup, will not work properly (f.e. ifconfig.sh, samba.sh 
or others).

Is there a way to do card insertion at an earlier stage of booting?

Many thanks in advance for your ideas!

Regards,

-brt 


, I posted my message yesterday. I have not got any clues so far. Did you achieve the resolve the 
problem? If yes, please drop a note.

Many thanks in advance!

-brt
------- End of forwarded message -------


   Bert Hiddink, FUNDACION GALILEO
   Correo electronico: hiddink@galileo.or.cr
   Sitio: http://www.galileo.or.cr
   Tel. (506) 280 8683, telefax. (506) 280 8847


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




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