Mac Authentication

Jochem Sparla J.Sparla at iolan.com
Fri Sep 16 10:29:37 UTC 2022


Just add your MAC address users to DaloRADIUS in the format without semicolons (i.e. "00224DD1042B") and your problem will be solved.
That seems the easiest option to me.

The link that Michael Schwartzkopff sent (https://wiki.freeradius.org/guide/mac-auth) explains about rewriting the various format.
That's your other option.

Regards,
Jochem



IOLAN B.V. • Mon Plaisir 26 • 4879 AN Etten-Leur • The Netherlands
T +31 (0)76 50 26 100 • F +31 (0)76 50 26 199
E iolan at iolan.com • I http://www.iolan.com/

De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend
bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u
verzocht de inhoud niet te gebruiken en de afzender direct te informeren door
het bericht te retourneren.
The information contained in this message may be confidential and is
intended to be exclusively for the addressee. Should you receive this message
unintentionally, please do not use the contents here in and notify the sender
immediately by return e-mail.

-----Oorspronkelijk bericht-----
Van: Freeradius-Users [mailto:freeradius-users-bounces+j.sparla=iolan.com at lists.freeradius.org] Namens Ashfaque Shaikh
Verzonden: vrijdag 16 september 2022 12:25
Aan: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Onderwerp: Re: Mac Authentication

Hi Jochem,


Appreciate your response. Yes, I have done this but authentication is getting failed. When I am checking the logs through sudo freeradius -X, it shows user not found. In username mac address is showing like "00224DD1042B" and in dalo radius I have added a mac "00:22:4D:D1:04:2B" in this format.


So I am a little confused here, When I am doing mac based authentication then why freeradius is checking username. Can you please be able to help me with this?



Best Regards,

Ashfaque Shaikh

On Fri, Sep 16, 2022 at 3:46 PM Jochem Sparla <J.Sparla at iolan.com> wrote:

> In DaloRADIUS, did you try to add a single MAC Address through the
> 'New User' and then 'MAC Address Authentication' option?
> Does that work?
>
> I have used FreeRADIUS + DaloRADIUS with MAC based authentication,
> without any special modifications in the FreeRADIUS config for MAC
> based authentication.
>
> Regards,
> Jochem
>
>
>
> IOLAN B.V. • Mon Plaisir 26 • 4879 AN Etten-Leur • The Netherlands T
> +31 (0)76 50 26 100 • F +31 (0)76 50 26 199 E iolan at iolan.com • I
> http://www.iolan.com/
>
> De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is
> uitsluitend bestemd voor de geadresseerde. Indien u dit bericht
> onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de
> afzender direct te informeren door het bericht te retourneren.
> The information contained in this message may be confidential and is
> intended to be exclusively for the addressee. Should you receive this
> message unintentionally, please do not use the contents here in and
> notify the sender immediately by return e-mail.
>
> -----Oorspronkelijk bericht-----
> Van: Freeradius-Users [mailto:freeradius-users-bounces+j.sparla=
> iolan.com at lists.freeradius.org] Namens Ashfaque Shaikh
> Verzonden: vrijdag 16 september 2022 11:48
> Aan: Freeradius-Users at lists.freeradius.org
> Onderwerp: Mac Authentication
>
> Hi Team,
>
> Recently I have installed free radius server with daloradius GUI. I am
> trying to configure mac based authentication and for this I have added
> MAC address on daloradius server GUI in colon format. Now the problem
> I am facing is when my access point is sending MAC request to
> freeradius server it's getting rejected. When I am checking the debug
> logs in username MAC address is showing in plain format like
> 00224DD1042B this. Can anyone please help how I can achieve this mac authentication?
>
>
> Best Regards,
> Ashfaque Shaikh
>
> --
> IDfy is recognized as one of Asia's Top 5 companies in ID
> verification, KYC and employee background screening. Join us <
> https://www.idfy.com/job-openings/>!
> *Corporate / Registered Office* 8th
> Floor, Skyline Icon, Andheri – Kurla Road, Chimatpada, Marol, Andheri
> East, Mumbai MH 400059 IN Website <https://www.idfy.com> | LinkedIn <
> https://www.linkedin.com/company/idfy/> | Instagram <
> https://www.instagram.com/we.are.idfy/> | Blog
> <https://www.idfy.com/blog/>
> | Contact Us <https://www.idfy.com/idfy-contact-us/> | Map <
> https://g.page/IDfy-mumbai?share>
> *CIN* U74900MH2011PTC291275
>
>
>
> This
> message (including any attachments hereto) is confidential and is
> intended solely for the addressee. If you are not the intended
> recipient, you are hereby notified that any disclosure, copying,
> distribution or taking any action in reliance on the contents of this
> information is strictly prohibited and may be unlawful. If you have
> received this message in error, you are requested to delete it from
> your system and to contact the sender by replying to this message
> immediately. Baldor Technologies Private Limited is not liable for the
> improper transmission of this message nor for any damage sustained as a result of this message.
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>

--
IDfy is recognized as one of Asia's Top 5 companies in ID verification, KYC and employee background screening. Join us <https://www.idfy.com/job-openings/>!
*Corporate / Registered Office* 8th
Floor, Skyline Icon, Andheri – Kurla Road, Chimatpada, Marol, Andheri East, Mumbai MH 400059 IN Website <https://www.idfy.com> | LinkedIn <https://www.linkedin.com/company/idfy/> | Instagram <https://www.instagram.com/we.are.idfy/> | Blog <https://www.idfy.com/blog/> | Contact Us <https://www.idfy.com/idfy-contact-us/> | Map <https://g.page/IDfy-mumbai?share>
*CIN* U74900MH2011PTC291275



This
message (including any attachments hereto) is confidential and is intended solely for the addressee. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this message in error, you are requested to delete it from your system and to contact the sender by replying to this message immediately. Baldor Technologies Private Limited is not liable for the improper transmission of this message nor for any damage sustained as a result of this message.


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


More information about the Freeradius-Users mailing list