Re: ifup eth0 ne fonctionne plus
Le Fri, 22 Jul 2005 16:55:09 +0200
pyfux <pyfux@free.fr> a écrit:
> Bonjour à tous !
>
> je suis debutant en GNU/Linux debian et je me trouve aujourd'hui
> confronté à ce problème: pour une raison que j'ignore, je n'arrive
> plus à "allumer mon eth0" avec la commande ifup eth0.
>
> j'obtiens en sortie avec cette commande:
> Internet Software Consortium DHCP Client 2.0pl5
> Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software
> Consortium. All rights reserved.
>
> Please contribute if you find this software useful.
> For info, please visit http://www.isc.org/dhcp-contrib.html
>
> eth0: ERROR while getting interface flags: No such device
> socket: Address family not supported by protocol
> Make sure to set CONFIG_PACKET=y and CONFIG_FILTER=y in your kernel
> configuration!
> exiting.
> Failed to bring up eth0.
Bon, si lorsque tu fais
# ifconfig eth0 192.168.1.1 up
et que tout va bien, c'est un problème du à DHCP. Pour une raison
mystérieuse, il te manque le module af_packet (donc
# modprobe af_packet
Si après ce modprobe ça marche, je te suggère un
# echo "af_packet" >> /etc/modules
et tout ira bien.
François Boisson
PS: Lance un nouveau fil plutôt que de t'insérer en force dans un fil
existant.
Reply to: