maybe something like
attr_rewrite my_super_parser {
attribute = User-Name
searchin = packet
searchfor = "^00:BE:EF:.*$"
replacewith = "00:BE:EF"
ignore_case = no
new_attribute = no
max_matches = 1
append = no
}
in "modules" block, then add that module in "authorize" section
and after that add a record for user "00:BE:EF"
Cool that sounds like the way to go. I have another follow-up question along this line if you will bear with me.
Now, let's assume I have two wireless cards in the AP (wlan1 & wlan2) which are not bridged together but instead have two different real IP subnets. I also want to overlay a private IP subnet onto each wlan card for managing of the transparent wireless devices (00:BE:EF:*:*:*) . I want to hand out these private IP's to these devices via the radius attribute Framed-Pool. Since there are two separate subnets, hence two different pool names, how would you accomplish this?
Eric