Artix Linux Forum

Init systems => OpenRC => Topic started by: Dal on 04 February 2020, 01:01:01

Title: [SOLVED] Wifi cannot be enable- iwlist doesn’t exist
Post by: Dal on 04 February 2020, 01:01:01
Hello, guys.

I can’t enable wifi on my pc the last two things that may have triggered this could have been I connected an ethernet cable while using wifi or the last system upgrade. I also found that iwlist doesn’t exist in /usr/bin or any other place. Is this a bug or product of ignorance?

Edit: just connected thru ethernet and tried installing iwlist and the package was not found.
Title: Re: Wifi cannot be enable- iwlist doesn’t exist
Post by: ####### on 04 February 2020, 03:58:55
If you use a gui manager then I suppose check the settings to see if the ethernet has somehow been made the default. I just upgraded after reading this to check, and wireless still works here although I saw the kernel and firmware got updated, so it could be hardware specific if that was the reason.
iwlist is in the wireless_tools package, which is handy to have installed, but the "modern" command is iw. You wouldn't use either to enable wifi on the command line though, you use ip, wpa_supplicant then dhclient (or dhcpcd, but dhclient is easier to use as installed.) Check if you have accidentally  flipped the wifi switch if you have one too, I did that recently ...  :D

Code: [Select]
$ iw dev   
- gives the device name
$ ip link show (device name)
- gives the status
$ ifconfig
- more info, only appears here if it is UP.
Title: Re: Wifi cannot be enable- iwlist doesn’t exist
Post by: Dal on 04 February 2020, 04:33:31
No option at all to even enable wifi in the gui and Yesterday since I had two connections for the moment I used ethernet I made it primary (“move before”) but when I unplugged it, i reset the changes. Iw doesn’t out anything and ifconfig only displays the enp3s0 (ethernet) and the lo (loopback).
Title: Re: Wifi cannot be enable- iwlist doesn’t exist
Post by: ndowens on 04 February 2020, 04:37:57
Try installing dhcpcd-openrc and enable it as a service and see if that helps.
Title: Re: Wifi cannot be enable- iwlist doesn’t exist
Post by: ####### on 04 February 2020, 14:52:24
If you don't see the wireless interface listed, usually as wlpXsY where X & Y are numbers, doing:
Code: [Select]
$ iw dev
$ ip link show
where the first command shows wireless devices, and the second shows all interfaces, then the system does not see it, so it must be a hardware or driver problem I think. You could try downgrading the kernel and firmware? If it works then also post your wireless hardware details if you can, perhaps it will help someone fix it.
Those commands look in /sys/class/net and the related directories have the info in them, and sysfs is a vfs provided by the kernel, if it's not there it's not a userspace issue I think.
Title: Re: Wifi cannot be enable- iwlist doesn’t exist
Post by: mattz7 on 04 February 2020, 15:00:15
If you don't see a wireless interface when doing
Code: [Select]
$ iw dev
$ ip link show
then try installing the linux-firmware package. A lot of wifi modules require this to work.
Title: Re: Wifi cannot be enable- iwlist doesn’t exist
Post by: Dal on 12 February 2020, 18:18:04
Hey guys, been busy doing my other things just got back to fiddle with this machine again. I ran an -Syu and got these warnings at the end:

WARNING: possibly missing firmware for module: aic94xx
WARNING: possibly missing firmware for module: wd719x
Title: Re: Wifi cannot be enable- iwlist doesn’t exist
Post by: ndowens on 12 February 2020, 22:28:22
Hey guys, been busy doing my other things just got back to fiddle with this machine again. I ran an -Syu and got these warnings at the end:

WARNING: possibly missing firmware for module: aic94xx
WARNING: possibly missing firmware for module: wd719x
I get this, it is normal.
Title: Re: Wifi cannot be enable- iwlist doesn’t exist
Post by: Dal on 13 February 2020, 02:38:07
Guys, just boot up my system and the wifi is working now. I think the last update made my laptop failed and this update “fixed” it. For the record my laptop is an MSI GL62M 7RD.
Title: Re: Wifi cannot be enable- iwlist doesn’t exist
Post by: Dal on 13 February 2020, 02:58:54
Also, i should point out that the boot up got significantly faster. :D