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

Cannot enter custom value of channel with mode 5GHz #401

Open Edw125 opened 4 months ago

Edw125 commented 4 months ago

Describe the bug Hi. I found some problem with using this app. Cannot enter custom value of channel with mode 5GHz, value is 149 (see on screenshot), but "valid" number in form is between from 1 to 11. If I run app with default value (don't click on checkbox) I get an error:

мая 19 19:34:01 edward-IdeaPad-Gaming-3-16IAH7 wihotspot.desktop[44404]: Error: Failed to run hostapd, maybe a program is interfering.
мая 19 19:34:01 edward-IdeaPad-Gaming-3-16IAH7 wihotspot.desktop[44404]: If an error like 'n80211: Could not configure driver mode' was thrown
мая 19 19:34:01 edward-IdeaPad-Gaming-3-16IAH7 wihotspot.desktop[44404]: try running the following before starting create_ap:
мая 19 19:34:01 edward-IdeaPad-Gaming-3-16IAH7 wihotspot.desktop[44404]:     nmcli r wifi off
мая 19 19:34:01 edward-IdeaPad-Gaming-3-16IAH7 wihotspot.desktop[44404]:     rfkill unblock wlan

If I run app in 2.4GHz frequency band hotspot starts successfully as both from checkbox and value 1 or other

To Reproduce Steps to reproduce the behavior:

  1. enter the program
  2. choose frequency band - 5Ghz
  3. Try to enter value 149 channel
  4. Error when enter value of channel

Screenshots image image image

Desktop: