Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 29/09/2008, à 14:39

Cherok

Pbm config etc/network/interfaces

Bonjour,

J'avais réussi à tout faire fonctionner mais appremment j'ai un soucis quand je redémarre networkmanager mais impossible de trouver le pbm.Voici mon fichier /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
# iface eth0 inet dhcp

# Paramètre VM virtualbox
# L'interface réseau physique de la machine
auto eth0
iface eth0 inet manual

# L'interface qui sera utilisée par VirtualBox
auto tap0
iface tap0 inet manual
tunctl_user franck

# Le bridge, permettant au réseau d'être accessible aux deux interfaces réseaux.
auto br0
iface br0 inet dhcp
    post-up chmod ugo+rw /dev/net/tun
    bridge-ports eth0 tap0
    bridge-ageing 7200
    bridge-fd 0

et voici l'anomalie au redémarrage.

sudo /etc/init.d/networking restart
 * Reconfiguring network interfaces...                                           * Stopping the Firestarter firewall...
   ...done.
 * Starting the Firestarter firewall...
   ...done.
 * Stopping the Firestarter firewall...
   ...done.
 * Starting the Firestarter firewall...
   ...done.
 * Stopping the Firestarter firewall...
   ...done.
 * Starting the Firestarter firewall...
   ...done.
There is already a pid file /var/run/dhclient.br0.pid with pid 22788
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/br0/00:16:d4:f8:40:aa
Sending on   LPF/br0/00:16:d4:f8:40:aa
Sending on   Socket/fallback
DHCPRELEASE on br0 to 192.168.1.254 port 67
 * Stopping the Firestarter firewall...
br0: error fetching interface information: Device not found
br0: error fetching interface information: Device not found
br0: error fetching interface information: Device not found
   ...done.
 * Starting the Firestarter firewall...
br0: error fetching interface information: Device not found
br0: error fetching interface information: Device not found
br0: error fetching interface information: Device not found
   ...fail!
run-parts: /etc/network/if-up.d/50firestarter exited with return code 2
Set 'tap0' persistent and owned by uid 1000
 * Stopping the Firestarter firewall...
br0: error fetching interface information: Device not found
br0: error fetching interface information: Device not found
br0: error fetching interface information: Device not found
   ...done.
 * Starting the Firestarter firewall...
br0: error fetching interface information: Device not found
br0: error fetching interface information: Device not found
br0: error fetching interface information: Device not found
   ...fail!
run-parts: /etc/network/if-up.d/50firestarter exited with return code 2

Waiting for br0 to get ready (MAXWAIT is 2 seconds).
There is already a pid file /var/run/dhclient.br0.pid with pid 134519072
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/br0/00:16:d4:f8:40:aa
Sending on   LPF/br0/00:16:d4:f8:40:aa
Sending on   Socket/fallback
DHCPDISCOVER on br0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on br0 to 255.255.255.255 port 67 interval 14
DHCPOFFER of 192.168.1.33 from 192.168.1.254
DHCPREQUEST of 192.168.1.33 on br0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.33 from 192.168.1.254
bound to 192.168.1.33 -- renewal in 106187 seconds.
 * Stopping the Firestarter firewall...
   ...done.
 * Starting the Firestarter firewall...
   ...done.

Impossible de retrouver l'erreur car avant cela fonctionnait correctement.
Merci pour votre aide.

#2 Le 29/09/2008, à 15:40

sakul

Re : Pbm config etc/network/interfaces

je suis pas sur mais je crois que ton bridge ne fonctionne pas car ton interface tap0 n'as pas les autorisations nécéssaire. on dirai que ton interface est reservée a ton utilisateur uid 1000 et firestarter qui appartient au groupe root n'arrive pas a faire ..je sais pas quoi mais il n'y arrive pas.

run-parts: /etc/network/if-up.d/50firestarter exited with return code 2
Set 'tap0' persistent and owned by uid 1000

Dernière modification par sakul (Le 29/09/2008, à 15:41)


commandes de bases ||  Debian testing 64bit - xfce / Intel-Core-2 Quad @ 2.33GHz / 9600 GT

Hors ligne

#3 Le 29/09/2008, à 21:56

Cherok

Re : Pbm config etc/network/interfaces

Je e comprend pas non plus car avant d'aller bidouiller dans mon fichier interface tout fonctionnait bien. Je ne pensais que ca pouvait faire çà. Ou alors il  a autre chose à la suite d'une autre opération quelconque.
Pour infos mon uid1000 est l'utilisateur franck dont je me sers pour accéder à virtualbox.
Merci pour ton aide, si quelqu'un d'autre à une idée c'est volontiers?