Kismet Systemd: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
Zeile 30: 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