Headless Raspberry Pi broadband wifi switch problem sorted

This is probably blindingly obvious, but I was quite pleased with this solution…

We just switched broadband providers and I got home to find the provider changed, new wifi router installed and the old one unplugged. Problem was I have THREE headless Raspberry Pi computers in the house – that’s to say Pis with no keyboard or screen. One is our wifi print server attached to an old laser printer, another is the internet radio in the kitchen, and a third is an experimental audio player running Volumio. Of course none of them would connect to the network now, as they had the wrong wifi network name and password inside them, and I couldn’t SSH into them to update them… because they couldn’t join the new network. Catch 22.

One solution might have been to connect them by ethernet to the new router, but I didn’t want to move them or then have the hassle of working out their new IP addresses. So I plugged the old broadband router back in, but did not connect it to the phone line. I then waited for the 3 RaspberryPis to connect to it, then I connected a laptop to the old wifi network. This had no internet access now, but it did allow me to SSH into the 3 RaspberryPis using their old IP addresses to edit the wifi details with the

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

command. I typed VERY carefully, as I only had 1 chance to get this right. Luckily, all 3 worked and then I unplugged the old router and switched the laptop back to the new wifi network. Simples!

PS: @ryanteck points out that an even simpler solution is to rename the new wireless network SSID and password to match the old one. I’d have done this but for the fact that a family members had already attached their phones, laptops and tablets to the new network and I couldn’t face telling them they’d have to change them back again. But it’s clearly a more sensible solution.

Ryan’s tweet has given me an idea though – keep an old router handy for use as a portable not-so-hotspot so if you take your headless Pi elsewhere (holiday, Raspberry Jam etc) you could use it to SSH into the Pi to update the wifi details. Again, there’s probably a much simpler way of doing this…

Posted in Raspberry Pi | Tagged , , | Leave a comment

How to Win Eurovision

As soon as I heard Mans Zelmerlow’s ‘Heroes’, I knew it was going to win Eurovision. Or to be more accurate, as soon as I saw it I knew it would win. It was the smart graphics and animation that won it for Sweden, along with a catchy pop tune.

The United Kingdom’s recent record in Eurovision is something of a national embarrassment. Luckily, I think I may have the answer.

If the smart animation won in 2015 for Mr Zelmerlow, let’s go one better and dispense with the human being and put up a cartoon character, Gorillaz-style, in 2016. It could be carried around on a portable screen and be shown laughing, crying, necking virtual white plonk in the green room and so on. It would be so cute, everyone would vote for it.

But what theme for the song?

I’ve been thinking about this. What unites Europe but also reflects our individuality and differences at the same time?

I’ll tell you what.


Every nation has its own cheese. And we all love cheese. But all our cheeses reflect our national characters: the crumbly solidity of Lancashire or Cheddar, the soft sensuality of a ripe Camembert, the efficient deliciousness of a Gruyère. It would also help get the French back on board who had a complete nightmare in 2015.

So, introducing GBR’s 2016 Eurovision winner MR CHEESE with ‘We are united by our cheese! / woooa-oh-a-oh!’. Or Monsieur Fromage. Or Sr Queso. We can internationalise the funk out of this one.

Failing that, we need to call on Mr Neil Innes to save us:

Or just send Portishead doing Machine Gun. Just to see the expression on everyone’s faces:

Portishead – Machine Gun from Mintonfilm on Vimeo.

(If someone with artistic talent cares to knock up a Mr Cheese – or Sr Queso – sketch for me, I’ll be happy to put it on here).

Posted in media, music | Tagged , , | Leave a comment

50p reverse LED Arduino theremin

Okay, it’s not exactly musical, but this is a pretty cool quick Arduino project you can make with:

  • an LED
  • a piezo buzzer
  • er, that’s it

Okay, you need an Arduino, but it doesn’t even use a resistor.

I used the code in this project: http://mvartan.com/2013/03/11/1-photo-theramin-and-more-fun-with-reversed-leds/ and removed the push button because I found it worked better with the button always pressed – so I just shorted it out.

I wired up the LED and the buzzer like this:

The important thing is that the LED is wired up back to front – this is what makes it act like a light detector, rather than emitter. You connect the long, positive leg of the LED to ground (GND) and the short, negative leg to Analogue pin 0 (A0).

Connect the positive side of the buzzer to Digital pin 8, the negative side to GND and I just shorted digital pin 7 to GND because I couldn’t be bothered to tweak the code – in the original a push button sits between Digital pin 6 and GND.

Wire it up, upload the code and the closer you move your hand to the LED, the more ambient light gets blocked and the higher the pitch of the note goes.

Oddly, when I tried to film this on my iPhone, the soundtrack was almost entirely silent, though it was really loud in the room – and loud enough on my Fuji X10 still camera. Also, if you touch the negative side of the LED, it goes NUTS!

Posted in Arduino | Tagged , | Leave a comment

Last Orders podcast is here!

My first ever podcast is ready to consume – lend me 15 minutes and I will take you on a journey to an old builders’ yard in South East London, now home to shiny brewing vessels and where you can learn the dark (and not so dark) arts of mashing, sparging and hopping.

