[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ifup eth0 ne fonctionne plus



Pour information mon poste (webserve) qui ne se connecte plus à
l'Internet (freebox derière routeur-dhcp DLink) renvoi ces informations
suivant les commandes:

webserve:~#cat /etc/network/interfaces 

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp
up /root/firewall/firewall.fw
#fichier source de configuration du firewall: firewall_secured.conf.fwb

# The secondary network interface
iface eth1 inet static
        address 192.168.1.1
        netmask 255.255.255.0
        broadcast 192.168.1.255
        network 192.168.1.0


webserve:~#ifconfig
eth0      Lien encap:Ethernet  HWaddr x:x:x:x:x:x
          inet adr:192.168.0.56  Bcast:192.168.0.255
Masque:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:212 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000
          RX bytes:27789 (27.1 KiB)  TX bytes:0 (0.0 b)
          Interruption:9 Adresse de base:0xd800

eth1      Lien encap:Ethernet  HWaddr x:x:x:x:x:x
          inet adr:192.168.1.1  Bcast:192.168.1.255
Masque:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:99 errors:0 dropped:0 overruns:0 frame:0
          TX packets:68 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000
          RX bytes:9769 (9.5 KiB)  TX bytes:13515 (13.1 KiB)
          Interruption:11 Adresse de base:0xdc00

lo        Lien encap:Boucle locale
          inet adr:127.0.0.1  Masque:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2355 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2355 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0
          RX bytes:1517465 (1.4 MiB)  TX bytes:1517465 (1.4 MiB)


Mais: connexion à l'Internet ne fonctionne plus:

webserve:~#ifup eth0

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

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.

Par contre:

webserve:~#ifconfig eth0 192.168.0.11 up

ne renvoi rien sur le terminal.

De plus:

webserve:~#modprobe af_packet
modprobe: Can't locate module af_packet

!!!!

Avez-vous une idée plus précise du problème ?

Pour les module:

webserve:~#cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a "#", and everything on the line after them are ignored.

ide-cd
ide-detect


Merci de me renvoyer sur des tutoriels sur les modules et en particulier
pour le network parce que j'y comprend rien ! :<

pyfux

P.S.: copie des commandes grâce à un ssh d'un autre poste sur eth1 de
webserve.



Reply to: