Savage,
Thanks for your reply.
I understand what you mean regarding the attribute name. In fact, I tried using Rate-Limit to begin with, but it complained. Checking usr/local/share/freeradius/dictionary.mikrotik shows the line
ATTRIBUTE Mikrotik-Rate-Limit 8 string
So I used that. The Mikrotik dictionary (http://www.mikrotik.com/Documentation/manual_2.9/dictionary) indeed shows
ATTRIBUTE Rate-Limit 8 string Mikrotik
For testing, I edited usr/local/share/freeradius/dictionary.mikrotik to match this line (the server is live, so I didn’t fancy swapping the dictionaries out). In both cases, the MT box shows the attribute as MT-Rate-Limit - I assume this is because both attributes have a value of 8.
As requested, some debug output;
RADIUS says:
Sending Access-Accept of id 218 to 10.0.0.19 port 1034
Framed-MTU = 1500
Framed-Compression = Van-Jacobson-TCP-IP
Service-Type = Framed-User
Mikrotik-Rate-Limit = “128k/256k”
MT Box says:
Jun 2 09:56:06 10.0.0.19 wireless,debug ShopTower: wlan2: 00:0B:6A:C1:xx:xx attempts to connect
Jun 2 09:56:06 10.0.0.19 wireless,debug ShopTower: wlan2: 00:0B:6A:C1:xx:xx not in local ACL, query RADIUS
Jun 2 09:56:06 10.0.0.19 wireless,debug ShopTower: send RADIUS request for 00:0B:6A:C1:xx:xx on wlan2
Jun 2 09:56:06 10.0.0.19 radius,debug ShopTower: new request 58:e6 code=Access-Request service=wireless
Jun 2 09:56:06 10.0.0.19 radius,debug ShopTower: sending 58:e6 to 10.0.0.10:1812
Jun 2 09:56:06 10.0.0.19 radius,debug,packet ShopTower: sending Access-Request with id 218 to 10.0.0.10:1812
Jun 2 09:56:06 10.0.0.19 radius,debug,packet ShopTower: Signature = 0x2ef0056525d0e52fcfb1e13037927a0c
Jun 2 09:56:06 10.0.0.19 radius,debug,packet ShopTower: Service-Type = 2
Jun 2 09:56:06 10.0.0.19 radius,debug,packet ShopTower: NAS-Port-Id = “wlan2”
Jun 2 09:56:06 10.0.0.19 radius,debug,packet ShopTower: User-Name = “00:0B:6A:C1:xx:xx”
Jun 2 09:56:06 10.0.0.19 radius,debug,packet ShopTower: User-Password = 0x
Jun 2 09:56:07 10.0.0.19 radius,debug,packet ShopTower: NAS-Identifier = “MikroTik”
Jun 2 09:56:07 10.0.0.19 radius,debug,packet ShopTower: NAS-IP-Address = 10.0.0.19
Jun 2 09:56:07 10.0.0.19 radius,debug,packet ShopTower: received Access-Accept with id 218 from 10.0.0.10:1812
Jun 2 09:56:07 10.0.0.19 radius,debug,packet ShopTower: Signature = 0x93d1b54285fb0db50ae6a990168a6225
Jun 2 09:56:07 10.0.0.19 radius,debug,packet ShopTower: Framed-MTU = 1500
Jun 2 09:56:07 10.0.0.19 radius,debug,packet ShopTower: Framed-Compression = 1
Jun 2 09:56:07 10.0.0.19 radius,debug,packet ShopTower: Service-Type = 2
Jun 2 09:56:07 10.0.0.19 radius,debug,packet ShopTower: MT-Rate-Limit = “128k/256k”
Jun 2 09:56:07 10.0.0.19 radius,debug ShopTower: received reply for 58:e6
Jun 2 09:56:07 10.0.0.19 wireless,debug ShopTower: RADIUS got accept for 00:0B:6A:C1:xx:xx on wlan2
Jun 2 09:56:07 10.0.0.19 wireless,info ShopTower: 00:0B:6A:C1:xx:xx@wlan2: connected
Thanks again,
Neal