I have a triple boot, Windows, openSUSE 13.1 and Hackintosh managed by GRUB bootloader (which is fantastic by the way).
If I restart from Hackintosh, the Internet is working, if from Windows, it is not. In order to connect again, I have to reinitiate the ethernet, pppoe etc.
I found some info https://en.opensuse.org/SDB:Realtek_8169_driver_problem I tried solutions 1 and 2 and it still doesn’t work.
Regarding solution no. 3, I downloaded a script but I don’t know how to compile the RTL driver.
Reference is also missing.
Can you help again please.
My motherboard is MSI H81M-E33 v2.
first off you need to install a few packages, the base development, kernel headers and I’d recomend rpmbuild
sudo zypper in patterns-openSUSE-devel_basis kernel-devel rpmbuild
then download the source rpm for the driver,
for simplicity I’d recomend to do the next step as an ordinary user (not root)
zypper in http://download.opensuse.org/repositories/home:/benjamin_poirier:/bug905988/openSUSE_13.2/src/r8169-1-1.1.src.rpm
you can see the above is not for 13.1 but it is a source package that you will compile for 13.1, also as you did it as an ordinary user the source files from the above will be in your home folder
now go to /home//rpmbuild/specs open a terminal here and execute
rpmbuild -ba r8169.spec
if everything went OK and the build finished you will find your new driver in /home//rpmbuild/RPMS/i586/ (for 32 bit systems) and /home//rpmbuild/RPMS/x86_64/
now you need to install the driver module, cd to where the new rpm is and zypper it
sudo zypper in r8169-1-1.1.i586.rpm
for 32bit (the 64bit driver will be in a different dir and have a different suffix instead of i586 it will be r8169-1-1.1.x86_64.rpm)
you can do it as root too, but then, the source files and the spec file will go in /usr/src/packages/ and you will have to do steps 3 and 4 as root and not in your home but in /usr/src/packages directory
The above is a key warning no big deal.
you said you needed 8169 (in the post title), I have 8168 and I don’t need any extra kernel modules.
Have you checked if there is an option a Wake-on-lan in bios, maybe enabling it in bios and in windows will pervent windows from shutting down the nic?
I couldn’t make it work, I have to face it, I’m a beginner with linux.
WOL is enabled… Even if if’s restarting from Windows I can connect to pppoe in about 5 mins… I had a surprise when I was seeing it connected, very weird. Sometimes it works immediately after login sometimes it doesn’t.
/usr/src/linux-3.11.10-25/arch/x86/Makefile:107: CONFIG_X86_X32 enabled but no binutils support
/usr/src/linux-3.11.10-25/arch/x86/Makefile:107: CONFIG_X86_X32 enabled but no binutils support
/usr/src/linux-3.11.10-25/arch/x86/Makefile:107: CONFIG_X86_X32 enabled but no binutils support
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fwetig
make -C /usr/src/linux-obj/x86_64/default modules M=/home/FlorinH/rpmbuild/BUILD/r8169-1/obj/default
make: Entering directory /usr/src/linux-3.11.10-25-obj/x86_64/default' CC [M] /home/FlorinH/rpmbuild/BUILD/r8169-1/obj/default/r8169.o /home/FlorinH/rpmbuild/BUILD/r8169-1/obj/default/r8169.c: In function 'rtl8169_get_stats64': /home/FlorinH/rpmbuild/BUILD/r8169-1/obj/default/r8169.c:6636:3: error: implicit declaration of function 'u64_stats_fetch_begin_irq' -Werror=implicit-function-declaration] start = u64_stats_fetch_begin_irq(&tp->rx_stats.syncp); ^ /home/FlorinH/rpmbuild/BUILD/r8169-1/obj/default/r8169.c:6639:2: error: implicit declaration of function 'u64_stats_fetch_retry_irq' -Werror=implicit-function-declaration] } while (u64_stats_fetch_retry_irq(&tp->rx_stats.syncp, start)); ^ /home/FlorinH/rpmbuild/BUILD/r8169-1/obj/default/r8169.c: In function 'rtl_init_one': /home/FlorinH/rpmbuild/BUILD/r8169-1/obj/default/r8169.c:7166:2: error: implicit declaration of function 'u64_stats_init' -Werror=implicit-function-declaration] u64_stats_init(&tp->rx_stats.syncp); ^ cc1: some warnings being treated as errors make[3]: *** [/home/FlorinH/rpmbuild/BUILD/r8169-1/obj/default/r8169.o] Error 1 make[2]: *** [_module_/home/FlorinH/rpmbuild/BUILD/r8169-1/obj/default] Error 2 make[1]: *** [sub-make] Error 2 make: *** [all] Error 2 make: Leaving directory /usr/src/linux-3.11.10-25-obj/x86_64/default’
error: Bad exit status from /var/tmp/rpm-tmp.uHXG7A (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.uHXG7A (%build)