LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 03: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, 03: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 03:45 AM.
 
Old 10-29-2013, 03: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, 07: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, 09:36 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,873
Blog Entries: 18

Rep: Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343
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, 05: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, 05:44 AM   #7
Firerat
Senior Member
 
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
please elaborate , it may help someone in the future
 
Old 11-06-2013, 06: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


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

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

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