Nie działa kismet w Ubuntu 12.10


(Piter1paczynski) #1

Witam, chciałem sprawdzić sposób na sieć WIFI z tego bloga: http://www.dobreprogramy.pl/command-dos/Czego-nie-wiecie-o-wifi,19776.html, mam kartę Broadcom 802.11n i po podaniu w kismet.conf w linijce

source=none,none,addme

nazwy sterownika i interfejsu sieciowego czyli:

source=brcmsmac,wlan0,brcmsmac-source

kismet po uruchomieniu wyrzuca mi taki błąd:

piotr@PiotrekPC:~$ sudo kismet

[sudo] password for piotr: 

Launching kismet_server: //usr/bin/kismet_server

Suid priv-dropping disabled. This may not be secure.

No specific sources given to be enabled, all will be enabled.

Non-RFMon VAPs will be destroyed on multi-vap interfaces (ie, madwifi-ng)

Enabling channel hopping.

Enabling channel splitting.

FATAL: Unknown capture source type 'brcmsmac' in source 'brcmsmac,wlan0,brcmsmac-source'

Done.

Dodatkowo po uruchomieniu kismet.conf w terminalu mam takie coś:

piotr@PiotrekPC:~$ gksu gedit /etc/kismet/kismet.conf


(gksu:3127): Gtk-CRITICAL **: IA__gtk_settings_set_long_property: assertion `GTK_SETTINGS (settings)' failed


(gksu:3127): Gtk-CRITICAL **: IA__gtk_settings_set_long_property: assertion `GTK_SETTINGS (settings)' failed


(gksu:3127): Gtk-CRITICAL **: IA__gtk_settings_set_long_property: assertion `GTK_SETTINGS (settings)' failed


(gksu:3127): Gtk-CRITICAL **: IA__gtk_settings_set_long_property: assertion `GTK_SETTINGS (settings)' failed


(gksu:3127): Gtk-CRITICAL **: IA__gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed


(gksu:3127): Gtk-CRITICAL **: IA__gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed


(gksu:3127): Gtk-CRITICAL **: IA__gtk_icon_theme_prepend_search_path: assertion `GTK_IS_ICON_THEME (icon_theme)' failed


(gksu:3127): Gtk-CRITICAL **: IA__gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed


(gksu:3127): Gtk-CRITICAL **: IA__gtk_icon_theme_prepend_search_path: assertion `GTK_IS_ICON_THEME (icon_theme)' failed


(gksu:3127): Gtk-CRITICAL **: IA__gtk_settings_set_string_property: assertion `GTK_SETTINGS (settings)' failed


(gksu:3127): Gtk-CRITICAL **: IA__gtk_settings_set_string_property: assertion `GTK_SETTINGS (settings)' failed


