realtek_rtwifi
realtek_rtwifi copied to clipboard
Failed stat for 'rtwifi.ko': No such file or directory. What am I doing wrong?
My actions:
sudo apt install automake
sudo apt-get install build-essential
sudo apt-get install bc
sudo apt-get install libelf-dev
sudo apt-get install linux-headers-uname -r
#--
git clone https://github.com/kimocoder/realtek_rtwifi
cd realtek_rtwifi
#--
sudo make # (rtwifi.ko not built)
sudo make install # failed stat for 'rtwifi.ko': No such file or directory
Same Here... https://github.com/kimocoder/realtek_rtwifi/issues/27
I picked up the driver with some guys from the Internet and I managed to put it together. Here's how you can do it:
- Take a rtl8xxxu_core.c and replace fallthrough with [[fallthrough]] Instructions for vim: :%s/fallthrough/[[fallthrough]]/g
- In the rtl8xxxu_8192e.c, delete drains from 565 to 597 (Or get it from step 3.)
- Take the rtl8xxxu_8192e.c from the commit 6172cad5b90aa87cccdc2c0729685bdb55114d2c And you will be able to do: make && make install
I picked up the driver with some guys from the Internet and I managed to put it together. Here's how you can do it:
1. Take a rtl8xxxu_core.c and replace fallthrough with [[fallthrough]] Instructions for vim: :%s/fallthrough/[[fallthrough]]/g 2. In the rtl8xxxu_8192e.c, delete drains from 565 to 597 (Or get it from step 3.) 3. Take the rtl8xxxu_8192e.c from the commit [6172cad](https://github.com/kimocoder/realtek_rtwifi/commit/6172cad5b90aa87cccdc2c0729685bdb55114d2c) And you will be able to do: make && make install
Tried this, don't know what you mean by step 2 and step 3, but I get the same result without rtwifi.ko
being built.
I have attempted this with the same results with Arch Linux and Fedora 35, haven't attempted debian or other debian based distros.
don't know what you mean by step 2 and step 3 Take the rtl8xxxu_8192e.c file from the specified commit.
I picked up the driver with some guys from the Internet and I managed to put it together. Here's how you can do it:
- Take a rtl8xxxu_core.c and replace fallthrough with [[fallthrough]] Instructions for vim: :%s/fallthrough/[[fallthrough]]/g
- In the rtl8xxxu_8192e.c, delete drains from 565 to 597 (Or get it from step 3.)
- Take the rtl8xxxu_8192e.c from the commit 6172cad And you will be able to do: make && make install
Hello! I have done this, but unfortunately I'm running into the same error (rtwifi.ko was not even created). I'd also like to clarify that I'm installing it on a i686 machine w/Void Linux 5.15.52_1 but I don't think it should be a problem - also I made sure that I've got all dependencies.
Thanks for your help
I picked up the driver with some guys from the Internet and I managed to put it together. Here's how you can do it:
- Take a rtl8xxxu_core.c and replace fallthrough with [[fallthrough]] Instructions for vim: :%s/fallthrough/[[fallthrough]]/g
- In the rtl8xxxu_8192e.c, delete drains from 565 to 597 (Or get it from step 3.)
- Take the rtl8xxxu_8192e.c from the commit 6172cad And you will be able to do: make && make install
Hello! I have done this, but unfortunately I'm running into the same error (rtwifi.ko was not even created). I'd also like to clarify that I'm installing it on a i686 machine w/Void Linux 5.15.52_1 but I don't think it should be a problem - also I made sure that I've got all dependencies.
Thanks for your help
Alright, I installed the driver by the obscure method - I went into forks of this repo and found an old fork from May 2020, it compiled successfully, but now the card does not appear in... lsusb?!
Thanks for your help but I don't think I'll troubleshoot it further, Cheers