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 301 forks source link

Couldn't get wlan0 when start the hotspot from menu #324

Open javacafevn opened 1 year ago

javacafevn commented 1 year ago

I'm using MXLinux (Debian).

(The cli version is working well)

lakinduakash commented 1 year ago

Can you try launching with sudo?

javacafevn commented 1 year ago

Yes, it works with sudo, even without sudo. But wlan0 filter is disabled if the app is launched directly from menu.

lakinduakash commented 1 year ago

Can you try iw dev from the command line? Seems like iw is not available except root.

javacafevn commented 1 year ago

Dear, "iw dev" works. It shows wlan0 information. It seems I'm the only one facing the problem. Or XFCE is the cause?

lakinduakash commented 1 year ago

Does iw dev work with both with and without sudo?

Can also you post the logs by opening wihotspot via terminal?

On Thu, Jul 6, 2023, 20:27 javacafevn @.***> wrote:

Dear, "iw dev" works. It shows wlan0 information. It seems I'm the only one facing the problem. Or XFCE is the cause?

— Reply to this email directly, view it on GitHub https://github.com/lakinduakash/linux-wifi-hotspot/issues/324#issuecomment-1623832976, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADA2EXJHXTJC5PTTWXJQSQ3XO3G7DANCNFSM6AAAAAAZ2U2ZWI . You are receiving this because you commented.Message ID: @.***>

DamienHodsall commented 4 months ago

I'm having this exact issue (MXLinux as well). Works great when started in a terminal but when started through the whiskermenu, the wifi interface dropdown is blank. Same problem when started through rofi. whiskermenu runs this command sh -c 'env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /usr/bin/wihotspot' and changing it to just wifihotspot doesn't fix the issue. Getting it to start in a terminal through whiskermenu gives the following: sh: 1: iw: not found. Maybe whiskermenu runs things through a user that doesn't have iw installed?