From owner-freebsd-questions@FreeBSD.ORG Mon Nov 2 23:57:55 2009 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 88F32106566C for ; Mon, 2 Nov 2009 23:57:55 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 3B7228FC0A for ; Mon, 2 Nov 2009 23:57:55 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 9so1159430qwb.7 for ; Mon, 02 Nov 2009 15:57:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:in-reply-to:message-id:references:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; bh=K/B82/mx3PWl1wdQ6zqlEkIYXVNX2GTdOELsaGYRT+o=; b=mJBxZZ3HOAHIa7dzWhdFxiHcN8VHrkKCaNg2cOAc/PIQwDZSTIfpDrzZ1WQVy2cO01 WlQn47Aw4wRYEMEzC9EzNnHMWQ83T165lH8BqFhtaPZ8XeDQxw4fFwdnt7AlDxolRzXg iwwh1wymmgGeuCBQ+RB4tEPbdCT9+IpNA6TQc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=DDibnl/LD/0v4d7JemNAm8FpetqUjgy2y8fiYNq8hCSgC7jw16HjmZq4d6PBhRodNV du7xddvQj17awAuQiJ2/nohfGYyeoT1Zus/rku4VuXuDCirFej7Zv8v6DrKWRx6SBdJO iP+EynGag1Su0G6E5dCJqNq5b/L/3O5TCq0WM= Received: by 10.224.79.232 with SMTP id q40mr3204293qak.239.1257206274606; Mon, 02 Nov 2009 15:57:54 -0800 (PST) Received: from ppp-23.246.dialinfree.com (ppp-23.246.dialinfree.com [209.172.23.246]) by mx.google.com with ESMTPS id 22sm3599386qyk.6.2009.11.02.15.57.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 02 Nov 2009 15:57:53 -0800 (PST) Sender: "J. Hellenthal" Date: Mon, 2 Nov 2009 18:57:41 -0500 From: jhell To: Paul B Mahol In-Reply-To: <3a142e750911021427ua460887vdd6a22382c3c1939@mail.gmail.com> Message-ID: References: <20091102221422.GA7482@guilt.hydra> <3a142e750911021427ua460887vdd6a22382c3c1939@mail.gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Questions Subject: Re: WPA: specify alternate config file in rc.conf 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: Mon, 02 Nov 2009 23:57:55 -0000 On Mon, 2 Nov 2009 17:27, onemda@ wrote: > On 11/2/09, Chad Perrin wrote: >> If I want to start wpa_supplicant directly, and specify a particular >> configuration file, I can do something like this: >> >> wpa_supplicant -i iwi0 -c /path/to/wpa_alternate.conf >> >> How would I specify the use of /path/to/wpa_alternate.conf in my rc.conf >> ifconfig line, rather than just going with the default >> /etc/wpa_supplicant.conf file? > > Look into /etc/defaults/rc.conf for hint. > This is not a option in rc.conf default or otherwise ATM. The proper place to look for changing this: etc/rc.d/wpa_supplicant where it is hard-written to the start-up script/routine. This should probably be something that is handled in the default rc.conf through wpa_supplicant_flags and a default set for them to start from so it can at least be changed on a per use basis. I could have swore this was already in place in earlier sources. Best regards. -- Mon Nov 2 18:49:34 2009 -0500 jhell