Doing the Oauth dance

If you’re setting up Bitlbee and using the ircii client, you may have a bit of difficulty in figuring out how to authenticate to Twitter via Oauth. After authenticating to Bitlbee (via the “identify” command), adding the Twitter account is easy:

  account add twitter YOURNICK YOURPASSWD

Next, figure out the account ID by running:

  account list

Assuming that it’s the first account (ID == 0), turn on the account via:

  account 0 on

This will spit up a message similar to:

  twitter – Logging in: Requesting OAuth request token
  *twitter_packetgeek* To finish OAuth authentication, please visit
  https://api.twitter.com/oauth/authorize?oauth_token=1XXmRFAnx

  loyC70HKx9iOcYhoQ5MzpKeqH4 Ds1JrA8&oauth_token
  _secret=47UgTxtpvrKAdpmnC8MybgbGrvgDsaGDQo0fBeaOV
  ao&oauth_callback_confirmed=true and respond with the resu
  lting PIN code.

Please note that everything after *twitter_packetgeek* in the above is all on one line.

You’ll want to make note of the handle located between the *’s in the second line (in my case, twitter_packetgeek). Copy and paste the URL into your browser (you may need to log into Twitter) and click allow. This will give you a number to paste into the irc client.

Here’s the undocumented part for the irc client: you need to MSG the twitter_packetgeek account with the token. Do this via:

  /msg twitter_packetgeek XXXXXXX

where “XXXXXXX” is the number generated by Twitter’s Oauth.

Finished transcoding the wiki

It’s been about a years work, but I’ve just finished (hand) transcoding the old wiki into the new format. Because it was done by hand, there’s probably a few new bugs in it. If you find one, yell out.

In any case, I hope to have it online this weekend. Same server, slightly different URL.

Experiments with FreeNAS

As part of the lab for class, we’re installing FreeNAS in VMware Workstation and configuring it for various functions. This week’s class involved installing the version 0.7.1 (the most recent stable version) and a Redhat VM. Again, getting it up and running was interesting/fun.

Jim, a classmate, learned that you could add drives to FreeNAS without shutting the VM down. We’re still not sure if this is “good practice” (or even a feature) but it’s interesting none-the-less. For some reason, his new drives show up as SCSI.

I’m still finding stuff in the menu to play with. SNMP, LDAP, and WEBDAV have piqued my interest. I’m wondering how well FreeNAS would work as back-end storage for Alfresco and/or KnowledgeTree. Nagios looks like it’d make a good monitoring tool.

Configuration notes are coming. The wiki migration is 99% done (I have a few dozen pages to transcode). I’ll start adding new notes once the new wiki is stood up.

Bloglines is closing and a new form of spam?

If you haven’t noticed, Bloglines is closing its service on 1 October. Being the responsible person, I’ve spent the morning wading though the various feeds. For anyone following me via Bloglines, Delicious, or the various Google services, you may notice that:

  • my Bloglines subscriptions are dropping at a fast rate (down to about 170 now)
  • my Delicious bookmarks have jumped up
  • my Google Reader subscriptions have jumped up

While moving subscriptions for active feeds, I noticed a new follower in Google Reader (Tims Club). I can’t describe (yet) why I don’t have a good feeling about this. My initial impression is this is something akin to referrer spam. I’ll probably have more to write about this later.

Update: I managed to discover the “select range” feature and the trash can. The last 170+ subscriptions went away in one swell foop. The feature is in the left-hand menu. Click on “Edit” and scroll to the bottom. Read the text with the yellow background.

FreeNAS on ESXi with open-vm-tools

I just finished successfully installing open-vm-tools in a FreeNAS 7.2 guest running on ESXi 4.1. I used the notes on BlackStudio.com as a reference. Those notes were more or less accurate but I did have to start over twice due to poor assumptions on my part (size of OS partition, etc.).

In any case, I can now start/stop the FreeNAS server via the ESXi console. Notes in the wiki shortly (I have a backlog, don’t I?).

Update: I’ve received a couple requests for the packages (one from v1ncen7 below). The howto is here. The link for a tarball of the generated packages is at the bottom of that page and here.  The usual disclaimers apply (i.e., your mileage will vary).