LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-12-2005, 03:44 AM   #1
yobobski
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Rep: Reputation: 0
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.
 
Old 09-13-2005, 01:43 PM   #2
JoeDuncan
Member
 
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224

Rep: Reputation: 30
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
 
Old 09-14-2005, 01:16 AM   #3
yobobski
LQ Newbie
 
Registered: Apr 2005
Posts: 7

Original Poster
Rep: Reputation: 0
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.
 
Old 09-15-2005, 02:43 PM   #4
JoeDuncan
Member
 
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224

Rep: Reputation: 30
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

?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to bring eth0 up in SuSe 8.1 copter Linux - Newbie 1 03-06-2004 09:05 PM
Failed to bring eth0 up in suse 8.1 startup copter Linux - Networking 1 03-06-2004 06:45 PM
failed to bring eth0 up k_brother Linux - Newbie 2 10-17-2003 10:30 AM
Failed to bring eth0 up amphibious Linux - Newbie 1 09-25-2003 04:12 PM
Failed to bring up eth0 on startup - RH8 Ryanitus Linux - Newbie 25 02-15-2003 06:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration