LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Failed to bring up eth0 (RTL8029) (http://www.linuxquestions.org/questions/linux-networking-3/failed-to-bring-up-eth0-rtl8029-362578/)

yobobski 09-12-2005 04:44 AM

Failed to bring up eth0 (RTL8029)
 
Hi! I am currently working on my first linux distro Mandrakelinux 10.1 official I downloaded from this website. But I can't seem to get my ethernet card work. But when I boot under windows xp it just works fine (as I am using it now). At boot, there is one line which says 'Failed to bring up eth0'. I read other threads similar to my case but didn't work.

I copied several lines (with the line with 'failed' note) from /var/log/messages which I thought would be relevant:
Sep 12 15:24:40 localhost harddrake: succeeded
Sep 12 15:24:40 localhost network: Setting network parameters: succeeded
Sep 12 15:24:41 localhost network: Bringing up loopback interface: succeeded
Sep 12 15:24:41 localhost ifup: SIOCSIFFLAGS: Function not implemented
Sep 12 15:24:41 localhost ifup: Failed to bring up eth0.
Sep 12 15:24:41 localhost network: Bringing up interface eth0: failed
Sep 12 15:24:41 localhost portmap: portmap startup succeeded
Sep 12 15:24:45 localhost kernel: via82xx: Assuming DXS channels with 48k fixed sample rate.
Sep 12 15:24:45 localhost kernel: Please try dxs_support=1 or dxs_support=4 option
Sep 12 15:24:45 localhost kernel: and report if it works on your machine.
Sep 12 15:24:46 localhost alsa: succeeded
Sep 12 15:24:46 localhost alsa: succeeded


Sep 12 15:24:48 localhost kernel: NET: Registered protocol family 10
Sep 12 15:24:48 localhost kernel: Disabled Privacy Extensions on device c0322b60(lo)
Sep 12 15:24:48 localhost kernel: IPv6 over IPv4 tunneling driver
Sep 12 15:24:48 localhost net.agent[3228]: how do I bring interfaces up on this distro?
Sep 12 15:24:48 localhost net.agent[3228]: add event not handled
Sep 12 15:24:48 localhost sshd[3246]: Server listening on :: port 22.
Sep 12 15:24:48 localhost sshd[3246]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
Sep 12 15:24:48 localhost sshd: startup succeeded


Sep 12 15:25:07 localhost python: Site list is missing: mailman
Sep 12 15:25:07 localhost python:
Sep 12 15:25:07 localhost mailman: python startup failed

Same type of lines with the same errors were found at /var/log/syslog. And no line with error at var/log/dmesg. The ethernet card is detected with its module ne2k-pci.

Anyone pls help me with this one. Im working with this one for about a month now. thanks.

JoeDuncan 09-13-2005 02:43 PM

Ok, first check to see if the ne2k-pci module is loaded by doing:

/sbin/lsmod | grep ne2k-pci

It should give you two lines, one for the ne2k-pci module and another for the card using the module (your RealTek)

If the ne2k-pci module is not loaded, try this:

/sbin/modprobe ne2k-pci

That should load the correct module, if it fails, post the results and post the results of "cat /proc/pci" ==> you may have a resource conflict with another PCI card.

If it succeeds, then try:

/sbin/ifconfig eth0 up

If the ne2k-pci module is not loading on startup, but you can load it manually, try adding this line to your /etc/modules.conf file:

alias eth0 ne2k-pci

yobobski 09-14-2005 02:16 AM

JoeDuncan,

I am very much grateful for your help. Pls bear with me through this problem.

>Ok, first check to see if the ne2k-pci module is >loaded by doing:
>/sbin/lsmod | grep ne2k-pci
>It should give you two lines, one for the ne2k-pci >module and another for the card using the module >(your RealTek)

result:
ne2k-pci 7584 0
9390 7936 1 ne2k-pci

>If it succeeds, then try:
>/sbin/ifconfig eth0 up

result:
SIOCSIFFLAGS: Function not implemented

>If the ne2k-pci module is not loading on startup, >but you can load it manually, try adding this line to >your /etc/modules.conf file:
>alias eth0 ne2k-pci

The file already has this line

When I entered "dmesg | grep eth0", it detected my eth Realtek-8029.

JoeDuncan 09-15-2005 03:43 PM

Ok, so the module is loading properly at startup. We need to figure out why it isn't functioning properly then. What was the output of:

cat /proc/pci

?


All times are GMT -5. The time now is 09:18 PM.