Visualizzazioni totali

lunedì 12 dicembre 2011

AWUS036NH e Ubuntu 11.10

Visto che ho avuto diversi problemi con l'installazione della Alfa Network AWUS036NH  su Ubuntu 11.10 con il nuovo Kernel 3 posto la guida coretta per l'installazione:

Per iniziare dal sito di Alfa Network ho scaricato i driver aggiornati
Driver

Poi ho eseguito l'installazione seguendo questa procedura:
  1. Copy driver for network card to Desktop
  2. Open a terminal
  3. sudo –i
  4. cd /home/ubuntu/Desktop
  5. tar -xf 036NH_2009_1110_Linux.tar.bz2
  6. cd 2009_1110_RT3070_Linux_STA_v2.1.2.0
  7. gedit os/linux/config.mk
  8. Change "HAS_WPA_SUPPLICANT=n" and "HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n" to y
  9. make && make install
  10. gedit /etc/modprobe.d/blacklist.conf and add:
    a. blacklist rt2x00usb
    b. blacklist rt2x00lib
    c. blackist rt2800usb
  11. reboot
Infine ho seguito creato questo script, compilato e eseguito.

#!/bin/bash
#A little script to get the AWUS036NH working in ubuntu 11.10
#It also boosts the tx power to 1W
#Coded by GUNN4R, 15 Oct 2011
if [ "$#" -eq 0 ]
then
  echo -e "Not Enough Arguements!\\nUsage:\\nboost.sh start  -- starts the card"
  echo "boost.sh wlan5  -- this boosts the tx power to 1MW"
  exit
fi

sudo modprobe rt2800usb
sleep 2

if [ "$1" = "start" ]
then
  echo '148f 3070' | sudo tee /sys/bus/usb/drivers/rt2800usb/new_id
  ifconfig
else
  sudo ifconfig $1 up
  sudo iw reg set BO
  sudo iwconfig $1 txpower 30
  iwconfig
fi
 
Salvare in un file su desktop con nome  AWUS036NH.sh
aprire Terminal e portarsi sulla cartella scrivania
eseguire i comandi:
sudo chmod 755 AWUS036NH.sh
./AWUS036NH.sh start


Alla prossima

Nessun commento:

Posta un commento