LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 03-21-2004, 09:47 PM   #1
Ulaire Smiley
LQ Newbie
 
Registered: Sep 2003
Location: Southern Arizona
Distribution: Mandrake 10/WinXP
Posts: 27

Rep: Reputation: 15
Cannot activate network device eth0


Hello,
I just resized the Windows partition on my hard drive and used the rest to install Linux; now it won't configure eth0 right. The device (SiS 900 PCI Fast Ethernet Adapter) works fine in Windows so it's not a hardware problem... I tried adding it in Network Configuration, which went fine, until I tried to activate the device and got the error:

Cannot activate network device eth0

It's rather confusing.. when Linux is booting up, it ends up failing the process of trying to start eth0 then because the device is "not present".

Another thing that confused me.. after installing RedHat and booting the computer.. it didn't run firstboot and hasn't yet.

btw the Linux distro I'm using is RedHat 8. Any help would be appreciated.

Thanks,
- Smiley
 
Old 03-21-2004, 10:46 PM   #2
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
try this

# setup --->network

then fill in IP etc

#/etc/rc.d/init.d/network restart

#ifconfig (now it will probably display lo, and your eth0 interface)
#ping IP (to test eth0)

hope it will work
 
0 members found this post helpful.
Old 03-22-2004, 09:51 AM   #3
Ulaire Smiley
LQ Newbie
 
Registered: Sep 2003
Location: Southern Arizona
Distribution: Mandrake 10/WinXP
Posts: 27

Original Poster
Rep: Reputation: 15
Hello,
Thanks for the help, but it's not working right; I went through the network setup, but when I did the network restart:

Shutting down loopback interface: [ OK ]
Setting network parameters: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: sis900 device does not seem to be present, delaying eth0 initialization. [FAILED]

Let me know if you need any other information to try and figure it out.
Thanks for the help,
- Smiley

[edit] Another thing.. I'm not sure if it's really a SiS 900 card, but Windows seems to think it is.. It's not actually a network card though, it's built into the motherboard on my computer. [/edit]

Last edited by Ulaire Smiley; 03-22-2004 at 10:14 AM.
 
Old 03-22-2004, 10:25 AM   #4
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
What motherboard is it and what does your motherboard docs refer to it as??
What does lspci return? A little more info and we might be able to help you better.

rberry88
 
Old 03-22-2004, 12:18 PM   #5
tanknoles
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
I'm having the same problem as Smiley.
eth0 is failing on boot.

Setup:
XP Home (Dell Dimension 4550) 3Com NIC
RH9
VMWare 4.0.5 (6030)

Other VMs are working fine.

I'll try your suggestions later as well.

Thanks.
 
Old 03-22-2004, 03:14 PM   #6
Ulaire Smiley
LQ Newbie
 
Registered: Sep 2003
Location: Southern Arizona
Distribution: Mandrake 10/WinXP
Posts: 27

Original Poster
Rep: Reputation: 15
Hello,
I'm trying to figure out what I can about my computer, but my motherboard didn't come with a manual, and the only label on my network "card" says AMP. I think the motherboard is an AMD Pro 1800+. As for the output of lspci:

pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.

I'm going to try using an actual network card rather than the one built into my motherboard, and I'll post the results.

[edit] tried new network card, but the driver wasn't found in Linux, and I couldn't find one online so Internet still doesn't work on Linux on that comp [/edit]

Thanks,
- Smiley

Last edited by Ulaire Smiley; 03-22-2004 at 03:48 PM.
 
