Posts

Showing posts from May, 2016

Dynamic DNS and OpenDNS on the vyatta box

Vyatta has problems with sending the ddclient traffic to OpenDNS on the same interface that it is updated. This means that the network identity in the OpenDNS dashboard is unreliable, and we get a lot of errors in the Vyatta logs. The workaround is to disable dynamic DNS configuration in Vyatta, and use a script based on cUrl. cUrl is like Wget, for downloading URLs, and it can be forced to use a specific interface. Steps to install: 1. Download the opendns_updater.sh script, and put it in /usr/local/bin/ on Vyatta. Make sure you update the username and password! Make it executable with chmod +x /usr/local/bin/opendns_updater.sh For convenience, I created one more script, opendns_update_all.sh, with this content, for example you have 5 Internet lines: #!/bin/bash /usr/local/bin/opendns_updater.sh <interface1> <Network Identity 1> /usr/local/bin/opendns_updater.sh <interface2> <Network Identity 2> /usr/local/bin/opendns_updater.sh <interf

The fastest way to delete large file(s) on Linux

Go to the container directory and run this command: perl -e 'for(<*>){((stat)[9]<(unlink))}'

Education & Learning

“Education is something that is done to you. Learning is something you do for yourself.” ~Joi Ito.

Don't forget rule #6

What is rule #6? "Don't take yourself so seriously." ~ Seth Godin 's Leadership Workshop .