From owner-freebsd-mobile Thu Nov 16 13:39:36 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from mail.housebsd.org (corona.housebsd.org [207.112.136.202]) by hub.freebsd.org (Postfix) with ESMTP id 6241337B4C5 for ; Thu, 16 Nov 2000 13:39:34 -0800 (PST) Received: from localhost (localhost [[UNIX: localhost]]) by mail.housebsd.org (8.9.3/8.8.8) with ESMTP id PAA08682 for ; Thu, 16 Nov 2000 15:39:08 -0600 (CST) X-Authentication-Warning: corona.housebsd.org: bauerp owned process doing -bs Date: Thu, 16 Nov 2000 15:39:07 -0600 (CST) From: bauerp X-Sender: bauerp@corona.housebsd.org To: mobile@freebsd.org Subject: wi0 and wicontrol 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 I am trying to setup a line in pccard.conf that will process the contents of /etc/foo when the card is inserted. I need the contents in /etc/foo to be read in order to get the encryption/networking info passed to the card. here is the idea. wicontrol -i wi0 -n "" wicontrol -i wi0 -p -o wicontrol -i wi0 -e 1 wicontrol -i wi0 -k key1 -v 1 wicontrol -i wi0 -k key2 -v 2 wicontrol -i wi0 -k key3 -v 3 wicontrol -i wi0 -k key4 -v 4 dhclient These commands need to be run when the card is inserted. I have tried adding insert /etc/foo and multiple variations of that to pccard.conf to no avail. If anyone can point me in the direction I ned to go I would appreciate it. I am unable to figgure out how to get it to run this file. At the command line sh /etc/foo loads it fine. Just want to make this process a little nicer. Thanks! Paul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message