2011/10/3 PROST Frédéric <f.pr...@mb-line.com>: > But if the connection is correct at the first time and if I then change one > of those parameters (ie, disable MAC address on the radius server or change > login on my Ubuntu workstation), I can still connect to my WLAN. > The only way to correct this problem is to physically switch off and on the > wlan card on Ubuntu workstation.
Have you tried restarting radius? > > Mon Oct 3 11:55:51 2011 : Info: ++- entering policy > rewrite.calling_station_id {...} > Mon Oct 3 11:55:51 2011 : Info: +++? if ((Calling-Station-Id) && > "%{Calling-Station-Id}" =~ /^%{config:policy.mac-addr}$/i) AFAIK changes to config file (e.g. policy.conf) is re-read only when FR is restarted or HUP-ed. > Here is the Freeradius log file for the second connection, after disable MAC > Address and restarted FreeRadius (it connects directly without checking MAC > address) : > > rad_recv: Accounting-Request packet from host 192.168.2.15 port 32847, id=2, > length=152 That's accounting request, not access request. -- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html