lakinduakash/linux-wifi-hotspot

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

SSUPII opened this issue · 1 comments

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):

  • OS: Debian 12.4 (6.5.0-0.deb12.4-amd64)
  • Version 4.7.1

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'