Oct 31, 2008
Did a fresh install + updates of Kubuntu 8.10 on a customer’s laptop and had no wireless even though it’s an Atheros chipset.
Hardware:
- Laptop: Acer Aspire 4520
- Wireless Card: Atheros AR242x Communications Inc. 802.11abg
lspci | grep "Atheros"
07:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
Resolution:
sudo apt-get install linux-backports-modules-intrepid-generic
After above install completes, reboot, then open up the Hardware Drivers manager (jockey-gtk or jockey-kde) and disable “Support for Atheros 802.11 wireless LAN cards” and make sure that “Support for 5xxx series of Atheros 802.11 wireless LAN cards” is enabled then reboot. You may need to reboot to see both drivers in the Hardware Drivers manager.
This is at least a temporary fix, you’ll end up with the ath5k drivers- hopefully a stable universal method for Atheros card support will become available soon.
Source:
8.10 Release Notes | Ubuntu
Aug 21, 2008
I’ve often resorted to loading up a Linux livecd and running “lspci” just to get an idea of what hardware is in a box. Let’s face it, even if box manufacturers do provide the drivers you need, that model may have shipped with one of 4 different NICs, video cards, etc. So it used to be I had to run a linux cd and the lspci command to get the PCI devices table but not anymore…
[Read the rest]
Aug 8, 2008
So even Windows lets you disable the Recent Documents feature, but for some reason Gnome really wants to remember what files you’ve been messing with. Personally I never use this menu item (usually under Places in the Gnome Main Menu) and find it to be a bit of a privacy concern.
Surprisingly enough there are no documented settings for Recent Documents, not even something in gconf-editor, so people have been going stone age to prevent this functionality. In the past you could change permissions for the file that stores the data in your home directory, but it seems in later versions of Gnome the following is the current method of choice.
[Read the rest]
Aug 5, 2008
A lot of videos available from various sources are often encoded as .avi files close to 700MB in order to fit on a singleCD-R. This works out just great, but sometimes vids are split into two 700MB .avi files to fit two CDs so you get a Coolest-Movie-EVER_-_[2010][xVid](mp3)_dUff-mAn_CD1.avi and another but with “CD2” instead.
[Read the rest]
May 3, 2008
I’ve always had some trouble with the syntax for accessing Nested Arrays and their Keys in PHP so I wanted to make note of this.
[Read the rest]
Apr 9, 2008

I’ve been doing a few reinstalls on my workstation boxes lately so I put together this list to save myself some time. This will change as I remember/find stuff.
[Read the rest]
Feb 29, 2008
Recently using osCommerce I had a customer who wished to have all the products’ names in uppercase but they had been entered in mixed case. After having some trouble finding a simple answer through Google, I pieced together this simple query that can also be adapted to other situations.

The below is a MySQL query to update all of the products’ names in an osCommerce catalog to uppercase - you can copy this into phpMyAdmin.
UPDATE products_description SET `products_name` = UPPER( `products_name` )
OR GENERICALLY:
UPDATE table_name SET `column_name` = UPPER( `column_name` )
Feb 17, 2008
So my reckless typing really got me into trouble this time. I was attempting to zero-out a usb drive when I managed to put the wrong device in the dd command - I automatically typed sda1 (the primary HD) out of habit instead of sdb1 - the usb drive. I caught my mistake and gave it a solid control + c but I had still wiped out the first 60 MBs of the drive.

[Read the rest]
Jan 23, 2008
Ok so I started out using rsync with the options ‘-a –progress –delete’ and I thought that was doin’ the job just fine. But recently I migrated our old 600mhz Dell Optiplex GX110 to a Sans Digital MobileNAS MN2L dual drive RAID NAS and the rsyncs weren’t going as planned.

[Read the rest]