OVH Cloud OVH Cloud

Scripts réseau

1 réponse
Avatar
Matthias
Bonjour =C3=A0 tous,

Ma machine tourne sous Debian (unstable). Au d=C3=A9marrage le script=20
/etc/init.d/networking se bloque=C2=A0: je suis oblig=C3=A9 de presser de=20
Ctrl-C pour interrompre ce script, et executer le suivant.

Une fois, logu=C3=A9 je constate que le r=C3=A9seau fonctionne bien=C2=A0!

Pourriez-vous me conseiller pour d=C3=A9boguer=C2=A0?

=C3=80 tout hasard, j'ins=C3=A8re la sortie suivante (les adresses IP sont=
=20
volontairement masqu=C3=A9es).

~ $ sudo /etc/init.d/networking restart
/etc/network/options is deprecated. Setting up IP spoofing=20
protection...done (rp_filter). Reconfiguring network=20
interfaces...ifup: interface lo already configured Internet=20
Software Consortium DHCP Client 2.0pl5 Copyright 1995, 1996, 1997,=20
1998, 1999 The Internet Software Consortium. All rights reserved.=20
Please contribute if you find this software useful. For info,=20
please visit http://www.isc.org/dhcp-contrib.html sit0: unknown=20
hardware address type 776 sit0: unknown hardware address type 776=20
Listening on LPF/eth0/00:11:95:63:c2:7d Sending on=20
LPF/eth0/00:11:95:63:c2:7d Sending on=20
Socket/fallback/fallback-net DHCPREQUEST on eth0 to=20
255.255.255.255 port 67 DHCPACK from xx.xxx.xxx.x SIOCADDRT: File=20
exists bound to xx.xxx.xxx.xxx -- renewal in 45629 seconds.=20

Merci =C3=A0 tous pour votre aide,
--=20
Matthias

1 réponse

Avatar
vigi98
Tu dois avoir un script ifupdown qui fait le boulot. Enlève le script
networking du démarrage si c'est le cas (tu vas dans /etc/rc.3 et tu
effaces le lien correpondant. Idem dans rc.5. Tu peux aussi utiliser
ksysv si tu l'as).