Download the latest compat-wireless-2.6.tar.bz2 from :
http://linuxwireless.org/en/users/Download
open it and :
find . -name "*" -exec touch {} \;
make
sudo -s
make install
modinfo ath9k
filename: /lib/modules/2.6.28-15-generic/kernel/drivers/net/wireless/ath9k/ath9k.ko
...
mv /lib/modules/2.6.28-15-generic/kernel/drivers/net/wireless/ath9k/ath9k.ko /lib/modules/2.6.28-15-generic/kernel/drivers/net/wireless/ath9k/ath9k.ko.bak
make unload
cat > ~/wifi_reset.sh
#!/bin/bash -x
sudo modprobe -vr ath9k
sudo modprobe -vr ath5k
sleep 1
sudo modprobe -v ath9k
#sudo modprobe -v ath9k btcoex_enable=1
#sudo modprobe -v ath5k
sudo iwconfig wlan0 power off
#sudo iwconfig wlan0 rate 48M auto
#sudo iwconfig wlan0 txpower off
#sudo iwconfig wlan0 txpower auto
#sudo iwconfig wlan0 txpower 20dBm
sudo iwconfig wlan0 txpower 19dBm
<ctrl>-d
chmod +x ./wifi_reset.sh
./wifi_reset.sh
A Blog about technology, linux, peer2peer, cool new downloads and software development.
Saturday, September 12, 2009
how to update atheros ath9k.ko driver to the latest on ubuntu linux
Monday, August 31, 2009
how to enable & disable emerald on ubuntu linux
In CCSM search for "window decorations" -> change the "command" to :
enable emerald : /usr/bin/emerald
disable emerald : /usr/bin/compiz-decorator
Monday, August 24, 2009
how to edit animated gifs on ubuntu with gifsicle to reduce size
mkdir 66213
cd 66213
gifsicle --explode ../66213.gif
# delete the frames that that dont hurt the animation
gifsicle -O2 --colors 64 --dither --delay=100 --loop *.gif* > ../66213-o.gif
# or
gifsicle --optimize --colors 170 --delay=100 --loop *.gif* > ../66213-o.gif
Sunday, August 23, 2009
how to install hdaps on ubuntu / lenovo t60
sudo apt-get install build-essential module-assistant
sudo /etc/init.d/hdapsd stop
sudo modprobe -vr hdaps
sudo modprobe -vr tp-smapi
sudo m-a a-i -f tp-smapi
sudo -i
rm /lib/modules/$KVER/kernel/ubuntu/misc/thinkpad_ec.ko
rm /lib/modules/$KVER/kernel/ubuntu/misc/tp_smapi.ko
rm /lib/modules/$KVER/kernel/drivers/hwmon/hdaps.ko
modprobe tp_smapi
modprobe hdaps
# install hdapsd from : https://launchpad.net/~jonasped/+archive/ppa
/etc/init.d/hdapsd start
hdaps-gl
# refrence :
# https://launchpad.net/~jonasped/+archive/ppa
# http://meandmyubuntu.blogspot.com/2009/05/getting-hdasp-to-work-on-jaunty.html
# https://bugs.launchpad.net/ubuntu/+source/linux/+bug/297213/comments/15
Saturday, August 15, 2009
Burn XBox 360 & PS2 games on Ubuntu Linux
$ growisofs -use-the-force-luke=dao
-use-the-force-luke=break:1913760
-dvd-compat -speed=2
-Z /dev/scd0=xboxgame.iso
Notes :
/dev/scd0 is the dvd-rw device name -
find it with cat /etc/fstab or dmesg
Note 2 :
to burn mdf/mds files use :
sudo apt-get install mdf2iso
Friday, August 7, 2009
rsync how-to tutorial
Update : rsync -azCPvv src user:xxx.xxx.xxx.xxx:/tmp/ Note : no / after src (not src/) Based upon : http://www.cyberciti.biz/tips/linux-use-rsync-transfer-mirror-files-directories.html Example : rsync -vvrhzP -e ssh ./dir user@192.168.0.5:Downloads ^ NO trailing / Will copy local files to remote machine & recreate ~/Downloads/dir on the remote machine Example 2 : copy file/s with progress indicator instead of cp rsync -vvrhP [src] [dest]
Subscribe to:
Posts (Atom)