Jestem nowy na linuksie, więc jeszcze mało ogarniam. Chcę korzystać z trybu monitor mode w wiresharku, jednak coś jest nie tak. Instaowałem różne sterowniki, nie wiem czy wszytko poszło dobrze. W każdym razie teraz korzystam z karty, ale wireshark daje mi komunikat, że nie można włączyć trybu monitor:
"The capabilities of the capture device "wlan1" could not be obtained (That device doesn't support monitor mode).
Please check to make sure you have sufficient permissions, and that
you have the proper interface or pipe specified.
Try using airmon-ng, as suggested by CaptureSetup/WLAN in the Wireshark Wiki."
Dodatkowo przy odpalaniu wiresharka "sudo wireshark" dostaję komunikat:
"Lua: Error during loading:
[string "/usr/share/wireshark/init.lua"]:45: dofile has been disabled"
W konsoli odczytuję, że:
krystian@Krystian-PC:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 64:31:50:0f:d4:70
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
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:45 Base address:0x8000
eth1 Link encap:Ethernet HWaddr e0:2a:82:aa:2d:3e
inet6 addr: fe80::e22a:82ff:feaa:2d3e/64 Scope:Link
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
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:19
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:246 errors:0 dropped:0 overruns:0 frame:0
TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:21519 (21.5 KB) TX bytes:21519 (21.5 KB)
wlan1 Link encap:Ethernet HWaddr 00:1f:1f:44:c1:a4
inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:576 Metric:1
RX packets:4138 errors:0 dropped:0 overruns:0 frame:0
TX packets:2968 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2137891 (2.1 MB) TX bytes:324400 (324.4 KB)
krystian@Krystian-PC:~$ iwconfig
lo no wireless extensions.
wlan1 IEEE 802.11bg ESSID:"Net"
Mode:Managed Frequency:2.437 GHz Access Point: 00:27:19:DE:74:3A
Bit Rate=54 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=70/70 Signal level=-34 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:38 Missed beacon:0
eth1 IEEE 802.11 Access Point: Not-Associated
Link Quality:5 Signal level:0 Noise level:245
Rx invalid nwid:0 invalid crypt:0 invalid misc:0
eth0 no wireless extensions.
krystian@Krystian-PC:~$ sudo ifconfig wlan1 down
krystian@Krystian-PC:~$ sudo iwconfig wlan1 mode monitor
krystian@Krystian-PC:~$ sudo ifconfig wlan1 up
Po ostatnich trzech poleceniach tracę dostęp do sieci, nie mogę się z nią ponownie połączyć:
krystian@Krystian-PC:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 64:31:50:0f:d4:70
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
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:45 Base address:0x8000
eth1 Link encap:Ethernet HWaddr e0:2a:82:aa:2d:3e
inet6 addr: fe80::e22a:82ff:feaa:2d3e/64 Scope:Link
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
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:19
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:286 errors:0 dropped:0 overruns:0 frame:0
TX packets:286 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:23867 (23.8 KB) TX bytes:23867 (23.8 KB)
wlan1 Link encap:UNSPEC HWaddr 00-1F-1F-44-C1-A4-30-30-00-00-00-00-00-00-00-00
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:4170 errors:0 dropped:0 overruns:0 frame:0
TX packets:2971 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2141336 (2.1 MB) TX bytes:324652 (324.6 KB)
krystian@Krystian-PC:~$ iwconfig
lo no wireless extensions.
wlan1 IEEE 802.11bg Mode:Monitor Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:on
eth1 IEEE 802.11 Access Point: Not-Associated
Link Quality:5 Signal level:0 Noise level:245
Rx invalid nwid:0 invalid crypt:0 invalid misc:0
eth0 no wireless extensions.
Dzięki z góry za jakieś wskazówki.