Mikrotik DHCP and "auth-type := accept"

Osvaldo T Crispim Filho osvaldotcf at gmail.com
Mon Apr 27 20:20:01 CEST 2015


Thank you .
The problem is the "Calling-Station-Id" attribute;
i use this attribute with Mikrotik Hotspot to prevent the use of the
username in wrong radio.
MD5-Password does not cause problem.
All right now , grateful!


2015-04-27 14:34 GMT-03:00 Alan DeKok <aland at deployingradius.com>:

> On Apr 27, 2015, at 1:25 PM, Osvaldo T Crispim Filho <osvaldotcf at gmail.com>
> wrote:
>
> > On radcheck
> >
> > id    username    attribute    op    value
> >
> > 9664    DC:FF:BB:66:BE:9E    MD5-Password    :=
> > 54a56092489fa15032cf0a709032c184
> > 9665    DC:FF:BB:66:BE:9E    Auth-Type    :=    Accept
> > 5876    DC:FF:BB:66:BE:9E    Calling-Station-Id    =~
> DC:FF:BB:66:BE:9E
>
>   I'm not sure what you're doing there.  Setting an MD5-Password *and*
> Auth-Type := Accept seems wrong.
>
>   In addition, why do a regex comparison on Calling-Station-Id?  The RHS
> of that field isn't a regular expression.  It's just a MAC address.  And it
> doesn't match the Calling-Station-Id from the packet.  Because the
> Calling-Station-Id in the packet is lowercase, and has a "1:" before it.
>
>   My suggestion is to delete the MD5-Password and Calling-Station-Id rows
> from radcheck.  Unless you can explain why they're necessary.
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>



-- 
             - Osvaldo T Crispim Filho -


More information about the Freeradius-Users mailing list