Old 03-23-2004, 05:59 PM   #7
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
Okay, now what is the brand (name & model #) of the new network card you installed. Its like throwing bricks underwater trying to guess what driver you need if we don't know what specific piece of hardware you are trying to get working.

For example, I have an ASUS A7N8X Deluxe mobo that has onboard nforce2 sound, two onboard nics (one is a 3com 3c59x and the other is recognized as a Broadcom but I don't use it), a Nvidia GeForce 5600FX video card, AMD AthlonXP 2600+ processor, two 80GB Seagate 7200RPM hard drives, one 80GB Western Digital 7200RPM hard drive, a Lite-On 52x32x52x CDRW, Sony DRU530A DVD+-RW and a Sony Floppy drive all housed in a PC65B Lian-Li case (this isn't necessary for us to help you but I thought I'd finish my thought).

rberry88
 
Old 03-23-2004, 06:13 PM   #8
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
The error message from lspci sounds serious to me. This may be the source of the problems with your ethernet device. The setup of this device probably failed because it uses a similar method to get the information on the device as the lspci command.
Does the lspci command also fail for the root user? What directories are in /proc/bus?
 
Old 03-23-2004, 10:06 PM   #9
Ulaire Smiley
LQ Newbie
 
Registered: Sep 2003
Location: Southern Arizona
Distribution: Mandrake 10/WinXP
Posts: 27

Original Poster
Rep: Reputation: 15
Hello,
1) There are no files in /proc/bus/.
2) lspci isn't found for my normal user, and it fails for root.
3) Basic system specs:
AMD Pro 1800+
40 GB hard drive
256 MB DDR
Network card: Network Everywhere Fast Ethernet 10/100 card, Model No.: NC100

Another piece of information (dunno if this will help or not, but), when I log in I get this error:

Could not look up Internet address for localhost.localdomain. This will prevent GNOME from operating correctly. It may be possible to corrrect the problem by adding localhost.localdomain to the file /etc/hosts.
*tries adding localhost.localdomain to /etc/hosts*

Hm.. I'm not getting the error at login anymore, but my network is still not working. Another odd thing happening; when I enter 127.0.0.1 or localhost.localdomain into my browser, it returns "the connection was refused when trying to contact [what i entered]". It returns the same error for trying to access my router (192.168.0.1), but not any other IP addresses, which makes me wonder if it actually is getting to my router and being denied access.

Any thoughts?
Thanks,
- Smiley
 
Old 03-24-2004, 07:47 PM   #10
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Dumb question! Is the AMD Pro 1800+ the XP or the MP chip.

Back to the problem. If you google for the Ethernet howto, you can read up on how to add the reserve= and ether= boot options. This will allow you to disable probing the nic device and set it up manually.
The information you need, can be obtained when you are running windows.

I would also google for your particular computer and read what I could on any other problems with your model.

However the fact that lspci does not work, still bothers me. I think you may want to start over. Maybe a noapic option or noacpi option would help, but I don't know.

Tanknoles problem may be different because he is using VM ware. I believe that the kernel runs in user space in his situation. Does VM ware 4 support the 2.6 kernel?

To tell you the truth, you got further along installing Red Hat 8 on your machine. I ended up installing the next Mandrake instead when I got a new computer.

Last edited by jschiwal; 03-24-2004 at 07:51 PM.
 
Old 03-29-2004, 09:21 PM   #11
Ulaire Smiley
LQ Newbie
 
Registered: Sep 2003
Location: Southern Arizona
Distribution: Mandrake 10/WinXP
Posts: 27

Original Poster
Rep: Reputation: 15
Hello,
I now have Mandrake 10.0 Community Edition running smoothly on that computer. Oddly enough, it fails while bringing up eth0 during boot, yet now the Internet works... Problem solved.

Thanks for the help,
- Smiley
 
Old 03-29-2004, 09:44 PM   #12
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
All of you who are having issues with your network cards, please post the output of dmesg

This will give us some clues as to what happened with your network card.

Thanks!

MrKnisely
 
Old 03-30-2004, 06:17 AM   #13
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
Quote:
Originally posted by charon79m
All of you who are having issues with your network cards, please post the output of dmesg

This will give us some clues as to what happened with your network card.

Thanks!

MrKnisely
This is a good idea but please trim off the parts that are not relevant to your internet connection otherwise we will have posts that are a mile long and I know my head will hurt trying to decipher them all.

rberry88
 
Old 05-08-2004, 02:02 PM   #14
dominik81
Member
 
Registered: Sep 2003
Location: Germany
Distribution: Ubuntu 7.10
Posts: 54

Rep: Reputation: 15
I'm having the same problem here. I'm running Mandrake 10.0 official on my Athlon 2100+, 1GB RAM, internet via ADSL. My network card is identified as a RealTek RTL8139. When I boot Mandrake it fails to bring up eth0 (and hangs there for over a minute). But as soon as I'm on the desktop my internet connection works.

What's causing the delay during boot? I'm guessing that mdk tries to use DHCP which it shouldn't, but have no clue how to find out.

