I had an ethernet connection when using a Live CD to test my Dell Vostro 1510 for several days. When I installed Opensuse 11.0 with Gnome desktop today, I have no ethernet connection. Network manager shows my ethernet controller as RTL8111/8168B PCI Express Gigabit. I have tried to get it going but no success. Any help will be most appreciated. Thanks.
Go to Yast Network Devices - Network Settings
select your device in there
edit
set to DHCP,
In global Options: User controlled with network manager ( Not ifup)
move on and finish
I’ve searched that card on Google. It’s problematic in Linux, intermittently working and not working, until you install the realtek drivers. They are on this link:
Realtek
See for example this thread:
Network card not working: r8168 or r8169? - openSUSE Forums
Forgive my ignorance, but I am very new to Linux. I could probably manage this on a Windows machine. I would imagine that I download the Realtek drivers to a USB flash drive on another computer and install them on my Vostro. I’m not sure how to go about with the install. I didn’t find any instructions on the Realtek site. Thanks for your help.
Download the file r8168-8.009.00.tar.bz2 and put it in a new directory/folder in your home territory. Open a console (Gnome terminal) at the location. Issue this command:
tar vjxf r8168-8.009.00.tar.bz2
Change to the new directory with this command:
cd r8168-8.009.00
Enter this copmmand to get rootly powers
su
Then enter these four commands one at a time:
- make clean modules
- make install
- depmod -a
- insmod ./src/r8168.ko
When I entered “make clean modules” I got the following…
bash: make: command not found
I haven’t gone any further. Thanks for all of your help.
Probably missing some software: Install the following RPMs in Yast (if they’re missing):
gcc
gcc-c++
make
kernel-source
Do I find these on the DVD I used for installation?
I installed the missing RPM’s and then resumed with the commands as root and got several errors…
tony@linux-ncmx:~/drive/r8168-8.009.00> su
Password:
linux-ncmx:/home/tony/drive/r8168-8.009.00 # make clean modules
make -C src/ clean
make[1]: Entering directory /home/tony/drive/r8168-8.009.00/src' rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers *.order make[1]: Leaving directory
/home/tony/drive/r8168-8.009.00/src’
make -C src/ modules
make[1]: Entering directory /home/tony/drive/r8168-8.009.00/src' make -C /lib/modules/2.6.25.5-1.1-pae/build SUBDIRS=/home/tony/drive/r8168-8.009.00/src modules make[2]: Entering directory
/usr/src/linux-2.6.25.5-1.1-obj/i386/pae’
make[2]: *** No rule to make target modules'. Stop. make[2]: Leaving directory
/usr/src/linux-2.6.25.5-1.1-obj/i386/pae’
make[1]: *** [modules] Error 2
make[1]: Leaving directory /home/tony/drive/r8168-8.009.00/src' make: *** [modules] Error 2 linux-ncmx:/home/tony/drive/r8168-8.009.00 # make install make -C src/ install make[1]: Entering directory
/home/tony/drive/r8168-8.009.00/src’
install -m 744 -c r8168.ko /lib/modules/2.6.25.5-1.1-pae/kernel/drivers/net/
install: cannot stat r8168.ko': No such file or directory make[1]: *** [install] Error 1 make[1]: Leaving directory
/home/tony/drive/r8168-8.009.00/src’
make: *** [install] Error 2
linux-ncmx:/home/tony/drive/r8168-8.009.00 # depmod -a
linux-ncmx:/home/tony/drive/r8168-8.009.00 # insmod ./src/r8168.ko
insmod: can’t read ‘./src/r8168.ko’: No such file or directory
linux-ncmx:/home/tony/drive/r8168-8.009.00 #
This is beyond my knowledge now so anyone please do jump in and offer advice.
I notice your kernel is 2.6.25.5-1.1-pae, whereas mine is 2.6.25.16-0.1-pae. I suggest you add an online update repository and upgrade your installation. I don’t know whether that will help but doing that will eliminate the possibility. Go to Yast → Software → Online update configuration. And it will install an update server. Then go to Yast → software → Online update. And it will bring you up to date.
Then try again.
Kernel moved up again yesterday to
2.6.25.18-0.2
Thanks, getting update now.
It’s been ok for me only it broke suspend to RAM on my Lenovo, so I have to suspend to Disk.
I really appreciate all the time and help you have given me. I don’t have an ethernet connection so I can’t get online to perform an online update.
I’m not sure what you should choose to do now.
You have options:
You could move the computer to get on line. You need the ralink drivers. Or you need a different wireless interface, more easily supported. Or perhaps ndiswrapper.
Over to you?