Skip navigation.

exploreopera

| Help

Sign up | Help

My Scattered Techie Notes

while mastering the firebending

Enabling Atheros AR5007 Based Wireless on Ubuntu 8.04

, ,

My main notebook use Atheros AR5007 based chipset (Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)) wireless adapter and I found it's not automatically working with Ubuntu. I came accross this solution to make it work but I did little modification due to MadWiFi driver update.

By the way, these steps below is for 32-bit users.

  1. First go to System–>Administration–>Hardware Drivers” and disable by un-ticking the following option: Atheros Hardware Access Layer (Hal)
  2. Reboot.
  3. Open the terminal.
    sudo apt-get install build-essential

    wget http://snapshots.madwifi.org/special/madwifi-hal-0.10.5.6-r3698-20080604.tar.gz

    tar xfz madwifi-hal-0.10.5.6-r3698-20080604.tar.gz

    cd madwifi-hal-0.10.5.6-r3698-20080604

    make

    sudo make install

    sudo modprobe ath_pci

  4. Reboot.


That’s it now your wireless should work without any problem.

Cool slides from Rasmus Lerdorf on Drupalcon 2008

,

I just found cool slides from Rasmus Lerdorf on Drupalcon 2008 talk about performance.

One of the trick I like is to fix the include path, change
;include_path = ".:/usr/local/lib/php"
to
include_path = "/usr/local/lib/php:."

Ampersand before function name in PHP

function &getDictionary() {


If you put an ampersand before your function name, the function will return a reference to a variable instead of the value.