configurare kismet

salve a tutti.

ho un piccolo problema.

ho istallato da agiungi\rimuovi software kismet

il fatto è che dopo aver istallato kismet non lo trovo nel menù e neanche se lo richiamo da riga di comando…

come mai?

ciao, prova con whereis kismet e prova anche a lanciare il programma da root.
Whereis ti riporta le path nelle quali trova il comando, compreso l’eseguibile del programma.
Se non dovesse funzionare, apri una shell e reinstallalo:

#yum remove kismet* .... #yum install kismet*

Inoltre una volta funzionante, ti consiglio un attenta lettura e configurazione del programma e i vari permessi sui file che deve utilizzare(mi pare non funzioni da root)
Per sapere come config usa i seguenti:

man kismet
man kismet.conf

Trovato.
con man kismet si apre tutta una pagina con delle opzioni.
ho istallato questo programma per testare la qualità della mia wep.

quando scrivo il comando “airmon-ng start wlan0 11” mi dice:

Interface Chipset Driver

wlan0 iwlagn - [phy0]/usr/sbin/airmon-ng: line 338: /sys/class/ieee80211/phy0/add_iface: No such file or directory
mon0: unknown interface: No such device

			(monitor mode enabled on mon0)

[root@Vaio Mario]#

da quello che posso intuire non riconosce a pieno la scheda wi-fi che è una:
intel pro\wireless 4965 ag or agn [kedron]

sugerimenti da darmi?

Da utente normale hai lo stesso problema?

da utente normale non fa fare niente mi chede di essere root

comunque ho cercato di editare kismet.conf

cosi:

Sources are defined as:

source=iwl4965,wlan0,Intel

Source types and required drivers are listed in the README under the

CAPTURE SOURCES section.

The initial channel is optional, if hopping is not enabled it can be used

to set the channel the interface listens on.

YOU MUST CHANGE THIS TO BE THE SOURCE YOU WANT TO USE

source=none,none,addme

L’ultima parte però source=none,none,addme non sò che inserire.

ho solo modificato questa così:source=iwl4965,wlan0,Intel

Ho fatto bene?

cosa devo fare poi?

perche digitando da root : kismet mi dice

[root@Vaio Mario]# kismet
Launching kismet_server: /usr/bin/kismet_server
Will drop privs to kismet (493) gid 490
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.
NOTICE: Disabling channel hopping, no enabled sources are able to change channel.
Dropped privs to kismet (493) gid 490
Source 0 (addme): Opening none source interface none…
FATAL: Please configure at least one packet source. Kismet will not function if no packet sources are defined in kismet.conf or on the command line. Please read the README for more information about configuring Kismet.
Kismet exiting.
Done.

quindi c’è ancora qualcosa da ritoccare credo…

io avevo editato la riga source piu o meno allo stesso modo: nomemodulo,nomeinterfaccia,nomechemipare…

controlla che il modulo inserito sia quello giusto.
Sembra quasi che il file non sia stato modificato…

[quote]…Source 0 (addme): Opening none source interface none…
FATAL: Please configure at least one packet source. Kis…[/quote]
La tua scheda supporta la modalità monitor?

booooooooooooo :slight_smile:

non saprei proprio…

ma dai forum su google sembra di si…

strano però, a me si rifiutava di funzionare da root :-o

modificando anche l’ultima riga con iwp4965 ecc ecc

guarda cosa dice:

