LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-29-2013, 02:37 AM   #1
applehalf
Member
 
Registered: Oct 2013
Posts: 33

Rep: Reputation: Disabled
My ethernet didn't work. Please help!


Hello my friends. Help me please.
I have oracle linux server release 6.2
On it i have a problem:
# ifconfig eth0
shows status: UP BROADCAST MULTICAST (not RUNNING)
Of corse i have default gateway in 'netstat -rn'.
Command route perfomed in 20 seconds, all this time i'm waiting for line with default gateway.
I can ping only localhost from server.
What can i change in my settings to resolwe my problem?
 
Old 10-29-2013, 02:44 AM   #2
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
Well if it is not running, turn it on.

Code:
ifconfig eth0 up
Check your ifcfg-eth0 file and add
Code:
onboot=yes
If i am not mistaken, it is Oracle linux is RHEL based. This would as such also appear in the supplied online manuals.

Last edited by ericson007; 10-29-2013 at 02:45 AM.
 
Old 10-29-2013, 02:52 AM   #3
applehalf
Member
 
Registered: Oct 2013
Posts: 33

Original Poster
Rep: Reputation: Disabled
I changed that position using GUI, but it didnt change nothing except one line in ifcfg-eth0.
Status of eth0 UP but not RUNNING, and i can't ping gateway.
 
Old 10-29-2013, 06:43 PM   #4
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
Do you have dhcp running somewhere?
 
Old 10-29-2013, 08:36 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
What is the output of ifconfig -a from the terminal?

Also, what are the contents of /etc/sysconfig/network-scripts/ifcfg-ethX, where X = the ethernet interface in use? (See this link for more: http://www.cyberciti.biz/faq/redhat-...configuration/.)
 
Old 11-06-2013, 04:25 AM   #6
applehalf
Member
 
Registered: Oct 2013
Posts: 33

Original Poster
Rep: Reputation: Disabled
Thanks everybody, i founded my problem.
 
Old 11-06-2013, 04:44 AM   #7
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian sid
Posts: 2,683

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
please elaborate , it may help someone in the future
 
Old 11-06-2013, 05:19 AM   #8
applehalf
Member
 
Registered: Oct 2013
Posts: 33

Original Poster
Rep: Reputation: Disabled
my ethernet swith eth0 was out of service, so I set as default eth1.
 
  


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
My grub didn't work :( BanSton Linux - Newbie 7 08-22-2010 04:05 AM
HELP: alarm() didn't work! zhubaining Programming 4 10-27-2006 09:11 AM
my mpg321 didn't work rjmaomao Linux - Newbie 4 08-14-2005 07:49 PM
It didn't work :( DiscoBiscuit Mandriva 8 05-29-2004 08:22 PM
UPS cable didn't work. A cool work-around jlangelier LinuxQuestions.org Member Success Stories 1 07-18-2003 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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