Kismet Systemd: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| (2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 11: | Zeile 11: | ||
==Verzeichnis anlegen und Rechte anpassen== | ==Verzeichnis anlegen und Rechte anpassen== | ||
*mkdir /home/kit/kismet-log | *mkdir /home/kit/kismet-log | ||
| − | *chown kit | + | *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= | + | 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= | ||
| − | * | + | *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