View previous topic :: View next topic |
Author |
Message |
<3 Veteran
Joined: 21 Oct 2004 Posts: 1081
|
Posted: Mon May 23, 2022 6:56 am Post subject: net.wlan0 fails to start (issue closed not fixed) |
|
|
I am having issues getting wifi working since moving NetworkManager from wpa_supplicant to iwd. I think there must be something that I forgot to do during the transition. Can someone please tell me what I am missing? wpa_supplicant is not installed.
Code: | # /etc/init.d/net.wlan0 restart
net.wlan0 | * Bringing up interface wlan0
net.wlan0 | * Starting wpa_supplicant on wlan0 ...
net.wlan0 | * /etc/wpa_supplicant/wpa_supplicant.conf not found [ !! ]
net.wlan0 | * ERROR: net.wlan0 failed to start |
/etc/conf.d/net: |
modules_wlan0="idw debug"
config_enp2s0="dhcp"
config_wlan0="dhcp" |
Code: |
# emerge -pv networkmanager
These are the packages that would be merged, in order:
This is this is the USE flag enabled on NetworkManager with the version that I have installed.
Calculating dependencies... done!
[ebuild R ] net-misc/networkmanager-1.32.12-r1::gentoo USE="bluetooth concheck elogind gtk-doc introspection iwd modemmanager nss (policykit) ppp tools wext wifi -audit -connection-sharing -debug -dhclient -dhcpcd -gnutls -iptables -lto -nftables -ofono -ovs -psl -resolvconf (-selinux) -syslog -systemd -teamd -test -vala" ABI_X86="(64) -32 (-x32)" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB |
netifrc is installed, should this be uninstalled?
Code: | # emerge -pv netifrc
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] net-misc/netifrc-0.7.3::gentoo 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB |
and iwd is installed.
Code: | # emerge -pv iwd
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] net-wireless/iwd-1.26::gentoo USE="client crda monitor -ofono -standalone -systemd -wired" CPU_FLAGS_X86="aes ssse3" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB |
here is the relevant ifconfig output
Code: | wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether xx:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 |
and relevant lspci output
Code: | 03:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a) |
with relevant dmesg output
dmesg | grep iwlwifi: | dmesg | grep iwlwifi
[ 4.114932] iwlwifi 0000:03:00.0: enabling device (0000 -> 0002)
[ 4.124773] Loading firmware: iwlwifi-cc-a0-59.ucode
[ 4.131650] iwlwifi 0000:03:00.0: api flags index 2 larger than supported by driver
[ 4.131665] iwlwifi 0000:03:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.22
[ 4.132027] iwlwifi 0000:03:00.0: loaded firmware version 59.601f3a66.0 cc-a0-59.ucode op_mode iwlmvm
[ 66.608241] iwlwifi 0000:03:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340
[ 66.789120] iwlwifi 0000:03:00.0: base HW address: xx:xx:xx:xx:xx:xx |
lsmod has the kernel modules loaded
Code: | # lsmod | grep iwlwifi
iwlwifi 344064 1 iwlmvm
cfg80211 794624 3 iwlmvm,iwlwifi,mac80211 |
here is the kernel version that I am running
Code: | uname -r
5.10.76-gentoo-r1
|
This might be more information that what is needed but I hope that someone can help.
Last edited by <3 on Mon Jun 27, 2022 2:41 am; edited 1 time in total |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3134
|
Posted: Mon May 23, 2022 9:28 am Post subject: |
|
|
Looks like you're using netifrc AND NM at the same time which causes conflicts.
There is no need to uninstal netifrc, but definitely remove them from runlevels. And you may consider removing interface-specific links from /etc/init.d so they won't be pulled in as dependencies (provide net)
Check out rc-status and rc-update (without parameters) |
|
Back to top |
|
|
<3 Veteran
Joined: 21 Oct 2004 Posts: 1081
|
Posted: Mon Jun 27, 2022 2:43 am Post subject: |
|
|
Thanks for your reply, I was not able to get back online ot see your post so I decided to just re-install. Had I had the chance to see your message I probably could have just did what you've suggested without going through the hassle of a new install. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|