I’ll be making an MP3 download and RSS feed available shortly.

You can also see my photos and read about the brewery here: http://www.suppertime.co.uk/blogmywiki/2015/03/brewschool/

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

My life in the Bush of ghosts

Yesterday, thanks to the kindness of Wanda Petrusewicz in remembering me, I was able to look inside Bush House, straddling Aldwych and the Strand in London.

It was the home of the BBC World Service from 1941 until 2012, and I worked there from 1991 until 2010 – most of my BBC career. But Bush House was never owned by the BBC; it was built by an American Irving T Bush as a world trade centre in the 1920s. It was the most expensive office building of its day, and (I think) one of the first steel-framed buildings of this type in London. The building has now been redeveloped into offices, currently empty but it may be leased by King’s College across the road.

So, with so much of my working and personal life tied up in the concrete, marble and steel, what did I make of its renovation?

It makes an interesting comparison with the current debate about the future of Alexandra Palace: how much of the BBC’s changes to Ally Pally in the early days of TV should be retained? Well, in Bush House absolutely no trace of the BBC remains. The developers have successfully stripped the building back to its shell – no mean feat, as I know from cabling in risers and weird cubby holes in Bush just how much crap the BBC added to the building.

As you’d expect, the splendid marble staircases and strange old letterboxes on the landings are retained exactly as they were:

The eccentric, but beautiful, old Italian-made lifts have been replaced with modern ones, lacking that familiar World Service voice, though you may be pleased to learn that one tradition has been retained: we got, briefly, stuck in one.

The main Aldwych reception in Centre Block looks better than it ever did in my BBC career, having opened up the glass balconies above, although I am disappointed the (original?) dark wooden booths labelled ‘TELEPHONE’ and ‘PORTER’ by the revolving doors have vanished without trace:

Almost all internal walls have been removed, meaning that as soon as you step off a landing, it’s very hard to get your bearings. Entire studios – which once seemed so important and immovable – have been swept away, as if they never existed. Here’s the site of S46, home to countless World Briefing / Newsdesk / Radio Newsreel broadcasts:

And here I am pretending to sit at the mixing desk in S39, the studio I helped redesign and redevelop for BBC News:

Not so long ago, it looked like this:

Studios S36 and S38 (can you spot Kofi Annan?) broadcast most of the BBC World Service English language current affairs programmes for decades: Newshour, The World Today, Europe Today and more:

Today this is what remains:

So, if you’re sentimental about BBC radio’s history, the redevelopment may upset you. I thought I’d get emotional about it, but the renovation allows the beauty of the original architecture to shine through. Amazing details, like this window, which were hidden by studios, ducts and whatnot now sparkle:

I must have walked past this window a thousand times (it’s behind where C21 was, close to the really old Studio Manager common and quiet rooms on the 2nd floor Centre Block South) without ever knowing it was there.

Most areas have been opened up and look the same now, so it can be hard to know what floor you are on. The floors are shiny metal, ready to be carpeted, the heating ducts that ran round the windows have been stripped out giving more space and allowing you to get closer to the windows. Even on a cloudy day there was a great sense of light, helped no doubt by the total lack of furniture and people.

This is what the newsroom, once bustling 24 hours a day, looks like now:

Hardly recognisable from the late 90s:

Or even the 2000s:

I do wonder if whoever inhabits the new Bush House will pick up on any sense of the building’s history and past. The dramas, literal and metaphorical, that played out in the spaces workers will sit. The breaking news stories: the end of WW2, Cuban missile crisis, the fall of the Berlin Wall, 9/11; the days when millions of people in Eastern Europe tuned into the Polish/Czech/Hungarian ‘sausage’ programmes I and others made in a basement studio in the early hours of the morning; the laughter, anger, sheer panic of live radio, the tears and love affairs that filled the corridors and canteen. Does a building, the stone and steel, soak any of this up? The builders swear that the old library (‘News Inf’, short for News Information) is haunted. Perhaps the ghost of an old cutter & sticker (the people whose jobs were to cut out newspaper cuttings and file them accordingly) stalks the lower ground floor, across the landing from the BBC Club?

Ah, the Bush House Club. Famous for its fishtank, which legend has someone smashed one night (perhaps when themselves smashed), causing water and fish to spill out across the room, drinkers picking up fish and chucking them in pint pots and G&Ts to keep them alive. It’s just an empty space now, a buidling worker oddly watering the spot where the fishtank once stood, and where Neil Sleat introduced me to my wife.

I leave you with my favourite tribute to Bush House. Thomas Hannen and Owain Rich’s beautiful film incorporating clips from this programme. Four and a half minutes that perfectly sum up 80 years of extraordinary multi-lingual broadcasting, in a special place; part United Nations, part university, always – until the end – apart from the rest of the BBC.

You can see more of my photos of Bush House today here and a massive set of photos old and new here.

Posted in BBC, nostalgia, radio | Tagged , , , , | Leave a comment