Install wireless in ubuntu debian


If you are trying to install wireless driver for linux in your ubuntu or debian machine try the following bash script in order to get read of the problem. For this you have to use madwifi and have to do modprobe as being the super user or root user (sudo). Here I will first download the madwifi from their site and then untar it then, modprobe the required drivers.

Please comment about your result.

#!/bin/bash

wget -c http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz
tar xvf madwifi-ng-r2756+ar5007.tar.gz
cd madwifi-ng-r2756+ar5007

sudo make install
sudo modprobe ath_pci
sudo modprobe wlan_scan_sta