Et bien tu as gagné, il manquait effectivement inet. Et oui il n'y a rien de plus dans le fichier concernant enp4s0 mais avec inet tout marche comme prévu. Un grand merci à toi.
Pour systemctl restart networking ce n'était pas le sujet mais maintenant ça l'est devenu
Voici donc le problème:
root@laptop15:~# systemctl restart networking
Job for networking.service failed because the control process exited with error code.
See "systemctl status networking.service" and "journalctl -xe" for details.
root@laptop15:~# journalctl -xe
Dec 11 20:29:23 laptop15 named[982]: network unreachable resolving './DNSKEY/IN': 2001:500:2::c#53
Dec 11 20:29:23 laptop15 named[982]: network unreachable resolving './NS/IN': 2001:500:2::c#53
Dec 11 20:29:23 laptop15 named[982]: network unreachable resolving './DNSKEY/IN': 2001:500:a8::e#53
Dec 11 20:29:23 laptop15 named[982]: network unreachable resolving './NS/IN': 2001:500:a8::e#53
Dec 11 20:29:23 laptop15 named[982]: network unreachable resolving './DNSKEY/IN': 2001:500:12::d0d#53
Dec 11 20:29:23 laptop15 named[982]: network unreachable resolving './NS/IN': 2001:500:12::d0d#53
Dec 11 20:29:23 laptop15 named[982]: network unreachable resolving './DNSKEY/IN': 2001:500:2d::d#53
Dec 11 20:29:23 laptop15 named[982]: network unreachable resolving './NS/IN': 2001:500:2d::d#53
Dec 11 20:29:23 laptop15 named[982]: network unreachable resolving './DNSKEY/IN': 2001:7fe::53#53
Dec 11 20:29:23 laptop15 named[982]: scheduled loading new zones
Dec 11 20:29:23 laptop15 named[982]: network unreachable resolving './NS/IN': 2001:7fe::53#53
Dec 11 20:29:23 laptop15 named[982]: network unreachable resolving './DNSKEY/IN': 2001:dc3::35#53
Dec 11 20:29:23 laptop15 named[982]: network unreachable resolving './NS/IN': 2001:dc3::35#53
Dec 11 20:29:23 laptop15 named[982]: network unreachable resolving './DNSKEY/IN': 2001:500:1::53#53
Dec 11 20:29:23 laptop15 named[982]: network unreachable resolving './NS/IN': 2001:500:1::53#53
Dec 11 20:29:23 laptop15 named[982]: network unreachable resolving './DNSKEY/IN': 2001:503:ba3e::2:30#53
Dec 11 20:29:23 laptop15 named[982]: network unreachable resolving './NS/IN': 2001:503:ba3e::2:30#53
Dec 11 20:29:23 laptop15 named[982]: network unreachable resolving './DNSKEY/IN': 2001:503:c27::2:30#53
Dec 11 20:29:23 laptop15 named[982]: network unreachable resolving './NS/IN': 2001:503:c27::2:30#53
Dec 11 20:29:23 laptop15 named[982]: any newly configured zones are now loaded
Dec 11 20:29:23 laptop15 named[982]: running
Dec 11 20:29:33 laptop15 named[982]: managed-keys-zone: Unable to fetch DNSKEY set '.': timed out
Dec 11 20:29:33 laptop15 named[982]: resolver priming query complete
Et effectivement:
root@laptop15:~# systemctl status networking.service
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2021-12-11 20:35:21 CET; 14s ago
Docs: man:interfaces(5)
Process: 2839 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Main PID: 2839 (code=exited, status=1/FAILURE)
CPU: 87ms
Dec 11 20:35:21 laptop15 dhclient[2870]: bugs on either our web page at
www.isc.org or in the README file
Dec 11 20:35:21 laptop15 dhclient[2870]: before submitting a bug. These pages explain the proper
Dec 11 20:35:21 laptop15 dhclient[2870]: process and the information we find helpful for debugging.
Dec 11 20:35:21 laptop15 dhclient[2870]:
Dec 11 20:35:21 laptop15 dhclient[2870]: exiting.
Dec 11 20:35:21 laptop15 ifup[2839]: ifup: failed to bring up eth0
Dec 11 20:35:21 laptop15 ifup[2839]: ifup: unknown interface enp4s0
Dec 11 20:35:21 laptop15 systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Dec 11 20:35:21 laptop15 systemd[1]: networking.service: Failed with result 'exit-code'.
Dec 11 20:35:21 laptop15 systemd[1]: Failed to start Raise network interfaces.
~
Dernière modification par Priareos (11-12-2021 20:37:02)