Friday, April 25, 2008

Hardy Heron and NVidia

Well... I've finally taken the leap from Feisty to Hardy, and wow... I'm glad I did. The performance difference alone is worth the money. I've currently got Xubuntu and Ubuntu dual booting (lovely tool GRUB!).

Most stuff worked straight out of the box, apart from one thing. The nvidia drivers had a problem initialising, the "nv" drivers worked ok, but not the nvidia ones, and, unfortunately, you need the nvidia ones for 3D acceleration to work, and, of course, you need 3D acceleration to do Second Life etc. etc.

The problem I was having was that every time I installed the nvidia 96.43 drivers (I have a GeForce4 440MX), the display looked rubbish (to the point where I couldn't even read the text). So, a quick look at /var/log/Xorg.0.log showed the following error :

Failed to initialize GLX extension (Compatible NVIDIA X driver not found)

It all basically (after about two days of investigation) found that there's a bug in Hardy which doesn't detect the monitor correctly, so you basically have some kind of basic monitor which doesn't have the correct resolutions, and this throws the driver completely. Anyway, a quick addition of :

SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection

to the xorg.conf file and it sorted it.

Other than that, no problems, and more than happy.

Saturday, March 15, 2008

Data breaches

I blog quite a bit about the amazing ineptitude of various government departments with regards to data security. On the subject, FlowingData has published a picture of the 10 largest data breaches since 2000. It's fascinating reading.

Thursday, January 03, 2008

Virtualisation (take 3)

Okay, one minor hiccup overcome. I attempted to RDP into one of my VirtualBox VMs yesterday, and found that I couldn't, for one reason and one reason only. By default, VirtualBox (on Linux, anyway) sets up the VM running via a NAT connection, and for those in the know, this basically piggybacks on the current IP address, rather than getting it's own MAC / IP address. This is fine for VMs where you only ever want to communicate "out", i.e. surf the web from the VM etc., but when you want to use them as "servers", i.e. to communicate "to" them, it's no good. And this is precisely what I pretty much exclusively use them for.

Well, it's a bit bizarre to set up a bridging network in Ubuntu, but it is possible, and actually works really well, it's just a little bit more fiddly than VMware, which does it by default.

I'm not going to go into too much detail (if anybody wants the detail, then by all means email me), but you basically have to set up some custom bridging network adapters, (via the bridge-utils package), assign the bridged adapter an IP address, and then associate the VM with the adapter. Now, I've currently only got it working via DHCP, and, unfortunately, my router's not fantastic at this, so, in the past, I've tended to manually assign the IP addresses to my network nodes, but it seems to be working at the moment, fingers crossed.

I suppose a downside, and it's whether you consider it a downside or not, is that, using this approach, you have to have a seperate bridge adapter for each VM, since VirtualBox can't even start a VM which is sharing an adapter, but I can live with this at the moment, even though I have 5 adapters defined. Fortunately, a quick

$ ifconfig down

disables the currently unused adapter.

So, what's the state of play?

Well, I currently have the following VMware VMs :

1. MediaWiki running via a JumpBox
2. Oracle Enterprise Linux 5
3. Minix

And the following VirtualBox VMs :

1. Ubuntu 7.10
2. Ubuntu 7.10 JeOS
3. Google gOS
4. Damn Small Linux 4.2.2

Sad, moi? ;-)

Saturday, December 29, 2007

Virtualisation (take 2)

Well, hope everyone had a nice christmas and are looking forward to a great new year. I certainly am.

Anyway, just thought i'd blog about a development in my quest for the perfect virtualisation approach. People who know me know that I am passionate about the use of Virtual Machines (VMs) for practically everything I do. I just love the idea of having my main OS (currently Ubuntu 7.04), but being able to run Ubuntu / OpenSUSE / Damn Small Linux (DSL), or, indeed, any other OS that has the feature that I require (such as my 11g instance on Oracle Enterprise Linux, or my Ubuntu 10g XE database, again all running as RDP'able VMs).

In the past, I've always used VMWare Player, and got my head around the creation of VMDK and VMX files by the use of QEMU. However, recently, I've started to get my head around VirtualBox, an open-source project for managing your VM server, and, I must say, how impressed am I? The software is an absolute breeze to install / run, and the creation of the VMs through the use of wizards is a bit funny to start off with, but once you understand it, it's by far the easiest way to create all the fiddly configuration settings for a given VM, such as hard disk size, memory usage etc.

One problem with simply using VMWare player, as opposed to VMWare Workstation (or similar), is that you have to basically manage your VM server like you're managing file(s) and window(s), i.e. through a file manager. However, what I like about VirtualBox is that the software is
full enterprise-class software, having a VM manager, the full works! And, the fact that it's one of the only software which fully supports Remote Desktop Protocol (RDP) (although, you can do this with other VM products, they don't fully support it... not yet anyway). For a little bit more information on this, see here.

