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?
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
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
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0