From owner-freebsd-wireless@FreeBSD.ORG Sun May 17 21:00:33 2015 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 288194C3 for ; Sun, 17 May 2015 21:00:33 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 191031D8D for ; Sun, 17 May 2015 21:00:33 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4HL0Wre028111 for ; Sun, 17 May 2015 21:00:32 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201505172100.t4HL0Wre028111@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-wireless@FreeBSD.org Subject: Problem reports for freebsd-wireless@FreeBSD.org that need special attention X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Date: Sun, 17 May 2015 21:00:32 +0000 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Sun, 17 May 2015 21:00:33 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 154598 | [ath] Atheros 5424/2424 can't connect to WPA netw Open | 163312 | [panic] [ath] kernel panic: page fault with ath0 Open | 166190 | [ath] TX hangs and frames stuck in TX queue Open | 166357 | [ath] 802.11n TX stall when the first frame in th Open | 169362 | [ath] AR5416: radar pulse PHY errors sometimes in 5 problems total for which you should take action. From owner-freebsd-wireless@FreeBSD.ORG Wed May 20 15:11:42 2015 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2F7707C for ; Wed, 20 May 2015 15:11:42 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 19F36163D for ; Wed, 20 May 2015 15:11:42 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4KFBfD6074473 for ; Wed, 20 May 2015 15:11:41 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 200348] panic when detaching usb wifi Date: Wed, 20 May 2015 15:11:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 10.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: proler@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 20 May 2015 15:11:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200348 Bug ID: 200348 Summary: panic when detaching usb wifi Product: Base System Version: 10.1-RELEASE Hardware: i386 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: wireless Assignee: freebsd-wireless@FreeBSD.org Reporter: proler@gmail.com Created attachment 156977 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=156977&action=edit core.0 playig with security/openssh-portable with sctp patch after detaching usb wifi card got panic -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-wireless@FreeBSD.ORG Wed May 20 16:29:21 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C7A5AF6 for ; Wed, 20 May 2015 16:29:21 +0000 (UTC) Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5A9991008 for ; Wed, 20 May 2015 16:29:21 +0000 (UTC) Received: by wicmx19 with SMTP id mx19so161186690wic.0 for ; Wed, 20 May 2015 09:29:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=OYQHFyyBeRdcJkxDNFnemEQXkicDWtIZW081pbixFxE=; b=DACuTDuvsXzGUOlV3hMxiQbl/3E67ds63oe+cVvyjWvHu0FzXaFfp5UJg7WpB+AU+x BsGXQKhJ5ozZQMw3bHZ8Z5CpzhcFsN2xZjjvLwd/Gaw8pDnynscnXctUF1AxBxwnXryk TRZtHLWiGT8XdEDWDGH7+Y1idDFpRSx6lab1hStpKWsu5mSurZ+Z1v16nRIunfz1RJM1 Xt/AcVFLHmUuIUQTNlJ1OsKzrMYlCitl+7FlG90lpWFnSYNQspKukJOvcwPCMXcol4br p9pFtqHmydcntLIkKazZY/g1JhG53kpoAJwEtIgkvoX4oQ8O4EQwp79rEpwTkrjsgKzn Ayuw== X-Received: by 10.180.74.10 with SMTP id p10mr35100315wiv.3.1432139359827; Wed, 20 May 2015 09:29:19 -0700 (PDT) Received: from ?IPv6:2001:4200:7000:100:9807:19f4:3109:40dd? ([2001:4200:7000:100:9807:19f4:3109:40dd]) by mx.google.com with ESMTPSA id n1sm4294578wix.0.2015.05.20.09.29.18 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 May 2015 09:29:19 -0700 (PDT) Message-ID: <555CB658.6040103@gmail.com> Date: Wed, 20 May 2015 18:29:12 +0200 From: Johann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-wireless@freebsd.org Subject: Re: hostapd + freeradius can't connect References: <01e701d08d75$fed02bd0$fc708370$@gmail.com> <003c01d08dbe$6018b900$204a2b00$@gmail.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 20 May 2015 16:29:21 -0000 On 2015/05/16 08:03 AM, Adrian Chadd wrote: > Hi, > Has this ever worked? Yes. I got it working in April 2012 on FreeBSD 8 and 9. I've used a FreeRadius server and a FreeBSD client with wpa_supplicant to test it. At that stage you had to enable the eap_server when you compile hostapd # echo HOSTAPD_CFLAGS+=-DEAP_SERVER >> /etc/src.conf # cd /usr/src/usr.sbin/wpa/hostapd # make # make install but Bernhard Schmidt fixed it so that EAP_SERVER was enabled by default. Here is the configs that I used: rc.conf hostname="AP-vlan" wlans_ath0="wlan0" create_args_wlan0="wlanmode hostap country ZA" ifconfig_wlan0="146.64.5.5/24 mode 11g channel 6" defaultrouter="146.64.5.1" hostapd_enable="YES" cloned_interfaces="bridge0" ifconfig_bridge0="addm sis0 addm wlan0 up" ifconfig_sis0="up" hostapd.conf interface=wlan0 ctrl_interface=/var/run/hostapd ctrl_interface_group=wheel ssid=testAP hw_mode=g channel=6 wpa=1 wpa_pairwise=CCMP TKIP wpa_key_mgmt=WPA-EAP wpa_pairwise=TKIP CCMP rsn_pairwise=CCMP Hope it helps Regards Johann From owner-freebsd-wireless@FreeBSD.ORG Wed May 20 16:31:20 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C5B87221 for ; Wed, 20 May 2015 16:31:20 +0000 (UTC) Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8DFC21108 for ; Wed, 20 May 2015 16:31:20 +0000 (UTC) Received: by igbhj9 with SMTP id hj9so66075923igb.1 for ; Wed, 20 May 2015 09:31:20 -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:message-id:subject :from:to:cc:content-type; bh=w+aT5hT+xQOTtvanesA3SAZMmI6vnpzeFKcnNdKSsZs=; b=E2iIBC4Q39010iKw7AuQxrbnIvQDjI68p9jmcAIH1PneRw77EjWnn/qPGXLY9b6XBS A+RgkrDUNIjWZZg3wnapWaWY5uDZGWPxrLOxtK6GuToXXE5WscdjhYxL9yWGhBak9XM1 Tdk41Wv0NHfuJZhZ3vGLkPn4qqjxYMR61oLQLRGjEvRNR5jnnf8Glp7ExTpiTvYoWfZQ t3Dvzui55xbKTILk615hcMx9DJX0Eki2p/qNjTaA4QM2Yf/SF83lwKy9AJVm61nItTOZ SqENBiZaCWelp6AiKmm5pPNH8AgZp5f5LmmikC3gDZs6IGBf6AHdS0mpQ2Kt+t8mmJOx 1YQw== MIME-Version: 1.0 X-Received: by 10.50.79.232 with SMTP id m8mr28969760igx.6.1432139480094; Wed, 20 May 2015 09:31:20 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Wed, 20 May 2015 09:31:20 -0700 (PDT) In-Reply-To: <555CB658.6040103@gmail.com> References: <01e701d08d75$fed02bd0$fc708370$@gmail.com> <003c01d08dbe$6018b900$204a2b00$@gmail.com> <555CB658.6040103@gmail.com> Date: Wed, 20 May 2015 09:31:20 -0700 X-Google-Sender-Auth: wAGffP1TWTxObtx-xnbAbpOUGKg Message-ID: Subject: Re: hostapd + freeradius can't connect From: Adrian Chadd To: Johann Cc: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 20 May 2015 16:31:20 -0000 Hm, what do I use for the username/password field in wpa_supplicant? -a On 20 May 2015 at 09:29, Johann wrote: > On 2015/05/16 08:03 AM, Adrian Chadd wrote: >> >> Hi, >> Has this ever worked? > > > Yes. > > I got it working in April 2012 on FreeBSD 8 and 9. I've used a FreeRadius > server and a FreeBSD client with wpa_supplicant to test it. > > At that stage you had to enable the eap_server when you compile hostapd > > # echo HOSTAPD_CFLAGS+=-DEAP_SERVER >> /etc/src.conf > # cd /usr/src/usr.sbin/wpa/hostapd > # make > # make install > > but Bernhard Schmidt fixed it so that EAP_SERVER was enabled by default. > > > Here is the configs that I used: > > rc.conf > hostname="AP-vlan" > wlans_ath0="wlan0" > create_args_wlan0="wlanmode hostap country ZA" > ifconfig_wlan0="146.64.5.5/24 mode 11g channel 6" > defaultrouter="146.64.5.1" > hostapd_enable="YES" > cloned_interfaces="bridge0" > ifconfig_bridge0="addm sis0 addm wlan0 up" > ifconfig_sis0="up" > > > hostapd.conf > interface=wlan0 > ctrl_interface=/var/run/hostapd > ctrl_interface_group=wheel > ssid=testAP > hw_mode=g > channel=6 > > wpa=1 > wpa_pairwise=CCMP TKIP > wpa_key_mgmt=WPA-EAP > wpa_pairwise=TKIP CCMP > rsn_pairwise=CCMP > > Hope it helps > > Regards > Johann > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Wed May 20 16:37:12 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0981F7FA; Wed, 20 May 2015 16:37:12 +0000 (UTC) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8E4F3118F; Wed, 20 May 2015 16:37:11 +0000 (UTC) Received: by wicmx19 with SMTP id mx19so161424584wic.0; Wed, 20 May 2015 09:37:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=z2EKq9K4TR91qoGVYkuOqTncUU3lH6bIF76yjeEdWSE=; b=tGNB9YK+RJ7w/rl/M/D47zES30ONtNriS78k7ikJiCwcV+CI+idsbLLmgKorXZrrtC SAVE92LgIbt1cYAutd6vxnnJVX/KUs/MNtmIG+UyGMd3aCalIm4vo6sx2CAomx9KnwfL tbLCOvuf2yd2vSU8M4F/As7Ajyuu7bo/IdcneLGfaCVpqIdMqw0zydu0xRLfGGGFz76F WMFazZ8ph+YX42BuBvQrdueL5gFCm5OO0N+zkDLOe9gXCGLnSpEVecI0iJKoGjCn9aVa WBZzcHmi9BRQl5Nphb6ZVBayW0+7jTWa+RMGWUrZKqwxl7rUvOg5OOeZ50sJxIu+qVcT RAmw== X-Received: by 10.194.204.230 with SMTP id lb6mr56048397wjc.63.1432139829968; Wed, 20 May 2015 09:37:09 -0700 (PDT) Received: from ?IPv6:2001:4200:7000:100:9807:19f4:3109:40dd? ([2001:4200:7000:100:9807:19f4:3109:40dd]) by mx.google.com with ESMTPSA id b10sm4335318wic.1.2015.05.20.09.37.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 May 2015 09:37:09 -0700 (PDT) Message-ID: <555CB82D.9090501@gmail.com> Date: Wed, 20 May 2015 18:37:01 +0200 From: Johann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Adrian Chadd CC: "freebsd-wireless@freebsd.org" Subject: Re: hostapd + freeradius can't connect References: <01e701d08d75$fed02bd0$fc708370$@gmail.com> <003c01d08dbe$6018b900$204a2b00$@gmail.com> <555CB658.6040103@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 20 May 2015 16:37:12 -0000 You need a valid user on the freeradius server. You can add something like this at the end of the /usr/local/etc/raddb/users file. "wifi" User-Password == "test" Then you add that to wpa_supplicant On 2015/05/20 06:31 PM, Adrian Chadd wrote: > Hm, what do I use for the username/password field in wpa_supplicant? > > > -a > > > On 20 May 2015 at 09:29, Johann wrote: >> On 2015/05/16 08:03 AM, Adrian Chadd wrote: >>> Hi, >>> Has this ever worked? >> >> Yes. >> >> I got it working in April 2012 on FreeBSD 8 and 9. I've used a FreeRadius >> server and a FreeBSD client with wpa_supplicant to test it. >> >> At that stage you had to enable the eap_server when you compile hostapd >> >> # echo HOSTAPD_CFLAGS+=-DEAP_SERVER >> /etc/src.conf >> # cd /usr/src/usr.sbin/wpa/hostapd >> # make >> # make install >> >> but Bernhard Schmidt fixed it so that EAP_SERVER was enabled by default. >> >> >> Here is the configs that I used: >> >> rc.conf >> hostname="AP-vlan" >> wlans_ath0="wlan0" >> create_args_wlan0="wlanmode hostap country ZA" >> ifconfig_wlan0="146.64.5.5/24 mode 11g channel 6" >> defaultrouter="146.64.5.1" >> hostapd_enable="YES" >> cloned_interfaces="bridge0" >> ifconfig_bridge0="addm sis0 addm wlan0 up" >> ifconfig_sis0="up" >> >> >> hostapd.conf >> interface=wlan0 >> ctrl_interface=/var/run/hostapd >> ctrl_interface_group=wheel >> ssid=testAP >> hw_mode=g >> channel=6 >> >> wpa=1 >> wpa_pairwise=CCMP TKIP >> wpa_key_mgmt=WPA-EAP >> wpa_pairwise=TKIP CCMP >> rsn_pairwise=CCMP >> >> Hope it helps >> >> Regards >> Johann >> >> _______________________________________________ >> freebsd-wireless@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Wed May 20 17:20:45 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4208DDDB for ; Wed, 20 May 2015 17:20:45 +0000 (UTC) Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D46D5172E for ; Wed, 20 May 2015 17:20:44 +0000 (UTC) Received: by wgfl8 with SMTP id l8so60048391wgf.2 for ; Wed, 20 May 2015 10:20:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=4o8eIsGComXG3kuc6sWivEF1MTxA+r4DnutFJXkKS7A=; b=Mb/vftxWtnJ5Crn9PWuRWmMesGpdPV5ENtcxszKjpcojr7/gTjYNGRy0y16KfBRRaP oJ8amLvOmaihpfKBTOHNqWHlZaq3kIpxpQPNgFgmd6FHruzC/jTloI19+CUn4z93AA1s nbXR4wAPHss04JuU7UZT0DoKfjahZR5F/def8CNRByqkbRmIbZ66/HcpQh4TePiUUs9v eijhZvF9vz/hL1buIe4qymwnmKUmc2rYRf+SH8Jm3HDWMO39fN9MzF9yBfROxu+8GMkR SfXqms6WvuHi0I58IYkLu2lNz9p1uJmQU39S8JkgV7CqANes11a2TKn/SNJ7x3TJ8vRw 2hLQ== X-Received: by 10.194.92.2 with SMTP id ci2mr63134620wjb.34.1432142441375; Wed, 20 May 2015 10:20:41 -0700 (PDT) Received: from ?IPv6:2001:4200:7000:100:9807:19f4:3109:40dd? ([2001:4200:7000:100:9807:19f4:3109:40dd]) by mx.google.com with ESMTPSA id bg4sm27846122wjc.10.2015.05.20.10.20.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 May 2015 10:20:40 -0700 (PDT) Message-ID: <555CC261.8080505@gmail.com> Date: Wed, 20 May 2015 19:20:33 +0200 From: Johann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-wireless@freebsd.org Subject: Re: hostapd + freeradius can't connect References: <01e701d08d75$fed02bd0$fc708370$@gmail.com> <003c01d08dbe$6018b900$204a2b00$@gmail.com> <555CB658.6040103@gmail.com> In-Reply-To: <555CB658.6040103@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 20 May 2015 17:20:45 -0000 On 2015/05/20 06:29 PM, Johann wrote: > On 2015/05/16 08:03 AM, Adrian Chadd wrote: >> Hi, >> Has this ever worked? > > Yes. > > I got it working in April 2012 on FreeBSD 8 and 9. I've used a > FreeRadius server and a FreeBSD client with wpa_supplicant to test it. > > At that stage you had to enable the eap_server when you compile hostapd > > # echo HOSTAPD_CFLAGS+=-DEAP_SERVER >> /etc/src.conf > # cd /usr/src/usr.sbin/wpa/hostapd > # make > # make install > > but Bernhard Schmidt fixed it so that EAP_SERVER was enabled by default. > > > Here is the configs that I used: > > rc.conf > hostname="AP-vlan" > wlans_ath0="wlan0" > create_args_wlan0="wlanmode hostap country ZA" > ifconfig_wlan0="146.64.5.5/24 mode 11g channel 6" > defaultrouter="146.64.5.1" > hostapd_enable="YES" > cloned_interfaces="bridge0" > ifconfig_bridge0="addm sis0 addm wlan0 up" > ifconfig_sis0="up" > > > hostapd.conf > interface=wlan0 > ctrl_interface=/var/run/hostapd > ctrl_interface_group=wheel > ssid=testAP > hw_mode=g > channel=6 > > wpa=1 > wpa_pairwise=CCMP TKIP > wpa_key_mgmt=WPA-EAP > wpa_pairwise=TKIP CCMP > rsn_pairwise=CCMP > > Hope it helps > > Regards > Johann > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to > "freebsd-wireless-unsubscribe@freebsd.org" > Looks like this part of hostapd.conf got lost. ieee8021x=1 own_ip_addr=146.64.5.5 auth_server_addr=146.64.8.25 auth_server_port=1812 auth_server_shared_secret=same-as-on-freeradius Johann From owner-freebsd-wireless@FreeBSD.ORG Thu May 21 08:41:38 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7B815385 for ; Thu, 21 May 2015 08:41:38 +0000 (UTC) Received: from cpsmtpb-ews04.kpnxchange.com (cpsmtpb-ews04.kpnxchange.com [213.75.39.7]) by mx1.freebsd.org (Postfix) with ESMTP id D369918D5 for ; Thu, 21 May 2015 08:41:37 +0000 (UTC) Received: from cpsps-ews07.kpnxchange.com ([10.94.84.174]) by cpsmtpb-ews04.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Thu, 21 May 2015 10:40:24 +0200 Received: from CPSMTPM-CMT106.kpnxchange.com ([195.121.3.22]) by cpsps-ews07.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Thu, 21 May 2015 10:40:24 +0200 Received: from donald.offrom.nl ([77.170.60.162]) by CPSMTPM-CMT106.kpnxchange.com over TLS secured channel with Microsoft SMTPSVC(7.0.6002.18264); Thu, 21 May 2015 10:40:22 +0200 Received: from squid (squid.vpn.offrom.nl [10.168.0.72]) by donald.offrom.nl (8.14.9/8.14.9) with ESMTP id t4L8e73i070563 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 21 May 2015 10:40:11 +0200 (CEST) (envelope-from Willem@Offermans.Rompen.nl) Received: from willy by squid with local (Exim 4.80) (envelope-from ) id 1YvM1G-0007tr-DR; Thu, 21 May 2015 10:39:58 +0200 Date: Thu, 21 May 2015 10:39:57 +0200 From: Willem Offermans To: Johann Cc: freebsd-wireless@freebsd.org Subject: Re: hostapd + freeradius can't connect Message-ID: <20150521083957.GB5453@vpn.offrom.nl> Reply-To: Willem@Offermans.Rompen.nl References: <01e701d08d75$fed02bd0$fc708370$@gmail.com> <003c01d08dbe$6018b900$204a2b00$@gmail.com> <555CB658.6040103@gmail.com> <555CC261.8080505@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <555CC261.8080505@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on donald.offrom.nl X-OriginalArrivalTime: 21 May 2015 08:40:23.0636 (UTC) FILETIME=[C74B4140:01D093A1] X-RcptDomain: freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 21 May 2015 08:41:38 -0000 Dear FreeBSD friends, Sorry to interrupt here, but I got triggered by this e-mail thread. Do I understand correctly that it is possible to connect hostapd with FreeRadius and OpenLDAP? Would it be possible to do the authentication of wireless access over the ldap server? If yes, do I need FreeRadius to intermediate between hostapd and OpenLDAP? Is there some documentation around to setup hostapd + OpenLDAP or hostapd + FreeRadius + OpenLDAP under FreeBSD? Sorry, to interrp On Wed, May 20, 2015 at 07:20:33PM +0200, Johann wrote: > On 2015/05/20 06:29 PM, Johann wrote: > >On 2015/05/16 08:03 AM, Adrian Chadd wrote: > >>Hi, > >>Has this ever worked? > > > >Yes. > > > >I got it working in April 2012 on FreeBSD 8 and 9. I've used a > >FreeRadius server and a FreeBSD client with wpa_supplicant to test > >it. > > > >At that stage you had to enable the eap_server when you compile hostapd > > > ># echo HOSTAPD_CFLAGS+=-DEAP_SERVER >> /etc/src.conf > ># cd /usr/src/usr.sbin/wpa/hostapd > ># make > ># make install > > > >but Bernhard Schmidt fixed it so that EAP_SERVER was enabled by default. > > > > > >Here is the configs that I used: > > > >rc.conf > >hostname="AP-vlan" > >wlans_ath0="wlan0" > >create_args_wlan0="wlanmode hostap country ZA" > >ifconfig_wlan0="146.64.5.5/24 mode 11g channel 6" > >defaultrouter="146.64.5.1" > >hostapd_enable="YES" > >cloned_interfaces="bridge0" > >ifconfig_bridge0="addm sis0 addm wlan0 up" > >ifconfig_sis0="up" > > > > > >hostapd.conf > >interface=wlan0 > >ctrl_interface=/var/run/hostapd > >ctrl_interface_group=wheel > >ssid=testAP > >hw_mode=g > >channel=6 > > > >wpa=1 > >wpa_pairwise=CCMP TKIP > >wpa_key_mgmt=WPA-EAP > >wpa_pairwise=TKIP CCMP > >rsn_pairwise=CCMP > > > >Hope it helps > > > >Regards > >Johann > >_______________________________________________ > >freebsd-wireless@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > >To unsubscribe, send any mail to > >"freebsd-wireless-unsubscribe@freebsd.org" > > > Looks like this part of hostapd.conf got lost. > > ieee8021x=1 > own_ip_addr=146.64.5.5 > auth_server_addr=146.64.8.25 > auth_server_port=1812 > auth_server_shared_secret=same-as-on-freeradius > > Johann > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" -- Met vriendelijke groeten, With kind regards, Mit freundlichen Gruessen, De jrus wah, Wiel ************************************* W.K. Offermans From owner-freebsd-wireless@FreeBSD.ORG Thu May 21 16:47:19 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0536FD81 for ; Thu, 21 May 2015 16:47:19 +0000 (UTC) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C185316B8 for ; Thu, 21 May 2015 16:47:18 +0000 (UTC) Received: by ieczm2 with SMTP id zm2so12713693iec.1 for ; Thu, 21 May 2015 09:47: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:message-id:subject :from:to:cc:content-type; bh=RbYPbeOsyhreY5i+yQkHvtIBLcU6J0P8bT3g6Dtc+mw=; b=x8jIXj2bpdNEerLl4GMpZ6zxMnqKO3Tx8ltH8s7JifJJHz6ateJmdvBlQ8j8UT0HzR QA6NCcqrkJGI87WzmwkBHilwNkX8VlXAWlHXpBhx3G1D7diOJm0XDEO0Rm4EQcjsaOLO rr4fJ6HLTi8g9S/Ufgy0ltIKYGWsqeHqkh1bgNzKpHQMZiKTh5dzRfleFg14uRs23QHN LaPS2V+Dxz/i8a6eGDfUmcCxiCXXU47+x/S4OjARNJpYEML8GvRGUpIu5xrlpN6ZWZNb iiXmBnGHjy8oj2GcjHXeMe+1q1l4I9q+Mb7iRbw1diwKjNx+Bbhopxdauz/XDzjWMBrf zuqA== MIME-Version: 1.0 X-Received: by 10.107.155.81 with SMTP id d78mr4573678ioe.29.1432226837653; Thu, 21 May 2015 09:47:17 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Thu, 21 May 2015 09:47:17 -0700 (PDT) In-Reply-To: <20150521083957.GB5453@vpn.offrom.nl> References: <01e701d08d75$fed02bd0$fc708370$@gmail.com> <003c01d08dbe$6018b900$204a2b00$@gmail.com> <555CB658.6040103@gmail.com> <555CC261.8080505@gmail.com> <20150521083957.GB5453@vpn.offrom.nl> Date: Thu, 21 May 2015 09:47:17 -0700 X-Google-Sender-Auth: fgxD4JbRy7O0sLSAyFOfzO_Nk3M Message-ID: Subject: Re: hostapd + freeradius can't connect From: Adrian Chadd To: Willem@offermans.rompen.nl Cc: Johann , "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 21 May 2015 16:47:19 -0000 That's the plan. Once I fix a couple other things I'm going to go see why it currently isn't working. -adrian On 21 May 2015 at 01:39, Willem Offermans wrote: > Dear FreeBSD friends, > > Sorry to interrupt here, but I got triggered by this e-mail thread. > > Do I understand correctly that it is possible to connect hostapd with > FreeRadius and OpenLDAP? Would it be possible to do the authentication of > wireless access over the ldap server? If yes, do I need FreeRadius to > intermediate between hostapd and OpenLDAP? > > Is there some documentation around to setup hostapd + OpenLDAP or hostapd + > FreeRadius + OpenLDAP under FreeBSD? > > Sorry, to interrp > > On Wed, May 20, 2015 at 07:20:33PM +0200, Johann wrote: >> On 2015/05/20 06:29 PM, Johann wrote: >> >On 2015/05/16 08:03 AM, Adrian Chadd wrote: >> >>Hi, >> >>Has this ever worked? >> > >> >Yes. >> > >> >I got it working in April 2012 on FreeBSD 8 and 9. I've used a >> >FreeRadius server and a FreeBSD client with wpa_supplicant to test >> >it. >> > >> >At that stage you had to enable the eap_server when you compile hostapd >> > >> ># echo HOSTAPD_CFLAGS+=-DEAP_SERVER >> /etc/src.conf >> ># cd /usr/src/usr.sbin/wpa/hostapd >> ># make >> ># make install >> > >> >but Bernhard Schmidt fixed it so that EAP_SERVER was enabled by default. >> > >> > >> >Here is the configs that I used: >> > >> >rc.conf >> >hostname="AP-vlan" >> >wlans_ath0="wlan0" >> >create_args_wlan0="wlanmode hostap country ZA" >> >ifconfig_wlan0="146.64.5.5/24 mode 11g channel 6" >> >defaultrouter="146.64.5.1" >> >hostapd_enable="YES" >> >cloned_interfaces="bridge0" >> >ifconfig_bridge0="addm sis0 addm wlan0 up" >> >ifconfig_sis0="up" >> > >> > >> >hostapd.conf >> >interface=wlan0 >> >ctrl_interface=/var/run/hostapd >> >ctrl_interface_group=wheel >> >ssid=testAP >> >hw_mode=g >> >channel=6 >> > >> >wpa=1 >> >wpa_pairwise=CCMP TKIP >> >wpa_key_mgmt=WPA-EAP >> >wpa_pairwise=TKIP CCMP >> >rsn_pairwise=CCMP >> > >> >Hope it helps >> > >> >Regards >> >Johann >> >_______________________________________________ >> >freebsd-wireless@freebsd.org mailing list >> >http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> >To unsubscribe, send any mail to >> >"freebsd-wireless-unsubscribe@freebsd.org" >> > >> Looks like this part of hostapd.conf got lost. >> >> ieee8021x=1 >> own_ip_addr=146.64.5.5 >> auth_server_addr=146.64.8.25 >> auth_server_port=1812 >> auth_server_shared_secret=same-as-on-freeradius >> >> Johann >> >> _______________________________________________ >> freebsd-wireless@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" > > -- > Met vriendelijke groeten, > With kind regards, > Mit freundlichen Gruessen, > De jrus wah, > > Wiel > > ************************************* > W.K. Offermans > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Thu May 21 17:13:10 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6638C4D9 for ; Thu, 21 May 2015 17:13:10 +0000 (UTC) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE1961A55 for ; Thu, 21 May 2015 17:13:09 +0000 (UTC) Received: by wicmx19 with SMTP id mx19so22139843wic.0 for ; Thu, 21 May 2015 10:13:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=0kfVbqVilRa1slQl/caxWcXCdT+gOqHwazabGcGbDEU=; b=hbooJPqhL30ii0DGkF0sNCxQWEyhNeCNKsmorQIQVf6aQOPWnGFXNg3+J2nS7jc17S r3drjQVAK0PTr3Yq3sbAySXYW64MPiVI5/ZBmiatFLV1ZFo24Cj0Q3Wjxfm3PmE4dDKG Zd67i07kzxfUnEIQdQ8vBFew85wnnTNqWjP1LWpJoAghQS/Jr23+dEI3Sic4OQskpkhQ W0zhN7eB8bzI3XHK5oLRIhDiGWEXOeqrnPKVzb3JQHWhdR6H9e8DEkMSSkLqKpaO2rnl IrJAirfpCKWXkUYtUjqzz4kIX2JsKJl3y7OnYlErM0YaKEpS6BXku5ZVz8RmBjgoM9ln MdRQ== X-Received: by 10.194.63.80 with SMTP id e16mr7287803wjs.56.1432228388451; Thu, 21 May 2015 10:13:08 -0700 (PDT) Received: from ?IPv6:2001:4200:7000:100:590d:7849:477:386a? ([2001:4200:7000:100:590d:7849:477:386a]) by mx.google.com with ESMTPSA id pd7sm24252283wjb.27.2015.05.21.10.13.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 May 2015 10:13:07 -0700 (PDT) Message-ID: <555E121C.9050303@gmail.com> Date: Thu, 21 May 2015 19:13:00 +0200 From: Johann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Willem@Offermans.Rompen.nl CC: freebsd-wireless@freebsd.org Subject: Re: hostapd + freeradius can't connect References: <01e701d08d75$fed02bd0$fc708370$@gmail.com> <003c01d08dbe$6018b900$204a2b00$@gmail.com> <555CB658.6040103@gmail.com> <555CC261.8080505@gmail.com> <20150521083957.GB5453@vpn.offrom.nl> In-Reply-To: <20150521083957.GB5453@vpn.offrom.nl> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 21 May 2015 17:13:10 -0000 On 2015/05/21 10:39 AM, Willem Offermans wrote: > Dear FreeBSD friends, > > Sorry to interrupt here, but I got triggered by this e-mail thread. > > Do I understand correctly that it is possible to connect hostapd with > FreeRadius and OpenLDAP? Yes. > Would it be possible to do the authentication of > wireless access over the ldap server? Yes > If yes, do I need FreeRadius to > intermediate between hostapd and OpenLDAP? Yes > > Is there some documentation around to setup hostapd + OpenLDAP or hostapd + > FreeRadius + OpenLDAP under FreeBSD? No > > Sorry, to interrp > > On Wed, May 20, 2015 at 07:20:33PM +0200, Johann wrote: >> On 2015/05/20 06:29 PM, Johann wrote: >>> On 2015/05/16 08:03 AM, Adrian Chadd wrote: >>>> Hi, >>>> Has this ever worked? >>> Yes. >>> >>> I got it working in April 2012 on FreeBSD 8 and 9. I've used a >>> FreeRadius server and a FreeBSD client with wpa_supplicant to test >>> it. >>> >>> At that stage you had to enable the eap_server when you compile hostapd >>> >>> # echo HOSTAPD_CFLAGS+=-DEAP_SERVER >> /etc/src.conf >>> # cd /usr/src/usr.sbin/wpa/hostapd >>> # make >>> # make install >>> >>> but Bernhard Schmidt fixed it so that EAP_SERVER was enabled by default. >>> >>> >>> Here is the configs that I used: >>> >>> rc.conf >>> hostname="AP-vlan" >>> wlans_ath0="wlan0" >>> create_args_wlan0="wlanmode hostap country ZA" >>> ifconfig_wlan0="146.64.5.5/24 mode 11g channel 6" >>> defaultrouter="146.64.5.1" >>> hostapd_enable="YES" >>> cloned_interfaces="bridge0" >>> ifconfig_bridge0="addm sis0 addm wlan0 up" >>> ifconfig_sis0="up" >>> >>> >>> hostapd.conf >>> interface=wlan0 >>> ctrl_interface=/var/run/hostapd >>> ctrl_interface_group=wheel >>> ssid=testAP >>> hw_mode=g >>> channel=6 >>> >>> wpa=1 >>> wpa_pairwise=CCMP TKIP >>> wpa_key_mgmt=WPA-EAP >>> wpa_pairwise=TKIP CCMP >>> rsn_pairwise=CCMP >>> >>> Hope it helps >>> >>> Regards >>> Johann >>> _______________________________________________ >>> freebsd-wireless@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>> To unsubscribe, send any mail to >>> "freebsd-wireless-unsubscribe@freebsd.org" >>> >> Looks like this part of hostapd.conf got lost. >> >> ieee8021x=1 >> own_ip_addr=146.64.5.5 >> auth_server_addr=146.64.8.25 >> auth_server_port=1812 >> auth_server_shared_secret=same-as-on-freeradius >> >> Johann >> >> _______________________________________________ >> freebsd-wireless@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Thu May 21 17:18:08 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5BF546A7; Thu, 21 May 2015 17:18:08 +0000 (UTC) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F2BFE1A99; Thu, 21 May 2015 17:18:07 +0000 (UTC) Received: by wicmc15 with SMTP id mc15so19431171wic.1; Thu, 21 May 2015 10:18:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=PTE6epJpWN3rt/LuXNg3YUAwbjltYwtS6MZXTdcrT68=; b=OQDPaHyksZdDqzZD1llHmVinCmIgnuaBxRZmwxCAivYrmkXRgag4AGQH6wBfgQaERC NPBbVTilxVE2dXF6+BjQ/gE7B18qehxxRFZO/UZlOi00KXdJNbd7y+1E5525lKZHaMNL e3ugtrPs8WI7ke3L8+8MlCnB2uow+bDfRK1fEH43gfhMRb1WUwWYPaB8CsN5bi2Ot5xo R3/sepxT5YXNdPIGwya1fqRgm5j+LzfPIwz+IWn1lxUFERbZuE4BLyAadfid0h9tzwzl GrPmjmtKdv5q9Z6iZ+mgjo5q1gjV446k/NEkRpxxFobZ0qewo6awu/WP0Y0Ca346zTwl 8l3A== X-Received: by 10.194.175.65 with SMTP id by1mr7326360wjc.152.1432228686389; Thu, 21 May 2015 10:18:06 -0700 (PDT) Received: from ?IPv6:2001:4200:7000:100:590d:7849:477:386a? ([2001:4200:7000:100:590d:7849:477:386a]) by mx.google.com with ESMTPSA id fa8sm3569109wib.14.2015.05.21.10.18.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 May 2015 10:18:05 -0700 (PDT) Message-ID: <555E1346.8010509@gmail.com> Date: Thu, 21 May 2015 19:17:58 +0200 From: Johann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Adrian Chadd , Willem@offermans.rompen.nl CC: "freebsd-wireless@freebsd.org" Subject: Re: hostapd + freeradius can't connect References: <01e701d08d75$fed02bd0$fc708370$@gmail.com> <003c01d08dbe$6018b900$204a2b00$@gmail.com> <555CB658.6040103@gmail.com> <555CC261.8080505@gmail.com> <20150521083957.GB5453@vpn.offrom.nl> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 21 May 2015 17:18:08 -0000 I've tried it this morning on 11.0-CURRENT #172 r280972: Thu Apr 2 and it worked. Here is my configs. rc.conf wlans_ath0="wlan0" create_args_wlan0="wlanmode hostap country ZA" ifconfig_wlan0="mode 11g channel 6" hostapd_enable="YES" cloned_interfaces="bridge0" ifconfig_bridge0="addm vr0 addm wlan0 up" ifconfig_vr0="146.64.5.5/24 up" defaultrouter="146.64.5.1" hostapd.conf interface=wlan0 ctrl_interface=/var/run/hostapd ctrl_interface_group=wheel ssid=testAP hw_mode=g channel=6 wpa=2 ignore_broadcast_ssid=0 wpa_pairwise=CCMP TKIP wpa_key_mgmt=WPA-EAP wpa_pairwise=TKIP CCMP rsn_pairwise=CCMP ieee8021x=1 own_ip_addr=146.64.5.5 auth_server_addr=146.64.8.20 auth_server_port=1812 auth_server_shared_secret=test123 Regards Johann On 2015/05/21 06:47 PM, Adrian Chadd wrote: > That's the plan. Once I fix a couple other things I'm going to go see > why it currently isn't working. > > > > -adrian > > On 21 May 2015 at 01:39, Willem Offermans wrote: >> Dear FreeBSD friends, >> >> Sorry to interrupt here, but I got triggered by this e-mail thread. >> >> Do I understand correctly that it is possible to connect hostapd with >> FreeRadius and OpenLDAP? Would it be possible to do the authentication of >> wireless access over the ldap server? If yes, do I need FreeRadius to >> intermediate between hostapd and OpenLDAP? >> >> Is there some documentation around to setup hostapd + OpenLDAP or hostapd + >> FreeRadius + OpenLDAP under FreeBSD? >> >> Sorry, to interrp >> >> On Wed, May 20, 2015 at 07:20:33PM +0200, Johann wrote: >>> On 2015/05/20 06:29 PM, Johann wrote: >>>> On 2015/05/16 08:03 AM, Adrian Chadd wrote: >>>>> Hi, >>>>> Has this ever worked? >>>> Yes. >>>> >>>> I got it working in April 2012 on FreeBSD 8 and 9. I've used a >>>> FreeRadius server and a FreeBSD client with wpa_supplicant to test >>>> it. >>>> >>>> At that stage you had to enable the eap_server when you compile hostapd >>>> >>>> # echo HOSTAPD_CFLAGS+=-DEAP_SERVER >> /etc/src.conf >>>> # cd /usr/src/usr.sbin/wpa/hostapd >>>> # make >>>> # make install >>>> >>>> but Bernhard Schmidt fixed it so that EAP_SERVER was enabled by default. >>>> >>>> >>>> Here is the configs that I used: >>>> >>>> rc.conf >>>> hostname="AP-vlan" >>>> wlans_ath0="wlan0" >>>> create_args_wlan0="wlanmode hostap country ZA" >>>> ifconfig_wlan0="146.64.5.5/24 mode 11g channel 6" >>>> defaultrouter="146.64.5.1" >>>> hostapd_enable="YES" >>>> cloned_interfaces="bridge0" >>>> ifconfig_bridge0="addm sis0 addm wlan0 up" >>>> ifconfig_sis0="up" >>>> >>>> >>>> hostapd.conf >>>> interface=wlan0 >>>> ctrl_interface=/var/run/hostapd >>>> ctrl_interface_group=wheel >>>> ssid=testAP >>>> hw_mode=g >>>> channel=6 >>>> >>>> wpa=1 >>>> wpa_pairwise=CCMP TKIP >>>> wpa_key_mgmt=WPA-EAP >>>> wpa_pairwise=TKIP CCMP >>>> rsn_pairwise=CCMP >>>> >>>> Hope it helps >>>> >>>> Regards >>>> Johann >>>> _______________________________________________ >>>> freebsd-wireless@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>> To unsubscribe, send any mail to >>>> "freebsd-wireless-unsubscribe@freebsd.org" >>>> >>> Looks like this part of hostapd.conf got lost. >>> >>> ieee8021x=1 >>> own_ip_addr=146.64.5.5 >>> auth_server_addr=146.64.8.25 >>> auth_server_port=1812 >>> auth_server_shared_secret=same-as-on-freeradius >>> >>> Johann >>> >>> _______________________________________________ >>> freebsd-wireless@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" >> -- >> Met vriendelijke groeten, >> With kind regards, >> Mit freundlichen Gruessen, >> De jrus wah, >> >> Wiel >> >> ************************************* >> W.K. Offermans >> _______________________________________________ >> freebsd-wireless@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-wireless@FreeBSD.ORG Thu May 21 18:03:57 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 551E7318 for ; Thu, 21 May 2015 18:03:57 +0000 (UTC) Received: from mail-ig0-x22f.google.com (mail-ig0-x22f.google.com [IPv6:2607:f8b0:4001:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C9661128 for ; Thu, 21 May 2015 18:03:57 +0000 (UTC) Received: by igbpi8 with SMTP id pi8so16559827igb.1 for ; Thu, 21 May 2015 11:03:56 -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:message-id:subject :from:to:cc:content-type; bh=99l689yuIz9CiwIMwUlajmZTvBpK4CxVB2TwtPrpAEc=; b=I/LTy3mHElVPJdQwfIO950wIhAgDkPnKkGr8Xebw2MiaXeaw0NzLjxAkYLq/+FZTfh 3Yo7lqyNErwvVvbU1hJtz8fgNqBwndUJZaeatotOCd3rc/1z1345YscULGeZqGoE+5am q6cu+fywHprcVej3mVPMzT/FtXM7FdduoGhycBPkY9g6Dn9/2ivMW7kic76qnMKWXu4p OlIJe7r4WwIZO8qyaXjAyGNCpgyOCcG2gW6+n197cOIVbsPhObg5puq7JtnnO5oz86wb 5SVBduQ/A4Ceb1fwKjUw8UW5Br+wfEfHQ8DF3kEkp3GcUC3SOJyysa2ZMywsh1Sb3HrS WonA== MIME-Version: 1.0 X-Received: by 10.42.176.8 with SMTP id bc8mr4713460icb.22.1432231436520; Thu, 21 May 2015 11:03:56 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Thu, 21 May 2015 11:03:56 -0700 (PDT) In-Reply-To: <555E1346.8010509@gmail.com> References: <01e701d08d75$fed02bd0$fc708370$@gmail.com> <003c01d08dbe$6018b900$204a2b00$@gmail.com> <555CB658.6040103@gmail.com> <555CC261.8080505@gmail.com> <20150521083957.GB5453@vpn.offrom.nl> <555E1346.8010509@gmail.com> Date: Thu, 21 May 2015 11:03:56 -0700 X-Google-Sender-Auth: 4XOwsWAUOlh-qxQLlT9zFHcuUTU Message-ID: Subject: Re: hostapd + freeradius can't connect From: Adrian Chadd To: Johann Cc: Willem@offermans.rompen.nl, "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 21 May 2015 18:03:57 -0000 HI, Would you mind creating a tarball up with your radius and hostapd configs? I'd like to repliate it at home ASAP. Thanks! -a On 21 May 2015 at 10:17, Johann wrote: > I've tried it this morning on 11.0-CURRENT #172 r280972: Thu Apr 2 and it > worked. > > Here is my configs. > rc.conf > wlans_ath0="wlan0" > create_args_wlan0="wlanmode hostap country ZA" > ifconfig_wlan0="mode 11g channel 6" > hostapd_enable="YES" > cloned_interfaces="bridge0" > ifconfig_bridge0="addm vr0 addm wlan0 up" > ifconfig_vr0="146.64.5.5/24 up" > defaultrouter="146.64.5.1" > > > hostapd.conf > interface=wlan0 > ctrl_interface=/var/run/hostapd > ctrl_interface_group=wheel > ssid=testAP > hw_mode=g > channel=6 > > wpa=2 > ignore_broadcast_ssid=0 > wpa_pairwise=CCMP TKIP > wpa_key_mgmt=WPA-EAP > wpa_pairwise=TKIP CCMP > rsn_pairwise=CCMP > > ieee8021x=1 > own_ip_addr=146.64.5.5 > auth_server_addr=146.64.8.20 > auth_server_port=1812 > auth_server_shared_secret=test123 > > Regards > Johann > > > On 2015/05/21 06:47 PM, Adrian Chadd wrote: >> >> That's the plan. Once I fix a couple other things I'm going to go see >> why it currently isn't working. >> >> >> >> -adrian >> >> On 21 May 2015 at 01:39, Willem Offermans >> wrote: >>> >>> Dear FreeBSD friends, >>> >>> Sorry to interrupt here, but I got triggered by this e-mail thread. >>> >>> Do I understand correctly that it is possible to connect hostapd with >>> FreeRadius and OpenLDAP? Would it be possible to do the authentication of >>> wireless access over the ldap server? If yes, do I need FreeRadius to >>> intermediate between hostapd and OpenLDAP? >>> >>> Is there some documentation around to setup hostapd + OpenLDAP or hostapd >>> + >>> FreeRadius + OpenLDAP under FreeBSD? >>> >>> Sorry, to interrp >>> >>> On Wed, May 20, 2015 at 07:20:33PM +0200, Johann wrote: >>>> >>>> On 2015/05/20 06:29 PM, Johann wrote: >>>>> >>>>> On 2015/05/16 08:03 AM, Adrian Chadd wrote: >>>>>> >>>>>> Hi, >>>>>> Has this ever worked? >>>>> >>>>> Yes. >>>>> >>>>> I got it working in April 2012 on FreeBSD 8 and 9. I've used a >>>>> FreeRadius server and a FreeBSD client with wpa_supplicant to test >>>>> it. >>>>> >>>>> At that stage you had to enable the eap_server when you compile hostapd >>>>> >>>>> # echo HOSTAPD_CFLAGS+=-DEAP_SERVER >> /etc/src.conf >>>>> # cd /usr/src/usr.sbin/wpa/hostapd >>>>> # make >>>>> # make install >>>>> >>>>> but Bernhard Schmidt fixed it so that EAP_SERVER was enabled by >>>>> default. >>>>> >>>>> >>>>> Here is the configs that I used: >>>>> >>>>> rc.conf >>>>> hostname="AP-vlan" >>>>> wlans_ath0="wlan0" >>>>> create_args_wlan0="wlanmode hostap country ZA" >>>>> ifconfig_wlan0="146.64.5.5/24 mode 11g channel 6" >>>>> defaultrouter="146.64.5.1" >>>>> hostapd_enable="YES" >>>>> cloned_interfaces="bridge0" >>>>> ifconfig_bridge0="addm sis0 addm wlan0 up" >>>>> ifconfig_sis0="up" >>>>> >>>>> >>>>> hostapd.conf >>>>> interface=wlan0 >>>>> ctrl_interface=/var/run/hostapd >>>>> ctrl_interface_group=wheel >>>>> ssid=testAP >>>>> hw_mode=g >>>>> channel=6 >>>>> >>>>> wpa=1 >>>>> wpa_pairwise=CCMP TKIP >>>>> wpa_key_mgmt=WPA-EAP >>>>> wpa_pairwise=TKIP CCMP >>>>> rsn_pairwise=CCMP >>>>> >>>>> Hope it helps >>>>> >>>>> Regards >>>>> Johann >>>>> _______________________________________________ >>>>> freebsd-wireless@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>> To unsubscribe, send any mail to >>>>> "freebsd-wireless-unsubscribe@freebsd.org" >>>>> >>>> Looks like this part of hostapd.conf got lost. >>>> >>>> ieee8021x=1 >>>> own_ip_addr=146.64.5.5 >>>> auth_server_addr=146.64.8.25 >>>> auth_server_port=1812 >>>> auth_server_shared_secret=same-as-on-freeradius >>>> >>>> Johann >>>> >>>> _______________________________________________ >>>> freebsd-wireless@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>> To unsubscribe, send any mail to >>>> "freebsd-wireless-unsubscribe@freebsd.org" >>> >>> -- >>> Met vriendelijke groeten, >>> With kind regards, >>> Mit freundlichen Gruessen, >>> De jrus wah, >>> >>> Wiel >>> >>> ************************************* >>> W.K. Offermans >>> _______________________________________________ >>> freebsd-wireless@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>> To unsubscribe, send any mail to >>> "freebsd-wireless-unsubscribe@freebsd.org" > > From owner-freebsd-wireless@FreeBSD.ORG Thu May 21 20:07:08 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EED70A71; Thu, 21 May 2015 20:07:08 +0000 (UTC) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 80ADB10AE; Thu, 21 May 2015 20:07:08 +0000 (UTC) Received: by wghq2 with SMTP id q2so96484323wgh.1; Thu, 21 May 2015 13:07:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=PMhShQbuQ/zc+irRr1rfW2xjSuSEmgF9/kwrM4vFnSw=; b=D1M6OYZZnek1QVmYLtzf9yuE9DX3flU+oTHRIxnvdI3dmcTB1OA0zd9YhYSf+YiOs9 LJWRphH8pOgCvzk67yCg8zJoFeZ0ywhZSrrmyD1L/xW1ThINKpxVozCkjpmpFUv9KSah 1yXAac+eeewRp6PNF6uww/nj2yG5kBTsJMvj8xqnXLBJ3RwwgbopAU5xaqQzh/ArTxus QTiB2ee4hmBtiNRQ6d3190bhRY7jm/Zf7GcHTKfiEBIQ26NOI9Jtt0P9G3yIY+8leiWp zfs52/UbzefJIiV2AEQXGBIyfD7x/NZgPiXeSvDqQfZ/ZEaoBnBsvFDoJm5rfwostWX5 +Bbg== X-Received: by 10.180.14.134 with SMTP id p6mr782046wic.44.1432238827020; Thu, 21 May 2015 13:07:07 -0700 (PDT) Received: from ?IPv6:2001:4200:7000:100:590d:7849:477:386a? ([2001:4200:7000:100:590d:7849:477:386a]) by mx.google.com with ESMTPSA id gs7sm4417138wib.10.2015.05.21.13.07.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 May 2015 13:07:06 -0700 (PDT) Message-ID: <555E3AE2.3040305@gmail.com> Date: Thu, 21 May 2015 22:06:58 +0200 From: Johann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Adrian Chadd CC: Willem@offermans.rompen.nl, "freebsd-wireless@freebsd.org" Subject: Re: hostapd + freeradius can't connect References: <01e701d08d75$fed02bd0$fc708370$@gmail.com> <003c01d08dbe$6018b900$204a2b00$@gmail.com> <555CB658.6040103@gmail.com> <555CC261.8080505@gmail.com> <20150521083957.GB5453@vpn.offrom.nl> <555E1346.8010509@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 21 May 2015 20:07:09 -0000 The radius server I tested with has all our company configs on it, so I don't want to tarball it. To do a basic freeradius test with local user, the following should work. Integrating will LDAP is a little bit more work pkg install freeradius You only need to edit 3 files in /usr/local/etc/raddb vi users -> add the following to the end of the file: "wifi" Cleartext-Password := "test" vi clients.conf -> add the following to the end of the file: client radtest { ipaddr = 146.64.5.0 netmask = 24 secret = test123 require_message_authenticator = no nastype = other shortname = 5net } vi proxy.conf -> add the following to the end of the file: realm LOCAL { } realm NULL { } run freeradius in debug mode: radiusd -X An android phone is usually a good test - configure the following: PEAP MSCHAPv2 identity - wifi password - test FreeBSD with wpa_supplicant.conf network={ ssid="testAP" scan_ssid=1 key_mgmt=WPA-EAP eap=PEAP identity="wifi" password="test" phase2="auth=MSCHAPV2" } Johann On 2015/05/21 08:03 PM, Adrian Chadd wrote: > HI, > > Would you mind creating a tarball up with your radius and hostapd > configs? I'd like to repliate it at home ASAP. > > Thanks! > > > -a > > > On 21 May 2015 at 10:17, Johann wrote: >> I've tried it this morning on 11.0-CURRENT #172 r280972: Thu Apr 2 and it >> worked. >> >> Here is my configs. >> rc.conf >> wlans_ath0="wlan0" >> create_args_wlan0="wlanmode hostap country ZA" >> ifconfig_wlan0="mode 11g channel 6" >> hostapd_enable="YES" >> cloned_interfaces="bridge0" >> ifconfig_bridge0="addm vr0 addm wlan0 up" >> ifconfig_vr0="146.64.5.5/24 up" >> defaultrouter="146.64.5.1" >> >> >> hostapd.conf >> interface=wlan0 >> ctrl_interface=/var/run/hostapd >> ctrl_interface_group=wheel >> ssid=testAP >> hw_mode=g >> channel=6 >> >> wpa=2 >> ignore_broadcast_ssid=0 >> wpa_pairwise=CCMP TKIP >> wpa_key_mgmt=WPA-EAP >> wpa_pairwise=TKIP CCMP >> rsn_pairwise=CCMP >> >> ieee8021x=1 >> own_ip_addr=146.64.5.5 >> auth_server_addr=146.64.8.20 >> auth_server_port=1812 >> auth_server_shared_secret=test123 >> >> Regards >> Johann >> >> >> On 2015/05/21 06:47 PM, Adrian Chadd wrote: >>> That's the plan. Once I fix a couple other things I'm going to go see >>> why it currently isn't working. >>> >>> >>> >>> -adrian >>> >>> On 21 May 2015 at 01:39, Willem Offermans >>> wrote: >>>> Dear FreeBSD friends, >>>> >>>> Sorry to interrupt here, but I got triggered by this e-mail thread. >>>> >>>> Do I understand correctly that it is possible to connect hostapd with >>>> FreeRadius and OpenLDAP? Would it be possible to do the authentication of >>>> wireless access over the ldap server? If yes, do I need FreeRadius to >>>> intermediate between hostapd and OpenLDAP? >>>> >>>> Is there some documentation around to setup hostapd + OpenLDAP or hostapd >>>> + >>>> FreeRadius + OpenLDAP under FreeBSD? >>>> >>>> Sorry, to interrp >>>> >>>> On Wed, May 20, 2015 at 07:20:33PM +0200, Johann wrote: >>>>> On 2015/05/20 06:29 PM, Johann wrote: >>>>>> On 2015/05/16 08:03 AM, Adrian Chadd wrote: >>>>>>> Hi, >>>>>>> Has this ever worked? >>>>>> Yes. >>>>>> >>>>>> I got it working in April 2012 on FreeBSD 8 and 9. I've used a >>>>>> FreeRadius server and a FreeBSD client with wpa_supplicant to test >>>>>> it. >>>>>> >>>>>> At that stage you had to enable the eap_server when you compile hostapd >>>>>> >>>>>> # echo HOSTAPD_CFLAGS+=-DEAP_SERVER >> /etc/src.conf >>>>>> # cd /usr/src/usr.sbin/wpa/hostapd >>>>>> # make >>>>>> # make install >>>>>> >>>>>> but Bernhard Schmidt fixed it so that EAP_SERVER was enabled by >>>>>> default. >>>>>> >>>>>> >>>>>> Here is the configs that I used: >>>>>> >>>>>> rc.conf >>>>>> hostname="AP-vlan" >>>>>> wlans_ath0="wlan0" >>>>>> create_args_wlan0="wlanmode hostap country ZA" >>>>>> ifconfig_wlan0="146.64.5.5/24 mode 11g channel 6" >>>>>> defaultrouter="146.64.5.1" >>>>>> hostapd_enable="YES" >>>>>> cloned_interfaces="bridge0" >>>>>> ifconfig_bridge0="addm sis0 addm wlan0 up" >>>>>> ifconfig_sis0="up" >>>>>> >>>>>> >>>>>> hostapd.conf >>>>>> interface=wlan0 >>>>>> ctrl_interface=/var/run/hostapd >>>>>> ctrl_interface_group=wheel >>>>>> ssid=testAP >>>>>> hw_mode=g >>>>>> channel=6 >>>>>> >>>>>> wpa=1 >>>>>> wpa_pairwise=CCMP TKIP >>>>>> wpa_key_mgmt=WPA-EAP >>>>>> wpa_pairwise=TKIP CCMP >>>>>> rsn_pairwise=CCMP >>>>>> >>>>>> Hope it helps >>>>>> >>>>>> Regards >>>>>> Johann >>>>>> _______________________________________________ >>>>>> freebsd-wireless@freebsd.org mailing list >>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>>> To unsubscribe, send any mail to >>>>>> "freebsd-wireless-unsubscribe@freebsd.org" >>>>>> >>>>> Looks like this part of hostapd.conf got lost. >>>>> >>>>> ieee8021x=1 >>>>> own_ip_addr=146.64.5.5 >>>>> auth_server_addr=146.64.8.25 >>>>> auth_server_port=1812 >>>>> auth_server_shared_secret=same-as-on-freeradius >>>>> >>>>> Johann >>>>> >>>>> _______________________________________________ >>>>> freebsd-wireless@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>>> To unsubscribe, send any mail to >>>>> "freebsd-wireless-unsubscribe@freebsd.org" >>>> -- >>>> Met vriendelijke groeten, >>>> With kind regards, >>>> Mit freundlichen Gruessen, >>>> De jrus wah, >>>> >>>> Wiel >>>> >>>> ************************************* >>>> W.K. Offermans >>>> _______________________________________________ >>>> freebsd-wireless@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >>>> To unsubscribe, send any mail to >>>> "freebsd-wireless-unsubscribe@freebsd.org" >> From owner-freebsd-wireless@FreeBSD.ORG Fri May 22 12:20:02 2015 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1095D1C5 for ; Fri, 22 May 2015 12:20:02 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EED031D6A for ; Fri, 22 May 2015 12:20:01 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4MCK1hL009245 for ; Fri, 22 May 2015 12:20:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 184626] [wlan] wlan0 missing some ifmib(4) data, specifically ifi_obytes/output bytes Date: Fri, 22 May 2015 12:20:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: ae@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Fri, 22 May 2015 12:20:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184626 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-wireless@FreeBSD.or |ae@FreeBSD.org |g | CC| |ae@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-wireless@FreeBSD.ORG Sat May 23 08:04:03 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5B08DAFB for ; Sat, 23 May 2015 08:04:03 +0000 (UTC) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 266CB1FFE for ; Sat, 23 May 2015 08:04:03 +0000 (UTC) Received: by igcau1 with SMTP id au1so5943363igc.1 for ; Sat, 23 May 2015 01:04:02 -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:message-id:subject :from:to:content-type; bh=YOgRaCwAcRprfe45mtb7q7AkD1cOiN+FmLm2Tavl5kg=; b=Uvqi3rcFY79xS4ZngaOi4NvJoQptl/6MBSrTR5vSNe184Eisv9uI2c+BoksmSsySKJ 2wpAhrCQ7KchBlIGo03x+bhN/Zv7+s08t+SZc5MvkldTsdO8FOT3ZttDaQ9oxm/ldAub z+XjNikO/42A2h56RzpqMdPcqpszx4joq6ud8gxhNbSVhIh7CDPVgzDCBsD2WO8hPvIY ynk7TS8Lrh36KRaozsO33Noa/SXHBegQBvA1itOgyCJ2slPYWR2uHC2IxRWxmKn3jbkX rz+/YTLLmMmadHfhSG3ebDgN/pLEC9rtuHSwSa+SOiIYpPz9AyfFyRbiDzoHzH1vdrF3 msPg== MIME-Version: 1.0 X-Received: by 10.50.73.198 with SMTP id n6mr10488197igv.32.1432368242519; Sat, 23 May 2015 01:04:02 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Sat, 23 May 2015 01:04:02 -0700 (PDT) In-Reply-To: <201505230802.t4N82sLA097528@svn.freebsd.org> References: <201505230802.t4N82sLA097528@svn.freebsd.org> Date: Sat, 23 May 2015 01:04:02 -0700 X-Google-Sender-Auth: hC7ga3F7FhUrrX8h_JIvfdRkNuM Message-ID: Subject: Fwd: svn commit: r283309 - head/sys/contrib/dev/ath/ath_hal/ar9300 From: Adrian Chadd To: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 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: Sat, 23 May 2015 08:04:03 -0000 If you're using the carambola 2, you'll want to update. This makes it behave much, much better! -adrian ---------- Forwarded message ---------- From: Adrian Chadd Date: 23 May 2015 at 01:02 Subject: svn commit: r283309 - head/sys/contrib/dev/ath/ath_hal/ar9300 To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Author: adrian Date: Sat May 23 08:02:54 2015 New Revision: 283309 URL: https://svnweb.freebsd.org/changeset/base/283309 Log: Add support for the tuning cap for Hornet/AR9331 boards. This dramatically improves RX sensitivity and behaviour on the AR9331 hardware I have, including the Carambola 2. Tested: * AR9331, Carambola 2 board Submitted by: Zilvinas Valinskas Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_eeprom.c Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_eeprom.c ============================================================================== --- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_eeprom.c Sat May 23 01:17:50 2015 (r283308) +++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_eeprom.c Sat May 23 08:02:54 2015 (r283309) @@ -4476,8 +4476,16 @@ HAL_BOOL ar9300_tuning_caps_apply(struct if ((eep->base_eep_header.feature_enable & 0x40) >> 6) { tuning_caps_params &= 0x7f; - if (AR_SREV_HORNET(ah) || AR_SREV_POSEIDON(ah) || AR_SREV_WASP(ah)) { + /* XXX TODO: ath9k skips it for Wasp and Honeybee/AR9531, not Poseidon */ + if (AR_SREV_POSEIDON(ah) || AR_SREV_WASP(ah)) { return AH_TRUE; + } else if (AR_SREV_HORNET(ah)) { + OS_REG_RMW_FIELD(ah, + AR_HORNET_CH0_XTAL, AR_OSPREY_CHO_XTAL_CAPINDAC, + tuning_caps_params); + OS_REG_RMW_FIELD(ah, + AR_HORNET_CH0_XTAL, AR_OSPREY_CHO_XTAL_CAPOUTDAC, + tuning_caps_params); } else if (AR_SREV_SCORPION(ah)) { OS_REG_RMW_FIELD(ah, AR_SCORPION_CH0_XTAL, AR_OSPREY_CHO_XTAL_CAPINDAC,