Of course, it's OSS as well, and extremely light-weight.

So, as I'm writing this, Ubuntu 7.10 is being installed. I'll let you know how I get on with my future VM projects in future blog posts.

Have a happy new year!

Monday, December 24, 2007

Can you adam and eve it?

I just DO NOT believe this... maybe it's just that things are getting put in to the public domain more because of recent events, and granted that this is the Royal Mail, and not, strictly speaking, some inept government department, but how long do we have to live in a country with such a woefully and grotesquely inept attitude towards data security awareness? How can things just go so badly wrong all the time (as seems to be the case)?

Mr Brown is probably thinking "why did I ever take this job?". The rest of us are thinking exactly the same thing.....

Sunday, December 23, 2007

Here we go again

Almost as a response to my previous blog, here we go again. Now, nine NHS trusts have "lost" data (one, according to the Sunday Mirror, involved the details of 160,000 children). Utterly unbelievable. The stupidity, ignorance and ineptitude staggers belief!

Tuesday, December 18, 2007

Data security (or lack thereof)

My previous post sparked a minor flurry of comments (cheers Tim) about top-n lists, but I was shocked tonight (literally about half an hour ago) to find ANOTHER piece on the newswire about a government department / local authority misplacing yet another set of valuable documents and information in some form of internal postal system. Granted, with this one there was not any way that innocent individuals information could be gleaned, however, this is another example of this systemic ineptitude and total ignorance of basic data security principles when dealing with the important issue of personal data.

As somebody who has made a career in the data management industry, with experience in large scale data warehousing and business intelligence projects (even presenting a series of talks of data security principles), this is something I feel I can comment on with some authority. In a sense, Gordon Brown has been unlucky. He took over just as two major data security violations took place in government departments, namely the HM Revenues and Customs (HMRC) and the Driver and Vehicle Licensing Agency (DVLA), and it would be naive to think that government departments and local authorities all work in some kind of revolutionary way such that the Prime Minister knows EVERYTHING that goes on, of course not, he relies on his junior ministers / secretaries of whatever stupid government department's turn it happens to be this time, nor would it have been any different under any other government party, since it's still the same employees who work in the HRMC or DVLA, but just as the managing director of a company is liable for corporate mistakes by employees (generally), I'm afraid the buck stops with Mr. Brown. This has certainly not been a good few months for the Labour party, especially with the other things such as questions over funding rear their ugly head.

I'm afraid, though, as much as I understand about the way that this country is structured, I have no sympathy for any of them. It, quite simply, staggers belief the sheer scale of some of the data security violations (most of which definitely contravene the Data Protection Act 1998).

So, here's the top 10 list of government ineptitude, in ascending order of total inept ignorance and each showing a total lack of respect for the important of security of personal information :

10. Hundreds of HMRC documents (including VAT returns and personal details) found by a BBC reporter on a Nottingham street

9. An ex-employee for the Department for Work and Pensions (DWP) having thousands of benefit claimant details (fortunately, non-financial) on 2 CDs for over a year after leaving

8. The DVLA sending 1,215 questionnaires with personal details out and 100 going to the wrong addresses.

7. The Scottish Government losing pension statements for 200 people (fortunately, found again a day later)

6. HMRC (again) involved in a postal mix-up regarding the personal details of 50 people being accidentally sent to a training company in Dundee.

5. Domestic violence victim details (names and addresses) faxed by mistake to local shops in Glasgow by Strathclyde Police

4. 15,000 Standard Life customer details "lost" in transit from HMRC (again)

3. Ruth Kelly admitting that the details of three million learner drivers were "lost" by a contracted company based in Iowa, contracted to the DVLA.

2. The Department of Work and Pensions (DWP) sending the pension details of 26,000 pensioners to the wrong addresses

and, of course.....

1. By far the most staggering, 25 million child benefit records from HMRC (yes, again!) to the National Audit Office (NAO) on 2 CDs being lost in internal mail.

As somebody who has personally been affected by number 1, and also aware that their financial and personal details on a (get this!) "password-protected" set of 2 CDs generated by a junior official and sent by UNREGISTERED courier, seemingly with the full knowledge of much more senior managers (even though the chanceller, Alistair Darling, blamed the fiasco solely on this "junior official"), this shows another absolutely astounding lapse of data security by a government. In any other context, senior heads would roll for this, certainly if this country was a private company, no one would touch us with a ten-metre cattle prod. To add insult to injury, the Information Commissioner, Richard Thomas, has stated that the government did break the Data Protection Act 1998 by not safeguarding sensitive data. However, the Information Commissioner's Office (ICO) lacks any kind of teeth, since the maximum fine that a Data Protection Act 1998 violation can incur is, wait for it...., £5,000. Yeah, that's right, only five grand, although, to be fair, Mr. Darling has promised that the ICO will get more powers of prosecution for future data protection violations. What this will mean for us citizens / consumers, we'll have to wait and see.