Overclock.net banner

[ubuntu][networking]Trouble with realtek r8168 adapter

2105 Views 40 Replies 5 Participants Last post by  GodofGrunts
Hi,

Im a first time linux user and have always wanted to give ubuntu a go, so i installed it when i recently formatted windows.

Basically the problem im having, is that whenever i boot into ubuntu i cant get any network connectivity, although the network manager says that im connected to my home network. I can't ping my router, or connect to my routers web interface via firefox.

Ive tried to do the powerdown with the plug out thing twice to no avail, i also used a script i found to default the use of the r8168 drivers instead of the r8169 drivers. Ive also tried DHCP, manually assigned settings and still nothing works.

So yeah, im completely lost, and also a bit annoyed
any help would be appreciated.

cheers,

Glen.
See less See more
1 - 20 of 41 Posts
Erm... hopefully error10 can take a look. It might just be a simple driver issue.

http://www.jamesonwilliams.com/hardy-r8168

Is that the script you ran?
Do

Code:

Code:
lspci | grep ethernet
and post the output here.
2
Quote:


Originally Posted by GodofGrunts
View Post

Erm... hopefully error10 can take a look. It might just be a simple driver issue.

http://www.jamesonwilliams.com/hardy-r8168

Is that the script you ran?

Yes thats it, and ill do that now digital


EDIT: ok rebooted and did that command, didnt do anything...is that bad?
See less See more
2
Quote:


Originally Posted by gill
View Post

Yes thats it, and ill do that now digital


EDIT: ok rebooted and did that command, didnt do anything...is that bad?

The command is to list the networking hardware, post the output here.
See less See more
I did the command, but it didnt do anything, i also tried 'lspci | grep eth0' that also didnt show anything...
Ok that gave me alot of output, here it is:

Code:

Code:
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IB (ICH9) 2 port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8800 GT (rev a2)
03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
05:00.0 Multimedia audio controller: Creative Labs SB Audigy LS
See less See more
Code:

Code:
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
Is your ethernet controller, so do

Code:

Code:
lsmod | grep -i r81 && lsmod | grep -i rtl81
to see what modules are loaded.
Ok will do, wont be a moment.

Did it, it spat this out for me


Code:

Code:
r8168                  41104  0
I assume that means im using the correct driver?
See less See more
Ok you may need to update the kernel, do
Code:
Code:
uname -a
to see what it is at currently.
  • Rep+
Reactions: 1
Code:
Code:
Linux glen-desktop 2.6.27-7-generic #1 SMP Fri Oct 24 06:42:44 UTC 2008 i686 GNU/Linux
its ubuntu 8.10 btw.
Quote:


Originally Posted by gill
View Post

Code:
Code:
Linux glen-desktop 2.6.27-7-generic #1 SMP Fri Oct 24 06:42:44 UTC 2008 i686 GNU/Linux
its ubuntu 8.10 btw.

Ah that kernel is slightly outdated, but I can't seem to find a link on the Ubuntu site to the kernel deb.

Do you have another NIC you could use to get connectivity and update the kernel?
See less See more
Well, that also doesnt work.

Compaq NC3121 Fast Ethernet NIC

^^ Thats the other one i had lying around, but that has the exact same symptoms. on boot, it says that its connected to the wired network, but it has absolutly no connectivity at all.

About ready to give up
See less See more
That is strange, maybe the network daemon is failing somewhere. Try
Code:
Code:
sudo /etc/init.d/networking restart
hmmm said something along the lines of:

ignoring unknown device eth0=eth0
[OK]

Ive had enough for today though, far too annoyed to keep trying (been trying most of today and last night when i first installed ubuntu) so im gonna just play some games or something. If you think of anything, post it here, and ill try it later and post back the results.
Yeah I know the feeling, it sucks with something goes wrong with your main rig. If the kernel update doesn't work then I'd suggest blacklisting the current r8168 module and building it from source, trouble is I can't find the source code for it on Realtek's terrible site.
I may end up trying mint instead...download the latest version etc, hopefully it will work...
Ok well im downloading mint, which has the latest kernel ( i think ) so atleast that problem will be out of the way. Still has a while to go, downloads from the mint site is rather slow, so ill get it up and running and post back here with the result and questions if needed.

Cheers for the help so far Digital Sonata
1 - 20 of 41 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top