Saturday, May 31, 2008
BFG, Take #3
Oh yeah, they sent me another T-shirt too. Soon I'm going to have the largest privately-held collection of BFG-ware :)
Friday, May 16, 2008
Slackware 12.1
Long story short, I had to reinstall 12.0 and then do a manual upgrade to 12.1. I got everything working in relatively short order. Unfortunately, there were a couple of other screw-ups that I made along the way which are entirely my own fault. Haste makes waste, they say. Plus for some reason I insist on living on the bleeding edge.
So now I'm running a custom 2.6.25.3 kernel. The main benefit I've seen to 12.1 so far (it's only been a day or two) is that I could install Cedega without having to add a bunch of stuff to Python.
BFG Follow-Up
Wednesday, May 7, 2008
BFG Warranty
Update! I just checked their site and their warranty changed with cards purchased after February 21 of this year. It's still a lifetime warranty, but you need to register the card within 30 days and send a copy of the receipt with any returned cards. That's a little bit more of a hoop to jump through, but not a biggie.
Update #2! Holy crap! I just checked BFG's site and it's already been fixed and is being shipped back to me. I got a UPS tracking number which means that it should be here tomorrow. The card will have been out of my possession for approximately 48 hours. Wow! If it really is fixed that is nothing short of spectacular service.
Wednesday, April 2, 2008
2.6.25-rc8, Ralink, and wpa_supplicant
Most people know that getting wireless networking working in Linux (especially with native, open-source drivers) is one of the last great hurdles for Linux to overcome. We are doing some moving around in the house. Rather than punch holes in the walls for cat5, I decided to get a wireless card for my kids' computer and see if I could get it set up. I got a Linksys WMP54G v4.1 which uses a Ralink chipset which in turn has open source drivers. Initially, I tried to just compile the rt61 driver and a modified version of wpa_supplicant for WPA support. I just couldn't get it to work.
I read that the Ralink drivers entered the kernel itself with the release of 2.6.24. Unfortunately, the drivers in that kernel version are buggy. I heard that the drivers in the 2.6.25 release candidates were much better. So, I downloaded the 2.6.24 source, patched it to 2.6.25-rc8, did a "make oldconfig" making sure to tell it to compile the Ralink drivers as modules, and let it compile overnight (Celeron 400s don't compile kernels that rapidly). In the morning, I got everything installed. I then compiled and installed wpa_supplicant 0.5.10.
The final hurdle was configuring wpa_supplicant and Slackware 12.0's networking scripts. Here is the bits from /etc/rc.d/rc.inet1.conf:
IFNAME[4]="wlan0"
IPADDR[4]="192.168.1.4"
NETMASK[4]="255.255.255.0"
USE_DHCP[4]="no"
DHCP_HOSTNAME[4]=""
WLAN_ESSID[4]="My SSID"
WLAN_MODE[4]=Managed
WLAN_WPA[4]="wpa_supplicant"
This configured Slackware to give me a static IP and use wpa_supplicant to take care of WPA encryption. Here is the bits from /etc/wpa_supplicant.conf:
# WPA protected network, supply your own ESSID and WPAPSK here:
network={
scan_ssid=1
ssid="My SSID"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk=password
}
I had to add scan_ssid=1 because my router does not broadcast its SSID. That way the network would come up properly on boot. Replace "password" with the output of wpa_passphrase. Obviously in both cases you'd need to enter the actual SSID.
Now everything works great! I can download stuff at my cable connection's maximum speed. I'll need to test it for a while for stability, but so far it seems great. The only other problem I had is that the NVIDIA drivers require a patch to compile with the 2.6.25 release candidates. You can imagine how long it took me to figure that one out.
Monday, March 3, 2008
Linux and Hard Drive Partitioning
I don't know if there could be a topic less sexy than partitioning a hard drive for Linux but it is still very important. He lists a couple of common schemes and then gives some extra suggestions for servers. I personally have separate partitions for /boot, /, /home, and /mp3s. That setup has served me well. If I were running a server, I'd probably add one for /var just in case some logging went haywire. Thanks Linux Today.
Sunday, March 2, 2008
Amazon MP3 Downloader and Slackware 12
Amazon finally released the MP3 downloader for Linux which enables Linux users to download full albums from their site. It works out of the box if you use Fedora, Debian, Ubuntu, or OpenSUSE. There isn't a stock version for Slackware. So here's what I did:
- I downloaded the Fedora 8 RPM from the link above
- I went to SlackBuilds and downloaded, created, and installed SlackBuilds for (in order): libsigc++, glibmm, cairomm, and gtkmm.
- Then I downloaded and installed boost-1.34.1-i486-2gds.tgz from Linux Packages. Update 12/24/2008 I've found the hard way after I upgraded to Slackware 12.2 that the downloader will not work with a version of Boost > 1.34.1. Just do yourself a favor and use the Slackware 12.0 SlackBuild for Boost. You can thank me later.
- Finally I went into /usr/lib and created the following symbolic links to make everything work with what the Amazon MP3 Downloader is expecting to find:
ln -s libssl.so.0 libssl.so.6
ln -s libcrypto.so.0 libcrypto.so.6
ln -s libboost_date_time.so libboost_date_time.so.3
ln -s libboost_signals.so libboost_signals.so.3
ln -s libboost_iostreams.so libboost_iostreams.so.3
ln -s libboost_thread-mt.so libboost_thread-mt.so.3
Now it works great! I downloaded and am now enjoying Stevie Ray Vaughan's "Texas Flood." I wish it was a little simpler, but it wasn't too awfully painful. When you use Linux long enough you get pretty good at jumping through hoops.