Linux de Wireless (Ubuntu)

memo. (by id:higepon)

sudo dhclient eth0
sudo apt-get install linux-headers-2.6.15-26-386
KERNELPATH=/usr/src/linux-headers-`uname -r`; export KERNELPATH
KERNELRELEASE=`uname -r`; export KERNELRELEASE
cd src
cd madwifi-0.9.2
make distclean
make clean
make
sudo make install
sudo cp /lib/modules/2.6.15-26-386/net/ath_rate_sample.ko /lib/modules/2.6.15-26-386/kernel/drivers/net/wireless/
sudo cp /lib/modules/2.6.15-26-386/net/ath_hal.ko /lib/modules/2.6.15-26-386/kernel/drivers/net/wireless/
sudo cp /lib/modules/2.6.15-26-386/net/ath_pci.ko /lib/modules/2.6.15-26-386/kernel/drivers/net/wireless/
sudo reboot