You are not logged in.

#1 2008-03-22 08:19:26

iznogoud
Member
From: Belgium
Registered: 2008-03-22
Posts: 34

Problem with my eth0 interface

Hello all,
I have installed Archlinux on my laptop via FTP but I've a problem.
During the installation my network works perfectly, but when I reboot for configuring my pacman.conf and for synchronizing the mirrors the network is death.
When I type "ifconfig" I have no eth0 interface....that's strange hmm
Thanks for your help,
Iznogoud

Offline

#2 2008-03-22 08:24:07

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: Problem with my eth0 interface

You need to give us some more information, like the model of your ethernet adapter (give us the output of '/usr/sbin/lspci |grep Ethernet') and how you connect (dhcp?)

You can try to do 'dhcpcd eth0' and see if this connect.

Offline

#3 2008-03-22 08:51:19

blu3ness
Member
From: Edmonton, Canada
Registered: 2007-12-28
Posts: 169

Re: Problem with my eth0 interface

Sounds like a kernel module problem, give us some more info, dmesg, lspci, etc.


Archlinux on Compaq Presario v5000 laptop smile

Offline

#4 2008-03-22 08:56:21

mud
Member
From: Nothern Norway, now in Ireland
Registered: 2008-03-21
Posts: 4

Re: Problem with my eth0 interface

are you sure its up? like ifconfig eth0 up
but yeah. dmesg lspci etc.. would help lots.


Archlinux user since March 19 2008

^mud^ on #archlinux big_smile

Offline

#5 2008-03-22 09:18:49

iznogoud
Member
From: Belgium
Registered: 2008-03-22
Posts: 34

Re: Problem with my eth0 interface

Thanks for helping me smile

First, I'm using dhcp for my network and when I type "dhcpcd eth0" the prompt return :

err, eth0: ioctl SIOCSIFFLAGS: No such file directory
Erreur de segmentation

Some other informations :

/usr/sbin/lspci |grep Ethernet : 

06:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
dmesg |grep Ethernet :

r8169 Gigabit Ethernet driver 2.2LK loaded
ifconfig eth0 up :

SIOCSIFFLAGS: No such file or directory

All what I get are errors....or almost big_smile

EDIT : Here is my rc.conf:

#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="fepc"
#
eth0="dhcp"
INTERFACES=(eth0)
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

my hosts.conf :

#
# /etc/hosts: static lookup table for host names
#
#< ip-address >   < hostname.domain.org >   < hostname >
 
127.0.0.1               localhost.localdomain   fepc

and my resolv.conf :

#
# /etc/resolv.conf
#
#search < yourdomain.tld >
#nameserver < ip >
nameserver 192.168.2.1

Last edited by iznogoud (2008-03-22 15:53:48)

Offline

#6 2008-03-22 14:32:00

iznogoud
Member
From: Belgium
Registered: 2008-03-22
Posts: 34

Re: Problem with my eth0 interface

A little bit news : when I use the Archlinux's fallback image I can use my ethernet connection. But not in the Archlinux's default image.

Last edited by iznogoud (2008-03-22 14:32:25)

Offline

#7 2008-03-22 14:49:43

Pudge
Arch Linux f@h Team Member
Registered: 2006-01-23
Posts: 300

Re: Problem with my eth0 interface

iznogoud wrote:

EDIT : Here is my rc.conf:

#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="fepc"
#
eth0=dhcp
INTERFACES=(eth0)
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

In the line eth0=dhcp there should be quotes around dhcp such as

eth0="dhcp"

Hope That Helps

Pudge

Offline

#8 2008-03-22 15:53:32

iznogoud
Member
From: Belgium
Registered: 2008-03-22
Posts: 34

Re: Problem with my eth0 interface

yes I'va made a mistake when I copied the rc.conf. I already have quote around dhcp.
Sorry for the mistake.

Offline

#9 2008-03-22 17:03:19

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: Problem with my eth0 interface

Well if it works with the fallback image, the quick and easy way would be to set your /etc/mkinitcpio.conf to the same settings as in the /etc/mkinitcpio.d/kernel26-fallback.conf and redo your kernel26.img.  I'd guess that for some reason you need the ide hook for your network interface .  Just a guess? smile


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#10 2008-03-22 18:39:32

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: Problem with my eth0 interface

bgc1954 wrote:

Well if it works with the fallback image, the quick and easy way would be to set your /etc/mkinitcpio.conf to the same settings as in the /etc/mkinitcpio.d/kernel26-fallback.conf and redo your kernel26.img.  I'd guess that for some reason you need the ide hook for your network interface .  Just a guess? smile

But first make a 'diff /etc/mkinitcpio.conf  /etc/mkinitcpio.d/kernel26-fallback.conf' to know what caused the problem (solving is noting if you don' learn anything)

Offline

#11 2008-03-23 19:06:37

iznogoud
Member
From: Belgium
Registered: 2008-03-22
Posts: 34

Re: Problem with my eth0 interface

Ok, the problem is when I put the "autodetect" in the Hooks of my mkinitcpio. So I rebuilded the kernel26 without "autodetect" and it works now smile
but if I want to use this hook I have to specify the module of my ethrnet card...but how can I do it ?

Offline

Board footer

Powered by FluxBB