Adding extra IP addresses to Debian

I was just asked to add a new IP address to a Debian cloud host. It’s a simple thing, but depending on how often – or how seldom – you do it, you often still need to look it up to remind yourself. So, having previously decided to do a post every time I do something like this (for my own benefit as much as anything) here’s what I did…

Edit /etc/network/interfaces – obviously you’ll need to be root or sudo it.

There will probably something like this in there:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

The first chunk is the loopback interface, but the second chunk is the ethernet (eth0). The final line might be dhcp or it might be static, followed by more lines to describe the IP, like this:

iface eth0 inet static
    address 209.85.147.147
    netmask 255.255.255.255

To add a new IP – let’s imagine it’s ’209.85.147.148′ – to the same ethernet interface, just add something like this:

iface eth0:0 inet static
    address 209.85.147.148
    netmask 255.255.255.255

The “:0” is the extra bit we added. Then restart your networking:

/etc/init.d/networking restart

(keeping your fingers crossed you didn’t make any mistakes that might then lock you out of your host completely, of course ;)

Posted in Uncategorized | Tagged , , , | Comments closed

Bluetooth headphone adaptor

This has been one of my better buying decisions recently. I was looking at Sennheiser Bluetooth headphones, but as I have a few pretty decent ear-canal phones, Sennheiser headphones and others it seemed a little wasteful. So I started looking for a BT adaptor. Sony devices were getting good reviews, so I looked at the MW-600. Reduced from 50 squid on Amazon to 35, it was surely worth a punt… And it was. I’m loving it.

I was expecting the included earphones to be a throwaway, but actually, they’re pretty good. They’re certainly not accurate, per se, but tuned to be enjoyable, rather than precise. They’re on a very short cable which is good for not getting it wrapped around you or snagged on anything. (It’s so short I can barely focus on the screen at full stretch!) Pretty cool being able to put the iPad back in my bag and keep playing, with full control as well.

You can have it paired with 3 devices, so you can switch between them without any drama. I’ve got it on iPad, iPod touch and Macbook, and it’s seamless.

The only thing that’s a bit annoying is that the volume control – a touch-sensitive affair – is a little bit fussy. Sometimes I struggle to make it change, and sometimes it shoots to maximum or minimum volume almost instantly.

Like I said, this has been a good buying decision, and cheap as chips.

Posted in Uncategorized | Tagged , , , , | Comments closed

Ooh, nice digs!

[Update: removed.]

Hmm, maybe I’ve found that house with a garden I’ve been looking for…? Er, no. Very nice, but 2 megaeuros is a bit much for my bank manager – I made a new year’s resolution not to give him another break-down!

Nice though, if you have the wedge, and you fancy living near the sea, near the mountain, with a pool, underfloor heating, sob, sob…

Posted in misc | Tagged , , , , | Comments closed

Themetastical

So I’ve finally – FINALLY! – moved from the WordPress theme I’ve had on this site for nearly FIVE years. For now I’ve just got a very standard Thematic-based child theme, but I’ll be working on that shortly. At least I can move some widgets around now!

Watch, as they say, this space…

Posted in misc | Tagged , , , | Comments closed

exim vulnerability fun

Lots of fun over weekend for admins with not-quite-latest exim… I’m getting emails from various services saying their user information databases were compromised, which I assumes related to the rootkits that the vulnerability allows you to install. Which makes me wonder: how many sites are storing passwords unencrypted? If a user database is compromised, and the passwords are encrypted, it would only really affect people with stupid passwords. Anyway, here we go again, changing logins on god-knows-how-many systems…

Posted in Uncategorized | Tagged , , , | Comments closed

2010-07-15-211955-2010-07-15-211928-_MG_0384-pano-Edit-2

2010-07-15-211955-2010-07-15-211928-_MG_0384-pano-Edit-2

Posted in misc | Tagged | Comments closed

iMovie '09 – tsk

Spot the deliberate mistake:

Picture 60.png

Posted in misc | Tagged | Comments closed

Just keep your eyes peeled!

just-keep-your-eyes-peeled-tweened.gif

Posted in misc | Tagged , | Comments closed

IE6 CSS – let them eat cake?

An interesting idea is presented on “for a beautiful web” regarding how best to deal with IE6 and its many failings. Universal Internet Explorer 6 CSS proposes that IE6 always gets sent a standard look and feel, so that the experience for its users is not bad – just not the full shebang. It’s clear it has been designed, rather than sending plain CSS-less HTML, but it’s very sparse.

Personally, I like the idea. I have done something similar on more than one occasion. I haven’t taken it to the same level, possibly, but I’ve treated IE6 in a similar way to how I treat screen readers for example: make sure all the content is available, and is usable. What follows are a couple of screen shots of redamc.com, first from Safari 4, then from IE6. (The Safari 4 shot is representative of all modern browsers, though.) The design basically revolves around having all the content on one page, in nicely scrollable boxes. In IE6, this was not well supported, and the decision was taken to make the layout more “blog-like”. All the content is the same, however.

First, Safari 4:

safari4screenshot.jpg

And IE6:

ie6screenshot.jpg

Posted in Uncategorized | Tagged , , | Comments closed

Protected: Development Standards: HTML

This post is password protected. To view it please enter your password below:

Posted in Uncategorized | Tagged , , | Comments closed
  • Meta