LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-06-2009, 02:36 AM   #1
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Rep: Reputation: 30
Startup the network


I have newly installed Redhat 5 to a new server , the installation process is complete and server is started , but I found that the network have network prbblem , whent use command "ifconfig" , it pop the below error , the net card seems not enabled .

#ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:139519000 errors:0 dropped:0 overruns:0 frame:0
TX packets:139519000 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2313891604 (2206.6 Mb) TX bytes:2313891604 (2206.6 Mb)


I check the file /etc/sysconfig/network-scripts/ifcfg-eth0 , it should be normal as my another server have the same setting

#cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.170.255
IPADDR=192.168.170.1
NETMASK=255.255.255.0
NETWORK=192.168.170.0
ONBOOT=yes


then I tried "service network restart" , the message pops eth0 is successfully bring up

the installation is the same as before , I installed many times but didn't find this problem .


can advise what is wrong ? how can I know the eth0 is enabled or not , how to start the network ? thx in advance .

p.s. I checked that OS version is supported on this server
 
Old 08-06-2009, 02:45 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

Have you tried
Code:
ifup eth0
yet? If so, what does it show?

And what does
Code:
service network status
show?

Kind regards,

Eric
 
Old 08-06-2009, 03:07 AM   #3
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by EricTRA View Post
Hello,

Have you tried
Code:
ifup eth0
yet? If so, what does it show?

And what does
Code:
service network status
show?

Kind regards,

Eric
thx reply


I tried "ifup eth0" in shell , it didn't show any message when tried this comand .

then I tried

#service network status

Configured devices:
lo eth0
Currently active devices:
lo
 
Old 08-06-2009, 03:43 AM   #4
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Original Poster
Rep: Reputation: 30
I use the below command , but it show nothing

#dmesg |grep eth


I also tried the below command , but have error

#ifconfig eth0

eth0 error fetching interface information : device not found .

Last edited by elainelaw; 08-06-2009 at 04:04 AM.
 
Old 08-06-2009, 04:25 AM   #5
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

Check /etc/modprobe.conf and see if the reference to your NIC links to the correct driver.

Try
Code:
ifconfig eth0 up
or even to assign address and netmask
Code:
ifconfig eth0 192.168.170.1 netmask 255.255.255.0 broadcast 192.168.170.255
Maybe the NIC is linking to the wrong driver and will not start because of that.

Is there anything with reference to the eth in the messages log or boot.log?

Kind regards,

Eric
 
Old 08-06-2009, 05:49 AM   #6
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by EricTRA View Post
Hello,

Check /etc/modprobe.conf and see if the reference to your NIC links to the correct driver.

Try
Code:
ifconfig eth0 up
or even to assign address and netmask
Code:
ifconfig eth0 192.168.170.1 netmask 255.255.255.0 broadcast 192.168.170.255
Maybe the NIC is linking to the wrong driver and will not start because of that.

Is there anything with reference to the eth in the messages log or boot.log?

Kind regards,

Eric

really thx for help .

I check no driver in /etc/modprobe.conf , then try to add it , it works now , sorry to my fool , thx.
 
Old 08-06-2009, 05:52 AM   #7
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

Glad it works!!

Kind regards,

Eric
 
  


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
Control of Network Connections/network startup question Fedora 9 Gnome benkerndt Fedora 2 01-06-2009 07:14 PM
Network configuration during startup Derada Debian 1 08-14-2006 12:45 AM
network startup..... bong.mau Linux - Networking 8 09-08-2005 01:12 PM
Command to startup network? BajaNick Linux - General 5 07-12-2004 06:37 PM
Network startup buttshill Linux - Networking 4 07-16-2003 04:46 PM


All times are GMT -5. The time now is 12:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration