From owner-freebsd-mobile Thu Jun 21 8:25: 9 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from peorth.iteration.net (peorth.iteration.net [208.190.180.178]) by hub.freebsd.org (Postfix) with ESMTP id 540ED37B406 for ; Thu, 21 Jun 2001 08:25:06 -0700 (PDT) (envelope-from keichii@iteration.net) Received: by peorth.iteration.net (Postfix, from userid 1001) id C880F59228; Thu, 21 Jun 2001 10:25:05 -0500 (CDT) Date: Thu, 21 Jun 2001 10:25:05 -0500 From: "Michael C . Wu" To: Patrick Cc: Craig.Burlingame@nokia.com, freebsd-mobile@freebsd.org Subject: Re: fa_select startup Message-ID: <20010621102505.D63569@peorth.iteration.net> Reply-To: "Michael C . Wu" Mail-Followup-To: "Michael C . Wu" , Patrick , Craig.Burlingame@nokia.com, freebsd-mobile@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from patrick@eahd.or.ug on Thu, Jun 21, 2001 at 06:31:12PM +0300 X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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). | | | 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. 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. -- +-----------------------------------------------------------+ | keichii@iteration.net | keichii@freebsd.org | | http://iteration.net/~keichii | Yes, BSD is a conspiracy. | +-----------------------------------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message