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.26k stars 300 forks source link

A hotspot cannot be created on Debian Linux unless PATH is modified #393

Open SSUPII opened 5 months ago

SSUPII commented 5 months ago

Describe the bug An hotspot cannot be created on Debian systems due to iw being placed under /sbin/iw by default. Also by default, /sbin is not in PATH, making iw an invalid command the software is trying to execute. Due to this, the WiFi Interfaces drop down menu doesn't get populated.

To Reproduce Steps to reproduce the behavior:

  1. Be on Debian 12 system
  2. Open application

Expected behavior The WiFi Interfaces drop down menu should be populated by available WiFi interfaces.

Screenshots Istantanea_2024-04-09_14-27-41

Desktop (please complete the following information):

Additional context You can successfully launch and use the program by running it with the following line: PATH=$PATH:/sbin ; sh -c 'env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /usr/bin/wihotspot'