Kismet Systemd: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 8: Zeile 8:
 
  source=wlan0
 
  source=wlan0
 
*cat /etc/kismet/kismet_logging.conf
 
*cat /etc/kismet/kismet_logging.conf
  log_prefix=/home/xinux/kismet-log
+
  log_prefix=/home/kit/kismet-log
 
==Verzeichnis anlegen und Rechte anpassen==
 
==Verzeichnis anlegen und Rechte anpassen==
*mkdir /home/xinux/kismet-log
+
*mkdir /home/kit/kismet-log
*chown xinux.kismet /home/xinux/kismet-log
+
*chown kit:kismet /home/kit/kismet-log
  
 
=Automatisch Starten=
 
=Automatisch Starten=
Zeile 19: Zeile 19:
 
### Anything between here and the comment below will become the new contents of the file
 
### Anything between here and the comment below will become the new contents of the file
  
User=xinux
+
User=kit
 
Group=kismet
 
Group=kismet
  
 
### Lines below this comment will be discarded
 
### Lines below this comment will be discarded
 
</pre>
 
</pre>
 +
 
=Systemd reloaden=
 
=Systemd reloaden=
 
*systemctl daemon-reload
 
*systemctl daemon-reload
Zeile 29: Zeile 30:
 
*systemctl enable  kismet.service --now  
 
*systemctl enable  kismet.service --now  
 
=Checken=
 
=Checken=
*netstat -lntp | grep 2501
+
*ss -lntp | grep 2501
 
  tcp  0  0 0.0.0.0:2501  0.0.0.0:*    LISTEN  9130/kismet
 
  tcp  0  0 0.0.0.0:2501  0.0.0.0:*    LISTEN  9130/kismet

Aktuelle Version vom 23. Juni 2026, 12:17 Uhr

User zur kismet gruppe hinzufügen

  • gpasswd -a kit kismet

User S-Bit setzen

  • chmod u+s /usr/bin/kismet

Konfig anpassen

  • cat /etc/kismet/kismet.conf
source=wlan0
  • cat /etc/kismet/kismet_logging.conf
log_prefix=/home/kit/kismet-log

Verzeichnis anlegen und Rechte anpassen

  • mkdir /home/kit/kismet-log
  • chown kit:kismet /home/kit/kismet-log

Automatisch Starten

  • systemctl edit kismet.service
### Editing /etc/systemd/system/kismet.service.d/override.conf
### Anything between here and the comment below will become the new contents of the file

User=kit
Group=kismet

### Lines below this comment will be discarded

Systemd reloaden

  • systemctl daemon-reload

Enable und Starten

  • systemctl enable kismet.service --now

Checken

  • ss -lntp | grep 2501
tcp  0  0 0.0.0.0:2501   0.0.0.0:*    LISTEN  9130/kismet