Debian stretch failed to load firmware rtl_nic/rtl8168g-3.fw (-2)
I’m getting this error in Debian stretch
during the boot process
[ 26.390311] r8169 0000:03:00.0: firmware: failed to load rtl_nic/rtl8168g-3.fw (-2)
After that I continues the boot and works fine. Is there any firmware or driver missing?
After hours of searching on different resources i ended up solving the problem which was caused by a missing of firmware-realtek
the realtek driver .
The missing of this firmware can throw different errors prefixed by rtl_nic/
to solve this simply add the official repository Debian firmware-realtek
to your /etc/apt/sources.list
by running this command
$ sudo gedit /etc/apt/sources.list
and make sure you are selecting the right Distro
your source.list should look like this:
#realtek firmware
deb http://ftp.de.debian.org/debian stretch main non-free
deb-src http://ftp.de.debian.org/debian stretch main non-free
After that install realtek firmware
sudo apt-get update
sudo apt-get install firmware-realtek