Connexion internet impossible

Bonjour,
Je précise d’abord le noyau de mon système :fab@debian:~$ uname -r 4.0.0-1-amd64
Suite à une récente mise à jour, à chaque démarrage de mon PC, je n’ai plus de connexion Internet, et je dois exécuter en mode console le fichier suivant :

fab@debian:~$ su Mot de passe : root@debian:/home/fab# /etc/init.d/networking start
Merci.

Tu utilises un logiciel de connexion, genre network-manager ?

Bonsoir,
Oups !!
Oui, c’est NetworkManager. Voici les fichiers :

[code][main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false[/code]

[code]# 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

allow-hotplug eth1
iface eth1 inet dhcp[/code]

Tu as quelle version de Debian ?

J’ai modifié mon post initial, désolé.
Ma distribution est une Debian Sid.

J’ai vécu ça il y a quelques semaines. C’était du à la nouvelle dépendance de network-manager à systemd.
Quels paquets exactement ont été mis à jour ? Utilises-tu systemd ?

Bonsoir,
Désolé pour la réponse tardive, mais je suis un peu débordé en ce moment !

Oui

Je ne sais pas, j’ai upgradé sans trop vérifier les paquets qui seraient mis à jour.

bonsoir.

[quote]# 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

allow-hotplug eth1
iface eth1 inet dhcp[/quote][/quote]

chez moi:

[code]# 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[/code]

et rien d’autre.

Bonsoir,
Si je modifie mon fichier interfaces comme le tien, plus de connexion possible avec la commande /etc/init.d/networking start

[quote=“Fab83”]Bonsoir,
Si je modifie mon fichier interfaces comme le tien, plus de connexion possible avec la commande /etc/init.d/networking start[/quote]

mais avez vous une connection au boot?

Pas de connexion au boot.

Pour info car c’est nouveau, il y a aussi :apt search systemd

Il est mignon apt !
Merci pour l’astuce.

Il fait pas le café, et il apporte pas les croissants,
mais il fait presque tout ce que faisait (et fait encore) apt-get.

Il a en plus une option qui va en aider beaucoup :

[quote="“man apt”"]…
edit-sources
La commande edit-sources permet de modifier le fichier sources.list et fournit des vérifications de sécurité de base.
…[/quote]

Bonsoir,

[code]fab@debian:~$ apt search systemd
En train de trier… Fait
Recherche en texte intégral… Fait
dh-systemd/testing,unstable 1.23 all
debhelper add-on to handle systemd unit files

duck/stable,testing,unstable 0.7 all
checks URLs in debian/control and debian/upstream files

gnome-logs/stable,testing,unstable 3.14.2-1 amd64
viewer for the systemd journal.

golang-coreos-log-dev/stable,testing,unstable 0.0~git20140508-2 all
simple logging library for Go

golang-go-systemd-dev/stable,testing,unstable 2-1 all
Go client bindings for systemd socket activation, journal and dbus

init/testing,unstable,now 1.23 amd64 [installé, automatique]
utilitaires init System-V-like - métapaquet

init-system-helpers/testing,unstable,now 1.23 all [installé, automatique]
outils d’assistance pour tous les systèmes init

libghc-libsystemd-journal-dev/unstable 1.2.0-3+b3 amd64
Haskell bindings to libsystemd-journal

libghc-libsystemd-journal-doc/unstable 1.2.0-3 all
Haskell bindings to libsystemd-journal; documentation

libghc-libsystemd-journal-prof/unstable 1.2.0-3+b3 amd64
Haskell bindings to libsystemd-journal; profiling libraries

libnss-mymachines/unstable 220-4 amd64
nss module to resolve hostnames for local container instances

libpam-systemd/unstable,now 220-4 amd64 [installé, automatique]
system and service manager - PAM module

libsystemd-daemon-dev/unstable 220-4 amd64
systemd utility library (transitional package)

libsystemd-daemon0/testing 215-18 amd64 [configuration restante]
systemd utility library (deprecated)

libsystemd-dev/unstable 220-4 amd64
systemd utility library - development files

libsystemd-id128-0/testing 215-18 amd64 [configuration restante]
systemd 128 bit ID utility library (deprecated)

libsystemd-id128-dev/unstable 220-4 amd64
systemd 128 bit ID utility library (transitional package)

libsystemd-journal-dev/unstable 220-4 amd64
systemd journal utility library (transitional package)

libsystemd-journal0/testing 215-18 amd64 [configuration restante]
systemd journal utility library (deprecated)

libsystemd-login-dev/unstable 220-4 amd64
systemd login utility library (transitional package)

libsystemd-login0/testing 215-18 amd64 [configuration restante]
systemd login utility library (deprecated)

libsystemd0/unstable,now 220-4 amd64 [installé, automatique]
systemd utility library

light-locker/testing,unstable 1.6.0-2 amd64
simple screen locker for lightDM display manager

live-config-systemd/testing,unstable 5.0~a3-1 all
Live System Configuration Components (systemd backend)

nagios-plugins-contrib/stable,testing,unstable 14.20141104 amd64
Plugins for nagios compatible monitoring systems

needrestart/testing,unstable 2.1-1 all
check which daemons need to be restarted after library upgrades

openstack-pkg-tools/unstable 25 all
Tools and scripts for building Openstack packages in Debian

pipexec/testing,unstable 2.5.2-1 amd64
create a directed graph of processes and pipes

python-dbusmock/testing,unstable 0.15.1-1 all
mock D-Bus objects for tests (Python 2)

python3-dbusmock/testing,unstable 0.15.1-1 all
mock D-Bus objects for tests (Python 3)

python3-systemd/unstable 220-4 amd64
Python 3 bindings for systemd

systemd/unstable,now 220-4 amd64 [installé, automatique]
system and service manager

systemd-cron/testing,unstable 1.5.2-1 all
systemd units to provide cron daemon & anacron functionality

systemd-dbg/unstable 220-4 amd64
system and service manager (debug symbols)

systemd-gui/testing,unstable 1:3-3 all
transitional package for systemd-ui

systemd-shim/stable,testing,unstable,now 9-1 amd64 [installé]
shim for systemd

systemd-sysv/unstable 220-4 amd64
system and service manager - SysV links

systemd-ui/testing,unstable 3-3 amd64
graphical frontend for systemd

sysvinit/testing,unstable,now 2.88dsf-59.2 amd64 [installé]
utilitaires init System-V-like - paquet de transition

fab@debian:~$[/code]

systemd est donc bien installé. Est-ce que tu l’utilises ? (Pour le savoir, tu peux nous poster le contenu de ton fichier /boot/grub/grub.cfg)

[code]#

DO NOT EDIT THIS FILE

It is automatically generated by grub-mkconfig using templates

from /etc/grub.d and settings from /etc/default/grub

BEGIN /etc/grub.d/00_header

if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
if [ “${next_entry}” ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="–id"
else
menuentry_id_option=""
fi

export menuentry_id_option

if [ “${prev_saved_entry}” ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z “${boot_once}” ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}

if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos5’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 --hint=‘hd0,msdos5’ cd1a112f-6e61-4684-b887-43cb24a5d817
else
search --no-floppy --fs-uuid --set=root cd1a112f-6e61-4684-b887-43cb24a5d817
fi
font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
if [ “${recordfail}” = 1 ] ; then
set timeout=30
else
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5

Fallback normal timeout code in case the timeout_style feature is

unavailable.

else
set timeout=5
fi
fi

END /etc/grub.d/00_header

BEGIN /etc/grub.d/05_debian_theme

set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue

END /etc/grub.d/05_debian_theme

BEGIN /etc/grub.d/10_linux

function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry ‘Debian GNU/Linux’ --class debian --class gnu-linux --class gnu --class os $menuentry_id_option ‘gnulinux-simple-cd1a112f-6e61-4684-b887-43cb24a5d817’ {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint=‘hd0,msdos1’ 54786cfd-92ea-4c33-a502-e337e870213d
else
search --no-floppy --fs-uuid --set=root 54786cfd-92ea-4c33-a502-e337e870213d
fi
echo 'Loading Linux 4.0.0-1-amd64 …'
linux /vmlinuz-4.0.0-1-amd64 root=UUID=cd1a112f-6e61-4684-b887-43cb24a5d817 ro quiet
echo 'Loading initial ramdisk …'
initrd /initrd.img-4.0.0-1-amd64
}
submenu ‘Advanced options for Debian GNU/Linux’ $menuentry_id_option ‘gnulinux-advanced-cd1a112f-6e61-4684-b887-43cb24a5d817’ {
menuentry ‘Debian GNU/Linux, with Linux 4.0.0-1-amd64’ --class debian --class gnu-linux --class gnu --class os $menuentry_id_option ‘gnulinux-4.0.0-1-amd64-advanced-cd1a112f-6e61-4684-b887-43cb24a5d817’ {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint=‘hd0,msdos1’ 54786cfd-92ea-4c33-a502-e337e870213d
else
search --no-floppy --fs-uuid --set=root 54786cfd-92ea-4c33-a502-e337e870213d
fi
echo 'Loading Linux 4.0.0-1-amd64 …'
linux /vmlinuz-4.0.0-1-amd64 root=UUID=cd1a112f-6e61-4684-b887-43cb24a5d817 ro quiet
echo 'Loading initial ramdisk …'
initrd /initrd.img-4.0.0-1-amd64
}
menuentry ‘Debian GNU/Linux, with Linux 4.0.0-1-amd64 (sysvinit)’ --class debian --class gnu-linux --class gnu --class os $menuentry_id_option ‘gnulinux-4.0.0-1-amd64-init-sysvinit-cd1a112f-6e61-4684-b887-43cb24a5d817’ {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint=‘hd0,msdos1’ 54786cfd-92ea-4c33-a502-e337e870213d
else
search --no-floppy --fs-uuid --set=root 54786cfd-92ea-4c33-a502-e337e870213d
fi
echo 'Loading Linux 4.0.0-1-amd64 …'
linux /vmlinuz-4.0.0-1-amd64 root=UUID=cd1a112f-6e61-4684-b887-43cb24a5d817 ro quiet init=/lib/sysvinit/init
echo 'Loading initial ramdisk …'
initrd /initrd.img-4.0.0-1-amd64
}
menuentry ‘Debian GNU/Linux, with Linux 4.0.0-1-amd64 (systemd)’ --class debian --class gnu-linux --class gnu --class os $menuentry_id_option ‘gnulinux-4.0.0-1-amd64-init-systemd-cd1a112f-6e61-4684-b887-43cb24a5d817’ {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint=‘hd0,msdos1’ 54786cfd-92ea-4c33-a502-e337e870213d
else
search --no-floppy --fs-uuid --set=root 54786cfd-92ea-4c33-a502-e337e870213d
fi
echo 'Loading Linux 4.0.0-1-amd64 …'
linux /vmlinuz-4.0.0-1-amd64 root=UUID=cd1a112f-6e61-4684-b887-43cb24a5d817 ro quiet init=/lib/systemd/systemd
echo 'Loading initial ramdisk …'
initrd /initrd.img-4.0.0-1-amd64
}
menuentry ‘Debian GNU/Linux, with Linux 4.0.0-1-amd64 (recovery mode)’ --class debian --class gnu-linux --class gnu --class os $menuentry_id_option ‘gnulinux-4.0.0-1-amd64-recovery-cd1a112f-6e61-4684-b887-43cb24a5d817’ {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos1’
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint=‘hd0,msdos1’ 54786cfd-92ea-4c33-a502-e337e870213d
else
search --no-floppy --fs-uuid --set=root 54786cfd-92ea-4c33-a502-e337e870213d
fi
echo 'Loading Linux 4.0.0-1-amd64 …'
linux /vmlinuz-4.0.0-1-amd64 root=UUID=cd1a112f-6e61-4684-b887-43cb24a5d817 ro single
echo 'Loading initial ramdisk …'
initrd /initrd.img-4.0.0-1-amd64
}
}

END /etc/grub.d/10_linux

BEGIN /etc/grub.d/20_linux_xen

END /etc/grub.d/20_linux_xen

BEGIN /etc/grub.d/30_os-prober

END /etc/grub.d/30_os-prober

BEGIN /etc/grub.d/30_uefi-firmware

END /etc/grub.d/30_uefi-firmware

BEGIN /etc/grub.d/40_custom

This file provides an easy way to add custom menu entries. Simply type the

menu entries you want to add after this comment. Be careful not to change

the ‘exec tail’ line above.

END /etc/grub.d/40_custom

BEGIN /etc/grub.d/41_custom

if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z “${config_directory}” -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi

END /etc/grub.d/41_custom

[/code]

Bonjour,
Je pense avoir résolu le problème en réinstallant le paquet systemd-sysv.