diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a33f4c..3063099 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ Added: - **Internet schedule** (new page). Turn the internet off at set times of the week for chosen people (all their devices) or single devices: bedtime on school nights, study time, meal times. One click starts from a ready plan ("School nights", "Every night", "Study time", "Meal times"); a schedule can have several times, a time can run past midnight, and dates can be marked as days off (holidays, Eid). **Bonus time** gives a few extra minutes without changing the schedule. **Always allowed** sites (a school platform, a study site) keep working during every schedule. While a schedule is on, the device's card shows when the internet comes back, the home network (printer, shared drives, the dashboard) keeps working, and the cut is done by the gateway itself, so it works on any phone, tablet, TV or console with no app. Each device gets its end time in the system kernel, so it comes back online on time even if the gateway service restarts or stops. Sites on the "always allowed" list only open on devices that look names up through the gateway; a phone with Private DNS (or a browser with secure DNS) turned on keeps them blocked during a schedule. Contributed by @amr-elgharip2006. Closes #32. Changed: +- The gateway service can now also be reached as `netrex`: `sudo systemctl status netrex`, `sudo journalctl -u netrex`. The old name `quota-gateway` keeps working too, so nothing you already use changes. The link is added the next time the gateway updates. - **The packages are now named Netrex.** The files are `netrex__all.deb`, `netrex--1.noarch.rpm`, `netrex--1-any.pkg.tar.zst` and `netrex-.tar.gz`, and the apt command is `sudo apt-get install netrex`. If you installed it as `quota-manager`, the dashboard updater, `apt-get install netrex` and `dnf install` move you over by themselves: the old package is replaced, and your settings, data and users stay where they were. Nothing else was renamed (service, folders and database are unchanged). - A new version is now published only after all the tests and the install checks on Debian, Ubuntu, Fedora and Arch pass on exactly that version. Contributed by @compnew2006. diff --git a/Structure_README.md b/Structure_README.md index 72f00a0..158ca79 100644 --- a/Structure_README.md +++ b/Structure_README.md @@ -27,6 +27,9 @@ > (`packaging/DEBIAN/transitional.control.template`, built in `apt-repo.yml`, never a > release asset: old updaters take the first `.deb`). `packaging/ci/smoke.sh` installs the > real 0.5.11 package and upgrades it in Debian, Ubuntu, Fedora and Arch containers. +> The systemd unit keeps its file name `quota-gateway.service` and has `Alias=netrex.service` +> (the setup script runs `systemctl enable quota-gateway` on every install/update, which +> creates the alias link; old package scripts stop/start the old name). > `apt-get upgrade` keeps the new dependency back; the documented command is > `apt-get install netrex`. diff --git a/scripts/setup_gateway_kali.sh b/scripts/setup_gateway_kali.sh index ebc2d57..9949327 100755 --- a/scripts/setup_gateway_kali.sh +++ b/scripts/setup_gateway_kali.sh @@ -1105,7 +1105,7 @@ if wan_mode; then fi cat > /etc/systemd/system/quota-gateway.service < /etc/systemd/system/quota-gateway.service <