12.11.09

Using the Intel Intel PRO/Wireless 2200 with Debian

Posted in Debian, Linux/*BSD/Unix, gadgets at 12:47 am by Nate Smith

You may wonder why this card does not work once you have it installed and the drivers are loading.  Check your logs, you are probably missing the firmware that the drivers need to operate.

Here is a good site to reference for getting these devices working in Debian:

http://wiki.debian.org/ipw2200

12.10.09

Installing Debian Linux on a Soekris box using the serial console

Posted in Debian, Linux/*BSD/Unix, gadgets at 11:51 pm by Nate Smith

I was using DHCP, TFTP and PXE to install debian on a Soekris 4801.  The tftp daemon I was using was ATFTPD.  It wouldn’t allow the Soekris to PXE boot until I changed a startup parameter in /etc/default/ataftpd.  I added ‘–no-blksize ‘ to the list of startup parameters based on some blog entries I found.

The other thing that I had to do was create a symbolic link to pxelinux.cfg -> /tftpboot/debian-installer/i386/pxelinux.cfg.serial-9600/ instead of pxelinux.cfg.  This works much better with the installer over a serial terminal.

Here are some useful blog links for installing linux on a Soekris single board computer.

http://wiki.soekris.info/Installing_Debian_Linux_5.0

http://strugglers.net/wiki/Debian_on_Soekris

http://roland.entierement.nu/pages/debian-on-soekris-howto.html

http://www.linuxvillage.ca/support/soekris4801.html#inst

http://hugi.to/blog/archive/2006/12/23/ubuntu-pxe-install-via-windows

And a link to Soekris engineering:  http://www.soekris.com/index.htm

02.26.09

My own radio station redux

Posted in Debian, Geek Culture, Hacks, Slug - the NSLU2 at 10:08 pm by Nate Smith

The Griffin RocketFM wasn’t cutting it.  I hooked up a small USB audio adapter and a Ramsey FM30 Stereo FM transmitter and now I Picture of Radio Stationam cooking with GAS.  The Ramsey FM30 has great power and range - all around my house and a bit beyond so I need to be careful not to get a visit from the FCC. 

I had an old BBE sonic maximizer so I put that in the loop between the USB sound adapter and the Ramsey and now the Audio is almost commercial quality.  (there is still some noise getting in somewhere - probably from dirty power).  The BBE boosts the highs and the lows enough to make the music sound a little more robust.

This is exactly what I wanted for working around the house and in the garage.  I’m looking forward to the summer.

 The only thing I would like to add is the ability to Text-to-speech the local NOAA forcast and slip it into the playlist on a regular basis.

02.15.09

My own radio station with NSLU2, Griffin RocketFM and SqueezeCenter

Posted in Debian, Geek Culture, Slug - the NSLU2, gadgets at 1:53 pm by Nate Smith

I’ve wanted to stream from my SqueezeCenter to a radio for a while, this looks like one way to do it.  It works but I’m still looking for alternatives.

The Griffin RocketFM is a USB device that can be plugged into a computer to broadcast sound over FM to radios in very close proximity.   I found code and instructions for using the RocketFM under Linux here: http://tipok.org.ua/node/9  .  (Thanks to Tipok.org.ua by the way).  I followed the instructions there and built this little code on my Slug (NSLU2) and installed mpg123 on the slug.  (apt-get install mpg123-alsa).  Then you set the frequency the rocket is supposed to transmit at like this:

/usr/local/bin/rocket -freq 106.6

Then start mpg123 to play through squeezecenter, which I already had installed.

mpg123 -b 512 –gapless -T  http://192.168.1.1:9000/stream.mp3

You don’t have to use all the switches, but I found these are working well for me right now.

Make sure SqueezeCenter is set to play something then tune in the radio to the station you set and you should be hearing it on the radio.  Sometimes it takes a few seconds to buffer the stream and start to play.

I was amazed it worked at all, but it works OK.  Great use for a slug as a personal radio station.   I’d like to see if there is a way to get more range out ofthe RocketFM but I’m sure the range is limited by law.

12.12.07

The Slug Lives!

Posted in Debian, Hacks, Slug - the NSLU2 at 11:36 am by Nate Smith

I now have Wordpress running on the slug - this blog in fact.  It still suffers from some performance issues, but I don’t anticipate being “digged” anytime soon.  I had to use lighttp, slimed-down mysql and php-cgi along with some caching to get to the level of pokiness it is at now.  I also changed the kernel swappiness setting.  Not sure if that is helping or hindering.  We’ll see how it goes.  It’s a bit of a hack.  Maybe the slow machine will act like tarpitting to the blog-spammers?

06.20.07

The Linksys Slug. Wow.

Posted in Debian, Hacks, Linux/*BSD/Unix at 1:42 am by Nate Smith

What a cool little computer. The Linksys NSLU2 or as it is affectionately known, “The Slug”, is a little network computer that is meant to serve up USB disk devices on a network. It has been hacked. (yay smart people!) and you can now run Debian on it. Wow. The machine itself would have been nice to have a flash card expansion in it, but oh well. With a Thumb drive of two to four Gigabytes you can download a very functional installation of Debian Linux and run the device for a VPN, email, a phone system or a media server etc. Once you connect a USB hard drive it becomes a very capable machine provided you limit the tasks. It is capable of much more that it was with the original firmware. It is also possible to overclock (de-underclock) the machine by simply crushing, cutting or desoldering a resistor. The Slug is even better than Linux on the Linksys WRT54G because the slug is expandable and faster. Right now I am working on setting one up to relay the weather. I can already make telephone calls on it using Callweaver software. I have another one set up as a bacula file daemon with a hard drive and a USB tape drive attached. I need to learn my way around UDEV a little more to make this work like I would like. I’m using a USB hub for the Tape Drive and Hard drive and the devices get “misplaced” during a reboot.

Linksys gives hackers a lot of nice tools. Thanks Linksys! The Linksys Slug, check it out, very cool.