dns2hosts

This little Python script uses the dns module from www.dnspython.org to get a complete DNS zone via AXFR and outputs the information in a format suitable for inclusion into the /etc/hosts file.

Vim Comment Out Region

I had to comment and uncomment large portions of text.

After reading http://vim.wikia.com/wiki/Comment/UnComment_visually_selected_text I added the following lines to my ~/.vimrc:

wakeonlan and ip_rt_bug

If you encounter something like this:

kernel: [811842.838329] ip_rt_bug: 0.0.0.0 -> 255.255.255.255, ?

while using wakeonlan on your Linux box, you have forgotten to set the broadcast address correctly with the -i parameter of wakeonlan.

Always call wakeonlan with the correct broadcast address of your LAN:

wakeonlan -i 192.168.1.255 aa:bb:cc:dd:ee:ff

Syndicate content