[Solved] Captive Portal: MAC addresses not saved

Started by lukepower, April 13, 2016, 07:25:09 PM

Previous topic - Next topic
April 13, 2016, 07:25:09 PM Last Edit: April 14, 2016, 11:05:58 AM by lukepower
Hi there,

while experimenting with the captive portal, I noticed that I am unable to set any MAC address (like "b0:df:3a:0b:e6:be") under "Allowed MAC addresses".
I can edit the field, but once I hit "Save" it is not saved (and of course not applied). Am I doing something wrong here?

OPNsense 16.1.9-amd64   
FreeBSD 10.2-RELEASE-p14   
OpenSSL 1.0.2g 1 Mar 2016

Thanks
Lukas

Hi Lukas,

Did you hit enter after inputting the MAC? It will then render as an grey box with a little "x", otherwise it won't save.


Cheers,
Franco

Oh god, right, now it works :)
But when entering more than one address, I get the error "Please enter valid mac addresses". (see screenshot)

So one address works fine, when I try to add a second it doesn't ...

Seems to work here, not sure why it won't over there. I used:

30:d6:c9:d2:d5:e4
08:ee:8b:a6:c7:3f

(You can also drag and drop)

Ok found out the problem.
Basically I copy/pasted the MAC address with a space at the end, which obviously was interpreted as a non-MAC character. Probabily it would be nice to get it trimmed before testing, but hey, my fault  ;)

Thanks again
Lukas

Hi Lukas,

I'm not sure if we can fix that, if we can we will do that. Thanks for the report. :)


Cheers,
Franco