Pour installer le réseau sous Ubuntu, il n’est pas rare que je supprime les services NetworkManager & Avahi qui par moment apportent plus de problème que de service.
Les services que je stoppe :
$ systemctl disable avahi-daemon.socket
$ systemctl disable avahi-daemon.service
$ systemctl disable NetworkManager.service
Les fichiers que je modifie :
Dans /etc/systemd/resolved.conf je modifie DNSSEC.
$ cat /etc/systemd/resolved.conf
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See resolved.conf(5) for details
[Resolve]
#DNS=
#FallbackDNS=8.8.8.8 8.8.4.4 2001:4860:4860::8888 2001:4860:4860::8844
#Domains=
#LLMNR=yes
DNSSEC=off
Le fichier par /etc/network/interfaces défaut :
$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
J'ajoute dans ce fichier ma carte réseau
$ reboot
Voici la configuration hard & soft :
La version de Ubuntu :
$ lsb_release -rd
Description: Ubuntu 16.04.5 LTS
Release: 16.04
La carte réseau :
$ lspci | grep -i eth
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 05)
$ sudo lshw -C network
*-network
description: Ethernet interface
produit: Ethernet Connection I217-LM
fabriquant: Intel Corporation
identifiant matériel: 19
information bus: pci@0000:00:19.0
nom logique: enp0s25
version: 05
numéro de série: 64:00:6a:72:5f:c8
taille: 100Mbit/s
capacité: 1Gbit/s
bits: 32 bits
horloge: 33MHz
fonctionnalités: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.13-4 ip=10.3.0.159 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
ressources: irq:28 mémoire:fb200000-fb21ffff mémoire:fb239000-fb239fff portE/S:f020(taille=32)
Le Driver :
$ sudo lsmod | grep e1
e1000e 249856 0
ptp 20480 1 e1000e