Community discussions

MikroTik App
 
rebel2234
newbie
Topic Author
Posts: 44
Joined: Sat May 20, 2006 6:23 am

Mikrotik Hotspot "MAC Format"

Thu Oct 28, 2010 6:27 pm

In the mikrotik hotspot (server profile) menu there is an option for "MAC Format". Does this change the format that is sent to the radius server for "User-Name"?

Thanks,
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Mikrotik Hotspot "MAC Format"

Thu Oct 28, 2010 6:32 pm

Yes.
radius-mac-format ("XX XX XX XX XX XX"|XX:XX:XX:XX:XX:XX|XXXXXX-XXXXXX|XXXXXXXXXXXX|XX-XX-XX-XX-XX-XX|XXXX:XXXX:XXXX|XXXXXX:XXXXXX; Default: XX:XX:XX:XX:XX:XX)
http://wiki.mikrotik.com/wiki/Manual:IP ... Properties
 
billjellis
Frequent Visitor
Frequent Visitor
Posts: 53
Joined: Mon Dec 15, 2014 11:04 pm

Re: Mikrotik Hotspot "MAC Format"

Sun Sep 06, 2015 6:02 am

Hello, My Radius server is expecting this 00-15-5D-00-70-00 but the mik is sending "00:15:5D:00:70:00"
User-Name = "00:15:5D:00:70:00" ?
I have checked out
http://wiki.mikrotik.com/wiki/Manual:IP ... Properties
This just changes the Calling-Station-Id = "00-15-5D-00-70-00"
Sends Back ....
sep/05 hotspot,info,debug 00:15:5D:00:70:00 (10.0.3.247): login failed: invalid username or password
Any help

Bill

sep/05 radius,debug,packet NAS-Port-Type = 15
sep/05 radius,debug,packet Calling-Station-Id = "00-15-5D-00-70-00"
sep/05 radius,debug,packet Called-Station-Id = "hotspot1"
sep/05 radius,debug,packet NAS-Port-Id = "Ether AP4"
sep/05 radius,debug,packet User-Name = "00:15:5D:00:70:00"
sep/05 radius,debug,packet NAS-Port = 2152726538
sep/05 radius,debug,packet Acct-Session-Id = "8050000a"
sep/05 radius,debug,packet Framed-IP-Address = 10.0.3.247
sep/05 radius,debug,packet MT-Host-IP = 10.0.3.247
sep/05 radius,debug,packet WISPr-Location-Name = "736-524683"
sep/05 radius,debug,packet Service-Type = 1
sep/05 radius,debug,packet WISPr-Logoff-URL = "http://10.0.1.1/logout"
sep/05 radius,debug,packet NAS-Identifier = "Demo unit"
sep/05 radius,debug,packet NAS-IP-Address = 172.16.0.196
sep/05 radius,debug resending 3f:48
sep/05 radius,debug,packet sending Access-Request with id 16 to 69.28.248.91:1812
sep/05 radius,debug,packet NAS-Port-Type = 15
sep/05 radius,debug,packet Calling-Station-Id = "00-15-5D-00-70-00"
sep/05 radius,debug,packet Called-Station-Id = "hotspot1"
sep/05 radius,debug,packet NAS-Port-Id = "Ether AP4"
sep/05 radius,debug,packet User-Name = "00:15:5D:00:70:00"
sep/05 radius,debug,packet NAS-Port = 2152726538
sep/05 radius,debug,packet Acct-Session-Id = "8050000a"
sep/05 radius,debug,packet Framed-IP-Address = 10.0.3.247
sep/05 radius,debug,packet MT-Host-IP = 10.0.3.247
sep/05 radius,debug,packet WISPr-Location-Name = "736-524683"
sep/05 radius,debug,packet User-Password = 0x7061737331323334
sep/05 radius,debug,packet Service-Type = 1
sep/05 radius,debug,packet WISPr-Logoff-URL = "http://10.0.1.1/logout"
sep/05 radius,debug,packet NAS-Identifier = "Demo unit"
sep/05 radius,debug,packet NAS-IP-Address = 172.16.0.196
sep/05 radius,debug,packet received Access-Reject with id 16 from 69.28.248.91:1812
sep/05 hotspot,info,debug 00:15:5D:00:70:00 (10.0.3.247): login failed: invalid username or password

Who is online

Users browsing this forum: dgel27 and 131 guests