-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CaptivePortal : Include zone name in Nas-Identifier (Redmine 8998) #3997
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm OK with this PR as a new default but I still think we should allow the user to override the NAS ID as was possible previously, so this needs more work yet. This can be merged, I'll look into doing the other change soon.
Hello, I followed the steps described in the Bugs https://redmine.pfsense.org/issues/8998, however I received several errors in the Pfsense web interface, related to PHP, any ideas that you can contribute, thanks. |
@rayhdez87 could you copy here the PHP errors you got ? |
@Augustin-FL Hello, these are the mistakes that shows me. PHP errors PHP ERROR: Type: 1, File: /usr/local/bin/captiveportal_gather_stats.php, Line: 33, Message: Uncaught Error: Call to undefined function captiveportal_read_db() in /usr/local/bin/captiveportal_gather_stats.php:33 Thanks for your comments. |
These errors are pretty weird. Looks like your pfSense files are now corrupted ...
What do you mean by "I followed the steps"? What did you do exactly? Anyway, I would recommend you to re-install from a fresh, new ISO, instead of trying to "install" this pull request manually. This pull request has been cherry-picked to 2.4.4 branch, meaning it is currently included in any recent pfSense 2.4.4 ISO. |
@Augustin-FL Hello, these are the mistakes that shows me. PHP errors PHP ERROR: Type: 1, File: /usr/local/bin/captiveportal_gather_stats.php, Line: 33, Message: Uncaught Error: Call to undefined function captiveportal_read_db() in /usr/local/bin/captiveportal_gather_stats.php:33 Thanks for your comments. |
The steps described in the reference url https://redmine.pfsense.org/issues/8998, was to overwrite the following files: /etc/inc/captiveportal.inc for the one offered in this site, and also the file: /usr/local/www/services_captiveportal.php, before performing the suggested operations, make a save of both files, and compare the originals with the downloaded ones, in the case of the second file, it is the only one that shows significant changes in its code, the first file is exactly the same, once those errors are shown, return to put in its place the saved files of the installation that worked, and everything works fine, except to be able to achieve the desired changes according to the response to said bugs. |
Since 2.4.4 RADIUS attribute
NAS-Identifier
is the same on all CaptivePortal zones. This is an issue for users that need to distinguish multiple zones and can't useNAS-Port
for that