If you wanted to do MAC Address Authentication, is there a way to add a range of mac addresses to the users list, in one entry (with wildcards)? If so, what's the syntax? I have equipment that has MAC Addresses all starting with the same 8 characters, only the last 4 differ. It would be great to allow them all with one entry in DaloRADIUS. I have found some examples how to do this in FreeRADIUS (text file) config itself, but I would like to do this in DaloRADIUS (database) config.
Check the 'CONFIG_PATH_DALO_VARIABLE_DATA' setting in daloradius.conf. For my daloradius on ubuntu it is set to '/var/www/html/daloradius/var'.
Restoring a backup does not work because of faulty regex
I found the problem why restoring the backup does not work. The regex is not correct. $rollBackQuery = preg_split("\n\n\n", $fileRollback); should be delimited with '/' like so: $rollBackQuery = preg_split("/\n\n\n/", $fileRollback);
The error you get when using CLI is because the .sql contains INSERT commands. Because your database is probably not empty, you get a 'duplicate entry' error on the PRIMARY key. That's why Daloradius first empties the table and then runs the INSERT sql line when restoring a backup: $sql = "DELETE FROM $tableName"; $res = $dbSocket->query($sql); I have the same problem: "system says that backup has been restored succesfully but with no tables affected." Backup restoring is done in config-backup-managebackups.php...