LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 03-10-2012, 12:10 AM   #1
dehydratedpaani
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Rep: Reputation: Disabled
Internet works, but where is eth0?


I am new to linux. Using CentOS 6.2. From what I understand, redhat should have a eth0 for my network card. Is my understanding wrong?

I want to understand why is my connection working and yet no eth0 config file created?

Code:
[root@localhost network-scripts]# pwd
/etc/sysconfig/network-scripts
[root@localhost network-scripts]# ll | grep eth
-rwxr-xr-x. 1 root root  5569 Oct  7 19:31 ifdown-eth
-rwxr-xr-x. 1 root root 10456 Oct  7 19:31 ifup-eth
[root@localhost network-scripts]# ping www.google.com
PING www.l.google.com (173.194.36.48) 56(84) bytes of data.
64 bytes from bom04s02-in-f16.1e100.net (173.194.36.48): icmp_seq=1 ttl=54 time=39.1 ms
64 bytes from bom04s02-in-f16.1e100.net (173.194.36.48): icmp_seq=2 ttl=54 time=36.5 ms
64 bytes from bom04s02-in-f16.1e100.net (173.194.36.48): icmp_seq=3 ttl=54 time=40.2 ms
64 bytes from bom04s02-in-f16.1e100.net (173.194.36.48): icmp_seq=4 ttl=54 time=39.2 ms
^C
--- www.l.google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3640ms
rtt min/avg/max/mdev = 36.553/38.821/40.263/1.396 ms
[root@localhost network-scripts]#
Thanks!
 
Old 03-10-2012, 01:43 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 and welcome to LinuxQuestions,

Names are just what they are, names. They can be changed to anything although there are standards that are generally (almost) followed except by the few. What's the output of
Code:
ip addr sh
as root (or in combination with sudo if you don't run it as root).

Looking forward to your participation in the forums. Have fun with Linux.

Kind regards,

Eric
 
1 members found this post helpful.
Old 03-10-2012, 02:28 AM   #3
dehydratedpaani
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi Eric,

Thanks for a quick reply! I figured it out and you were right. CentOS by default named it "auto eth0" whose config I couldnt find. I renamed it to eth0, restarted network service, and voila had the ifcfg-eth0 generated.

I still dont understand how my connection worked, and yet i couldnt see its related dev config file.

Thanks again!
 
Old 03-10-2012, 02:33 AM   #4
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
Hi,

I'm not sure about your setup but I guess you're using NetworkManager so that might be a reason for the differences. If you consider your problem solved then please mark this thread as such. Have fun with Linux.

Kind regards,

Eric
 
1 members found this post helpful.
  


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
[SOLVED] OEL5.4 OS, eth0 has private IP, eth0:0 has routable IP, internet access don't work Hiroshi Linux - Networking 7 06-02-2010 01:49 PM
CentOS 5.2: Only one of eth0 (internet) or eth1 (LAN) works Sinedie Linux - Networking 3 08-20-2008 05:52 AM
3Com 509B It all works! except Internet? sees eth0 but can't go active kylecarrington Linux - Newbie 13 11-02-2004 08:42 PM
firestarter-eth0 not ready (thsi is the one i use for the internet it works) gonus Linux - Security 1 08-22-2004 11:01 AM
eth0 failed, but works snocked Linux - Newbie 11 08-04-2003 07:53 AM


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