Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED, kinda] Q: rtl8822bu driver install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ayeyes
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2017
Posts: 104

PostPosted: Sat Oct 06, 2018 11:53 am    Post subject: [SOLVED, kinda] Q: rtl8822bu driver install Reply with quote

Hi!

In /lib/firmware/rtlwifi there is 8822be, but it doesn't seem to work.

Compiled https://github.com/FomalhautWeisszwerg/rtl8822bu fine, but it's a .ko file. Is it possible to use it in Gentoo?


Last edited by ayeyes on Mon Oct 08, 2018 1:49 pm; edited 2 times in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sun Oct 07, 2018 4:44 pm    Post subject: Reply with quote

Quote:
In /lib/firmware/rtlwifi there is 8822be, but it doesn't seem to work.
Is your chipset rtl8822be or rtl8822bu?What manufacturer, make, and model is your device/dongle? The rtl8822be is identified at https://wikidevi.com/wiki/Realtek#Wireless_chipsets as using pcie/usb interface. The rtl8822bu is identified as using usb interface. It is extremely likely that the two chipsets require different firmware names and very likely different firmware code.
Quote:
Compiled https://github.com/FomalhautWeisszwerg/rtl8822bu fine, but it's a .ko file. Is it possible to use it in Gentoo?
Maybe. Should be. From the same directory where you ran make, run
Code:
cp RTL8822Bfw_NIC.bin /lib/firmware/rtlwifi/RTL8822Bfw_NIC.bin
make install
modprobe 8822bu
ifconfig -a
If this all ran and a new wireless interface name is in the ifconfig -a ouput, the kernel found and attached a driver to the nic, run
Code:
ifconfig <that new wireless interface name> up
ifconfig
if this runs and ifconfig shows the interface, run
Code:
ifconfig <interface name> down
configure your networking choice to add the interface and restart the networking choice or the computer.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54096
Location: 56N 3W

PostPosted: Sun Oct 07, 2018 5:02 pm    Post subject: Reply with quote

ayeyes,

Firmware files and .ko files are different things.

.ko files are loadable kernel modules. The will only load in the kernel they were made for.
Firmware files are loaded into the device becase the device vendor saved a few pennies on FLASH memory.

What device do you have?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
ayeyes
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2017
Posts: 104

PostPosted: Mon Oct 08, 2018 9:50 am    Post subject: Reply with quote

Thank you for your feedback. Amazingly I got it working by following this guide: https://wiki.gentoo.org./wiki/AC1200_Wireless_Adapters and with kernel 4.18.12. It's the 8822bu yes.
Code:

sudo wpa_supplicant -B -i <interface> -c /etc/wpa_supplicant/wpa_supplicant.conf
Successfully initialized wpa_supplicant
Back to top
View user's profile Send private message
ayeyes
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2017
Posts: 104

PostPosted: Mon Oct 08, 2018 1:49 pm    Post subject: Reply with quote

But slooow and unstable. :(
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6095
Location: Dallas area

PostPosted: Mon Oct 08, 2018 2:20 pm    Post subject: Reply with quote

After it's up, you can do wpa_cli and it'll put you into an interactive mode to investigate things.

I believe help will give you a list of options (from memory, not on laptop at the moment)
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
ayeyes
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2017
Posts: 104

PostPosted: Wed Oct 10, 2018 1:27 pm    Post subject: Reply with quote

Anon-E-moose wrote:
After it's up, you can do wpa_cli and it'll put you into an interactive mode to investigate things.

I believe help will give you a list of options (from memory, not on laptop at the moment)


Thanks, but I installed a Intel 5300 pci wifi card today, which seems to work perfectly. :-) Got it cheap from China on Ebay.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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