Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-15-2014, 12:26 PM   #1
Registered: Aug 2010
Posts: 103

Rep: Reputation: 5
WHAT IS THIS: ifcfg-eth0 (ifup <device name> ??

Hello y'all glad to be here again. i have a little problem as usual and am sure someone would be able to help out.

i tried configuring a static ip on my "Oracle Linux Server" and i keep getting this error message
/sbin/ifup: configuration for eth0 not found"
usage: ifup <device name>
i know its something about configuring my device manually, this i would love to do but cant, or should i say properly, don't know what to do.

hope to read from someone soon with the easiest possible solution

Old 01-15-2014, 12:45 PM   #2
LQ Newbie
Registered: Dec 2013
Location: Texas
Distribution: Fedora / RHEL
Posts: 4

Rep: Reputation: 1
What command are you trying to run?

You should be running it like this:

# ifup eth0
to bring up the interface manually. Also, please post your /etc/sysconfig/network-scripts/ifcfg-eth0 file if that command doesn't work.

A sample config on a RHEL-based distro (Fedora, CentOS, etc.) would be:

# /etc/sysconfig/network-scripts/ifcfg-eth0 
Hope that helps a little!
Old 01-15-2014, 08:49 PM   #3
Registered: Aug 2009
Location: Bangaluru, India
Distribution: CentOS 6.5, SuSE SLED/ SLES 10.2 SP2 /11.2, Fedora 11/16
Posts: 664

Rep: Reputation: 81
i tried configuring a static ip on my "Oracle Linux Server" and i keep getting this error message
The information provided is'nt too good, so can you startup telling us how did you configured eth0 and what did you tried so far?
hope to read from someone soon with the easiest possible solution
and for this we would need an easiest possible readable question.. :P :P
Old 01-16-2014, 02:20 AM   #4
Registered: Aug 2010
Posts: 103

Original Poster
Rep: Reputation: 5
Hello y'all. first to "littleblueallie" thanks for the effort. Anyway, have been able to resolve the problem. i had to reconfigure the interface using the "neat" command , made a new interface and set up a static ip which gave me "ifcfg-eth0:1" since the OS could not find the original "ifcfg-eth0" file that was created with the installation.

After the interface has been created i used the "ifup ifcfg-eth0:1" and everything worked fine.

thanks again as always cheers


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
Debian - eth0 error: no such device on ifup eth0 svancouw Linux - Hardware 4 09-07-2011 04:32 PM
cannot activate eth1 using ifup or using ifcfg-eth1 akay Linux - Hardware 10 12-16-2010 05:10 AM
[SOLVED] Network eth0 activated upon boot in ifcfg-eth0; but no network connection after login TomRaaijmakers Linux - Networking 1 06-17-2010 08:29 AM
fedora/redhat: ifcfg-eth0 and ifcfg-eth1 Shaun2222 Linux - Networking 9 01-23-2008 03:25 PM
eth0 not coming up at bootup even when configured in ifcfg-eth0 djcham Linux - Networking 1 12-04-2006 08:09 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:29 PM.

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