• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2046
  • Last Modified:

"Interface eth0 Does Not Exist"

Hi,

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 192.168.3.1". 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?

Thanks.


Kara
0
kara334
Asked:
kara334
  • 3
  • 2
1 Solution
 
paullamhkgCommented:
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
Paul

0
 
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?


Kara
0
 
paullamhkgCommented:
so what I think is the OS X Tiger not using eth0 as the network device name, try to check /etc/sysconfig/network-scripts
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
devrick0Commented:
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.
0
 
kara334Author Commented:
Hi,

When I do ifconfig -a, I get lo0, gif0, stf0, aen0, and fw0. Which one should I use?
0
 
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)
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now