Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Driver auto-initialization #8

Open
joaquinodz opened this issue Jun 23, 2019 · 3 comments
Open

Driver auto-initialization #8

joaquinodz opened this issue Jun 23, 2019 · 3 comments

Comments

@joaquinodz
Copy link

joaquinodz commented Jun 23, 2019

I've noticed that even after installing the driver and applying the modprobe command, I was still using the generic network driver rtl8xxxu

So, I did a little research and I found THE SOLUTION

I leave you the quote:

  1. Distributions based on Debian & Ubuntu have RTL8XXXU driver present & running in kernelspace. To use our RTL8192EU driver, we need to blacklist RTL8XXXU.

    $ echo "blacklist rtl8xxxu" | sudo tee /etc/modprobe.d/rtl8xxxu.conf;
  2. Force RTL8192EU Driver to be active from boot.

    $ echo -e "8192eu\n\nloop" | sudo tee /etc/modules;
  3. Update changes to Grub & initramfs

    $ sudo update-grub; sudo update-initramfs -u;
  4. Reboot system to load new changes from newly generated initramfs.

    $ systemctl reboot -i;
  5. Check that your kernel has loaded the right module:

    $ sudo lshw -c network;

You should see the line driver=8192eu

Of course, it'd be better to automatize this in, I don't know ... a bash script?

@joaquinodz
Copy link
Author

joaquinodz commented Jun 23, 2019

EDIT: Removed Step 8 because the the Power Management feature and the USB Auto-Suspend feature is already disabled via source code.

@DraconianDeath
Copy link

I'll preface this by saying I'm a COMPLETE noob, started using my first GNU/Linux distro a few weeks ago after using Windows for around 15 years. I had no idea what was wrong with my internet connection. I searched and searched for a fix but nothing worked.

Finally, I stumbled upon this and decided to give it a try. As it turns out, my PC was still using the same generic network driver you mentioned above.

I have no idea what I did, but I followed the instructions you provided and it worked like a charm. Thank you!

@joaquinodz
Copy link
Author

I'll preface this by saying I'm a COMPLETE noob, started using my first GNU/Linux distro a few weeks ago after using Windows for around 15 years. I had no idea what was wrong with my internet connection. I searched and searched for a fix but nothing worked.

Finally, I stumbled upon this and decided to give it a try. As it turns out, my PC was still using the same generic network driver you mentioned above.

I have no idea what I did, but I followed the instructions you provided and it worked like a charm. Thank you!

You're welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants