From owner-freebsd-mobile Thu Aug 2 10:24:40 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from lists.unixathome.org (lists.unixathome.org [210.48.103.158]) by hub.freebsd.org (Postfix) with ESMTP id 49A1C37B401 for ; Thu, 2 Aug 2001 10:24:36 -0700 (PDT) (envelope-from dan@langille.org) Received: from wocker (lists.unixathome.org [210.48.103.158]) by lists.unixathome.org (8.11.1/8.11.1) with ESMTP id f72HOUt77757; Fri, 3 Aug 2001 05:24:30 +1200 (NZST) (envelope-from dan@langille.org) Message-Id: <200108021724.f72HOUt77757@lists.unixathome.org> From: "Dan Langille" Organization: novice in training To: "Kevin Oberman" Date: Thu, 2 Aug 2001 13:24:28 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: setting keys : pccard.conf or dhclient-exit-hooks Reply-To: dan@langille.org Cc: mobile@FreeBSD.ORG In-reply-to: <200108021605.f72G5jm04084@ptavv.es.net> References: Your message of "Thu, 02 Aug 2001 11:38:20 EDT." <200108021538.f72FcQt76326@lists.unixathome.org> X-mailer: Pegasus Mail for Win32 (v3.12c) 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 2 Aug 2001, at 9:05, Kevin Oberman wrote: > > From: "Dan Langille" > > Date: Thu, 2 Aug 2001 11:38:20 -0400 > > > > On 2 Aug 2001, at 8:17, Kevin Oberman wrote: > > > > > > From: "Dan Langille" > > > > Date: Thu, 2 Aug 2001 08:57:51 -0400 > > > > Sender: owner-freebsd-mobile@FreeBSD.ORG > > > > > > > > I'm trying to get my wireless cards to use encryption (it's about time > > > > too). Looking in the archives, there seems to be two approaches. > > > > Either modify /etc/pccard.conf or /etc/dhclient-exit-hooks. Could I have > > > > some views on both approaches please. > > > > > > Dan, > > > > > > I don't do either any more. I use the /etc/start_if.wi0 file to set my > > > key and enable it. I find this a bit cleaner than the pccard.conf route > > > (which I used before start_if was added). But they are functionally > > > identical. I don't like putting it in the client_hooks as I don't > > > really believe that this is a function related to DHCP. > > > > Ahh, then which of the following entries in my /etc/pccard.conf should > > also go there? > > > > config 0x1 "wi" 5 > > insert /etc/pccard_ether $device start > > insert wicontrol -i $device -p 3 > > remove /etc/pccard_ether $device stop > > I try to leave my pccard.conf file alone and the only thing in it at > present is the irq line (since most of the IRQs listed in the defaults > file are used on my laptop). Here is my complete and untouched > /etc/pcard.conf file: > irq 7 9 > > My start_if.wi0 file consists of: > wicontrol -i wi0 -k 0x0123456789 > wicontrol -i wi0 -e 1 Hmmm, I tried this: [dan@xeon:/etc] $ more start_if.wi0 wicontrol -i wi0 -p 3 wicontrol -i w10 -k 0x0123456789 but it fails to set the key: $ sudo wicontrol -i wi0 | grep keys Encryption keys: [ ][ ][ ][ ] clues please? $ more /etc/pccard.conf irq 5 -- Dan Langille pgpkey - finger dan@unixathome.org | http://unixathome.org/finger.php To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message