I need to allow some MAC addresses to access internet connection without authentication on captive portal.
I allowed this MAC addresses on captive portal configuration and I can see these MAC addresses on session logs, but they can't access internet connection because captive portal is shown and they can't bypass authentication.
Looking at logs I can only see this error:
Quoteconfigd.py: [889b1245-acd0-4e33-8062-c62cf18f1537] Script action failed with Command '/usr/local/opnsense/scripts/OPNsense/CaptivePortal/listClients.py /zoneid '0' /output_type 'json'' returned non-zero exit status 1 at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 481, in execute stdout=output_stream, stderr=error_stream) File "/usr/local/lib/python2.7/subprocess.py", line 190, in check_call raise CalledProcessError(retcode, cmd) CalledProcessError: Command '/usr/local/opnsense/scripts/OPNsense/CaptivePortal/listClients.py /zoneid '0' /output_type 'json'' returned non-zero exit status 1
Can this be the problem?
Does the issue still exist for 19.1.7 ? We did have a fix for listClients().
Cheers,
Franco
I solved this problem following this post https://forum.opnsense.org/index.php?topic=9246.0
After that client list works perfectly without errors and allowed addresses/MACs can connect without captive portal.
This solution fixed also a very annoying problem of sessions lost after reboot (Franco did you remember my old post https://forum.opnsense.org/index.php?topic=5907.msg24565#msg24565 ? Today finally was fixed!
Oh ok, that means the database had a faulty value in it :/