Some logs from /var/logs/messages:
Code:
May  8 19:54:01 localhost harddrake:  succeeded 
May  8 19:54:01 localhost network: Setzen der Netzwerk-Parameter:  succeeded 
May  8 19:54:01 localhost network: Aktivieren der Loopback-Schnittstelle: succeeded 
May  8 19:54:01 localhost ifup: Determining IP information for eth0... 
May  8 19:54:03 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 
May  8 19:54:16 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15 
May  8 19:54:41 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 
May  8 19:55:04 localhost dhclient: No DHCPOFFERS received. 
May  8 19:55:04 localhost ifup:  failed. 
May  8 19:55:04 localhost network: Schnittstelle »eth0« aktivieren:  failed 
May  8 19:55:04 localhost net_cnx_up: SIOCDELRT: No such process 
May  8 19:55:04 localhost pppd[1182]: pppd 2.4.1 started by root, uid 0 
May  8 19:55:04 localhost pppd[1182]: Using interface ppp0 
May  8 19:55:04 localhost pppd[1182]: Modem hangup 
May  8 19:55:04 localhost pppd[1182]: speed 1 not supported 
May  8 19:55:04 localhost pppd[1182]: ioctl(PPPIOCGFLAGS): Bad file descriptor 
May  8 19:55:04 localhost net_cnx_up: . 
May  8 19:55:04 localhost pppd[1227]: pppd 2.4.1 started by root, uid 0 
May  8 19:55:04 localhost pppd[1227]: Connect: ppp0 <--> /dev/pts/0 
May  8 19:55:05 localhost pppd[1227]: local  IP address 217.95.175.66 <29>May  8 19:55:05 pppd[1227]: remote IP address 217.5.98.50
May  8 19:55:06 localhost net_cnx_up:  Connected! 
May  8 19:55:06 localhost internet: Checking internet connections to start at boot succeeded 
May  8 19:55:06 localhost portmap: portmap Start succeeded 
May  8 19:55:09 localhost alsa:  succeeded
May  8 19:55:10 localhost sound: Lade Mixer-Einstellungen:  succeeded
And this is what dmesg gives me:
Code:
drivers/usb/input/usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
ts: Compaq touchscreen protocol output
8139too Fast Ethernet driver 0.9.27
eth0: RealTek RTL8139 at 0xf8846000, 00:e0:7d:a0:ef:02, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8139C'
inserting floppy driver for 2.6.3-7mdk-i686-up-4GB
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
hdc: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
NET: Registered protocol family 17
eth0: link up, 10Mbps, half-duplex, lpa 0x0000
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
parport0: cpp_daisy: aa5500ff(98)
parport0: assign_addrs: aa5500ff(98)
parport0: Printer, Canon S750
lp0: using parport0 (polling).
lp0: console ready
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0382be0(lo)
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present
 
Old 05-09-2004, 12:08 PM   #15
Frost
LQ Newbie
 
Registered: Mar 2002
Location: Fennville, MI
Distribution: Mandrake 10.0
Posts: 25

Rep: Reputation: 15
I have a similar problem getting my network card to work. I have a new Abit KV8-MAX3 motherboard with onboard NIC interface. In Windows the thing shows as a 3Com gigabit LAN aka 3C940 . Interstingly in my Mandrake Linux it shows the same 3C940, but doesn't know what to do with it.

I copied the driver for Linux that came with the board, pretaining to Linux to a folder and them copied the folder into my Linux "temp" folder. and there is a file there called "makefile" (I'm really really new). So how do I use makefile to install a driver?

I think all the paramaters are there for it to work in this folder, but not sure how to exactly do it.
vern
jenefarm@direcway.com
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot activate network device eth0! Yoshimura Fedora 5 12-16-2008 05:31 PM
3c905C network card in docking station. Cannot activate network device eth0. pathelms Linux - Networking 4 04-12-2006 02:55 PM
Network card not working? Cannot activate network device eth0 lifeonitsown Linux - Networking 1 11-17-2005 06:30 AM
cannot activate network device eth0 msross Linux - Networking 2 08-19-2004 01:36 AM
cannot activate network device eth0! help? DKY Linux - Networking 1 03-06-2004 04:25 PM


All times are GMT -5. The time now is 01:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration