Sunday, June 29, 2008

NH Flickr Group Meetups this Summer






First blueberry!, originally uploaded by marcn.



The NH Flickr Group is planning as photo meetup every Saturday this summer at 5am at some picturesque location.

Last week was at Merrimack's Horse Hill Nature Preserve and this week was at Amhert's Ponemah Bog.

Keep an eye on this discussion group for information on future ones -- NH Flickr Discussion Group

Hillary Clinton & Barack Obama Laughing @ Unity, NH







Carol Shea-Porter
Carol Shea-Porter

Shea-Porter & Hodes
Paul Hodes

Jeanne Shaheen
Jeanne Shaheen

Laughing John and Susan Lynch
NH Governor John Lynch & Dr. Susan Lynch

Barack Obama
Barack Obama

Barack Obama
Barack Obama

Barack ObamaBarack Obama

Unite for Change (soft focus)
Unite for Change

Obama

Candy Crowley, CNN Anchor

Vote for me not a #@?#@$



All the photos from the event are here: marcn's buddy icon
Obama/Clinton @ Unity, NH

Monday, June 23, 2008

HP has released AdvFS under a GPLv2 license!

It is nice to see that this well tested filesystem technology has been made available under the GPLv2 and may have another life with Linux.

Press Release HP Contributes Source Code to Open Source Community to Advance Adoption of Linux and the AdvFS site on SourceForge.

Sunday, June 22, 2008

@ Ribfest last night






RIBS!, originally uploaded by marcn.



Yummy ribs. But I wasn't brave enough to try deep fried sparklers(!)

Deep Fried Oreos and so much more

Friday, June 20, 2008

My MySQL talk at GNHLUG

Last night I gave my much delayed talk about MySQL at the Greater New Hampshire Linux Users Group.



BTW, next time you are in downtown Nashua, stop by Martha's Exchange and have a Cherry beer with the Jambalaya -- spicy but delicious!

Friday, June 13, 2008

Smilin' John McCain






Smilin' John McCain, originally uploaded by marcn.




I took a late lunch yesterday and saw John McCain at Nashua's Daniel Webster College.

As you can see he does have a natural smile -- compare that to the horrid 'lime green speech' he gave last week.

I'd guess there were about a thousand people there, mostly older with a few people in their 20s-30s. The crowd only applauded once during McCain's speech before the Q&As, and that was after a 'stay in Iraq until the job is done' line. Dead quiet while talking about immigration, social security, etc.

The rest of my photos are here:
John McCain @ Daniel Webster College

Wednesday, June 4, 2008

hp 2133 update

I was going to use SLED10 for a while on my hp2133 mini-note, but getting updates is problamatic. If you call HP support within 30 days they will send you a SLED10 restore CD at no cost. This CD is one of those boot-and-wipes-the-disk variety, so be aware. This CD is different from the ISO you can download from HP (here).

First up -- installing Ubuntu/Hardy. On the boot prompt, you'll have to add xforcevesa or the video will flake out. Using an external USB CD/DVD drve, the standard Ubuntu CD boots and starts the install, but after resizing the SLED10 partition down to 10G, the install fails with the following message:

Ubuntu 8.04 install error

Next up -- Fedora 9. Again using an external CD, the install starts up well, but then soon fails when trying to locate the CD containing the install RPMs. I has been a while since I've used Red Hat on the desktop, so I'll give Fedora another try later. (And it will make the Red Hat folks at GNHLUG happy ;-)

Next up -- Ubuntu/Hardy Alternative Install CD. This version uses the tried-and-true debian install process and this time it works great!

With the stock Ubuntu/Hardy it finds and configures the wired network, graphics, audio (except the earphone jack), MMC disk. The Broadcom Wifi does not however and needs to use the ndiswrapper with firmware downloaded from the hp.com support site.

The post-install steps for Ubuntu/Hardy to get the WiFi working can be found on "WifiDocs/Driver/bcm43xx/Feisty No-Fluff".

For the hp 2133, the steps are:



  1. I found on my Ubuntu/Hardy that the bcm43xx module was already on the blacklist so the first line wasn't necessary. See line 32 of /etc/modprobe.d/blacklist. You'll still need to install ndiswrapper-utils-1.9 and create a tmp directory to unpack the wireless firmware.


    # NOT NEEDED echo 'blacklist bcm43xx' | sudo tee -a /etc/modprobe.d/blacklist

    sudo apt-get install ndiswrapper-utils-1.9
    mkdir ~/bcm43xx; cd ~/bcm43xx



  2. Since my hp 2133 has a Broadcom Corporation BCM4312 802.11a/b/g (rev 02), use Step 2a which downloads from Hewlett-Packard the Windows firmware for the Broadcom Corporation BCM4312 802.11a/b/g (rev 02)


    sudo apt-get install cabextract
    wget ftp://ftp.compaq.com/pub/softpaq/sp34001-34500/sp34152.exe
    cabextract sp34152.exe




  3. Step 3 is to install the firmware using ndiswrapper. My /etc/network/interfaces file already had an entry to the 'lo' device, so didn't need to do that. Also ran into problems trying to load the modules on boot, so I don't load ndiswrapper from /etc/modules. Also I didn't bother to edit /etc/default/wpasupplicant because on my home wireless network. I don't use authentication -- wireless access is locked down by MAC address at the wireless router.


    sudo ndiswrapper -i bcmwl5.inf
    ndiswrapper -l
    sudo depmod -a
    sudo modprobe ndiswrapper

    #NOT NEEDED sudo cp /etc/network/interfaces /etc/network/interfaces.orig
    #NOT NEEDED echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces

    sudo ndiswrapper -m

    #NOT NEEDED by me echo 'ndiswrapper' | sudo tee -a /etc/modules
    #NOT NEEDED by me echo 'ENABLED=0' | sudo tee -a /etc/default/wpasupplicant





  4. As the wiki page mentions, there is a bug in Ubuntu/Hardy related to the ndiswrapper and ssb loadable modules, so after every boot, I do the following steps which I put in a little script, enable-wifi


    #!/bin/bash
    # This is ~/bin/enable-wifi
    ndiswrapper -l
    sudo depmod -a
    sudo modprobe ndiswrapper
    sudo rmmod ssb
    sudo rmmod ndiswrapper
    sudo modprobe ndiswrapper
    sudo modprobe ssb


    After a few seconds the NetworkManager applet will start looking for wifi networks and automatically connect.

    I've tried following the wiki's instructions on making it permanent, but found that there were nasty kernel messages about the ssb loadable module dying and preventing ndiswrapper from loading.





The next post install step is to fix the audio driver. The sound card works okay, but doesn't turn off the speakers when a headphone is plugged in. The other great wiki page, https://wiki.ubuntu.com/LaptopTestingTeam/HP2133 has the solution. Essentially download and install alsa-driver-1.0.16_linux-headers-2.6.24-17-generic-1_i386.deb.

Why hasn't a fix been pushed into the repositories is unclear.


sudo mv /lib/modules/2.6.24-17-generic/ubuntu/sound/alsa-driver \
/lib/modules/2.6.24-17-generic.ubuntu.sound.alsa-driver.bak
sudo ln -s /lib/modules/2.6.24-17-generic/kernel/sound/ \
/lib/modules/2.6.24-17-generic/ubuntu/sound/alsa-driver


Although it may look like a lot of work, it wasn't that difficult. If you have problems, check back to the source wiki pages.