typ pc a jádra:hypnos@hypnos-laptop:~$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 0458:008d KYE Systems Corp. (Mouse Systems)
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 007: ID 0cf3:1006 Atheros Communications, Inc. TP-Link TL-WN422G v2 802.11g [Atheros AR9271]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Prepnuti do monitor modu a nastaveni kanalu 1Linux hypnos-laptop 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux
Kontrola monitor modu:hypnos@hypnos-laptop:~$ sudo airmon-ng start wlan1 1
[sudo] password for hypnos:
Found 6 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to kill (some of) them!
PID Name
778 avahi-daemon
779 avahi-daemon
788 NetworkManager
925 wpa_supplicant
12268 dhclient
12570 dhclient
Process with PID 12268 (dhclient) is running on interface eth1
Process with PID 12570 (dhclient) is running on interface wlan1
Interface Chipset Driver
eth1 Intel 2200BG ipw2200 - [phy0]
wlan1 Unknown usb - [phy4]
(monitor mode enabled on mon0)
kontrola kanalu:hypnos@hypnos-laptop:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 IEEE 802.11bg ESSID:"Internet"
Mode:Managed Frequency:2.412 GHz Access Point: 00:21:63:9C:42:0C
Bit Rate:54 Mb/s Tx-Power=20 dBm Sensitivity=8/0
Retry limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=0/100 Signal level=-53 dBm Noise level=-92 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:97
wlan1 IEEE 802.11bgn ESSID:"Internet"
Mode:Managed Frequency:2.412 GHz Access Point: 00:21:63:9C:42:0C
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=51/70 Signal level=-59 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:16 Missed beacon:0
mon0 IEEE 802.11bgn Mode:Monitor Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
kontrola injekce:hypnos@hypnos-laptop:~$ iwlist mon0 channel
mon0 13 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
hypnos@hypnos-laptop:~$
spusteni airodump s kanalem 1sudo aireplay-ng -9 mon0
12:28:46 Trying broadcast probe requests...
12:28:46 Injection is working!
12:28:48 Found 2 APs
12:28:48 Trying directed probe requests...
12:28:48 00:21:63:9C:42:0C - channel: 1 - 'Internet'
12:28:48 Ping (min/avg/max): 0.328ms/1.779ms/8.294ms Power: -59.50
12:28:48 30/30: 100%
vysledek: problem s kanalemsudo airodump-ng -c 1 --bssid 00:21:63:9C:42:0C -w /home/hypnos/Plocha/logInternet mon0
dale:CH 1 ][ Elapsed: 12 s ][ 2011-06-23 12:15 ][ fixed channel mon0: -1
BSSID PWR RXQ Beacons #Data, #/s CH MB ENC CIPHER AUTH E
00:21:63:9C:42:0C -59 100 130 66 27 1 54e WEP WEP I
BSSID STATION PWR Rate Lost Packets Probes
00:21:63:9C:42:0C 4C:54:99:4E:C4:DE -53 0 - 1e 0 8
00:21:63:9C:42:0C 00:16:6F:A3:03:E6 -56 54 -54 8 65
asudo aireplay-ng -1 0 -e Internet -a 00:21:63:9C:42:0C -h F4:EC:38:8E:C0:BF mon0
Otázka: musím vždy přepínat na kanál AP které chci "vyzkoušet"? Jestli ano, proč to nelze přepnout? Nelze to automaticky? Vše co jsem zde uvedl, je správně? Je možné, že dělám někde chybu. Nebo jsou potřeba jiné ovladače?12:26:22 Waiting for beacon frame (BSSID: 00:21:63:9C:42:0C) on channel -1
12:26:22 mon0 is on channel -1, but the AP uses channel 1
Děkuji za odpověď.