WiFi & Mac address authentication

Guillaume guillaume.chardin at gmail.com
Tue Mar 7 14:38:04 CET 2006


2006/3/3, Alan DeKok <aland at ox.org>:
> Guillaume <guillaume.chardin at gmail.com> wrote:
> > I try to set a mac authentication and a certificates based
> > authentication, but in the freeradius.cnf i dont find any entry for
> > loading a list of authorised MAC address.
>
>   That's because the server doesn't come pre-configured to run on your
> local system.  Instead, it comes with examples and documentation
> describing how to solve general problems.  The idea is that you read
> those, and use them to create local solutions.
>
>   My suggestion is to read the "rlm_passwd" man page.  The grouping it
> does there for User-Name can also be applied to MAC addresses.
>
>   Alan DeKok.
ok, if i understand the manpage of dictionary & rlm_passwd, i have to
add this line in:
##Dictionary file##
ATTRIBUTE        mac-address       3001       string
##

##radiusd.conf file##
        passwd MAC_list {
                 filename = /etc/radd/MAC_list
                 format = "mac-address:::*,User-Name"
                hashsize = 50
        #       ignorenislike = yes
        #       allowmultiplekeys = yes
                 delimiter = ":"
and then, i have to create a file in /etc/radd named mac_list and add
my mapping with user and mac address?

i'am wrong or is it the good solution?

 guillaume.


>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>




More information about the Freeradius-Users mailing list