‘Uncategorized’ Category

  1. CCNA Books Giveaway

    October 4, 2011 by Brian Kenny

    Hey, so as I peer up at my books from my office desk I find myself going, “Dude, those Cisco books take up far to much space”. So, I’m giving them away. It’s the CCNA ICND2 & CCENT/CCNA ICND1. If your interested and find you’ll get use from them, just drop a comment below and I’ll pick a random person. If your not interested in doing the CCNA, don’t ruin it for those that are.

    There should be two CD’s included with the books but I can’t find them, sorry.

    I’ll post them for free within Ireland.


  2. Calling all nerds, diagnose this!

    September 24, 2011 by Brian Kenny

    Ok, I’m pretty damn networking savvy but this is totally stumping me.

    It only happens in my house and it’s like some packets are not being delivered yet, pings never drop and their response times are perfectly acceptable.

    Yet videos will play for about 10 seconds, the video will pause yet the audio will continue. I more easy to show issue would be images, images load but very very strangely. Example:

    Other strange things I’ve noticed would be google maps not loading and for that matter sometimes google will come back with some very strange javascript.

    The only solution I can thing of is someone has a proxy server between me and the outside interwebs and it’s not doing it’s job correctly. What to you thing?


  3. Datacenter KVM

    August 22, 2011 by Brian Kenny

    KVM trolleys in Datacenters have always bugged me. You wheel, you plug in, you can fix yourself and the trolley comfortably in an aisle.

    I’m going to build this as a replacement. Hook it onto whatever cabinet your working on. Boom!


  4. Arduino Ethernet Shield – MacBook Air Cunundrum

    by Brian Kenny

    So I bought an Ethernet Shield and a MacBook Air… with no ethernet port…. sheeeeeeit.


  5. Totally psyched to see these in November

    August 18, 2011 by Brian Kenny


  6. Show your git branch in terminal

    August 10, 2011 by Brian Kenny

    Kick ass way to show your git branch in your terminal window:

    To do this, simply edit your bash profile with

    vim ~/.bash_profile

    Then add these lines to it:

    function parse_git_branch {
    ref=$(git symbolic-ref HEAD 2> /dev/null) || return
    echo “(“${ref#refs/heads/}”)”
    }

    RED=”\[\033[0;31m\]”
    YELLOW=”\[\033[0;33m\]”
    GREEN=”\[\033[0;32m\]”

    PS1=”$RED\$(date +%H:%M) \w$YELLOW \$(parse_git_branch)$GREEN\$ “


  7. Bad Choice

    August 7, 2011 by Brian Kenny

    I originally started a website to point the finger at poorly parked cars. It was one of those 10 minute ideas that I just decided to go ahead with. I decided on a name quickly without really thinking about it at all.

    After some tweets pouring in, I decided to dig deeper into the definition of the word mong.

    Web Definition: a mixture, a crowd (e.g. mongcorn means maslin)^[1]; A mongrel dog^[2]; Shortened version of Mongoloid, a person with Down’s syndrome; ‘mong is an aphetic for among^[1]

    After reading the definition, I’m not going to lie, my heart sank a little bit. It’s extremely disrespectful and against all my morals to use such a crass word for the website. I should have done my homework better.

    I’ve removed the site now and hopefully to anyone this has effected, I’m truly sorry. It was never intended this way.


  8. [POST] Homebrew having an micky fit

    July 26, 2011 by Brian Kenny

    After I upgraded to Lion, something weird happened. It stole or removed git on me. I had to reinstall the bitch. Now when I try to update homebrew I get:

    Aborting
    Error: Failure while executing: git checkout -q master

    Annoying but here’s a simple fix:

    cd /usr/local && git reset –hard HEAD


  9. [HARDWARE] Replacing a disk in a linux software raid

    July 22, 2011 by Brian Kenny

    You have a dead disk and it needs replacing. This is going to be done on a CentOS box but it’s pretty distribution none specific.

    First, lets have a look at whats dead:

    [server ~]# cat /proc/mdstat

    Personalities : [raid1]
    md0 : active raid1 sdb1[1] sda1[0]
    104320 blocks [2/2] [UU]

    md2 : active raid1 sdb5[1] sda5[2](F)
    226291456 blocks [2/1] [_U]

    md1 : active raid1 sdb2[1] sda2[2](F)
    10482304 blocks [2/1] [_U]

    unused devices: <none>

    OK so we can see that sda has failed for both md1 and md2. Lets replace it.

    First we need to take sda out of the RAID completely which we do by the following commands:

    # First we fail the drive
    [server ~]# mdadm –manage /dev/md1 –fail /dev/sda2

    # Then we delete it from the RAID
    [server ~]# mdadm –manage /dev/md1 –remove /dev/sda2

    # And the second and third partitions
    [server ~]# mdadm –manage /dev/md0 –fail /dev/sda1
    [server ~]# mdadm –manage /dev/md0 –remove /dev/sda1
    [server ~]# mdadm –manage /dev/md2 –fail /dev/sda5
    [server ~]# mdadm –manage /dev/md2 –remove /dev/sda5

    OK so the drive has been removed from the RAID, next we need to setup GRUB on sdb so that it can boot without issue.

    # We will set it up on the second HD, sdb.
    [server ~]# grub
    grub> root (hd1,0)
    grub> setup (hd1)
    grub> exit

    OK, now we’ve grub installed. Shutdown the server and replace sda.
    You may need to set the boot sequence in the BIOS to boot the second HD instead of the first.

    Once the server comes back online – we need to partition the second HD the same as the first and then reintroduce it back into the array. We do this as follows:

    # Copy the partition table from sdb and apply it to sda
    [server ~]# sfdisk -d /dev/sdb | sfdisk /dev/sda

    # Reintroduce to the array.
    [server ~]# mdadm –manage /dev/md0 –add /dev/sda1
    [server ~]# mdadm –manage  /dev/md1 –add /dev/sda2
    [server ~]# mdadm –manage /dev/md2 –add /dev/sda5

    Your done!


  10. [CODE] Scan a range for servers that accept an SSH key

    July 12, 2011 by Brian Kenny

    A small piece of bash scripting that will search through a list of defined networks for open ssh ports and then try to connect to them with a specified ssh key.