Tomomi by Alexander Vereeken is a simple little script to install some realtek wireless drivers in some linux distributions:

Supported Linux distributions

  • Arch/ Manjaro/ Antergos
  • Solus
  • Ubuntu (and its derivatives eg: elementary os, pop os, kde neon, etc.)
  • Sabayon
  • OpenSUSE

Supported realtek wifi drivers

First check if your wireless card are one of the followings. To check that run lspci | grep -i 'network'. Mine look like this:
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter.

  • RTL8812au
  • RTL8188eu, RTL8188eus & RTL8188etv
  • RTL8821ce
  • RTL8723de
  • RTL8188fu
  • RTL88x2bu

Preparations

Before you start installing the WiFi driver, make sure you have all the updates installed.

If you have previously installed a kernel update, reboot your computer to avoid errors during installation.

Installation process

sudo eopkg it -y git curl wget make automake gcc cmake

git clone https://github.com/Alexander88207/Tomomi.git && cd Tomoni

bash Tomomi.sh

  1. After that first select Install dependencies.
    • Here you choose your distribution and type of linux kernel header you want to install.
    • You first check if your linux kernel is of LTS or Current release. To check it open another terminal process and run uname -r. Mine is a current release and it looks like 5.5.7-150.current.
  2. Then run bash Tomomi.sh again and this time choose Install driver.
    • Choose your wireless driver.
    • Now you have to select one of the branches. I prefer to use the master branch.
    • After the process is complete you may or may not remove write-protected regular files.

And that's it. Last but not least sudo reboot now.
Now you can dance!!

P.S.

  • Every time a new kernel is installed you have to perform these again as there is no dkms option available for this in solus.
  • And you can change the wireless driver installation branch anytime.

    solusSaptarshi

    RTL8812au driver (Tomomi.sh - line no 52) is obsolete and it will not work in kernel 5.5.7-*** instead of that please use this driver

    https://github.com/aircrack-ng/rtl8812au.git

    and apply patch from this url and make the driver

    https://github.com/aircrack-ng/rtl8812au/issues/566

      viyoriya Thanks for this information. Really appreciate it. I have RTL8821CE and it works fine. I don't know about the other wireless cards. If any information is there please post here. We know that support of wireless cards of specific manufacturer in linux is blah. Hope to see this scene changes soon.

      6 months later
      2 months later

      Many thanks. I fiddled with trying to install an RTL88x2bu for several hours yesterday, without success. I ran into Alexander's script this morning, downloaded and ran the script, and am now in business. Magic!