LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-24-2006, 10:26 AM   #1
JC00
LQ Newbie
 
Registered: May 2006
Posts: 8

Rep: Reputation: 0
Cannot activate network device eth0


This is the first time I have attempted Linux networking after years out of Linux territory.

I've been trying to activate networking for Red Hat Linux 9 so I went to Start>System Tools>Network Device Control> I found eth0 incactive so I went to Configure but when I tried activating it I get a "Warning: redat-config-network: Cannot activate network device eth0".

I restarted the computer and while Red Hat 9 is booting it slowed down on "determining ip address for eth0". After a while it went red and indicated "failed". The odd part is that when I freshly installed Red Hat 9, it autodetected the network card with no problem.

How can I fix this?
 
Old 05-24-2006, 12:47 PM   #2
zackarya
Member
 
Registered: Jul 2003
Distribution: OpenSuse 10, Debian
Posts: 152

Rep: Reputation: 30
Just a guess:

Maybe it's trying to pull an IP from a DHCP server and failing?

Have you tried to set the IP manually?

Zackarya
 
Old 05-24-2006, 10:38 PM   #3
JC00
LQ Newbie
 
Registered: May 2006
Posts: 8

Original Poster
Rep: Reputation: 0
I haven't put nor modified any information yet. What IP should I put in, the windows side or the linux?
 
Old 05-25-2006, 12:09 AM   #4
pronoy
Member
 
Registered: Mar 2005
Location: india
Distribution: FC4, Debian Etch
Posts: 67

Rep: Reputation: Disabled
As zackarya said, try this for testing:

# ifconfig eth0 192.168.1.2 netmask 255.255.255.0

And then check with
#ifconfig -a

and # ping 192.168.1.2
 
Old 05-25-2006, 04:42 AM   #5
JC00
LQ Newbie
 
Registered: May 2006
Posts: 8

Original Poster
Rep: Reputation: 0
I went to start>sytem tools>terminal and typed in the commands that you indicated, pronoy.

Nothing is happening.
 
Old 05-25-2006, 05:02 AM   #6
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
you should let the CLI handle this. I hate GUI's for works other than browsing and reading mails.edit the file /etc/sysconfig/network-scripts/ifcfg-eth0 and copy-paste these lines (only)
Quote:
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.1
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
then do
Quote:
/etc/init.d/network restart
type
Quote:
ifconfig eth0
then
Quote:
ping 192.168.0.1
let other workstations ip be 192.168.0.2 and increase the last octet to 254 if you have that many machines.

also see if your /etc/sysconfig/network file has the following lines
Quote:
NETWORKING=yes
HOSTNAME=hostname.domainname

Last edited by prozac; 05-25-2006 at 05:04 AM.
 
Old 05-27-2006, 04:49 AM   #7
JC00
LQ Newbie
 
Registered: May 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks.

Unfortunately, I'm getting a "no such file or directory". How can I get past this?
 
Old 05-27-2006, 09:26 PM   #8
spiralclimbing
LQ Newbie
 
Registered: May 2006
Posts: 8

Rep: Reputation: 0
Are you sure the card is functioning properly? Try Windows or a live distro to test it.
 
Old 05-27-2006, 10:21 PM   #9
JC00
LQ Newbie
 
Registered: May 2006
Posts: 8

Original Poster
Rep: Reputation: 0
I'm getting no problems with it using windows but the lan card is onboard the motherboard which is a ecs k7vta
 
Old 05-27-2006, 11:00 PM   #10
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
what does 'mii-tool' says? see if your network card is properly installed and detected. also do a '/etc/init.d/kudzu start' before doing mii-tool. if kudzu detects your nic do a lsmod to see what module it is loading for your nic then put a alias in your /etc/modules.conf file--> alias eth0 module_name
 
Old 05-28-2006, 09:40 AM   #11
spiralclimbing
LQ Newbie
 
Registered: May 2006
Posts: 8

Rep: Reputation: 0
Sounds like a driver problem. Any other hardware info from the MFG? or maybe a driver resource?
 
Old 05-28-2006, 11:45 PM   #12
navy319510
Member
 
Registered: Apr 2006
Posts: 30

Rep: Reputation: 15
you can delete it.And configurate it again.maybe it go run.
 
  


Reply



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
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
cannot activate network device eth0 msross Linux - Networking 2 08-19-2004 01:36 AM
Cannot activate network device eth0 Ulaire Smiley Linux - Networking 27 05-19-2004 11:46 PM
cannot activate network device eth0! help? DKY Linux - Networking 1 03-06-2004 04:25 PM

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

All times are GMT -5. The time now is 05:18 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