Re: hostapd + freeradius can't connect

2015-05-21 Thread Johann
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/radd

Re: hostapd + freeradius can't connect

2015-05-21 Thread Adrian Chadd
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 > wl

Re: hostapd + freeradius can't connect

2015-05-21 Thread Johann
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 wl

Re: hostapd + freeradius can't connect

2015-05-21 Thread Johann
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 wir

Re: hostapd + freeradius can't connect

2015-05-21 Thread Adrian Chadd
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 i

Re: hostapd + freeradius can't connect

2015-05-21 Thread Willem Offermans
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 FreeRad

Re: hostapd + freeradius can't connect

2015-05-20 Thread Johann
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_ser

Re: hostapd + freeradius can't connect

2015-05-20 Thread Johann
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 th

Re: hostapd + freeradius can't connect

2015-05-20 Thread Adrian Chadd
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

Re: hostapd + freeradius can't connect

2015-05-20 Thread Johann
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 HO

RE: hostapd + freeradius can't connect

2015-05-16 Thread Marcin Michta
> Hi, > > Has this ever worked? > > Someone had issues as well, and it turned out to be large UDP frames (from > freeradius) being dropped by an intermediary (in this instance, > openvpn.) > > I wonder if you're seeing the same issue. > > Unfortunately I don't have an 802.3x + wifi/EAP setup her

Re: hostapd + freeradius can't connect

2015-05-15 Thread Adrian Chadd
(and since it's been almost 15 years since I touched radius - what are you using to store user/pass in? How do I add a valid test user to the radius server?) Thanks! -a ___ freebsd-wireless@freebsd.org mailing list http://lists.freebsd.org/mailman/list

Re: hostapd + freeradius can't connect

2015-05-15 Thread Adrian Chadd
Hi, Has this ever worked? Someone had issues as well, and it turned out to be large UDP frames (from freeradius) being dropped by an intermediary (in this instance, openvpn.) I wonder if you're seeing the same issue. Unfortunately I don't have an 802.3x + wifi/EAP setup here to test with. I'll

RE: hostapd + freeradius can't connect

2015-05-13 Thread Marcin Michta
When I set on Cisco AP my freeradius server all works fine. All devices can connect to network. So I guess that is not freeradius's fault My radius configs: radiusd.conf: prefix = /usr/local exec_prefix = ${prefix} sysconfdir = ${prefix}/etc localstatedir = /var sbindir = ${exec_prefix}/sbin logdi

Re: hostapd + freeradius can't connect

2015-05-13 Thread marcin.michta
Pozdrawiam, Marcin Michta On Wed, May 13, 2015 at 9:27 AM -0700, "Adrian Chadd" wrote: Hi! I haven't tested radius+wpa before; what's your radius config look like? (It'd be good to document how to do this in the wiki/handbook.) -a On 13 May 2015 at 05:11, Marcin Michta wro

Re: hostapd + freeradius can't connect

2015-05-13 Thread Adrian Chadd
Hi! I haven't tested radius+wpa before; what's your radius config look like? (It'd be good to document how to do this in the wiki/handbook.) -a On 13 May 2015 at 05:11, Marcin Michta wrote: > Hi all, > So I'm trying configure hostapd to work (peap + mschapv2). I tried connect > by wpa_supli

hostapd + freeradius can't connect

2015-05-13 Thread Marcin Michta
Hi all, So I'm trying configure hostapd to work (peap + mschapv2). I tried connect by wpa_suplicant on FreeBSD, and Ubuntu with gui, but without success. Freeradius allow to connect, but connections are failed - every time get: hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: ST