Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New Gentoo Install.. "Interface eth0 does not exist"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
shgadwa
Guru
Guru


Joined: 12 Mar 2009
Posts: 327

PostPosted: Sat Apr 07, 2012 1:07 am    Post subject: New Gentoo Install.. "Interface eth0 does not exist&quo Reply with quote

I am unable to get both wired and wireless cards to work. The network cards do not show up in ifconfig. If I type in /etc/init.d/eth0 start, it says "interface eth0 does not exist. Ensure that you have the correct kernel module for your hardware."

I would assume that my devices are not setup in my kernel. However, I do have it enabled. Should I use modules instead??

For the record, I'm using Atheros network cards.

Thanks!

~Shawn
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Sat Apr 07, 2012 1:41 am    Post subject: Reply with quote

I think you have a typo in that command:
/etc/init.d/eth0 should be /etc/init.d/net.eth0
and did you remember to create the symbolic link as per the handbook?

As for the module vs not for networking, it should not make any functional difference unless the card requires firmware (as I understand it).
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
shgadwa
Guru
Guru


Joined: 12 Mar 2009
Posts: 327

PostPosted: Sat Apr 07, 2012 2:28 am    Post subject: Reply with quote

I made a typo, but just in this thread, unfortunately. My knowledge of gentoo Linux isn't that bad that I'd not call it net.eth0.

Anyway, I am 90% certain this is not a kernel issue. I do have it enabled in the kernel, but I've tried modules to no effect. Also I used genkernel to configure the kernel and that didn't make a difference. I don't like bloated kernels so I will reconfigure later.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Sat Apr 07, 2012 2:53 am    Post subject: Reply with quote

Well, make sure that net.eth0 actually exists and if it does I would check to see if you need any firmware for it. It might also be illuminating to add net.eth0 to the boot run level and see how it fails.

It may also be worth rebuilding your kernel with the driver as a module, but that seems like more of a long shot. If the symlinks exist, my money would be on firmware.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sat Apr 07, 2012 4:14 am    Post subject: Reply with quote

shgadwa,

Enter the output of lspci -n here http://kmuto.jp/debian/hcl/

That should identify your network card and help with finding the right driver.
Back to top
View user's profile Send private message
sao98021
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2012
Posts: 145
Location: Michigan

PostPosted: Sat Apr 07, 2012 6:42 am    Post subject: Reply with quote

dont forget to add dhcpcd, if you do infact use dhcp.
Back to top
View user's profile Send private message
shgadwa
Guru
Guru


Joined: 12 Mar 2009
Posts: 327

PostPosted: Sat Apr 07, 2012 11:27 am    Post subject: Reply with quote

Thank you guys for your help.

I went ahead and enabled everything from Atheros for my NICs in the kernel, as a module. Upon reboot, it worked perfectly. DHCPCD found an IP address really fast, and everything works fine.

Thank you for your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum