Feb 052012

When you upgrade pacman, you will get a message that says “run pacman –init” and when you do from a console (like on a remote server), you will then be presented with the following message:

# pacman-key --init
gpg: Generating pacman keychain master key...
Not enough random bytes available.  Please do some other work to give
the OS a chance to collect more entropy! (Need 282 more bytes)

Continue reading »

May 102011

This is how to be a 1337 hax0r and install archpwn to a hd, cause you won’t find any documentation on the net for how to do it.  Not only that, but aif is borked.

So, lets get down to business.  Boot a real operating system like….hell, idk, gentoo.  You can do this from the archpwn iso too, but gentoo is easier.  Whatever you do, DO NOT try to boot gentoo from inside of arch linux, the gentoo boot process is way too complex for arch to comprehend.  Just trust me on this one.

Boot up your favorite live cd, like blackVista, mac osx, whatever it is….just make sure its not some other ‘NIX distro or you will forever wish you would have just installed it.  Once you got a shell, fdisk your drive.  STOP IT!!!  You can’t fsck your drive before you fdisk it.

I’m not gonna go through all that shit, everyone knows how to fdisk a drive….and if you don’t, well, the rest of this shit won’t be for you either.  I use a convention sorta like this:

/dev/sda1 /boot

/dev/sda2 swap

/dev/sda3 /

/dev/sda4 /home

/dev/sda5 /tmp

/dev/sda6 /porn

/dev/sda7 /more_pR0n

/dev/sda8 /ur_mommas_porn

/dev/sda9 /me_fkn_ur_momma_vids

Continue reading »

Apr 282011

So, sometimes I write scripts to be a quick way to monitor or audit other systems.  The following script was written as a way to quickly audit a list of domain names, i.e. from a list of 1 domain per line.  Initially it was used to audit a list of subdomains from a nettica account to see if the name still resolved and if so, determine if the server was running ssh with a valid key.  I have realized the script has a lot of uses, as a way to validate hosts are up and also validate ssh is running.  You could also replace the “ls” command in order to monitor other services on a server or even top or similar.  So, this script could start as a foundation and easily expanded upon.

First, you need a text file containing 1 domain name per line, like this:


Continue reading »