Author Topic: Alfa AWUS036H  (Read 7545 times)

Lord

  • Newbie
  • *
  • Posts: 8
    • View Profile
on: October 28, 2011, 11:18:47 AM
Salve a tutti, ho recentemente acquistato questo adattatore e installato l'ultima versione di BackBox.

Ho cercato dovunque ma non mi è chiaro se i driver r8187 sono già preinstallati e caricati di default.

Se eseguo il comando:

Code: [Select]
rmmod rtl8187
modproble r8187
mi riporta questo errore:

FATAL: Module r8187 not found.

Sono sicuramente un inesperto di Linux però servirebbe qualche indicazione più recente, trovo articoli risalenti al 2010  :'(



raffaele

  • Administrator
  • Hero Member
  • *****
  • Posts: 507
    • View Profile
    • My Blog
Reply #1 on: October 28, 2011, 03:31:33 PM

raffaele@backbox:~$ Get root or die tryin'


Lord

  • Newbie
  • *
  • Posts: 8
    • View Profile
Reply #2 on: October 28, 2011, 03:41:20 PM
Ciao, grazie, provo subito!

Errore: bzip2 is not a bizp2 file.

Ho notato che i file contenuti nella directory /usr/src non posso eliminarli, come mai?
« Last Edit: October 28, 2011, 03:54:02 PM by Lord »



Lord

  • Newbie
  • *
  • Posts: 8
    • View Profile
Reply #3 on: October 28, 2011, 06:32:45 PM
Ho reinstallato BackBox, arrivato qui
Code: [Select]
sudo ./scripts/driver-select yourdrivername
scrivo rtl818x al posto di yourdrivename

poi faccio sudo make e mi dà questo errore:

Code: [Select]
/usr/src/compat-wireless-2011-10-27/config.mk:213: "WARNING: CONFIG_CFG80211_WEXT will be deactivated or not working because kernel was compiled with CONFIG_WIRELESS_EXT=n. Tools using wext interface like iwconfig will not work. To activate it build your kernel e.g. with CONFIG_LIBIPW=m."
make -C /lib/modules/2.6.38-11-generic/build M=/usr/src/compat-wireless-2011-10-27 modules
make: *** /lib/modules/2.6.38-11-generic/build: No such file or directory.  Stop.
make: *** [modules] Error 2



raffaele

  • Administrator
  • Hero Member
  • *****
  • Posts: 507
    • View Profile
    • My Blog
Reply #4 on: October 28, 2011, 06:56:47 PM
quando compili ed installi i driver assicurati che il dispositivo NON sia connesso e funzionante

raffaele@backbox:~$ Get root or die tryin'


Lord

  • Newbie
  • *
  • Posts: 8
    • View Profile
Reply #5 on: October 28, 2011, 07:00:31 PM
Certo, avevo anche fatto
Code: [Select]
sudo rmmod rtl8187e scollegato il dispositivo.



raffaele

  • Administrator
  • Hero Member
  • *****
  • Posts: 507
    • View Profile
    • My Blog
Reply #6 on: October 28, 2011, 07:23:14 PM
hai riavviato il pc dopo aver aggiornato tutti i pacchetti? assicurati che la versione dei linux-headers sia uguale a quella del kernel che stai utilizzando.

raffaele@backbox:~$ Get root or die tryin'


Lord

  • Newbie
  • *
  • Posts: 8
    • View Profile
Reply #7 on: October 28, 2011, 07:27:19 PM
Quando dovrei riavviarlo?
Nella guida si parla di riavviarlo dopo il make install.

Ho l'ultima versione di backbox.



raffaele

  • Administrator
  • Hero Member
  • *****
  • Posts: 507
    • View Profile
    • My Blog
Reply #8 on: October 28, 2011, 09:54:28 PM
procedi cosi, da terminale dai:

Code: [Select]
sudo apt-get update
sudo apt-get dist-upgrade

dopo riavvia e di nuovo da terminale:

Code: [Select]
sudo apt-get autoremove --purge
ora segui le istruzioni del wiki.

