2020-03-27 20:39:13 +00:00
|
|
|
|
Find and remove access list duplicates
|
|
|
|
|
======================================
|
|
|
|
|
|
2023-01-10 13:45:27 +00:00
|
|
|
|
[⬅️ Go back to main README](../README.md)
|
2020-03-27 20:39:13 +00:00
|
|
|
|
|
2022-02-12 12:05:56 +00:00
|
|
|
|
> ℹ️️ **Info**: This script can not be used on its own but requires the base
|
2022-02-11 22:34:39 +00:00
|
|
|
|
> installation. See [main README](../README.md) for details.
|
2021-05-03 13:07:50 +00:00
|
|
|
|
|
2020-03-27 20:39:13 +00:00
|
|
|
|
Description
|
|
|
|
|
-----------
|
|
|
|
|
|
|
|
|
|
This script is supposed to run interactively to find and remove duplicate
|
|
|
|
|
entries in wireless access list.
|
|
|
|
|
|
|
|
|
|
Requirements and installation
|
|
|
|
|
-----------------------------
|
|
|
|
|
|
2023-11-14 09:19:05 +00:00
|
|
|
|
Depending on whether you use `wifi` package (`/interface/wifi`), `wifiwave2`
|
|
|
|
|
package (`/interface/wifiwave2`), legacy wifi with CAPsMAN (`/caps-man`)
|
|
|
|
|
or local wireless interface (`/interface/wireless`) you need to install a
|
|
|
|
|
different script.
|
2020-03-27 20:39:13 +00:00
|
|
|
|
|
2023-11-14 09:19:05 +00:00
|
|
|
|
For `wifi` (RouterOS 7.13 and later):
|
|
|
|
|
|
|
|
|
|
$ScriptInstallUpdate accesslist-duplicates.wifi;
|
|
|
|
|
|
|
|
|
|
For `wifiwave2` (up to RouterOS 7.12):
|
2023-08-07 20:13:34 +00:00
|
|
|
|
|
|
|
|
|
$ScriptInstallUpdate accesslist-duplicates.wifiwave2;
|
|
|
|
|
|
|
|
|
|
For legacy CAPsMAN:
|
2020-03-27 20:39:13 +00:00
|
|
|
|
|
|
|
|
|
$ScriptInstallUpdate accesslist-duplicates.capsman;
|
|
|
|
|
|
2023-08-07 20:13:34 +00:00
|
|
|
|
For legacy local interface:
|
2020-03-27 20:39:13 +00:00
|
|
|
|
|
|
|
|
|
$ScriptInstallUpdate accesslist-duplicates.local;
|
|
|
|
|
|
|
|
|
|
Usage and invocation
|
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
|
|
Run this script from a terminal:
|
|
|
|
|
|
2023-11-14 09:19:05 +00:00
|
|
|
|
/system/script/run accesslist-duplicates.wifi;
|
2020-03-27 20:39:13 +00:00
|
|
|
|
|
2022-01-03 08:50:39 +00:00
|
|
|
|
![screenshot: example](accesslist-duplicates.d/01-example.avif)
|
2020-03-27 20:39:13 +00:00
|
|
|
|
|
|
|
|
|
See also
|
|
|
|
|
--------
|
|
|
|
|
|
|
|
|
|
* [Collect MAC addresses in wireless access list](collect-wireless-mac.md)
|
|
|
|
|
|
|
|
|
|
---
|
2023-01-10 13:45:27 +00:00
|
|
|
|
[⬅️ Go back to main README](../README.md)
|
|
|
|
|
[⬆️ Go back to top](#top)
|