Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Ubuntu Help > Onboard Realtek 8139 NIC Trouble - with trouble shooting info

Forgot Password?
 Ubuntu Help   Discussion and help about Ubuntu, Kubuntu, Xubuntu, and all the Ubuntu family

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 04-30-2008   #1 (permalink)
Just Joined!
 
Join Date: Apr 2008
Posts: 4
Onboard Realtek 8139 NIC Trouble - with trouble shooting info

Hello everyone. I have an 6 year old computer with a Realtek 8139 onboard NIC. The system is dual booted between WinXP and Ubuntu 8.04 (beta 5? whatever the last beta was). The NIC works just fine under windows but totally fails under Ubuntu. After reading about 4 million posts I have done the following beginning trouble shooting.

deus@Ex-Machina:/etc/init.d$ sudo lshw -C network
*-network
description: Ethernet interface
product: RTL-8139/8139C/8139C+
vendor: Realtek Semiconductor Co., Ltd.
physical id: c
bus info: pci@0000:00:0c.0
logical name: eth0
version: 10
serial: 00:60:67:75:9c:71
size: 100MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=full latency=32 link=yes maxlatency=64 mingnt=32 module=8139too multicast=yes port=MII speed=100MB/s


root@Ex-Machina:/etc/init.d# ifconfig
eth0 Link encap:Ethernet HWaddr 00:60:67:75:9c:71
inet6 addr: fe80::260:67ff:fe75:9c71/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:11 Base address:0xd400

eth0:avahi Link encap:Ethernet HWaddr 00:60:67:75:9c:71
inet addr:169.254.7.51 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:11 Base address:0xd400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1247 errors:0 dropped:0 overruns:0 frame:0
TX packets:1247 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:63608 (62.1 KB) TX bytes:63608 (62.1 KB)


root@Ex-Machina:/etc/init.d# dhclient

There is already a pid file /var/run/dhclient.pid with pid 5663
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit ISC DHCP

Listening on LPF/eth0/00:60:67:75:9c:71
Sending on LPF/eth0/00:60:67:75:9c:71
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.


root@Ex-Machina:/etc/init.d# dhclient

There is already a pid file /var/run/dhclient.pid with pid 5663
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit ISC DHCP

Listening on LPF/eth0/00:60:67:75:9c:71
Sending on LPF/eth0/00:60:67:75:9c:71
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.


root@Ex-Machina:/etc/init.d# ls -l | grep net
-rwxrwxrwx 1 root root 1772 2007-12-03 14:50 networking

I used the chmod command to change the permissions on the networking file just to make sure that wasn't the problem.

root@Ex-Machina:/etc/init.d# networking stop
bash: networking: command not found


It almost seems to me that the NIC drivers aren't loading, but I don't know how to start them.

As a side question:
The USB ports are not working either and I wonder if the problems are related. Of course they are working under WinXP.

Any help is greatly appreciated.
prophet665 is offline  


Reply With Quote
Old 04-30-2008   #2 (permalink)
Linux Guru
 
coopstah13's Avatar
 
Join Date: Nov 2007
Location: NH, USA
Posts: 1,693
are you directly connected to the internet via a cable modem? or are you using a router?
coopstah13 is offline   Reply With Quote
Old 04-30-2008   #3 (permalink)
Just Joined!
 
Join Date: Apr 2008
Posts: 4
Using a Linksys router. It is an ethernet connection, not wireless.

It has started hanging on shutdown, and I need to capture the error ad post it also. The error has to do with the NIC. This is frustrating. The NIC worked just fine under 7.04.
prophet665 is offline   Reply With Quote
Old 04-30-2008   #4 (permalink)
Linux Guru
 
coopstah13's Avatar
 
Join Date: Nov 2007
Location: NH, USA
Posts: 1,693
there have been acpi problems with realtek chipset, try booting with pci=noacpi option and see if that alleviates your problem, if it does and you want to continue using acpi you might need to try the 8139too driver instead of the regular 8139cp driver

https://bugs.launchpad.net/ubuntu/+s...ork/+bug/35683
coopstah13 is offline   Reply With Quote
Old 05-01-2008   #5 (permalink)
Just Joined!
 
Join Date: Apr 2008
Posts: 4
Quote:
Originally Posted by coopstah13 View Post
there have been acpi problems with realtek chipset, try booting with pci=noacpi option and see if that alleviates your problem, if it does and you want to continue using acpi you might need to try the 8139too driver instead of the regular 8139cp driver

https://bugs.launchpad.net/ubuntu/+s...ork/+bug/35683
Thanks for the help. I would be lost without you guys (and gals) that answer on these boards.

Unfortunately, I do not know where to set the boot options. Which config file do I edit to change the boot options?

In your link they mentioned booting the 8139too driver instead of the 8139cp driver. How do I force this change?

Like most new people, I am extremely familiar with Windows, but I am still learning Linux stuff and there are some definite growing pains.
prophet665 is offline   Reply With Quote
Old 05-01-2008   #6 (permalink)
Linux Guru
 
coopstah13's Avatar
 
Join Date: Nov 2007
Location: NH, USA
Posts: 1,693
for the boot options take a look at
https://help.ubuntu.com/community/GrubHowto

follow the directions to edit the boot options on that, and at the end of the options line for your kernel add the pci=noacpi thing, then we'll go through using the other driver should this not work
coopstah13 is offline   Reply With Quote
Old 05-01-2008   #7 (permalink)
Just Joined!
 
Join Date: Apr 2008
Posts: 4
Ok...added the pci=noapci line to the boot menu and it booted without problems. I still don't have a working NIC, though. The networking application is reporting that it is using the 8139too driver as opposed to the 8139cp driver.

Is this because of the line I added to GRUB? If not, do I need to somehow load the 8139cp drivers?

A second question I have is in relation to the link you provided. It said any changes made to GRUB using the method detailed there will not be persistent.

Quote:
Originally Posted by GrubHowto
After making any necessary modifications you can press 'b' to boot that operating system. These modifications will not persist across reboots.
Will modifying the menu.lst file make these changes permanent?

I know for certain this is a NIC problem because I can't even see the router. Pinging 192.168.1.1 gives me a destination hosts unreachable error. Strange that ping on works after I sudo su, I would have thought that command was available to every user.
prophet665 is offline   Reply With Quote
Old 05-02-2008   #8 (permalink)
Linux Guru
 
coopstah13's Avatar
 
Join Date: Nov 2007
Location: NH, USA
Posts: 1,693
yeah if you added it in the /boot/grub/menu.lst file it would always use that boot option

lets try some other things, post output of these commands
Code:
sudo ifconfig eth0
sudo cat /etc/network/interfaces
sudo cat /etc/resolv.conf
coopstah13 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 11:20 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2