raffaele@backbox:~$ Get root or die tryin'


Lord

  • Newbie
  • *
  • Posts: 8
    • View Profile
Reply #9 on: October 29, 2011, 10:47:34 AM
Ciao, ho seguito esattamente come hai detto ma l'errore si è ripresentato.

Code: [Select]
/usr/src/compat-wireless-2011-10-27/config.mk:213: "WARNING: CONFIG_CFG80211_WEXT will be deactivated or not working because kernel was compiled with CONFIG_WIRELESS_EXT=n. Tools using wext interface like iwconfig will not work. To activate it build your kernel e.g. with CONFIG_LIBIPW=m."
make -C /lib/modules/2.6.38-11-generic/build M=/usr/src/compat-wireless-2011-10-27 modules
make: *** /lib/modules/2.6.38-11-generic/build: No such file or directory.  Stop.
make: *** [modules] Error 2

 ???



raffaele

  • Administrator
  • Hero Member
  • *****
  • Posts: 507
    • View Profile
    • My Blog
Reply #10 on: October 29, 2011, 01:40:54 PM
hai provato a cercare su google? copiami l'output di:

Code: [Select]
uname -r

raffaele@backbox:~$ Get root or die tryin'


Lord

  • Newbie
  • *
  • Posts: 8
    • View Profile
Reply #11 on: October 29, 2011, 02:28:38 PM
2.6.38-11-generic questa è la vers.



raffaele

  • Administrator
  • Hero Member
  • *****
  • Posts: 507
    • View Profile
    • My Blog
Reply #12 on: October 29, 2011, 03:02:37 PM
allora si vede che non hai seguito alla lettera quanto ho scritto... la versione attuale è la 2.6.38-12-generic, in ogni caso quella è la procedura corretta. ti invito anche a cercare su google se si ripresenta il problema

raffaele@backbox:~$ Get root or die tryin'


Lord

  • Newbie
  • *
  • Posts: 8
    • View Profile
Reply #13 on: October 29, 2011, 03:17:53 PM
Scusa ma ho aggiornato tutto:

