From owner-freebsd-wireless@FreeBSD.ORG Tue Jul 23 14:34:19 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C6E5DA76 for ; Tue, 23 Jul 2013 14:34:19 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-we0-x233.google.com (mail-we0-x233.google.com [IPv6:2a00:1450:400c:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 60D0D21BC for ; Tue, 23 Jul 2013 14:34:19 +0000 (UTC) Received: by mail-we0-f179.google.com with SMTP id t57so2427327wes.24 for ; Tue, 23 Jul 2013 07:34:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=l4DKhYhcPkGzggJQvMQOCdQnFSNiwCOUr5y59Cx/nG4=; b=Twx16HAwBZBt+06ZUDy/VGRUPfSPlALyQTFGp6nwSWGUqXFcVOujqNWsSd9E21k1Fb RFNfZlNI5cG3oS+e+cZ/jO+G8QaWFd89Jkln8mwqnU1E2OyA1mCNeD2NoQnSIvJXhSBi LAK5y11xdZVwPW5qHCXszbJTIYMbLzq94++DNg/RBf/gnQnnRlmlHFASoCx1nGYtZcCv Q5UGXclSs7rWop5mJKlte2y+kpblEhq6mFZxKQKYLehVLrEH6Ydo1e9rpP5yWvSWObYg U9PnuV6Id8MBDnFEp8FtkZ7oiQTCu0p3ZOkpw64Dh2PmyoHgIssSkiPhhUuMdiHYnjjF d5IA== MIME-Version: 1.0 X-Received: by 10.180.82.196 with SMTP id k4mr33796279wiy.0.1374590057807; Tue, 23 Jul 2013 07:34:17 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.94.132 with HTTP; Tue, 23 Jul 2013 07:34:17 -0700 (PDT) In-Reply-To: References: Date: Tue, 23 Jul 2013 07:34:17 -0700 X-Google-Sender-Auth: D8JD11PP3UIUv-8jYgGI_45TCgQ Message-ID: Subject: Re: wifi hostap Atheros AR938x From: Adrian Chadd To: "Sam Fourman Jr." Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Jul 2013 14:34:19 -0000 hostapd drives the hostap side of session and encryption management. You need a hostapd config file to enable WPA/WPA2 and encryption. Put this in /etc/hostapd.conf interface=wlan0 driver=bsd ssid=SSID_THAT_YOU_WANT wpa=3 wpa_key_mgmt=WPA-PSK wpa_passphrase=PSK_THAT_YOU_WANT wpa_pairwise=CCMP ctrl_interface=/var/run/hostapd Then in rc.conf hostapd_enable="YES" Then reboot. It should start hostapd for you. -adrain On 23 July 2013 07:31, Sam Fourman Jr. wrote: > > > On Tue, Jul 23, 2013 at 10:22 AM, Adrian Chadd wrote: >> >> I don't think so. The handbook chapter(s) on wireless need updating. :( > > > Would you mind giving me an example of how to setup 802.11n correctly on > both the hostap side and the client side? > assume both cards are Ath 9300 devices.. > > id like to do security on wifi, but I cant figure out if I am required to > have hosthapd for that.. or if I can do it all from rc.conf.. > I guess im not exactly clear on What hostapd is , and if it is a requirement > in WIFI.. >> >> > > -- > > Sam Fourman Jr.