Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth0 device not found
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
aks
n00b
n00b


Joined: 15 Oct 2006
Posts: 26

PostPosted: Sun Oct 22, 2006 2:37 pm    Post subject: eth0 device not found Reply with quote

Hello,
i have a problem with running network on my notebook. If i try "ifconfig eth0", gentoo says:

"eth0: error fetching interface information: Device not found"

I load pcmcia and 3c574 for my network card.

Does anyone have an idea what the problem could be?
Back to top
View user's profile Send private message
Noven
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2005
Posts: 138

PostPosted: Sun Oct 22, 2006 2:45 pm    Post subject: Reply with quote

If you are using a PCMCIA nic have you started the pcmcia service? Once started eject and plug the card back in, make sure it registers in dmesg, and that it registers as the device you think it is. Also from memory the 3Com cards needed the mii module.
_________________
- Novensiles divi Flamen

>---- Miles Militis Fons ----<
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Oct 22, 2006 2:45 pm    Post subject: Reply with quote

Make sure the kernel driver for that nic is loaded. If you built it as a module check with lsmod. If it's not in the output try loading it with modprobe.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
elephant
n00b
n00b


Joined: 08 Jun 2005
Posts: 39
Location: Serbia

PostPosted: Sun Oct 22, 2006 2:47 pm    Post subject: Reply with quote

Is that after the installation, or it just stopped working?

I can suggest that your go through this checklist. Then post the output from the commands mentioned in the last part of the first post over there.

---
Edit: heh, too slow.
Back to top
View user's profile Send private message
aks
n00b
n00b


Joined: 15 Oct 2006
Posts: 26

PostPosted: Sun Oct 22, 2006 2:55 pm    Post subject: Reply with quote

If i plugin and out the nic nothing happens no message appears. I loaded the modules manual.
lsmod shows me:

Module.........Size................Used by
3c574_cs......12424............. 0
pcmcia..........34216..............1 3c574_cs
pcmcia_core...38164..............2 3c574_cs,pcmcia
Back to top
View user's profile Send private message
aks
n00b
n00b


Joined: 15 Oct 2006
Posts: 26

PostPosted: Sun Oct 22, 2006 3:09 pm    Post subject: Reply with quote

It never works! The checklist gives me following:
dmesg | grep -i eth: nothing

ifconfig -a :
only lo device

gzcat /proc/config.gz|grep -i NET
i only write the ones are set:
Config_NET_PCMCIA=y
Config_Net=y
Config_INET=y
Config_Netfilter=y
Config_netfilter_xtables=y
Config_Netfilter_XT_Match_Limit=y
Config_Netfilter_XT_Match_MAC=y
Config_Netfilter_XT_Match_State=y
Config_Netdevices=y
Config_NEt_Ethernet=y
Config_Net_radio=y
Config_net_wireless=y
Config_net_PCMCIA=y
Back to top
View user's profile Send private message
elephant
n00b
n00b


Joined: 08 Jun 2005
Posts: 39
Location: Serbia

PostPosted: Sun Oct 22, 2006 3:20 pm    Post subject: Reply with quote

Have you built your kernel with PCMCIA support?
Back to top
View user's profile Send private message
aks
n00b
n00b


Joined: 15 Oct 2006
Posts: 26

PostPosted: Sun Oct 22, 2006 3:35 pm    Post subject: Reply with quote

Not in the Kernel, as a Modul in makemenuconfig following row:

<M>PCCARD (PCMCIA/CARDBUS) support
Back to top
View user's profile Send private message
aks
n00b
n00b


Joined: 15 Oct 2006
Posts: 26

PostPosted: Sun Oct 22, 2006 3:52 pm    Post subject: Reply with quote

I think the problem is, that in the folder /dev is no eth0. Could this be the problem?
Back to top
View user's profile Send private message
Noven
Tux's lil' helper
Tux's lil' helper


Joined: 27 Mar 2005
Posts: 138

PostPosted: Sun Oct 22, 2006 5:45 pm    Post subject: Reply with quote

Building the module is only the start, you have to start pcmcia-utils. Does dmesg show the card being registered?
_________________
- Novensiles divi Flamen

>---- Miles Militis Fons ----<
Back to top
View user's profile Send private message
aks
n00b
n00b


Joined: 15 Oct 2006
Posts: 26

PostPosted: Mon Oct 23, 2006 9:16 pm    Post subject: Reply with quote

i have not the command pcmcia-utils. What sould i emerge to have this command. In dmesg i can't see anything of my networkcard.
Back to top
View user's profile Send private message
aks
n00b
n00b


Joined: 15 Oct 2006
Posts: 26

PostPosted: Mon Oct 23, 2006 10:01 pm    Post subject: Reply with quote

Hello, i install pcmciautils and load my modules.
I type /etc/init.d/net.eth0 start:

*PCMCIA support detected
*Starting pcmcia
cardmgr[5717]:no sockets found !
*cardmgr failed to start. MAke sure that you have PCMCIA
*modules built or support compiled into the kernel

Does anyone have an idea what my mistake is?
Back to top
View user's profile Send private message
aks
n00b
n00b


Joined: 15 Oct 2006
Posts: 26

PostPosted: Mon Oct 23, 2006 10:23 pm    Post subject: Reply with quote

Hello the probelm is solve, i change yentasocket in makemenuconfig from * to M and load it with modprobe and now it runs.
THX for the help to all.

[SOLVED]
Back to top
View user's profile Send private message
apollo29a
n00b
n00b


Joined: 02 Sep 2006
Posts: 11

PostPosted: Tue Oct 24, 2006 11:35 pm    Post subject: Reply with quote

aks wrote:
Hello the probelm is solve, i change yentasocket in makemenuconfig from * to M and load it with modprobe and now it runs.
THX for the help to all.

[SOLVED]


It worked for me too, thanks!
_________________
Compaq Evo n610c P4M 2.0Ghz 768Mb RAM Linux-2.6.20 Gentoo
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