[Mario@Vaio ~]$ su
Password:
[root@Vaio Mario]# kismet
Launching kismet_server: /usr/bin/kismet_server
Will drop privs to kismet (493) gid 490
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.
NOTICE: Disabling channel hopping, no enabled sources are able to change channel.
Source 0 (Intel): Enabling monitor mode for iwl4965 source interface wlan0 channel 6…
Source 0 (Intel): Opening iwl4965 source interface wlan0…
Spawned channel control process 3215
Dropped privs to kismet (493) gid 490
Will attempt to put networkmanager to sleep…
Allowing clients to fetch WEP keys.
WARNING: Disabling GPS logging.
Logging networks to /var/log/kismet/Kismet-Feb-26-2009-4.network
Logging networks in CSV format to /var/log/kismet/Kismet-Feb-26-2009-4.csv
Logging networks in XML format to /var/log/kismet/Kismet-Feb-26-2009-4.xml
Logging cryptographically weak packets to /var/log/kismet/Kismet-Feb-26-2009-4.weak
Logging cisco product information to /var/log/kismet/Kismet-Feb-26-2009-4.cisco
Logging data to /var/log/kismet/Kismet-Feb-26-2009-4.dump
Writing data files to disk every 300 seconds.
Mangling encrypted and fuzzy data packets.
Tracking probe responses and associating probe networks.
Reading AP manufacturer data and defaults from /etc/kismet/ap_manuf
Reading client manufacturer data and defaults from /etc/kismet/client_manuf
Using network-classifier based data encryption detection
Not tracking duplicate IVs
Putting networkmanager to sleep…
Dump file format: wiretap (local code) dump
Crypt file format: airsnort (weak packet) dump
Kismet 2008.05.R1 (Kismet)
Logging data networks CSV XML weak cisco
Listening on port 2501.
Allowing connections from 127.0.0.1/255.255.255.255
Registering builtin client/server protocols…
Registering requested alerts…
Registering builtin timer events…
Gathering packets…
Launched client, pid 3216
Launching kismet_client: /usr/bin/kismet_client
NOTICE: configdir ‘/root/’ does not exist, making it.
FATAL: Could not make configdir: File exists
Didn’t see any weak encryption packets, unlinking weak file
Sending termination request to channel control child 3215…
Waiting for channel control child 3215 to exit…
WARNING: Error disabling monitor mode: Failed to set channel 0 22:Invalid argument
WARNING: Intel (wlan0) left in an unknown state. You may need to manually
restart or reconfigure it for normal operation.
WARNING: Sometimes cards don’t always come out of monitor mode
cleanly. If your card is not fully working, you may need to
restart or reconfigure it for normal operation.
Trying to wake networkmanager back up…
Kismet exiting.
Done.
[root@Vaio Mario]#

in più se lancio da utente normale dice:

[Mario@Vaio ~]$ kismet
Launching kismet_server: /usr/bin/kismet_server
ERROR: Reading config file ‘/etc/kismet/kismet.conf’: 13 (Permission denied)
Done.
[Mario@Vaio ~]$
queste schede intel sono un classico… possibile che non si interpolano bene con questi programmi?

:frowning: dritte da darmi?

posta output di:

grep "suiduser" /etc/kismet/kismet.conf ; ls -al /etc/kismet/

ecco qui:

[Mario@Vaio ~]$ su
Password:
[root@Vaio Mario]# grep “suiduser” /etc/kismet/kismet.conf
suiduser=kismet
[root@Vaio Mario]# ls -al /etc/kismet/
totale 104
drwxr-x— 2 root kismet 4096 26 feb 13:20 .
drwxr-xr-x 109 root root 12288 26 feb 13:26 …
-rw-r–r-- 1 root root 13905 5 ago 2008 ap_manuf
-rw-r–r-- 1 root root 26076 5 ago 2008 client_manuf
-rw-r–r-- 1 root root 15364 26 feb 13:20 kismet.conf
-rw-r–r-- 1 root root 15364 26 feb 13:18 kismet.conf~
-rw-r–r-- 1 root root 4195 5 ago 2008 kismet_drone.conf
-rw-r–r-- 1 root root 3704 5 ago 2008 kismet_ui.conf
[root@Vaio Mario]#

ok allora dovrebbe funzionare lanciandolo con l’utente root.

La scheda wireless è up? La trovi nell’output di “ifconfig” e di “iwconfig”? I drivers indicati in kismet.conf sono quelli corretti?

