You are not logged in.

#1 2009-05-28 23:16:12

Eeljen
Member
Registered: 2009-05-28
Posts: 7

Problem with eth0: device not found

Hi,

I'm a first time Arch Linux user, installing it on my Asus EEE 1000H. I was following this guide: http://wiki.archlinux.org/index.php/Ins … _toofishes

Everything was going fine (with wired internet connection and all after I configured /etc/rc.conf), right to the point where I installed the eee toofishes kernel. I can boot 2.6.29.4eee, but now eth0 is no longer recognised. During boot I get: dhcpcd: eth0: interface not recognized or invalid.
ifconfig -a returns lo, but nothing else. When I try (like I read somewhere) ifconfig up, I get the following: 'up: error fetching interface information: Device not found'.

I can't find how to fix this in the wiki, and google doesn't give me anything usefull (maybe I've been using wrong keywords). Can anyone help me with this?

Thanks

EDIT: I use ext4 but I can't find confirmation that this is compatible with the eee kernel?

Last edited by Eeljen (2009-05-28 23:43:46)

Offline

#2 2009-05-28 23:28:03

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problem with eth0: device not found

You should try 'ifconfig up eth0' but if 'ifconfig -a' doesn't show eth0 at all, it may not work. Can you post your rc.conf?

Offline

#3 2009-05-28 23:38:47

Eeljen
Member
Registered: 2009-05-28
Posts: 7

Re: Problem with eth0: device not found

ifconfig up eth0 gives me this: eth0: Host name lookup failure.

And how do I copy my whole rc.conf to this board? I haven't been able to install X or any DE
Here is the part about network config:

eth0="dhcp"
INTERFACES=(eth0)

gateway="default gw 192.168.1.1"
ROUTES=(!gateway)

The gateway adress points correctly to my router.

Last edited by Eeljen (2009-05-28 23:46:44)

Offline

#4 2009-05-28 23:58:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problem with eth0: device not found

Could you try 'ifconfig eth0 up' - I may have given you incorrect command previously, sorry about that.

Offline

#5 2009-05-29 00:07:10

Eeljen
Member
Registered: 2009-05-28
Posts: 7

Re: Problem with eth0: device not found

That says 'eth0: unknown interface: No such device'

Offline

#6 2009-05-29 00:12:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problem with eth0: device not found

Is eth0 recognised at boot? Sometimes the system "switches" interfaces (so eth0 may become sth else), but 'ifconfig -a' should show them all.
Do you have the proper modules loaded, the correct drivers installed? Do you have 'network' in your DAEMONS array in rc.conf? Is dhcp running?

Edit: http://www.unixresources.net/linux/lf/5 … 63507.html
- 'lspci' should give you the model if it's a PCI card,
- load the module for this card with 'modprobe modulename',
- check that it's loaded with 'lsmod'.

Last edited by karol (2009-05-29 00:31:04)

Offline

#7 2009-05-29 00:40:28

Eeljen
Member
Registered: 2009-05-28
Posts: 7

Re: Problem with eth0: device not found

I don't think eth0 is recognised at boot. While starting up my system I see

:: Starting Network
dhcpcd: eth0: interface not found or invalid

then dhcpcd times out and the boot process continues.

How can I see what modules are loaded or need to be loaded? In rc.conf it says MOD_AUTOLOAD="yes" and MODULES=() .
I think the drivers are installed, because before the kernel upgrade I had wired connection, but I only installed kernel-eee as far as I remember.

dhcpcd gives me

dhcpcd: version 5.0.2 starting
dhcpcd: forking to background

and for the daemons

DAEMONS=(syslog-ng network netfs crond)

EDIT: Thanks for the link, but I can't seem to figure out what the module name is.

lspci gives me the following output concerning network controllers as far as I can figure out:

00:1e.0 PCI bridge: Intel Corporatoin 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporatoin 82801 (ICH7-M) LPC Interface Bridge (rev 02)
00:f.2 IDE Interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
01:00.0 Network controller: RaLink RT2860
03:00.0 Ethernet controller: Attansic Technology Corp. L1e Gigabit Ethernet Adapter (rev b0)

Last edited by Eeljen (2009-05-29 01:06:04)

Offline

#8 2009-05-29 00:48:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problem with eth0: device not found

The kernel should have everything you need, maybe it just doesn't get loaded.
Well, you need the module for your card. Please follow the instructions from my previous post:
- lspci (look for sth named 'ethernet controller'),
- modprobe <module name> (check in the wiki /forums / net what is that name or try 'atl2' - it may be wireless however, I'm not 100% sure),
- lsmod (to check if it's running).

Last edited by karol (2009-05-29 01:02:07)

Offline

#9 2009-05-29 01:09:44

akira86
Member
Registered: 2009-01-16
Posts: 124

Re: Problem with eth0: device not found

to find the appropriated module :

an exemple :

# lspci | grep Eth
00:0a.0 Ethernet controller: nVidia Corporation MCP78S [GeForce 8200] Ethernet (rev a2)
07:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
# lspci -s 00:0a.0 -n
00:0a.0 0200: 10de:0760 (rev a2)
# grep  -e '10de.*0760' /lib/modules/`uname -r`/modules.pcimap
forcedeth            0x000010de 0x00000760 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0

for me it is the module forcedeth that drive my card

Last edited by akira86 (2009-05-29 01:10:52)

Offline

#10 2009-05-29 01:10:45

Eeljen
Member
Registered: 2009-05-28
Posts: 7

Re: Problem with eth0: device not found

Yeah, was editing previous post.

Anyway, thanks for the help this far, I'll try to use that info tomorrow.

Last edited by Eeljen (2009-05-29 01:13:11)

Offline

#11 2009-05-29 01:14:58

akira86
Member
Registered: 2009-01-16
Posts: 124

Re: Problem with eth0: device not found

Are you sure atl2 isn't installed ??
Even on my laptop (which isn't an eee pc) :

# modprobe -l | grep atl2
/lib/modules/2.6.29-ARCH/kernel/drivers/net/atlx/atl2.ko

Offline

#12 2009-05-29 01:18:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problem with eth0: device not found

Well, the kernel for eeepc should have everything. Maybe you need to add sth like ' alias eth0 atl2' to /etc/modprobe.conf.
Anyway, see you tomorrow :-)

Offline

#13 2009-05-29 01:20:55

akira86
Member
Registered: 2009-01-16
Posts: 124

Re: Problem with eth0: device not found

Maybe this will interest you ;-)
http://aur.archlinux.org/packages.php?ID=18663

Offline

#14 2009-05-29 01:24:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problem with eth0: device not found

Hmmm, nice link, akira86.
He may indeed need atl1e not atl2, but I've read on wikipedia and some forum posts about atl2, so I recommended that.
Thanks.

Offline

#15 2009-05-29 07:45:06

Eeljen
Member
Registered: 2009-05-28
Posts: 7

Re: Problem with eth0: device not found

I noticed another strange thing: When I chose the previous, unmodified kernel in GRUB my wired connection still works. When I use 'lsmod' there, I get a huge list of output, but when I use lsmod in the 2.6.29.4eee kernel, the list appears to be empty. So I guess no modules are loaded at all?

And "modprobe -l | grep atl2" returns nothing, so I guess it's not installed.


How would I go about installing that package? Using a USB stick I suppose, but how do I mount that?


EDIT: With the old kernel, I can see with "lsmod | grep atl" that the atl1e module is loaded. Under the new kernel, I can't find the atl1e package in the modprobe -l list.
EDIT2: I tried copying the atl1e module from the old kernel to the new one (the whole directory), but when I try to load it it gives me 'Invalid module format'.

Yet another EDIT: Maybe I didn't need to upgrade to the eee kernel, in the following link it says that the modified kernel is no longer needed: http://wiki.archlinux.org/index.php/Asus_Eee_PC_1000HE (It's about the slightly newer version of the 1000H I have).
And here: http://wiki.archlinux.org/index.php/Asus_Eee_PC#atl1e it says that everytime the kernel is upgraded, the atl1e module has to be recompiled.

So how do I downgrade? Just remove the eeekernel entry from the GRUB?

Last edited by Eeljen (2009-05-29 08:44:10)

Offline

#16 2009-05-29 11:31:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problem with eth0: device not found

You have two kernels so remove the one that's not needed and remove the corresponding entry in GRUB.
That's the beauty of modular design :-)

I'll add a link to the wiki pointing to the 1000HE page in case someone else thinks he still needs the modified kernel.

Offline

#17 2009-05-29 11:48:52

Eeljen
Member
Registered: 2009-05-28
Posts: 7

Re: Problem with eth0: device not found

Okay, I'll just remove it from the GRUB. Thanks for all the help, now I can continue with the installation guide.

This thread isn't 'Solved', what prefix should I give it?

Last edited by Eeljen (2009-05-29 11:49:22)

Offline

#18 2009-05-29 11:52:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Problem with eth0: device not found

Well, you could try recompiling the module for your eee kernel. If that worked than I'd say [SOLVED].
The whole problem existed because you wanted to use that kernel, right? You don't use it anymore, so the problem is gone.

Offline

Board footer

Powered by FluxBB