HackNight Summary; WifiDog and Ruby packages for Pyramid
If you haven’t been keeping up with Matt and Rob, they (Metrix) have released a new linux distro called pyramid linux. Pyramid should pick up where pebble linux left off, meaning that it should be easier to maintain and update with new packages and wireless drivers. It is based on Ubuntu,
and you can use the ubuntu live cd as build environment so long as you use gcc 3.4, see the BuildEnvironment wiki page
So at hack night I managed to get a wifidog package built (see my previous post on wifidog). It is just a binary package of the gateway component that is built for pyramid stripped of the docs and header file. You still need to have an wifidog auth server for it to talk to. I am working on getting that setup,
but it appears to start up just fine and complain that it cant talk to the auth server, so I am guessing it works. I will test it more thoroughly once the auth server is working.
After that we determined that none of our colo boxes currently have all the dependencies for the auth server (primarily php5 and postgresql), and we weren’t willing to screw with them since they are all in production somewhat. So I started to install the auth server on my ubuntu thinkpad and made it pretty far. I have everything installed and can view the portal page, I am just getting a locale related bug on all pages:
Unable to setlocale() to fr, return value: , current locale:
So once I figure that out we should have a test environment to start working out how we will use it.
I have also started to build a ruby package for Pyramid as well. Pyramid/Ruby is going to be used for secret squirrel shmoo project I can’t disclose just yet, but it will be good. Anyways the basic ruby interpreter is functional I have not tested all the stuff in usr/local/lib/ruby, but alot of it seems to work ok. I would not be surprised if it stuff is broken though. Its also quite big with all the stuff in
lib, weighing in at around 9 megs after stripping out docs and other unneeded stuff.
Link for Ruby and WifiDog tarballs

April 6th, 2006 at 11:36 am
In config.php, $AVAIL_LOCALE_ARRAY, switch to the third style for recent Ubuntu.
April 13th, 2006 at 10:53 am
[…] Ken and I put together a bridge-utils package for Pyramid and we all wondered what we could do with the ruby package that ken built last week […]
April 15th, 2006 at 12:15 am
Emm… Ruby++… /me
April 17th, 2006 at 12:22 am
Grrr… Bloddy less than (i.e. <) crapped out the remainder of my last comment… /me not <3 these elements… Oh well… C’est la vie. _dje
April 23rd, 2006 at 9:08 pm
Thanks for Ruby… It’s good. I changed RUBYLIB=/usr/local/lib/ruby/1.8:/usr/local/lib/ruby/1.8/i686-linux/ as there’s some /home/ken stuff in there.
pyramid:~# ruby -e ‘puts $LOAD_PATH’
Would you consider building a gpsd tarball as well?