What to do when Ubuntu Device-mapper seems to be invincible!

I’ve been trying a dozen different configurations of my 2x500GB SATA drives over the past few days involving switching between ACHI/IDE/RAID in my bios (This was after trying different things to solve my problems with Ubuntu Lucid Lynx) ; After each attempt I’ve reset the bios option, booted into a live CD, deleting partitions and rewriting partition tables left on the drives. Now, however, I’ve been sitting with a /dev/mapper/nvidia_XXXXXXX1 that seems to be impossible to kill! ...

March 26, 2010 · Andrew Bolster

My Experience with Ubuntu 10.04, Lucid Lynx

**Updates(26/3/10): **Thought I’d give the liveCD another go (this time using the dailyx64 image and using unetbootin), thinking it must be something simple; so during boot i just kept pressing escape, before the splash screen came up. This got me around the splash screen issue and it seems as if everything is fine. Also, I found a matching bug report on launchpad, but no resolution as of yet. Guess we’ll have to wait and see. ...

March 24, 2010 · Andrew Bolster

Chmod on lots of files

My lil-NAS has plenty of space but is maddeningly underpowered. I came across a permissions issue where, depending on how the files in question got there, they would not be accessible to my windows boxes because they were owned by root (I have no doubt that its my fault!) So, first attempt was nice and easy. $chown -R smbusr:smbusr * But this was taking a horrific amount of time, so I thought “There must be a better way”. ...

March 23, 2010 · Andrew Bolster

Installing and Configuring NS-3 on a Ubuntu System

** NS-3 Appears to have a staggeringly steep learning curve so I hope these posts help out someone else (or me, when i forget all this in a month). Running off a virtualised Ubuntu 9.10 system, the prerequisites I installed were all the ones listed here. (And i removed some out of date packages) sudo apt-get install bison bzr dia doxygen flex g++ gcc gdb graphviz imagemagick libgoocanvas-dev libgtk2.0-0 libgtk2.0-dev libsqlite3-dev libxml2 libxml2-dev mercurial python python-dev python-kiwi python-pygoocanvas python-pygraphviz sqlite sqlite3 tcpdump texi2html texinfo texlive texlive-extra-utils valgrind ...

March 14, 2010 · Andrew Bolster

Mercurial Quick Start Cheatsheet

I hadn’t used Mercurial before so I thought it might be a good idea to leave a reminder for me and anyone else who comes across it… For tidyness, I do all of my dev-stuff (Subversion, Mercurial, CVS, Git etc) under ~/src and only take root privileges when its needed; any good makefile should relocate the necessary files for you at the ‘make install’ or equivalent point. **Update:**This article was picked up by the guys at DevCheatSheet.com and I’m really honoured to be included in a site that I’ve been dipping into over the years, so if you need any kind of cheat sheet or quick reference, I highly recommend checking them out. Anyway… ...

March 13, 2010 · Andrew Bolster

Line Parsing Reminder (Duplicate removal)

So, say you have a long list of instruction (like multiple apt-get install lines) and you want to eliminate common words? Easiest way to do it is (assuming you have all of the instrustions in “list.txt”) [FYI the ‘' character indicates a continuation of a single line ] cat list.txt\ | tr ’ ’ ‘\n’ \ #Expands all space characters to new lines | sort | uniq \ #sorts each line, and then eliminates duplicates ...

March 12, 2010 · Andrew Bolster

GSOC or Having a go at Network Simulator

I had been looking at this years Google Summer Of Code google group and saw the list of organisations that are getting involved. While i was alooking at it, I knew i didn’t want to even consider the big boys (I’m looking at you, Debian, Drupal, KDE, Apache, X.Org, etc), they’re too big to get my teeth into, and I’m currently in the throws of ‘WHAT THE HELL AM I GOING TO DO MY FINAL YEAR PROJECT ON!!! ’ (For any Americans, that means ‘dissertation’). ...

March 12, 2010 · Andrew Bolster

So what can you do with 32 Million Passwords...

So I have a piece of coursework for a CS module I’m taking at Queen’s University Belfast and one of the focal points of it is the recent RockYou! SQL-injection breach that released 32million passwords into the internet, and I thought I’d have a closer look at that list. I ‘acquired’ the password list from your regular neighbourhood tracker, and thought I could walk through the process of getting a probability-sorted password dictionary. ...

March 10, 2010 · Andrew Bolster

Any Port in a Storm

While working on an IDS Solution for a client, I came across Untangle, and I loved it so much that I pulled out an old box and loaded it up as my office firewall. One thing that is lacking, from my perspective (at least in the ‘free’ edition) is the firewall interface; Untangle uses an IpTables based firewall, but doesn’t replicate the usual INPUT FOWARD OUTPUT rulebase. I think that in 90% of usecases for Untangle, this isnt a problem, but I found it a little bit alien to have portfowarding hidden in the Networking config pane, and firewall separatly. ...

March 6, 2010 · Andrew Bolster

Shared Items - 10/02/2010

Super Happy Dev Castle – SHDC #0 This was a brilliant event, I just wish I had planned ahead to have a project to work on ! Install Multiple Linux Distributions Via PXE (The Easy Way) This is YAPIWD, yet another project i want to (or wont) do… Google Wave in Action: Real-World Use Case Studies [Use Cases] I never got into google wave that much but i think i may have to revisit it after reading this article! ...

February 10, 2010 · Andrew Bolster