Wifi Interface blocked from choosing interface
NoamReuveni opened this issue · comments
Describe the bug
I follow the guidlines and tried to create a hotspot.
Once running as sudo the app I couldn't choose a wifi interface (see screenshot to see difference of color between Wifi Interface and Internet interface).
I then thought there is just one wifi interface to choose from and it does by default but when trying to create hotspot I got the following text:
Please select Wifi and Internet interfaces
pkexec --user root create_ap wlan0 eth0 'MyAccessPoint' '12345678' --mkconfig /etc/create_ap.conf --freq-band 2.4 --mac -g XXX.XXX.XX.X
Config options written to '/etc/create_ap.conf'
ERROR: 'wlan0' is not a WiFi interface
Command not found or exited with error status
To Reproduce
Steps to reproduce the behavior:
- Follow installation guide (including compiling and building)
- Run
sudo wihotspot
from terminal - Chosse Internet interface
- Click Create Hotspot and look at terminal where it is run
Expected behavior
I wold expect to be able to choose the wifi interface and be able to create a hotspot
Desktop (please complete the following information):
- OS: Ubuntu
- Version 22.04
Additional context
I tried running the app not as sudo from terminal and from the gui app that was created and all of the options led to the same bug
Make sure you have iw
installed. That was the problem for me.
@NoamReuveni did you check whether all the dependencies are installed as in the README? Please check iw
also.