You are not logged in.

#1 2024-05-29 19:52:12

sanjibdahal
Member
Registered: 2024-05-29
Posts: 4

Wi-fi not working in archlinux after installation

I installed archlinux properly but my wifi is not working. It is not detecting wifi driver in linux but works in windows. when i run dmesg | grep mt7615e (which is my driver) it says probe with driver mt7615e failed with error -12. please help me solve this problem.

Offline

#2 2024-05-29 22:16:35

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,658

Re: Wi-fi not working in archlinux after installation

I installed archlinux properly but my wifi is not working.

Did the wifi work during installation? If not, how are you able to complete the installation?

Offline

#3 2024-05-30 02:55:23

olfreg314
Member
Registered: 2024-05-30
Posts: 1

Re: Wi-fi not working in archlinux after installation

https://bbs.archlinux.org/viewtopic.php?id=296101

Follow this thread, there is a upstream bug in Arch 6.9 specifically and not the previous ones... https://bugzilla.kernel.org/show_bug.cgi?id=218895

Offline

#4 2024-05-30 09:52:43

sanjibdahal
Member
Registered: 2024-05-29
Posts: 4

Re: Wi-fi not working in archlinux after installation

Yes, during the installation, wifi was working properly. After the installation it doesn't work.

Offline

#5 2024-05-30 11:40:45

sanjibdahal
Member
Registered: 2024-05-29
Posts: 4

Re: Wi-fi not working in archlinux after installation

Now, it is solved. I went to https://bbs.archlinux.org/viewtopic.php?id=296101

diff --git a/drivers/net/wireless/mediatek/mt76/mt7615/main.c b/drivers/net/wireless/mediatek/mt76/mt7615/main.c
index 0971c164b57e..c27acaf0eb1c 100644
--- a/drivers/net/wireless/mediatek/mt76/mt7615/main.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7615/main.c
@@ -1326,6 +1326,10 @@ static void mt7615_set_rekey_data(struct ieee80211_hw *hw,
 #endif /* CONFIG_PM */
 
 const struct ieee80211_ops mt7615_ops = {
+	.add_chanctx = ieee80211_emulate_add_chanctx,
+	.remove_chanctx = ieee80211_emulate_remove_chanctx,
+	.change_chanctx = ieee80211_emulate_change_chanctx,
+	.switch_vif_chanctx = ieee80211_emulate_switch_vif_chanctx,
 	.tx = mt7615_tx,
 	.start = mt7615_start,
 	.stop = mt7615_stop,

and downloaded linux-6.9.1.arch1-2 with the above applied:
https://drive.google.com/file/d/1rP6ULO … sp=sharing linux-6.9.1.arch1-2.1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1hTLQMo … sp=sharing linux-headers-6.9.1.arch1-2.1-x86_64.pkg.tar.zst

and installed it with

pacman -U path/to/files

then reboot

Last edited by sanjibdahal (2024-05-30 11:41:19)

Offline

Board footer

Powered by FluxBB