Running FreeRadius daemon in debug mode

Marc Phillips rmarc at copacetic.net
Sun Apr 17 13:11:41 CEST 2011


> I thought it might be as simple as modifying the radiusd script file in /init.d with the -x switch, but that causes errors.  Does anyone have a working copy of the init.d script I could look at?  

My init's start case looks like this (using the stock rc.radius from source):

  start)
        echo -n "Starting $DESC:"
        $RADIUSD $ARGS
        echo "radiusd"
        ;;


So you'd just need to modify the "ARGS" definition to something like:

" -X -xx >> /var/log/radiusd.log 2>&1 &"

R. Marc



More information about the Freeradius-Users mailing list