Changes

From Amahi Wiki
Jump to: navigation, search
349 bytes added ,  17:46, 24 June 2015
no edit summary
==Get Ad List==
* Create a new shell file
nano /usr/local/bin/get-adlist.sh
* Copy and paste the following into it
#!/bin/sh
# Download the DNSmasq formatted ad block list
service dnsmasq restart
* Change permissions on the shell file
chmod -v 755 /usr/local/bin/get-adlist.sh
* Run the shell file
/usr/local/bin/get-adlist.sh
==Change DNSMasq config==
* Add the block list to DNSMasq configuration
echo "conf-file=/etc/dnsmasq.adblock.conf" >> /etc/dnsmasq.conf
* Restart DNSMasq
service dnsmasq restart
chmod 755 /etc/init.d/pixelserv
* To bring the new interface up and start pixelserv
/etc/init.d/pixelserv start
 
* To stop pixelserv and close the virtual interface
/etc/init.d/pixelserv stop
Enjoy ad-free network on ALL devices!