lakinduakash / linux-wifi-hotspot

Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. It is also able to create a hotspot using the same wifi card which is connected to an AP already ( Similar to Windows 10).
BSD 2-Clause "Simplified" License
3.32k stars 307 forks source link

Check if root before initializing lock in create_ap and add hostapd log timestamp option #196

Closed mathiassmichno closed 3 years ago

mathiassmichno commented 3 years ago

If create_ap was executed without root it would initialize the /tmp/create_ap.all.lock with wrong ownership. This required the user to manually delete the lock before being able to run create_ap again.

Also, add --hostapd-timestamps as option to create_ap for including timestamps in hostapd debug log