Kismet Systemd: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „=User zur kismet gruppe hinzufügen= *gpasswd -a xinux kismet =User S-Bit setzen= *chmod u+s /usr/bin/kismet =User S-Bit setzen= *chmod u+s /usr/bin/kismet =K…“) |
|||
| Zeile 1: | Zeile 1: | ||
=User zur kismet gruppe hinzufügen= | =User zur kismet gruppe hinzufügen= | ||
*gpasswd -a xinux kismet | *gpasswd -a xinux kismet | ||
| − | |||
| − | |||
| − | |||
=User S-Bit setzen= | =User S-Bit setzen= | ||
*chmod u+s /usr/bin/kismet | *chmod u+s /usr/bin/kismet | ||
Aktuelle Version vom 12. August 2021, 06:42 Uhr
User zur kismet gruppe hinzufügen
- gpasswd -a xinux kismet
User S-Bit setzen
- chmod u+s /usr/bin/kismet
Konfig anpassen
- cat /etc/kismet/kismet.conf
source=wlan0
- mkdir /home/xinux/kismet-log
- chown xinux.kismet /home/xinux/kismet-log
- cat /etc/kismet/kismet_logging.conf
log_prefix=/home/xinux/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=xinux Group=kismet ### Lines below this comment will be discarded
Systemd reloaden
- systemctl daemon-reload
Enable und Starten
- systemctl enable kismet.service --now
Checken
- netstat -lntp | grep 2501
tcp 0 0 0.0.0.0:2501 0.0.0.0:* LISTEN 9130/kismet