.::Cesar Augusto Caba Ventura: cesar.caba@gmail.com::. ***WeLcOmE To ReAl WoRlD... OpEn SoUrCe...aLwAyS FrEe LiVe ***El SoFtWaRe Es CoMo El SeXo Es MeJoR CuAnDo Es GrATiS ***SoFtWaRe LiBrE nO eS uN S.o. Es UnA IdEoLoGiA ***ExIsTeN 10 tIpOs De PeRsOnAs LaS qUe SaBeN bInArIo Y lAs DeMáS***

viernes, 23 de marzo de 2007

Atheros 5005G en ubuntu

Bien dice el refran "La curiosidad mato al gato..." bueno aca estoy de nuevo levantando mis ubuntu cada ves que lo hago, lo reinstalo mas rapido he agarrado practica jajaja, ahora publicare algo para energetizar las tarjetas inalambricas Atheros esa que usan las acer.. espero que alguien le sea de mucha ayuda mi tarjeta es una Atheros 5005G

Before you can go ahead and install the acer_acpi module you need to make sure you have some other tools installed.
Code:
sudo aptitude update
sudo aptitude install build-essential
UPDATED:
You'll also need the linux headers:
Code:
sudo aptitude install linux-headers-$(uname -r)
END OF UPDATE

Once this is done you can go ahead and install the acer_acpi.
First you should create a folder to keep all your downloads in one place.
Code:
mkdir /home/USER_NAME/download
Where USER_NAME is your actual user name.

Now go to the new folder
Code:
cd /home/USER_NAME/download
and download and install the package:
Code:
wget http://www.archernar.co.uk/acer_acpi/acer_acpi-0.3.tar.gz
tar zxvf acer_acpi-0.3.tar.gz
cd acer_acpi-0.3
make
sudo make install
cd ../..
Load the acer_acpi into memory and activate the wireless:
Code:
su
modprobe acer_acpi
chmod 777 /proc/acpi/acer/wireless
echo "enabled: 1">/proc/acpi/acer/wireless
exit
And check if it worked:
Code:
dmesg | grep acer_acpi
You should get some output like this:
Code:
[17179594.992000] acer_acpi: Acer Laptop ACPI Extras version 0.3
[17179595.000000] acer_acpi: Wireless value 1
Right, this might have worked for now but you need to load and activate acer_acpi every time your computer starts.
For this you can write a little start up script so you don't have to do it manually each and every time.

ATTENTION!
For Gnome type:

Code:
sudo gedit /etc/init.d/acer_acpi_wireless_enable
Or if you're running KDE type:
Code:
sudo kate /etc/init.d/acer_acpi_wireless_enable
Paste the following code and save:
Code:
#!/bin/sh

case "$1" in

start|"")

modprobe acer_acpi

chmod 777 /proc/acpi/acer/wireless

echo "enabled: 1" >/proc/acpi/acer/wireless

;;

stop)

echo "enabled: 0" >/proc/acpi/acer/wireless

modprobe -r acer_acpi

;;

esac
Make the file executable and add it to the appropiate linux run levels.
ATTENTION! Don't miss ANY of the characters in the following lines, especialy the dots in the third line!
Code:
su
chmod 755 /etc/init.d/acer_acpi_wireless_enable
update-rc.d acer_acpi_wireless_enable start 39 S . start 34 0 6 .
exit
Now check if it worked:

Code:
ls /etc/rcS.d/S39acer-acpi-wireless-enable
ls /etc/rc0.d/S34acer-acpi-wireless-enable
ls /etc/rc6.d/S34acer-acpi-wireless-enable

1 comentario:

Anónimo dijo...

By Stealth.ice ¿ zerokool ?Wasa que pexs Bich de rol visitando a las estrellas carnal:ga, mi targeta ya esta al pedo sin complicaciones ehehehe quedo chida, con internet grapa del vecino XD: pero shhh, que bueno que ya tienes blog we ya tienes 15 años ya eres toda una dama, ehehehe ya empesare de rol para ver que posteas de tus pininos mi site es http://www.stealth-ice.defacers.com.mx/ hay rolas por el bloguer... ah y pon el del zombie es inedito ehehe yo ya lo puseeee