Monthly Archives: January 2014

OpenWRT Adblock with Pixelserv

There’re many ways of doing this. The scenario and configuration is flexible enough, depending on what you want to achieve. The easy way My review: Provide the simplest method, poisoned DNS record will be redirected to 127.0.0.1. Longer page load due to no content served in 127.0.0.1 (wait until connection timeout). However this script let… Read More »

OpenDNS update script on OpenWRT Backfire 10.03.

AUTHOR: drl@MyBSD.org.my Install ‘curl’ package: # opkg update # opkg install curl Next create a script and call it /root/rc.ddns_opendns.sh : #/bin/sh /usr/bin/curl -4 -k -u username:password “https://updates.opendns.com/account/ddns.php?” Make the script executable: # chmod +x /root/rc.ddns_opendns.sh Next create another script and call it /etc/hotplug.d/iface/100-opendns : #!/bin/sh if [ “$ACTION” = ifup ]; then /root/rc.ddns_opendns.sh >… Read More »

IOS Tips

A very useful IOS tips from PacketLife Keyboard shortcuts These shortcuts can be used to speed up operating with the CLI: Ctrl+B or Left Move the cursor one character to the left Ctrl+F or Right Move the cursor one character to the right Esc, B Move the cursor one word to the left Esc, F… Read More »