linux-wifi-hotspot icon indicating copy to clipboard operation
linux-wifi-hotspot copied to clipboard

Couldn't get wlan0 when start the hotspot from menu

Open javacafevn opened this issue 1 year ago • 6 comments

I'm using MXLinux (Debian).

  • If I launch the hotspot from the menu, the GUI displays but the wlan0 dropdown is disabled.
  • If the app is started from terminal command "wihotspot", it works like a charm.

(The cli version is working well)

javacafevn avatar Jul 01 '23 08:07 javacafevn

Can you try launching with sudo?

lakinduakash avatar Jul 01 '23 14:07 lakinduakash

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

javacafevn avatar Jul 02 '23 14:07 javacafevn

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

lakinduakash avatar Jul 02 '23 15:07 lakinduakash

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

javacafevn avatar Jul 06 '23 14:07 javacafevn

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: @.***>

lakinduakash avatar Jul 06 '23 15:07 lakinduakash

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?

DamienHodsall avatar May 08 '24 19:05 DamienHodsall