From owner-freebsd-questions@FreeBSD.ORG Fri Aug 19 17:51:18 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54D36106564A for ; Fri, 19 Aug 2011 17:51:18 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id EEFD08FC16 for ; Fri, 19 Aug 2011 17:51:17 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id p7JHpGPa014264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 19 Aug 2011 12:51:17 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id p7JHpGkJ091452 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 19 Aug 2011 12:51:16 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id p7JHpGuv091451; Fri, 19 Aug 2011 12:51:16 -0500 (CDT) (envelope-from dan) Date: Fri, 19 Aug 2011 12:51:16 -0500 From: Dan Nelson To: "Zane C. B-H." Message-ID: <20110819175115.GA11383@dan.emsphone.com> References: <20110819072234.38e655d6@vixen42.vulpes.vvelox.net> <201108191414.p7JEEsgA069695@mail.r-bonomi.com> <20110819092653.422f2b9b@vixen42.vulpes.vvelox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110819092653.422f2b9b@vixen42.vulpes.vvelox.net> X-OS: FreeBSD 8.2-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.2 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Fri, 19 Aug 2011 12:51:17 -0500 (CDT) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: wpa_cli issues X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Aug 2011 17:51:18 -0000 In the last episode (Aug 19), Zane C. B-H. said: > On Fri, 19 Aug 2011 09:14:54 -0500 (CDT) Robert Bonomi wrote: > > From: "Zane C. B-H." > > > Is there any way to undefine a variable once it has been set? > > > > *As(stated*, the answer involves the offspring of the mating of a > > rhinoceros and an elephand. > > > > =GUESSING= that you mean a shell 'envionment variable', the answer > > is 'yes'. _How_ one can do it depends on the shell (*unspecified*!) > > being used. 'unsetenv' _may_ do the trick. Alternatively a > > variable assignment with no value (.e.g "VARIABLE=") may work. > > Blarg? > > None of these is even vaguely related to my question about wpa_cli, > as stated in the subject. wpa_cli only understands a fixed list of variables to set, and it doesn't make sense to "undefine" them. You can set them back to their default values, but they must have a value. Defaults from looking at the source: EAPOL::heldPeriod = 60 EAPOL::startPeriod = 30 EAPOL::maxStart = 3 EAPOL::authPeriod = 30 dot11RSNAConfigPMKLifetime = 43200 dot11RSNAConfigPMKReauthThreshold = 70 dot11RSNAConfigSATimeout = 60 Running "set" from within wpa_cli should print these values, too, according to the manpage. -- Dan Nelson dnelson@allantgroup.com