Archive for December, 2006

My New Response To The OS Clueless

“If your OS choice rests solely on ‘which plays WoW’ then you probably have bigger issues than I’m qualified to help you with.”

Important Inventions In My Life

Tyler wrote up the top eight inventions in his life and it got me thinking–beyond the implications of muppets and porn being on the same list–about the top inventions in my life. Likely this list will radically change in the coming weeks but for now here it stands:

  1. Books
  2. Internet
  3. MP3
  4. Linux
  5. Wok
  6. Razors
  7. Sunglasses
  8. Coffee

Those eight items are me in in a nutshell.

Why the war on drugs is profitable (for some)

Get your own piece of the $37 billion dollar pie!

mt-daapd, SSH, iTunes or Winamp, and You!

Today was a bit of a slow day–I still cannot get Media Center 11 to run under Wine–so I thought I might give a shot to get mt-daapd to serve up files to a daap enabled client on Windows. iTunes is the obvious choice for a client but the UI sucks so bad that I want to slam my hands in a drawer and staple my eyes shut but luckily a kind soul has made a plugin for Winamp which makes me happy.
Here’s how it went down:

Server Side:

  • Make sure you are running SSH and if your not ask yourself why.
  • Grab mt-daapd and take care of any dependencies:

    libsqlite0
    libsqlite0-dev
    gawk
    gcc (this will install gcc-4.0)
    libid3tag0-dev
    libgdbm-dev

  • Edit /etc/mt-daapd.conf to your liking such as mp3_dir and servername
  • Grab Avahi and take care of any dependencies:

    avahi-daemon
    avahi-utils
    libnss-mdns

  • Edit /etc/nsswitch.conf to ensure that mdns is on the hosts line:

    hosts: files dns mdns

  • Give dbus a kick: sudo invoke-rc.d dbus restart
  • Get your avahi-daemon running: sudo invoke-rc.d avahi-daemon start
  • Fire up mt-daapd: sudo mt-daapd

Client Side

  • Get yourself a copy of iTunes, only if you are a masochist, or snag Winamp with the DAAP plugin if you love yourself.
  • Install Rendezvous Proxy and configure it (you need this to fool the client into thinking that the mt-daap server is on the same subnet):

    IP Address - 127.0.0.1
    Port - 3689
    Host Label - Your_DAAP_Server_Name_Here
    Service Type - daap

  • Set up a tunnel with Putty for port 3689, which is just like doing it for TightVNC.
  • Fire up iTunes or Winamp and wait for it to stumble onto your DAAP shares.

Well, that’s it in a nutshell.

Cribbed from James Henstridge’s write up about Avahi on Breezy, this thread, and this one.

**Update**

If Avahi seemingly won’t start check /etc/default/avahi-daemon and make sure it reads: AVAHI_DAEMON_START=1

Media Jukebox, Wine, Ubuntu, and Me!

Media Jukebox on Ubuntu 6.10

Media Jukebox is a nice start but only if I could figure out how to keep Media Center 11 from endlessly crashing.

ddclient, Ubuntu, EasyDNS, and You!

So yes, this is stupid simple and I’ve put it off far to long–world renown for my sloth–but here’s the quick lowdown for ddclient.

  1. Grab and install either from Synaptic or apt-get.
  2. Walk through the little install wizard then do it all over again: dpkg-reconfigure ddclient. You want to make sure it runs as a service and monitors changes in ppp–something that the install wizard doesn’t cover.
  3. Then tweak /etc/ddclient.conf:

    # Configuration file for ddclient generated by debconf
    #
    # /etc/ddclient.conf
    pid=/var/run/ddclient.pid
    protocol=easydns
    use=web
    server=members.easydns.com
    login=yournamehere
    password=’password’
    *.your.domain

  4. Restart the service: sudo /etc/init.d/ddclient reload

One of the things I noticed when fiddling with ddclient was that it doesn’t work so well with wireless cards.  Sounds stupid, but I was testing in on my laptop and never got very far because it wouldn’t update the IP address so my sloth settled in and I never took the initiative to test it on a box with a wired connection.





Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States