Parent Control
To prevent specific Mac addresses from accessing the WiFi hotspot in particular time periods, for example, blocking kids from playing phones, tablets, and computers when they should sleep.
It supports EZEN4X series routers, as shown below. This script does not support the EZEN3X routers. Please follow the below steps to install, configure, and activate the parent control function.
| Firmware | SKU Models |
|---|---|
| EV4xxx | EZR14(T), EZR24, EZR34(T) |
Install Script
Section titled “Install Script”After accessing the SSH terminal, run the installation command below.
wget http://www.outdoorrouter.net:8080/Scripts/blacklist.sh -O /root/blacklist.sh; chmod 755 blacklist.shYou will see confirmation output upon successful application loading as below.
If errors appear during the download and installation, please copy the returned information and forward it to our support team.
Downloading 'xxx.sh'Connecting to xxxWriting to '/root/blacklist.sh'Download completedConfigure Script
Section titled “Configure Script”We need to add specific Mac addresses to the blacklist.sh. You can find the Mac address of a terminal device in its WiFi (internet) status or settings. When the device is already connected to the router, you can check their Mac address on “Active DHCP leases” under “Network > DHCP and DNS.”
After having the Mac addresses, go back to the SSH terminal and execute the below command to open the newly installed blacklist configuration file.
vi /root/blacklist.shRefer to the VI Editor tutorial to edit the Mac addresses on line 4 and separate them with Space. Then, save settings and exit the VI editor.
#!/bin/sh. /lib/functions.sh
maclist="AA:BB:CC:DD:EE:FF 00:11:22:33:44:55 66:77:88:99:00:11"ifnames="ra0 ra1 rax0 rax1"Scheduled Task
Section titled “Scheduled Task”The final step is to set scheduled tasks to start and stop the above-configured blacklist.sh. Navigate to “System > Scheduled Tasks” to add cron jobs.
The below example is to start the task at 10:00 PM and end the task at 07:00 AM. Please refer to the Crontab Syntax to customize the period.
0 22 * * * sh /root/blacklist.sh start0 7 * * * sh /root/blacklist.sh stop