Problema fixed channel mon0: -1

Started by Leonida12, November 12, 2013, 08:46:52 PM

Previous topic - Next topic

Leonida12

Innanzitutto complimenti per questa distro che non ha nulla da invidiare a Backtrack, anzi è molto più user-friendly ed è uno dei motivi per i quali sono passato da Backtrack 5R3 a Backbox 3.09(amd); inoltre da italiano la preferisco, ma veniamo al problema.

ogni volta che avvio un airodump-ng -c 11 -w prova --bssid XX:XX:XX:XX:XX:XX mon0 il canale in alto a destra diventa automaticamente -1(fixed channel mon0: -1);
Lavoro su un Acer Aspire 5750G(so che la compatibilità con linux di questo laptop è di 1/5), ho provato tutte le relative patch per i driver della mia scheda di rete(ath9k) ma il problema persiste.

Ho provato anche a settare il canale con iwconfig wlan0 channel 11 ma niente(alcune volte funziona altre restituisce l'errore Error for wireless request "Set Frequency" (8B04) :
    SET failed on device wlan0 ; Device or resource busy.

Ecco il risultato dei comandi ifconfig e iwconfig

ifconfig
eth0      Link encap:Ethernet  IndirizzoHW XX:XX:XX:XX:XX:XX  
         UP BROADCAST MULTICAST  MTU:1500  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisioni:0 txqueuelen:1000
         Byte RX:0 (0.0 B)  Byte TX:0 (0.0 B)
         Interrupt:16

lo        Link encap:Loopback locale  
         indirizzo inet:127.0.0.1  Maschera:255.0.0.0
         indirizzo inet6: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:65536  Metric:1
         RX packets:64 errors:0 dropped:0 overruns:0 frame:0
         TX packets:64 errors:0 dropped:0 overruns:0 carrier:0
         collisioni:0 txqueuelen:0
         Byte RX:3936 (3.9 KB)  Byte TX:3936 (3.9 KB)

wlan0     Link encap:Ethernet  IndirizzoHW XX:XX:XX:XX:XX:XX  
         indirizzo inet:XXX.XXX.XXX.XXX  Bcast:XXX.XXX.XXX.XXX  Maschera:255.255.255.0
         indirizzo inet6: XXXX::XXXX:XXXX:XXXX:XXX/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:818810 errors:0 dropped:0 overruns:0 frame:0
         TX packets:509908 errors:0 dropped:0 overruns:0 carrier:0
         collisioni:0 txqueuelen:1000
         Byte RX:1226119072 (1.2 GB)  Byte TX:45689476 (45.6 MB)



iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"Alice-XXXXXXXX"  
         Mode:Managed  Frequency:2.462 GHz  Access Point: XX:XX:XX:XX:XX:XX  
         Bit Rate=54 Mb/s   Tx-Power=16 dBm  
         Retry  long limit:7   RTS thr:off   Fragment thr:off
         Power Management:off
         Link Quality=65/70  Signal level=-45 dBm  
         Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
         Tx excessive retries:0  Invalid misc:271   Missed beacon:0



grazie anticipatamente

b4d_bl0ck

Ciao Leonida12,

[OT]
we are glad the distro receives positive feedbacks by users!
I'm answering in english because the forum is participated by users from various parts of the globe, so writing in italian is not the most "portable" choice... it would cut away a good slice of users which maybe would help you if they understood the question.
This being said, if you have problems with english language we'll switch back to italian mode. ;)
[/OT]

To stay on subject, the forum is full of this kind of threads, and the web too... it's a common issue.
We generally recommend to correctly install and patch the compat wireless drivers. If this operation fails there's little we can do IMHO.
If you followed the aircrack guide on how to have your wifi card working and it didn't work i think it's an hardware issue, no distro misconfigurations or so... maybe try aircrack on other distros too, and if it behaves the same it's likely an hardware problem.
You can try to ask on aircrack official support channels, (irc, forum...) they know for sure more than us on the topic.
Or just buy a well supported wifi adapter.

Hope you'll solve!
Bye and have fun!
bool secure = check_paranoia() ? true : false;

Leonida12

in realtà ho solo problemi a scrivere in inglese ma lo leggo abbastanza bene, grazie per la comprensione. Tornando a noi ho scaricato, sotto tuo suggerimento, i compat-wireless drivers(compat-wireless-3.5.4-1), tuttavia ho un esito negativo nella compilazione al punto "make":

root@PC:~# $ pacman -Ql linux-headers | grep include/linux/sysfs.h
$: comando non trovato
root@PC:~# inux-headers /usr/src/linux-3.6.6-1-CHAKRA/include/linux/sysfs.hinux-headers: comando non trovato
root@PC:~# inux-headers /usr/src/linux-3.8.0-33/include/linux/sysfs.hinux-headers: comando non trovato
root@PC:~# linux-headers /usr/src/linux-3.8.0-33/include/linux/sysfs.h
linux-headers: comando non trovato
root@PC:~# cd compat-wireless-3.5.4-1
root@PC:~/compat-wireless-3.5.4-1# ./scripts/driver-select ath9k
Processing new driver-select request...
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: drivers/net/wireless/Makefile.bk
Backup exists: drivers/net/wireless/ath/Makefile.bk
Backup exists: net/wireless/Makefile.bk
Backup exists: drivers/ssb/Makefile.bk
Backup exists: drivers/bcma/Makefile.bk
Backup exists: drivers/misc/eeprom/Makefile.bk
Backup exists: Makefile.bk
root@MarkVII:~/compat-wireless-3.5.4-1# make
make -C /lib/modules/3.8.0-33-generic/build M=/home/NOME_UTENTE/compat-wireless-3.5.4-1 modules
make[1]: ingresso nella directory "/usr/src/linux-headers-3.8.0-33-generic"
  CC [M]  /home/warmachine68/compat-wireless-3.5.4-1/net/mac80211/led.o
/home/warmachine68/compat-wireless-3.5.4-1/net/mac80211/led.c: In function 'ieee80211_stop_tpt_led_trig':
/home/warmachine68/compat-wireless-3.5.4-1/net/mac80211/led.c:279:3: error: implicit declaration of function 'led_brightness_set' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: *** [/home/NOME_UTENTE/compat-wireless-3.5.4-1/net/mac80211/led.o] Errore 1
make[2]: *** [/home/NOME_UTENTE/compat-wireless-3.5.4-1/net/mac80211] Errore 2
make[1]: *** [_module_/home/NOME_UTENTE/compat-wireless-3.5.4-1] Errore 2
make[1]: uscita dalla directory "/usr/src/linux-headers-3.8.0-33-generic"
make: *** [modules] Errore 2
root@MarkVII:~/compat-wireless-3.5.4-1#


credo ci sia un problema nei file per la compilazione delle sorgenti; ti posto il risultato di uname -a:

uname -a
Linux PC 3.8.0-33-generic #48~precise1-Ubuntu SMP Thu Oct 24 16:28:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux


Voglio precisare che quando ho installato backbox, nonostante il kernel fosse il 3.8.0-33, in /usr/src c'erano solo le cartelle "linux-headers-3.2.0-56" e "linux-headers-3.2.0-56" quindi ho installato le versioni aggiornate ma forse ho commesso qualche errore...

Leonida12

ho utilizzato una scheda di rete wireless esterna(Belkin Wireless G Adapter F5D9050B) da una live Backbox, si connette correttamente alla rete utilizzando la scheda wireless esterna ma rimane il problema del fixed channel mon0: -1

Suggerimenti?

ZEROF

Hi Leonida12,

Making 2 forum post will not help you. You need to provide us with more information. What is your chipset ? (rt73,rt2750 or something else). Check how to ask:

http://forum.backbox.org/software-support/how-to-ask-for-wifi-adaptersdrivers-help-!-!-!/

Cheers !

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*


ZEROF

#6
From what i can see your pc have integrated wifi card. You need to blacklist ath9k driver, and try to use rt73usb.

To blacklist (block) integrated wifi card driver:

sudo geany /etc/modprobe.d/blacklist.conf

And add (if you want internet back with integrated card, you will need to remove this line after):

blacklist ath9k

Then run:

sudo modprobe rt73usb

To add new module to BBox boot:

sudo geany /etc/modules

Then add to this file (in the end):

rt73usb

Reboot and good luck, keep me posted !

P.S. You are doing this on your own risk :).


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

Leonida12

Rispondo nuovamente a questa discussione perché ho avuto qualche problema con la modifica del post(internal server error)

Comunque posto la risposta in http://pastebin.com/gHn6Nvtf perché qui non riesco ad inserirla