You are not logged in.
Pages: 1
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
Thanks for your help,
Iznogoud
Offline
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
Sounds like a kernel module problem, give us some more info, dmesg, lspci, etc.
Archlinux on Compaq Presario v5000 laptop
Offline
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
Offline
Thanks for helping me
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
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
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
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
yes I'va made a mistake when I copied the rc.conf. I already have quote around dhcp.
Sorry for the mistake.
Offline
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?
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
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?
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
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
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
Pages: 1