"Interface eth0 Does Not Exist"


I am working in the terminal on my Mac. It is hooked up to my router with a cat 5 network cable, and I am able to get on the internet.

However, I cannot find my eth0 connection. When I do ifconfig I don't see it. Also, I am taking a course and the instructions say to enter the command "ifconfig eth0". I get the error "Interface eth0 Does Not Exist" when I do that.

I am new to linux and still trying to find my way around. Can anyone help me?


Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

During installation of linux, there should have network config section for you to input ip address, subnet mask, DNS, etc.... do you remember this section show during installation?? or when the linux boot up there should have message about the network device is up or not, if no such message, most likely you need the network driver for your linux.

Which Mac machine you are using?? PPC?? Power Mac?? old model like Q605?? which linux you are using?? yellow dog?? debian??

more detail will help experts to provide more solution for you :)

BTW you can try to reinstall the linux to see the linux show up the network config section to ensure the linux can recongize your network card/interface.

best regards

kara334Author Commented:
I am using OS X Tiger. I didn't have to unstall Linux - I can use it from the command prompt in the Terminal. It comes with OS X.

Does that help?

so what I think is the OS X Tiger not using eth0 as the network device name, try to check /etc/sysconfig/network-scripts
OWASP: Avoiding Hacker Tricks

Learn to build secure applications from the mindset of the hacker and avoid being exploited.

What is the resulting output when you type

ifconfig -a

(depending on your UID, you might have to either try /sbin/ifconfig -a or become root and re-run the ifconfig -a).  I don't know MACs at all, but since it's BSD based, that'll show all the interfaces the OS recognized on your system.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
kara334Author Commented:

When I do ifconfig -a, I get lo0, gif0, stf0, aen0, and fw0. Which one should I use?
kara334Author Commented:
I was able to assign an ip address to en0. Now on to the next question...(I'm having a hard time with this assignment)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.