HP Compaq C700 with Ubuntu 8.04 Hardy Heron

Hello World, I'm Dalox a $t4ck's friend and I decided to write this tutorials to resolve some problems with the HP Compaq C700 with Ubuntu 8.04 Hardy Heron.
When I've installed Ubuntu 8.04 Hardy Heron in my HP Compaq C700, the first problem was wifi network.
I have found some solutions to install the Atheros 5007 but the only one working is to install madwifi-hal-0.10.5.6-r3835-20080801.

HOW TO INSTALL Atheros 5007 with madwifi:

- Download with Synaptic 'build-essential'
- Download the 'madwifi-hal-0.10.5.6-r3835-20080801' driver in your Desktop
- Extract all in a directory, for example madwifi-hal-0.10.5.6-r3835-20080801
- Open the terminal and write 'cd /home/account_name/Desktop/madwifi-hal-0.10.5.6-r3835-20080801' and press enter
- Nextly write: 'make'
- If there isn't error, write 'sudo make install'
- If the installation is completed you can load the kernel modules with 'sudo modprobe ath_pci'
- Reboot the PC
- Open a terminal and write iwconfig, if there is an ath0 interface, the installation is OK.
- If the module 'ath_pci' wasn't load automatically, you need to add in /etc/modules, 'ath_pci' at the end of file. (You can write simply: 'sudo ath_pci >> /etc/modules').
If you want replace the Ubuntu Network Manager (For me very bad), you can install WICD.
How to installation WICD is available on the official website http://wicd.sourceforge.net/
Another problem with my C700 is brightness: when I push fn+f7 (brightness down) or fn+f8 (brightness up) the brightness doesn't change.
I've solved this problem browsing in ubuntuforums.org.

HOW TO RESOLVE BRIGHTNESS PROBLEM

- Download video_brightnessup.sh
- Download video_brightnessdown.sh
- Copy and paste two files in /etc/acpi/ and reboot