Code: [Select]
back@Back:~$ sudo apt-get update
Ign cdrom://BackBox Linux 2 - Release i386 natty InRelease
Ign cdrom://BackBox Linux 2 - Release i386 natty/main TranslationIndex         
Ign cdrom://BackBox Linux 2 - Release i386 natty/restricted TranslationIndex   
Ign cdrom://BackBox Linux 2 - Release i386 natty/main Translation-it_IT       
Ign cdrom://BackBox Linux 2 - Release i386 natty/main Translation-it           
Ign cdrom://BackBox Linux 2 - Release i386 natty/main Translation-en           
Ign cdrom://BackBox Linux 2 - Release i386 natty/restricted Translation-it_IT 
Ign cdrom://BackBox Linux 2 - Release i386 natty/restricted Translation-it     
Ign cdrom://BackBox Linux 2 - Release i386 natty/restricted Translation-en     
Ign http://it.archive.ubuntu.com natty InRelease                               
Ign http://it.archive.ubuntu.com natty-updates InRelease                       
Ign http://security.ubuntu.com natty-security InRelease                       
Trovato http://it.archive.ubuntu.com natty Release.gpg                         
Ign http://extras.ubuntu.com natty InRelease                                   
Ign http://ppa.launchpad.net natty InRelease                                   
Trovato http://it.archive.ubuntu.com natty-updates Release.gpg                 
Trovato http://security.ubuntu.com natty-security Release.gpg                 
Trovato http://extras.ubuntu.com natty Release.gpg                             
Trovato http://ppa.launchpad.net natty Release.gpg                             
Ign http://download.opensuse.org ./ InRelease                                 
Trovato http://it.archive.ubuntu.com natty Release                             
Trovato http://security.ubuntu.com natty-security Release                     
Trovato http://ppa.launchpad.net natty Release                                 
Trovato http://it.archive.ubuntu.com natty-updates Release                     
Trovato http://extras.ubuntu.com natty Release                                 
Trovato http://download.opensuse.org ./ Release.gpg                           
Ign http://deb.pinguin.lu ./ InRelease                                         
Trovato http://it.archive.ubuntu.com natty/main Sources                       
Trovato http://it.archive.ubuntu.com natty/restricted Sources                 
Trovato http://it.archive.ubuntu.com natty/universe Sources                   
Trovato http://it.archive.ubuntu.com natty/multiverse Sources                 
Trovato http://it.archive.ubuntu.com natty/main i386 Packages                 
Trovato http://it.archive.ubuntu.com natty/restricted i386 Packages           
Trovato http://it.archive.ubuntu.com natty/universe i386 Packages             
Trovato http://download.opensuse.org ./ Release                               
Trovato http://it.archive.ubuntu.com natty/multiverse i386 Packages           
Ign http://it.archive.ubuntu.com natty/main TranslationIndex                   
Ign http://it.archive.ubuntu.com natty/multiverse TranslationIndex             
Trovato http://security.ubuntu.com natty-security/main Sources                 
Trovato http://ppa.launchpad.net natty/main Sources                           
Trovato http://deb.pinguin.lu ./ Release.gpg                                   
Ign http://it.archive.ubuntu.com natty/restricted TranslationIndex             
Ign http://it.archive.ubuntu.com natty/universe TranslationIndex               
Trovato http://it.archive.ubuntu.com natty-updates/main Sources               
Trovato http://it.archive.ubuntu.com natty-updates/restricted Sources         
Trovato http://it.archive.ubuntu.com natty-updates/universe Sources           
Trovato http://security.ubuntu.com natty-security/restricted Sources           
Trovato http://security.ubuntu.com natty-security/universe Sources             
Trovato http://security.ubuntu.com natty-security/multiverse Sources           
Trovato http://security.ubuntu.com natty-security/main i386 Packages           
Trovato http://security.ubuntu.com natty-security/restricted i386 Packages     
Trovato http://it.archive.ubuntu.com natty-updates/multiverse Sources         
Trovato http://it.archive.ubuntu.com natty-updates/main i386 Packages         
Trovato http://ppa.launchpad.net natty/main i386 Packages                     
Ign http://ppa.launchpad.net natty/main TranslationIndex                       
Trovato http://extras.ubuntu.com natty/main Sources                           
Trovato http://download.opensuse.org ./ Packages                               
Trovato http://deb.pinguin.lu ./ Release                                       
Trovato http://security.ubuntu.com natty-security/universe i386 Packages       
Trovato http://security.ubuntu.com natty-security/multiverse i386 Packages     
Ign http://security.ubuntu.com natty-security/main TranslationIndex           
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex     
Trovato http://it.archive.ubuntu.com natty-updates/restricted i386 Packages   
Trovato http://it.archive.ubuntu.com natty-updates/universe i386 Packages     
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex     
Trovato http://it.archive.ubuntu.com natty-updates/multiverse i386 Packages   
Ign http://it.archive.ubuntu.com natty-updates/main TranslationIndex           
Ign http://it.archive.ubuntu.com natty-updates/multiverse TranslationIndex     
Ign http://it.archive.ubuntu.com natty-updates/restricted TranslationIndex     
Ign http://it.archive.ubuntu.com natty-updates/universe TranslationIndex       
Trovato http://extras.ubuntu.com natty/main i386 Packages                     
Ign http://extras.ubuntu.com natty/main TranslationIndex                       
Ign http://security.ubuntu.com natty-security/universe TranslationIndex       
Trovato http://deb.pinguin.lu ./ Packages                                     
Trovato http://it.archive.ubuntu.com natty/main Translation-it                 
Trovato http://it.archive.ubuntu.com natty/multiverse Translation-it           
Trovato http://it.archive.ubuntu.com natty/restricted Translation-it           
Trovato http://it.archive.ubuntu.com natty/universe Translation-it             
Ign http://www.kismetwireless.net natty InRelease                             
Trovato http://www.kismetwireless.net natty Release.gpg                       
Trovato http://www.kismetwireless.net natty Release                           
Ign http://security.ubuntu.com natty-security/main Translation-it_IT           
Ign http://security.ubuntu.com natty-security/main Translation-it             
Ign http://security.ubuntu.com natty-security/main Translation-en             
Ign http://security.ubuntu.com natty-security/multiverse Translation-it_IT     
Ign http://security.ubuntu.com natty-security/multiverse Translation-it       
Ign http://security.ubuntu.com natty-security/multiverse Translation-en       
Ign http://security.ubuntu.com natty-security/restricted Translation-it_IT     
Ign http://security.ubuntu.com natty-security/restricted Translation-it       
Ign http://security.ubuntu.com natty-security/restricted Translation-en       
Ign http://download.opensuse.org ./ Translation-it_IT                         
Ign http://ppa.launchpad.net natty/main Translation-it_IT                     
Ign http://security.ubuntu.com natty-security/universe Translation-it_IT       
Ign http://security.ubuntu.com natty-security/universe Translation-it         
Ign http://security.ubuntu.com natty-security/universe Translation-en         
Ign http://download.opensuse.org ./ Translation-it                             
Trovato http://www.kismetwireless.net natty/kismet i386 Packages               
Ign http://ppa.launchpad.net natty/main Translation-it                         
Ign http://download.opensuse.org ./ Translation-en                             
Ign http://ppa.launchpad.net natty/main Translation-en                         
Ign http://extras.ubuntu.com natty/main Translation-it_IT                     
Ign http://www.kismetwireless.net natty/kismet TranslationIndex               
Ign http://extras.ubuntu.com natty/main Translation-it                       
Ign http://deb.pinguin.lu ./ Translation-it_IT                               
Ign http://extras.ubuntu.com natty/main Translation-en                       
Ign http://it.archive.ubuntu.com natty/main Translation-it_IT                 
Ign http://deb.pinguin.lu ./ Translation-it                                   
Ign http://it.archive.ubuntu.com natty/main Translation-en
Ign http://deb.pinguin.lu ./ Translation-en                                   
Ign http://it.archive.ubuntu.com natty/multiverse Translation-it_IT           
Ign http://it.archive.ubuntu.com natty/multiverse Translation-en
Ign http://it.archive.ubuntu.com natty/restricted Translation-it_IT
Ign http://it.archive.ubuntu.com natty/restricted Translation-en
Ign http://it.archive.ubuntu.com natty/universe Translation-it_IT
Ign http://it.archive.ubuntu.com natty/universe Translation-en
Ign http://it.archive.ubuntu.com natty-updates/main Translation-it_IT
Ign http://it.archive.ubuntu.com natty-updates/main Translation-it
Ign http://it.archive.ubuntu.com natty-updates/main Translation-en
Ign http://it.archive.ubuntu.com natty-updates/multiverse Translation-it_IT
Ign http://it.archive.ubuntu.com natty-updates/multiverse Translation-it
Ign http://it.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://it.archive.ubuntu.com natty-updates/restricted Translation-it_IT
Ign http://it.archive.ubuntu.com natty-updates/restricted Translation-it
Ign http://it.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://it.archive.ubuntu.com natty-updates/universe Translation-it_IT
Ign http://it.archive.ubuntu.com natty-updates/universe Translation-it
Ign http://it.archive.ubuntu.com natty-updates/universe Translation-en
Ign http://www.kismetwireless.net natty/kismet Translation-it_IT
Ign http://www.kismetwireless.net natty/kismet Translation-it
Ign http://www.kismetwireless.net natty/kismet Translation-en
Lettura elenco dei pacchetti... Fatto
back@Back:~$ sudo apt-get dist-upgrade
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
Calcolo dell'aggiornamento... Eseguito
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.

Code: [Select]
back@Back:~$ uname -r
2.6.38-11-generic



raffaele

  • Administrator
  • Hero Member
  • *****
  • Posts: 507
    • View Profile
    • My Blog
Reply #14 on: October 29, 2011, 03:34:23 PM
davvero molto strano... prova da synaptic a cambiare server.

raffaele@backbox:~$ Get root or die tryin'