Wednesday, July 21, 2010

Howto install madwifi drivers for Atheros wireless card in Lucid

Hi guys in this thread you will the instructions to install Madwifi drivers for Atheros wireless cards. Please follow the instructions to the word.

Open the 'terminal' by navigating through Applications-->Accessories--> Terminal

Now type the following commands in terminal. Copy and paste the text in red in the terminal

1.Code:
sudo nano /etc/apt/sources.list


From there make sure you uncomment anything that starts with "deb" in there. So change it from "#deb" to "deb" Something along thoes lines. To exit and save hit "CTRL+X" the answer "YES" to save, then finally hit "ENTER"

2.Code:

sudo apt-get update && sudo apt-get upgrade


3.Code:

sudo apt-get install build-essential libssl-dev
4..Code:
sudo apt-get install linux-headers-`uname -r`
5. Code:
sudo apt-get install subversion
6.Code:
sudo -i

7.Code:

sudo svn checkout http://svn.madwifi-project.org/madwifi/trunk/ madwifi-ng
8.Code:
cd madwifi-ng

9.Code:

echo "" >> /etc/modprobe.d/blacklist
10.Code:
echo "#Remove To Install MadWIFI Drivers" >> /etc/modprobe.d/blacklist

11.Code:

echo "blacklist ath9k" >> /etc/modprobe.d/blacklist

12.Code:

echo "blacklist ath5k" >> /etc/modprobe.d/blacklist

13.Code:

make && make install

14.Code:

echo ath_pci >> /etc/modules
Restart your machine.It should work


Kernal updates of your system will kill your driver. Well no need to worry about that.Just recompile your driver.
For that you open a terminal and type the command
Code:

sudo -i

and just repeat the steps from No 8. Your madwifi will cone back to life again.

Best of Luck
Dr Kurian
__________________

Sunday, July 18, 2010

How to install .targz file in Ubuntu

Hi
Step 1 Download the .targz file of the programme from the website. These folders contain actually a group of files which are necdessary for the programme to function but they are not compiled. Please extract the tar file to the Desktop bu double clicking it.

Step 2 Read the 'Readme file' and see whether any dependencies are required. These dependencies are packages which are required for the programme to install but they are bindled in this tar file. If so install these files by synaptic package manager.

Step 3 Open Terminal by navigating through accessories. Use the command 'cd Desktop'
[copy the text within the inverted coomas and paste it to the terminal]

Step 4 Use the command 'cd filename'[the text in bold should be replaced by the name of the extracted folder in the dektop]

Step 5 Use the command 'make && sudo make install' to install the programme

Step 6 Reboot your machine