firecat53 / networkmanager-dmenu

Control NetworkManager via dmenu
MIT License
806 stars 74 forks source link

External USB adapter: not seeing networks #56

Open fam4r opened 5 years ago

fam4r commented 5 years ago

Hi,

I see that multiple adapters are managed: https://github.com/firecat53/networkmanager-dmenu/blob/master/networkmanager_dmenu#L121

But when I connect my external USB adapter, I'm not asked which one to choose. So I only see one adapter scan result.

I'm using the AUR package. I tried both with rofi and dmenu.

firecat53 commented 5 years ago

What's the output of nmcli device show <whatever the USB device name is> ? We need to figure out how networkmanager views and describes this device. Poke around the various nmcli commands and compare the output from a regular wifi adapter (if you have one available) and see if you can find the differences.

firecat53 commented 4 years ago

Just checking in on this...I don't have any USB wifi hardware so I can't help out much on gathering the info.

fam4r commented 4 years ago

Hey, sorry...

This is nmcli device show output:

$ nmcli device show wlp0s20u1
GENERAL.DEVICE:                         wlp0s20u1
GENERAL.TYPE:                           wifi
GENERAL.HWADDR:                        [REDACTED]
GENERAL.MTU:                            1500
GENERAL.STATE:                          20 (unavailable)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --

What I would like to see in networkmanager-dmenu is a list of available wireless networks, grouped by the relative adapter, exactely what nmtui does (something like this, but with multiple wireless adapters, obviously)