Actions
Bug #853
closed![Author: Anonymous](/images/anonymous.png?1678052115)
PPPoE Server radius config not applied
Start date:
08/27/2010
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:
Description
Just playing with pfSense (2.0-BETA4 (i386) built on Thu Aug 26 23:39:42 EDT 2010) and installed the freeradius package to run as a pppoe backend. It wasn't working and I discovered that the radius settings weren't being applied to the mpd conf file. This trivial patch fixes it for me;
--- vpn.inc.old 2010-08-27 21:21:30.000000000 +1200 +++ vpn.inc 2010-08-27 21:21:42.000000000 +1200 @@ -1274,9 +1274,9 @@ $mpdconf .= " set ipcp dns " . join(" ", $syscfg['dnsserver']) . "\n"; } - if (isset ($pppoecfg['radius']['enable'])) { + if (isset ($pppoecfg['radius']['server']['enable'])) { $mpdconf .=<<<EOD - set radius server {$pppoecfg['server']['ip']} "{$pppoecfg['radius']['secret']}" + set radius server {$pppoecfg['radius']['server']['ip']} "{$pppoecfg['radius']['server']['secret']}" set radius retries 3 set radius timeout 10 set auth enable radius-auth
Actions