Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Debian 9 - Install Realtek Firmware

Perform the steps below if you ever see the following message in Debian 9:

Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169

Steps

Update Sources

Add the following line to the end of your /etc/apt/sources.list file:

deb http://httpredir.debian.org/debian/ stretch main contrib non-free

Optional: For those lazy like me, you can perform the step above with this in one CLI command:

sudo echo "deb http://httpredir.debian.org/debian/ stretch main contrib non-free" | \
  sudo tee -a /etc/apt/sources.list

Update your package cache for the previous change to take effect so that you have access to the firmware-realtek package, and then install it.

sudo apt update \
  && sudo apt-get install firmware-realtek

References

Last updated: 22nd July 2021
First published: 16th August 2018

This blog is created by Stuart Page

I'm a freelance web developer and technology consultant based in Surrey, UK, with over 10 years experience in web development, DevOps, Linux Administration, and IT solutions.

Need support with your infrastructure or web services?

Get in touch