Dynamic DNS with dnsexit.com

So I got this setup and added some CNAME dns entries pointing to my dnsexit supplied domain name. But I’m having issues setting up some code to update the DDNS entry.

ez-ipupdate is a seemingly ancient piece of software that still compiles well but it only wants to use the IP found in ifconfig, and thats not going to work because I’m behind NAT. There is a way to pass it an address using something like:

dig +short myip.opendns.com @resolver1.opendns.com

but that doesn’t work in daemon mode. Meh.

DNSexit recommends a few other options here, and the windows one works fine but since I dual boot there’s no guarantee it will be up.

I finally got DNSexit’s ipupdate package to work using the .deb package. After completing the install wizard I had to run dos2unix on the init.d script and /etc/dnsexit.conf, then restart my router to make it run correctly.

Dave Matthews Band Perth April 13th 2014

Greyome set that I don’t want to forget:

  • Ants Marching
  • Seven
  • Satellite
  • Don’t Drink the Water
  • Rooftop
  • Squirm
  • Crash
  • Grey St
  • Belly Belly
  • You & Me
  • Dave says ‘quokkas are dumb like chickens’
  • What Would You Say
  • Funny The Way It Is
  • The Space Between
  • So Much To Say
  • Anyone Seen The Bridge
  • Dave says ‘you cant get this shit on the radio’
  • Jimi Thing
  • Sexy Mother
  • Shake Me (encore)

Dozens of drumsticks loosed on the audience at the end.

Can’t wait for the two Byron Bay gigs!

Tracks I would love to see at those gigs:

  • You Might Die Trying
  • Everyday
  • Recently
  • Two Step
  • Louisiana Bayou
  • Crush
  • Seek Up
  • Big Eyed Fish
  • All Along the Watchtower
  • One Sweet World
  • Lie in Our Graves
  • When the World Ends
  • So Damn Lucky
  • Grace is Gone
  • Gaucho
  • Cornbread
  • Mercy
  • Bartender

Dave Matthews band Byron bay April 20th 2014

  • Belly belly
  • Funny the way it is
  • You might die trying
  • Satellite
  • Don’t drink the water
  • Rooftop
  • The space between
  • So much to say
  • Anyone seen the bridge
  • Too much
  • You and me
  • Jimi thing
  • What would you say
  • All along the watchtower
  • Everyday
  • Ants marching
  • Grey st

Getting Adafruit’s Flora working under Ubuntu 13.04

I’ve been trying to get http://learn.adafruit.com/getting-started-with-flora/blink-onboard-led working and had a few issues getting the Flora working with the Arduino IDE under Ubuntu / Linux.

Initially I had a bad mini-usb cable, which I diagnosed by checking dmesg when plugging the cable in and sure enough nothing registered. Once I found a working cable, I needed to download version 1.04 of the Arduino IDE then follow the instructions in kkolbo’s zip at http://forums.adafruit.com/viewtopic.php?f=22&t=39012#p193104.

Lastly I added

SUBSYSTEMS==”usb”,ATTRS{idVendor}==”239a”,ATTRS{idProduct}==”0004″,MODE=”0660″,GROUP=”plugdev”,ENV{ID_MM_DEVICE_IGNORE}=”1″
SUBSYSTEMS==”usb”,ATTRS{idVendor}==”239a”,ATTRS{idProduct}==”8004″,MODE=”0660″,GROUP=”plugdev”,ENV{ID_MM_DEVICE_IGNORE}=”1″

to /etc/udev/rules/90-flora.rules and restarted udev as outlined in http://matthewarcus.wordpress.com/2013/05/18/fun-with-flora/

Sure enough the LED started blinking!

 

 

Drupal 8 – Create a block plugin

This continues on from the previous post where we created a simple module. In this post we add a basic block, which is pretty easy as it turns out.

Create a new file at lib/Drupal/thrones/Plugin/Block/ThronesExampleBlock.php and add the following:

Clear the cache and you should be able to add the block.