Adventures in live booting Linux distributions

We’re all familiar with live booting Linux distributions. Almost every Linux distribution under the sun has a method for making live CD’s, writing live USB sticks, or booting live images over the network. The primary use case for some distributions is on a live medium (like KNOPPIX). However, I embarked on an adventure to look at live booting Linux for a different use case. Sure, many live environments are used for demonstrations or installations - temporary activities for a desktop or a laptop....

2014-07-29 · 5 min · Major Hayden

Automatically loading iptables rules on Debian/Ubuntu

If you want your iptables rules automatically loaded every time your networking comes up on your Debian or Ubuntu server, you can follow these easy steps. First, get your iptables rules set up the way you like them. Once you’ve verified that everything works, save the rules: Next, open up /etc/network/if-up.d/iptables in your favorite text editor and add the following: Once you save it, make it executable: Now, the rules will be restored each time your networking scripts start (or restart)....

2009-11-17 · 1 min · Major Hayden

New Linux security advisory Twitter bots

Thanks to the simplicity of ruby as well as the twitter and httparty gems, I’ve whipped up some Twitter bots today. The three bots will alert you when there are Red Hat, Ubuntu, or Debian security advisories. I’d set one up for Fedora, but their feed is broken today. @redhaterrata - Red Hat Errata Updates @ubuntusecurity - Ubuntu Security Notifications @debiansecurity - Debian Security Advisories As always, you can let me know if you have any suggestions for improvements, or other bots you’d like to see....

2009-02-05 · 1 min · Major Hayden

Linux: Adjust storage kernel module load order

I set up a system at home that has two SATA controllers: one is on the motherboard (nvidia chipset), while the other is on a Silicon Image SATA card that has three eSATA ports. Here is the relevant lspci output: There are two primary drives connected to the onboard controller and four connected to the controller card. One of the primary drives on the onboard controller contains the operating system (Ubuntu, in this case), while the other drive is blank....

2009-01-26 · 2 min · Major Hayden