(gksu:3127): Gtk-CRITICAL **: IA__gtk_settings_set_string_property: assertion `GTK_SETTINGS (settings)' failed

Właściwości mojego WIFI:

Interfejs wlan0,

sterownik brcmsmac.

Wydaje mi się, że zrobiłem wszystko z bloga, więc nie wiem, czemu nie działa u mnie podany sposób.

Pozdrawiam


(roobal) #2

Pokaż wynik polecenia.

lspci -k

Zobaczymy na jakim czipie działa karta. Ja w Kismet mam podane inne nazwy sterowników, niż te które wyświetla system, więc nie sugeruj się tymi nazwami.


(Piter1paczynski) #3
piotr@PiotrekPC:~$ lspci -k

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)

	Subsystem: Lenovo Device 3975

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)

	Kernel driver in use: pcieport

	Kernel modules: shpchp

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

	Subsystem: Lenovo Device 397a

	Kernel driver in use: i915

	Kernel modules: i915

00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)

	Subsystem: Lenovo Device 3975

	Kernel driver in use: mei

	Kernel modules: mei

00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)

	Subsystem: Lenovo Device 3975

	Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)

	Subsystem: Lenovo Device 3975

	Kernel driver in use: snd_hda_intel

	Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)

	Kernel driver in use: pcieport

	Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)

	Kernel driver in use: pcieport

	Kernel modules: shpchp

00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)

	Subsystem: Lenovo Device 3975

	Kernel driver in use: ehci_hcd

00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)

	Subsystem: Lenovo Device 3975

	Kernel modules: lpc_ich

00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)

	Subsystem: Lenovo Device 3975

	Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)

	Subsystem: Lenovo Device 3975

	Kernel modules: i2c-i801

01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Robson CE [AMD Radeon HD 6300 Series]

	Subsystem: Lenovo Device 397a

	Kernel driver in use: radeon

	Kernel modules: radeon

07:00.0 Ethernet controller: Atheros Communications Inc. AR8152 v2.0 Fast Ethernet (rev c1)

	Subsystem: Lenovo Device 3979

	Kernel driver in use: atl1c

	Kernel modules: atl1c

08:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)

	Subsystem: Broadcom Corporation Device 051b

	Kernel driver in use: bcma-pci-bridge

	Kernel modules: bcma

(roobal) #4

Ja mam akurat czip bcm4311, ale powinien działać na tym samym sterowniku. Ja mam taki wpis i u mnie działa.


(Piter1paczynski) #5

Sterownik własnościowy Broadcom mam wyłączony ponieważ po wybudzeniu nie można połączyć się z siecią, to wynik po włączeniu tego sterownika:

piotr@PiotrekPC:~$ lspci -k

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)

	Subsystem: Lenovo Device 3975

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)

	Kernel driver in use: pcieport

	Kernel modules: shpchp

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

	Subsystem: Lenovo Device 397a

	Kernel driver in use: i915

	Kernel modules: i915

00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)

	Subsystem: Lenovo Device 3975

	Kernel driver in use: mei

	Kernel modules: mei

00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)

	Subsystem: Lenovo Device 3975

	Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)

	Subsystem: Lenovo Device 3975

	Kernel driver in use: snd_hda_intel

	Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)

	Kernel driver in use: pcieport

	Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)

	Kernel driver in use: pcieport

	Kernel modules: shpchp

00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)

	Subsystem: Lenovo Device 3975

	Kernel driver in use: ehci_hcd

00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 05)

	Subsystem: Lenovo Device 3975

	Kernel modules: lpc_ich

00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)

	Subsystem: Lenovo Device 3975

	Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)

	Subsystem: Lenovo Device 3975

	Kernel modules: i2c-i801

01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Robson CE [AMD Radeon HD 6300 Series]

	Subsystem: Lenovo Device 397a

	Kernel driver in use: radeon

	Kernel modules: radeon

07:00.0 Ethernet controller: Atheros Communications Inc. AR8152 v2.0 Fast Ethernet (rev c1)

	Subsystem: Lenovo Device 3979

	Kernel driver in use: atl1c

	Kernel modules: atl1c

08:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)

	Subsystem: Broadcom Corporation Device 051b

	Kernel driver in use: wl

	Kernel modules: wl, bcma

(roobal) #6

U mnie chyba na obu działo, teraz nie mam czasu tego sprawdzić, sprawdź czy działa to co podałem, jak nie, będziemy kombinowali dalej.


(Piter1paczynski) #7

Niestety nie działa, przeinstalowałem też sterownik broadcom i dalej to samo, szkoda


(roobal) #8

Instalowałeś firmware b43?


(Piter1paczynski) #9

Próbowałem, lecz po odinstalowaniu starego i próbie instalacji nowego po wpisaniu w terminal tego

apt-get install b43-fwcutter

Wyrzuca mi błąd


(roobal) #10

Możesz podać treść tego błędu?


(Piter1paczynski) #11

Przepraszam, to chodzi o

modprobe b43

To ten błąd:

piotr@PiotrekPC:~$ modprobe b43

WARNING: All config files need .conf: /etc/modprobe.d/ath9k.con, it will be ignored in a future release.

WARNING: Error inserting bcma (/lib/modules/3.5.0-23-generic/kernel/drivers/bcma/bcma.ko): Operation not permitted

WARNING: Error inserting cfg80211 (/lib/modules/3.5.0-23-generic/kernel/net/wireless/cfg80211.ko): Operation not permitted

WARNING: Error inserting mac80211 (/lib/modules/3.5.0-23-generic/kernel/net/mac80211/mac80211.ko): Operation not permitted

FATAL: Error inserting b43 (/lib/modules/3.5.0-23-generic/kernel/drivers/net/wireless/b43/b43.ko): Operation not permitted

(Frankfurterium) #12

Ale, oczywiście, próbowałeś jako superuser?


(Piter1paczynski) #13
root@PiotrekPC:/home/piotr# modprobe b43

WARNING: All config files need .conf: /etc/modprobe.d/ath9k.con, it will be ignored in a future release.

to mam jako superuser.


(roobal) #14

Jeśli modprobe b43 działa, to sterownik powinien być załadowany, spróbuj teraz uruchomić Kismet z ustawieniami, które podałem.

Jeśli nie znasz angielskiego, to już Ci wyjaśniam o co chodzi. To nie jest błąd, lecz ostrzeżenie, że pliki w podkatalogu modprobe.d potrzebują rozszerzenia .conf, w przeciwnym razie system będzie ignorował te pliki w przyszłych wydaniach. Plik ath9k nie ma takiego rozszerzenia, ma za to rozszerzenie .con (wygląda to na literówkę).