From owner-freebsd-questions@FreeBSD.ORG Wed Dec 11 17:47:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94A75780; Wed, 11 Dec 2013 17:47:54 +0000 (UTC) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 04F491551; Wed, 11 Dec 2013 17:47:53 +0000 (UTC) Received: from mart.js.berklix.net (pD9FBF3F5.dip0.t-ipconnect.de [217.251.243.245]) (authenticated bits=128) by land.berklix.org (8.14.5/8.14.5) with ESMTP id rBBHlgUQ020148; Wed, 11 Dec 2013 17:47:43 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id rBBHlXKr004141; Wed, 11 Dec 2013 18:47:33 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost.js.berklix.net [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id rBBHlFXJ025741; Wed, 11 Dec 2013 18:47:21 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201312111747.rBBHlFXJ025741@fire.js.berklix.net> To: Devin Teske Subject: Re: Starting the wpa_supplicant Daemon from rc.conf From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Wed, 11 Dec 2013 17:18:49 GMT." Date: Wed, 11 Dec 2013 18:47:15 +0100 Sender: jhs@berklix.com Cc: Martin McCormick , "Teske, Devin" , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Dec 2013 17:47:54 -0000 "Teske, Devin" wrote: > On Dec 10, 2013, at 1:56 PM, Martin McCormick wrote: > > We are using 802.1x on our wired network and the wpa_supplicant > > on this system works like it should to authenticate with the > > network if manually called as in > > > > sudo ./etc/testwpa which is the name I gave the script that > > calls wpa_supplicant and gives it the configuration file and > > interface information to authenticate. > > > > The only thing that is not yet working is getting > > wpa_supplicant to authenticate automatically upon reboot or > > startup. I presently have the following in /etc/rc.conf: > > > > #wpa_supplicant > > wpa_supplicant_enable="YES" > > wpa_supplicant_program="/usr/sbin/wpa_supplicant" > > #executable > > wpa_supplicant_flags="-B -c/etc/wpa_supplicant.conf -D wired -i le0" > > > > What you actually want is: > > ifconfig_le0=" WPA" > # Don't worry, the WPA will be stripped out when talking to ifconfig(8) > # NB: WPA can appear anywhere in the ifconfig_* value Martin, I notice my rc.conf also has ifconfig_wlan0="WPA" Sorry I didnt mention it earlier, I didn't notice it, & my WLAN config is a mess, a work in progress, (pending a new test net). I also noticed that le0 looks wrong for a 2nd reason: man le says your le is an ethernet device, my rc.conf has these snippets wlans_urtwn0="wlan0" wlans_run0="wlan0" # man urtwn & man run : ... wireless nets ifconfig_wlan0="DHCP" ifconfig_wlan0="WPA" wlandebug_wlan0="scan+auth+assoc" # /etc/defaults/rc.conf Though may be misleading, as said, work in progress. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Interleave replies below like a play script. Indent old text with "> ". Send plain text, not quoted-printable, HTML, base64, or multipart/alternative. Mailbox overflow 2013_12_10_21:00 - 2013_12_11_11:00 GMT. No reply: Resend.