Date: Thu, 21 Jun 2001 14:46:55 -0700 (PDT) From: Mikko Tyolajarvi <mikko@dynas.se> To: mobile@freebsd.org Subject: Re: fa_select startup Message-ID: <200106212146.f5LLkti61187@explorer.rsa.com> References: <Pine.LNX.4.30.0106211828420.20233-100000@spice.eahd.or.ug>; from patrick@eahd.or.ug on Thu, Jun 21, 2001 at 06:31:12PM %2B0300 <20010621102505.D63569@peorth.iteration.net>
next in thread | previous in thread | raw e-mail | index | archive | help
>On Thu, Jun 21, 2001 at 06:31:12PM +0300, Patrick scribbled: >| On Thu, 21 Jun 2001 Craig.Burlingame@nokia.com wrote: >| > Thanks to everyone who has contributed to the various sources on how to get >| > the NetGear FA410TXC card to work. I have now successfully loaded FreeBSD >| > v4.3 onto a Toshiba Tecra8000 with the NetGear card. The only issues I now >| > face, is how, and where, to automate the running of fa_select so that it is >| > executed before the start of the network services (but after pccard starts). >| <snip> >| >| What about just putting a line in /etc/rc.local (the same line you would >| type at the prompt to start it as root). >The best way would be like this: >card "Lucent Technologies" "WaveLAN/IEEE" > config 0x1 "wi" ? > insert /etc/pccard_ether $device start > insert sh /etc/setup_wi > remove /etc/pccard_ether $device stop > remove /sbin/ifconfig $device delete >/etc/setup_wi is a shell script that does whatever setup >I wish to do to the card. Better yet, put the code in /etc/start_if.<interface> and it should work out of the box. Hmm... dang. Requires -STABLE, does not seem to be supported by /etc/pccard_ether in -RELEASE. >Of course, I am lazy, but you can do the same thing for >remove, before the $device stop. Such as shutting down your >VPN and things like that. Guess what? There is a matching stop_if.<interface> as well :) $.02, /Mikko -- Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security 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?200106212146.f5LLkti61187>