You can get the patch from
http://bugs.freeradius.org/show_bug.cgi?id=45
I made a mistake too, I copy pasted the patch to the web page. But there is a link for an attachment there. Use that! I also sent the patch as an attachment later on when I realized my mistake.
It is sad that this patch hasnt been merged into freeradius sources. Considering that the previous patch I made for mikrotik_telnet was included (and its faulty). This one fixes that problem too.
You download freeradius sources and do patch < checkrad_patch
I think that should do...
If you have any problems, you can submit to http://bugs.freeradius.org/show_bug.cgi?id=45
I suggest you to use snmp method, it is a lot nicer. But you can only limit the user to 1 user. This is because mikrotik doesnt give the port numbers right. (at least for pppoe). I will contact with mikrotik support later.
I just have an hangover :) please excuse me if I wrote some wrong things. I think I am still drunk...
Evren
Troy Winemiller wrote:
Hi,
I am mocking up a Mikrotik Router OS and Freeradius combo for testing.
I found the patch from Evren Yurtesen referenced here:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg005 28.html
Here's the thing, I keep getting 'malformed patch' errors which I assume is because I copied the patch text from the HTML page, with line breaks appearing in bad places and whatnot. I'm not sure because I just 'learned' how to apply a patch while trying to use this one. :-)
My question is, do I have to apply the patch to checkrad.pl.in BEFORE I compile? Or can I just edit the checkrad script after it's installed to match the patchfile? I'm using Gentoo-Emerge, which makes patching before compiling that much more difficult/annoying.
Thanks in Advance, Troy
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

