Kismet Systemd: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| (5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
=User zur kismet gruppe hinzufügen= | =User zur kismet gruppe hinzufügen= | ||
| − | *gpasswd -a | + | *gpasswd -a kit kismet |
| + | |||
=User S-Bit setzen= | =User S-Bit setzen= | ||
*chmod u+s /usr/bin/kismet | *chmod u+s /usr/bin/kismet | ||
| Zeile 6: | Zeile 7: | ||
*cat /etc/kismet/kismet.conf | *cat /etc/kismet/kismet.conf | ||
source=wlan0 | source=wlan0 | ||
| − | |||
| − | |||
*cat /etc/kismet/kismet_logging.conf | *cat /etc/kismet/kismet_logging.conf | ||
| − | log_prefix=/home/ | + | 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= | =Automatisch Starten= | ||
| Zeile 17: | 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 27: | 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