<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Freeradius2 package changes lost if edited via ssh?]]></title><description><![CDATA[<p dir="auto">I am not sure if I am missing something here but I am building a PFSense box to host a freeradius2 server.  I have it all working now but I had to edit a lot of the files manually so I SSHed into the box and made my changes and all is well.  I decided to reboot just to make sure everything is solid and discovered that after the reboot, all my changes were lost.  I did see some other posts that I need to make all my changes from the web gui which is ok but I cannot edit a lot of the files from the freeradius section so I used the "edit file" feature which I would assume would save after a reboot, but it didn't.  Is there something I need to do or another method I could use to ensure any changes I make are retained?  Or if that isn't an option can someone tell me where I can tweak the files that it uses to overwrite the ones I've edited-most of the edits are one time changes and I don't mind making the changes on the source files…..any help would be appreciated.</p>
<p dir="auto">Steve</p>
]]></description><link>https://forum.netgate.com/topic/52500/freeradius2-package-changes-lost-if-edited-via-ssh</link><generator>RSS for Node</generator><lastBuildDate>Mon, 20 Apr 2026 19:09:33 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/52500.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 30 Jan 2013 13:30:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Freeradius2 package changes lost if edited via ssh? on Fri, 05 Apr 2013 15:37:31 GMT]]></title><description><![CDATA[<p dir="auto">Hard to understand for me what you write because google cannot translate it really good to german ;-)</p>
<p dir="auto">I am not PHP expert but as far as I understand it then the file "pkg_edit.php" + "freeradius.xml" + "freeradius.inc" generate the GUI.</p>
<p dir="auto">If you change anything from console like:</p>
<pre><code>vi /usr/local/etc/raddb/users
</code></pre>
<p dir="auto">then this will be overwritten If you click on "Save" on the GUI. This is because in the freeradius.inc there is a command which writes the content from the .XML to the file.</p>
]]></description><link>https://forum.netgate.com/post/388170</link><guid isPermaLink="true">https://forum.netgate.com/post/388170</guid><dc:creator><![CDATA[Nachtfalke]]></dc:creator><pubDate>Fri, 05 Apr 2013 15:37:31 GMT</pubDate></item><item><title><![CDATA[Reply to Freeradius2 package changes lost if edited via ssh? on Fri, 05 Apr 2013 02:06:21 GMT]]></title><description><![CDATA[<p dir="auto">Disculpen por colarme a este post..pero creo que pueden ayudarme, anteriormente publiqué ésto y creo que por aqui están abordando un tema parecido:</p>
<p dir="auto">Primero que nada, soy totalmente nueva con pfsense y Radius.</p>
<p dir="auto">Tengo instalado Radius en pfsense, si agrego usuarios de Radius desde la pag de administración de pfsense y los consulto en la opción 8 (shell) de pfsense si los veo (cd / usr / local / etc/raddb/users) pero si los agrego desde ésta opcion y los consulto en la pag de pfsense no se actualiza, me gustaria saber si alguien sabe porque ocurre ésto, o cual es el proceso que sigue.</p>
<p dir="auto">Mi profesor consideró que en el archivo pkg_edit.php está el proceso, lo he revisado pero se muy poco de programación y me confunde demasiado. Si alguien a revisado este archivo o conoce lo que realmente ocurre, seria de mucha ayuda para mi.</p>
<p dir="auto">De antemano muchas gracias y lo que puedan decirme sera de gran ayuda.</p>
]]></description><link>https://forum.netgate.com/post/388015</link><guid isPermaLink="true">https://forum.netgate.com/post/388015</guid><dc:creator><![CDATA[estrella]]></dc:creator><pubDate>Fri, 05 Apr 2013 02:06:21 GMT</pubDate></item><item><title><![CDATA[Reply to Freeradius2 package changes lost if edited via ssh? on Thu, 31 Jan 2013 09:57:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stevemg7">@<bdi>stevemg7</bdi></a>:</p>
<blockquote>
<p dir="auto">Yeah, I saw those links but I was trying to implement the end of that page where it lets you specify the SSID combined with the MAC and that isn't possible from what I can see with the pfsense package.  Also we have a really unique setup because we're actually using the authorized_mac's list to reject users-it's a massive list of about 3000 Mac's so that's why I edited the file separately so I could copy/paste.  If I had to enter each mac one at a time (which is the only option with pfsense) that would take days….but as I said, we have a really one of a kind setup the way we're using it but it's all working great now!</p>
</blockquote>
<p dir="auto">Ok, just want to give the hint but what you said is not possible at the moment from GUI :-)<br />
But as you said - it is working and that is the most important :-)</p>
]]></description><link>https://forum.netgate.com/post/376070</link><guid isPermaLink="true">https://forum.netgate.com/post/376070</guid><dc:creator><![CDATA[Nachtfalke]]></dc:creator><pubDate>Thu, 31 Jan 2013 09:57:30 GMT</pubDate></item><item><title><![CDATA[Reply to Freeradius2 package changes lost if edited via ssh? on Thu, 31 Jan 2013 00:52:04 GMT]]></title><description><![CDATA[<p dir="auto">Yeah, I saw those links but I was trying to implement the end of that page where it lets you specify the SSID combined with the MAC and that isn't possible from what I can see with the pfsense package.  Also we have a really unique setup because we're actually using the authorized_mac's list to reject users-it's a massive list of about 3000 Mac's so that's why I edited the file separately so I could copy/paste.  If I had to enter each mac one at a time (which is the only option with pfsense) that would take days….but as I said, we have a really one of a kind setup the way we're using it but it's all working great now!</p>
]]></description><link>https://forum.netgate.com/post/376026</link><guid isPermaLink="true">https://forum.netgate.com/post/376026</guid><dc:creator><![CDATA[stevemg7]]></dc:creator><pubDate>Thu, 31 Jan 2013 00:52:04 GMT</pubDate></item><item><title><![CDATA[Reply to Freeradius2 package changes lost if edited via ssh? on Wed, 30 Jan 2013 19:02:03 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">if you want to realize the "MAC-auth" like it is described here:<br />
<a href="http://wiki.freeradius.org/guide/Mac-Auth#raddb/policy.conf" target="_blank" rel="noopener noreferrer nofollow ugc">http://wiki.freeradius.org/guide/Mac-Auth#raddb/policy.conf</a></p>
<p dir="auto">No need to change anything on the files. All can be done using the GUI. Read the following doc which explains all what you have to do:<br />
<a href="http://doc.pfsense.org/index.php/FreeRADIUS_2.x_package#Plain_MAC_Auth_besides_802.1X" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.pfsense.org/index.php/FreeRADIUS_2.x_package#Plain_MAC_Auth_besides_802.1X</a></p>
<p dir="auto">"view config" just displays the content of the file. There is nothing which copies the content of the files into the GUI.<br />
Only what you change on GUI will be written to the files and you can check/view it with the "view config" tab.</p>
<p dir="auto">I would suggest you read the documentation and do everything from GUI. This will save your config after reboot or system restore.<br />
Further you will not have problems or to much work after an package update of freeradius.</p>
]]></description><link>https://forum.netgate.com/post/375957</link><guid isPermaLink="true">https://forum.netgate.com/post/375957</guid><dc:creator><![CDATA[Nachtfalke]]></dc:creator><pubDate>Wed, 30 Jan 2013 19:02:03 GMT</pubDate></item><item><title><![CDATA[Reply to Freeradius2 package changes lost if edited via ssh? on Wed, 30 Jan 2013 18:46:39 GMT]]></title><description><![CDATA[<p dir="auto">I discovered what you guys are saying after posting my question-someone else had a similar issue as I found in the last post on this thread:</p>
<p dir="auto">http://forum.pfsense.org/index.php/topic,56306.0.html</p>
<p dir="auto">But if it helps I was editing the default enabled site, policy.conf, files, authorized_mac's….pretty much everything they talk about here:</p>
<p dir="auto">http://wiki.freeradius.org/guide/Mac-Auth#raddb/policy.conf</p>
<p dir="auto">and all is working now, except for the fact that when I go to the "macs" tab of the freeradius package, I see no mac's listed.  If I go to the "view config" and look at the macs file, all the entries are there and freeradius is working great.  Not show how/why the web gui isn't reading the file right but I know how to make it work now so that is fine.</p>
]]></description><link>https://forum.netgate.com/post/375951</link><guid isPermaLink="true">https://forum.netgate.com/post/375951</guid><dc:creator><![CDATA[stevemg7]]></dc:creator><pubDate>Wed, 30 Jan 2013 18:46:39 GMT</pubDate></item><item><title><![CDATA[Reply to Freeradius2 package changes lost if edited via ssh? on Wed, 30 Jan 2013 15:51:10 GMT]]></title><description><![CDATA[<p dir="auto">all files that are edited by freeradius can be found in this file:</p>
<pre><code>/usr/local/pkg/freeradius.inc
</code></pre>
<p dir="auto">If you tell us the files you are editing by hand we could probably tell you where to change this in the .inc file or if there is a possibility in the GUI.</p>
]]></description><link>https://forum.netgate.com/post/375901</link><guid isPermaLink="true">https://forum.netgate.com/post/375901</guid><dc:creator><![CDATA[Nachtfalke]]></dc:creator><pubDate>Wed, 30 Jan 2013 15:51:10 GMT</pubDate></item><item><title><![CDATA[Reply to Freeradius2 package changes lost if edited via ssh? on Wed, 30 Jan 2013 13:52:19 GMT]]></title><description><![CDATA[<p dir="auto">It happens on all packages. Config files are created by GUI. To build custom config options, you need to edit script that create config files. Usually package_name.inc is the file you need to edit.</p>
]]></description><link>https://forum.netgate.com/post/375855</link><guid isPermaLink="true">https://forum.netgate.com/post/375855</guid><dc:creator><![CDATA[marcelloc]]></dc:creator><pubDate>Wed, 30 Jan 2013 13:52:19 GMT</pubDate></item></channel></rss>