diff --git a/usage_instructions.md b/usage_instructions.md index 4cec1059ee5..19f49682b05 100644 --- a/usage_instructions.md +++ b/usage_instructions.md @@ -2,6 +2,7 @@ 1. Ensure all the dependancies have been installed: `pip3 install --user -r requirements.txt` 2. Review the `whitelist` file to ensure all domains you want to whitelist are present 3. Run the following command: `python3 updateHostsFile.py --replace --skipstatichosts --extensions porn --whitelist whitelist` -4. Upload outputted `hosts` file to `/etc/config/custom_hosts/` in the router e.g. `scp hosts root@192.168.1.1:/etc/config/custom_hosts/porn` +4. Upload outputted `hosts` file to `/etc/config/custom_hosts/` in the router e.g. `scp hosts root@192.168.1.1:/etc/config/custom_hosts/porn` (you made need the `-O` flag - upper case `o` - to tell the sftp client to fall +back to an older protocol to connect to the server successfully) 5. Then run `/etc/init.d/dnsmasq restart` -6. Check in the logs to see that its loaded it ok by running `logread` and checking for a line like `Sat Apr 30 08:50:43 2022 daemon.info dnsmasq[7703]: read /etc/config/custom_hosts/porn - 142886 addresses` \ No newline at end of file +6. Check in the logs to see that its loaded it ok by running `logread` and checking for a line like `Sat Apr 30 08:50:43 2022 daemon.info dnsmasq[7703]: read /etc/config/custom_hosts/porn - 142886 addresses`