No available Wi-Fi Network Detected

Tried it but doesnt work, maybe Im doing something wrong

Type
:w to save
:q to quit

https://www.linux.com/training-tutorials/vim-101-beginners-guide-vim/

I just realize you need to remove the underscore in the card name

options rtl8823be ant_sel=1

So I tried all of them, and different ways but nothing.

[pavels@pavels-workpc ~]$ sudo iw dev $DEVICE scan | egrep “SSID|signal|(on”
[5|10|20|40|80|80+80|160] [<center1_freq> [<center2_freq>]] [hidden-ssid|zeroed-ssid] head [tail ] [inactivity-time ] [key0:abcde d:1:6162636465]
dev auth type:open|shared [key 0:abcde d:1:6162636465]
dev connect [-w] [] [] [key 0:abcde d:1:6162636465] [mfp:req/opt/no]
Join the network with the given SSID (and frequency, BSSID).
dev ibss join [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz] [fixed-freq] [] [beacon-interval ] [basic-rates <rate in Mbps,rate2,…>] [mcast-rate ] [key d:0:abcde]
Join the IBSS cell with the given SSID, if it doesn’t exist create
join/create a cell on a different frequency. When a fixed BSSID is
requested use that BSSID and do not adopt another cell’s BSSID even
if it has higher TSF and the same SSID. If an IBSS is created, create
Scan on the given frequencies and probe for the given SSIDs
with probing for the given SSIDs (or wildcard if not given) unless passive
SSIDs (or wildcard if not given) unless passive scanning is requested.
[pavels@pavels-workpc ~]$ DEVICE=$(iw dev | grep Interface | cut -d " " -f2)
[pavels@pavels-workpc ~]$ sudo iw dev $DEVICE scan | egrep “SSID|signal|(on”
command failed: Network is down (-100)
[pavels@pavels-workpc ~]$ sudo vim /etc/modprobe.d/rtw_8822be.conf
[pavels@pavels-workpc ~]$ DEVICE=$(iw dev | grep Interface | cut -d " " -f2)
[pavels@pavels-workpc ~]$ sudo iw dev $DEVICE scan | egrep “SSID|signal|(on”
command failed: Network is down (-100)
[pavels@pavels-workpc ~]$ sudo su -
[pavels-workpc ~]# echo “options rtw_8822be ant_sel=2” > /etc/modprobe.d/50-rtw_8822be.conf
[pavels-workpc ~]# exit
logout
[pavels@pavels-workpc ~]$ DEVICE=$(iw dev | grep Interface | cut -d " " -f2)
[pavels@pavels-workpc ~]$ sudo iw dev $DEVICE scan | egrep “SSID|signal|(on”
command failed: Network is down (-100)
[pavels@pavels-workpc ~]$ sudo su -
[pavels-workpc ~]# echo “options rtw_8822be ant_sel=1” > /etc/modprobe.d/50-rtw_8822be.conf
[pavels-workpc ~]# exit
logout
[pavels@pavels-workpc ~]$ DEVICE=$(iw dev | grep Interface | cut -d " " -f2)
[pavels@pavels-workpc ~]$ sudo iw dev $DEVICE scan | egrep “SSID|signal|(on”
command failed: Network is down (-100)
[pavels@pavels-workpc ~]$

Here u can see I tried 1 and 2 value. Also with that vim too

Did you try it without the “_” in “rtl_8822be”

Also, you typed “rtw” not “rtl”

you can also try omitting the 50 from the file name

and the _ is supposed to be - in the file name

So,

sudo vim /etc/modprobe.d/rtl8822be.conf

or

sudo vim /etc/modprobe.d/50-rtl8822be.conf

I apologize, I know this is frustrating.

I tried with rtl but it said doesnt exsist and from somewhere I remembered that I used rtw_8822be not rtl8822, tried and it worked. When I tried to install at the start it didnt recognize as rtl but as rtw

Na its not fustrating at all

Okay, I am going to type a list of commands in the next comment.

Just copy and paste in the order that I give.

Okey, will do that. Probably I am doing something wrong xD

Consider this the “nuclear option”:

sudo su
sudo vim /etc/modprobe.d/rtl8822be.conf

enter “options rtl8822be ant_sel=1”

sudo vim /etc/modprobe.d/50-rtl8822be.conf

enter “options rtl8822be ant_sel=1”

sudo vim /etc/modprobe.d/rtw8822be.conf

enter “options rtw8822be ant_sel=1”

sudo vim /etc/modprobe.d/50-rtw8822be.conf

enter “options rtw8822be ant_sel=1”

sudo vim /etc/modprobe.d/rtw_8822be.conf

enter “options rtw_8822be ant_sel=1”

sudo vim /etc/modprobe.d/50-rtw_8822be.conf

enter “options rtw_8822be ant_sel=1”

exit

If that doesn’t work, change all the 1s to 2s

With “” or without “”?

Without

Tried with 1s and 2s and still nothing. Says:

[pavels@pavels-workpc ~]$ sudo iw dev $DEVICE scan | egrep “SSID|signal|(on”
command failed: Network is down (-100)

Okay, I am sorry, but I think I have hit the limit of my knowledge on this subject.

You may want to go into /etc/modprobe.d/ and delete all of the files that you created except whichever one you think is the right one.

Then, maybe someone else can find this and help you more.

Okey, no worries. Thank you for your time! I appreciated it alot even tho we did not find solution. :wink:

1 Like

For anyone wondering, the solution ended up being adding the following to /etc/modprobe.d/blacklist.conf

blacklist btrtl
blacklist btusb
blacklist r8822be
blacklist rtw88
blacklist rtwpci

Also, deleting all the extra files we created earlier around the same time probably helped as well.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.