LinuxQuestions.org
Register a domain and help support LQ
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 06-07-2010, 08:06 AM   #1
nagman
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Rep: Reputation: 0
Network cannot restart successfully in CentOS 5


When I reboot my CenOS, my nic does not...

If I run eht0, I get the following:

./network-functions: line 78: icfg-eth0: No such file or directory
./network-functions: line 78: No such file or directory
Usage: grep [OPTION]... PATTERN [FILE)...
Try 'grep --help- for more information

The information in /etc/sysconfig/nework-scripts/ifcfg-eth0 is:

#Advanced Micro Devices [AMD] ...
Device=eth0
ONBOOT=yes
BOOTPROTO=None

NETMASK = 255.255.255.0
IPADDR = **.**.**.**
HWADDR=**:**:**:**:**:
Gateway=**.**.***.*
TYPE=Ethernet

Anyone have any ideas on how to rectify this? Because I don't :-)
 
Old 06-07-2010, 08:08 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,817

Rep: Reputation: 609Reputation: 609Reputation: 609Reputation: 609Reputation: 609Reputation: 609
What's on network-functions line 78?
 
Old 06-07-2010, 08:36 AM   #3
alli_yas
Member
 
Registered: Apr 2010
Location: Johannesburg
Distribution: Fedora 14, RHEL 5.5, CentOS 5.5, Ubuntu 10.04
Posts: 559

Rep: Reputation: 92
Hi,

Quote:
./network-functions: line 78: icfg-eth0: No such file or directory
Have you edited /etc/sysconfig/network-scripts/network-functions?

In the error above its referring to icfg-eth0 - which is not correct - the network script file for interface eth0 would be ifcfg-eth0 .
 
Old 06-07-2010, 08:49 AM   #4
nagman
LQ Newbie
 
Registered: Jun 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by AlucardZero View Post
What's on network-functions line 78?
. $CONFIG is what is on line 78

I haven't edited this one, just looked at it when I suddenly couldnt activate my nic.

[QUOTE=
In the error above its referring to icfg-eth0 - which is not correct - the network script file for interface eth0 would be ifcfg-eth0 ."
[/QUOTE]

-> This is just a typo from my side.
 
  


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
Network cannot restart successfully in CentOS 5 !! shipon_97 Linux - Newbie 1 03-17-2010 01:04 PM
Problem with DNS on CentOS cannot service named restart dalvis Linux - Newbie 7 11-25-2009 05:10 PM
NETWORK transmit errors - assuming offline / NETWORK restart failed, could not find gcan Linux - Networking 3 11-13-2009 08:01 PM
Anyone successfully installed gphpedit (PHP Editor) on CentOS? rsleventhal Linux - Software 3 06-03-2008 08:09 AM
How do I set the regulatory daemon to restart when I restart the network service? zahadumy Linux - Networking 0 11-05-2006 12:24 PM


All times are GMT -5. The time now is 08:13 PM.

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