edit:

comunque non capisco 'sto pezzo:

NOTICE: configdir '/root/' does not exist, making it.
FATAL: Could not make configdir: File exists

crede che non esista la home di root, la vuole creare e poi dice che non puo’ crearla perché esiste gia’?!?

i driver penso di sì… comunque non ci capisco una mazza in tutte quelle righe di kismet.conf

cmq ecco i risultati:

[Mario@Vaio ~]$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1A:80:B4:CB:AC
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:16

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:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1488 (1.4 KiB) TX bytes:1488 (1.4 KiB)

wlan0 Link encap:Ethernet HWaddr 00:1D:E0:AA:7D:63
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21d:e0ff:feaa:7d63/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2616 errors:0 dropped:0 overruns:0 frame:0
TX packets:1452 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1243726 (1.1 MiB) TX bytes:327875 (320.1 KiB)

wmaster0 Link encap:UNSPEC HWaddr 00-1D-E0-AA-7D-63-F4-2F-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING 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)

[Mario@Vaio ~]$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11abgn ESSID:“Alice-xxxxxxxxx”
Mode:Managed Frequency:2.452 GHz Access Point: xxxxxxxxxxxxxxxxxxxxx
Bit Rate=54 Mb/s Tx-Power=15 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Power Management:off
Link Quality=100/100 Signal level:-34 dBm Noise level=-93 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

pan0 no wireless extensions.

[Mario@Vaio ~]$

mmm, dimmi:

  1. versione di kismet che stai usando:
rpm -q kismet
  1. scheda wireless che stai usando:
lspci

cercala li’ in mezzo e incolla la riga in questione

inoltre se ne hai ancora la possibilità, ti consiglio di modificare il tuo post precedente cancellando il mac-address e l’ ESSID della tua rete wifi… è sempre meglio non pubblicizzarli troppo!

ecco qui

[Mario@Vaio ~]$ rpm -q kismet
kismet-0.0.2008.05.R1-3.fc10.i386
[Mario@Vaio ~]$ lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation G86M [GeForce 8400M GT] (rev a1)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8039 PCI-E Fast Ethernet Controller (rev 15)
06:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)
08:03.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
08:03.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
08:03.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
[Mario@Vaio ~]$

ti consiglio la lettura del file:

$ gedit /usr/share/doc/kismet-0.0.2008.05.R1/README

contiene le istruzioni per configurare adeguatamente l’applicazione, naturalmente salta la parte riguardante l’installazione, visto che è già stato fatto.

ps: invito sempre a non usare linguaggi sincopati ( cmq etc)

provo a interpretare la readme… ma io non sono ancora ben ambientato in questo sistema e ho difficoltà a meno chè non mi dite direttamente che scrivere o fare…

niente da fare. dalla readme non ho risolto niente. la situazione è identica a prima ne più ne meno…

ripeto. nono ho concluso niente con la readme.

Avete qualche idea?

saluti

Non serve che ripeti. L’abbiamo capito. Evidentemente non sappiamo che altro dirti o non abbiamo tempo per farlo… Non è un servizio a pagamento FOL!

Come ti ho gia’ detto sopra, l’errore che ti viene segnalato è:

Se cerchi con google ci sono molti post in merito, alcuni parlano di aggiornare la versione di kismet, altri di cambiare il driver. Hai controllato che i drivers siano quelli giusti per la tua scheda?

Io non ho altre idee, mi spiace, altrimenti ti avrei gia’ risposto

edit: non prendertela, non è una cosa personale. Pero’ fare l’“up” di un post perché torni ai primi posti in un forum non è una cosa “carina”. Certo, se passano giorni e/o settimane si chiude anche un occhio, ma se tutti scrivessero “non mi rispondete?”, “non avete capito?”, “ripeto?”, ecc ecc. diventerebbe una jungla! Abbi pazienza se non ottieni subito le risposte che cerchi!