Category Archives: Linux

NDB – Network Block Device setup

I have been trying to setup NBD to present a shared storage device for me to play around with Xen live mobility. NBD is not tricky, but the documentation, both official and Google, is flawed and confusing. To get a … Continue reading

Posted in Linux | Tagged , , , | Leave a comment

VI changing to lowercase

I don’t know why I can never remember this one, but here it is for reference: :%s/.*/\L& .* = Match line& = What was matched No need for /g as .* already matches the line, and .* if faster than … Continue reading

Posted in AIX, Linux | Tagged , | 1 Comment

Finding SQL query in TCP stream

Just a little one to remember, as I use this occasionally, with this tcpdump you can read SQL queries, rsh commands etc: tcpdump -i en0 -s 0 -l -w – dst port 3306 | strings  

Posted in AIX, Linux | Tagged , , , , | Leave a comment

DHCPv6 and finding DUID

As you probably know if you are using IPv6 at home, Privacy Extentions are a pain, Apple devices are a pain, “smart” phones are a pain, etc. The problem is that privacy extentions makes it impossible to set-up as firewall … Continue reading

Posted in Linux | Tagged , , , , | Leave a comment

Entering BIOS on a Toshiba Satellite C855-2F0 laptop

I recently bought a Toshiba Satellite with the intention of putting Linux (Ubuntu) on it. The first hurdle turned out to get it to boot from a DVD or USB stick. I don’t understand why it has to be so … Continue reading

Posted in Linux | Tagged , , , , | 1 Comment