Debian/Ethernet : Différence entre versions
De WikiOpenTruc
< Debian
(→Commandes utiles) |
|||
Ligne 35 : | Ligne 35 : | ||
==Commandes utiles== | ==Commandes utiles== | ||
− | |||
− | |||
− | |||
<pre> | <pre> | ||
Ligne 45 : | Ligne 42 : | ||
eno1 ethernet connexion (obtention de la configuration IP) Wired connection 1 | eno1 ethernet connexion (obtention de la configuration IP) Wired connection 1 | ||
lo loopback non-géré | lo loopback non-géré | ||
+ | |||
+ | |||
+ | $ lspci -k | ||
+ | |||
+ | 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04) | ||
+ | Subsystem: Dell 82579LM Gigabit Network Connection | ||
+ | Kernel driver in use: e1000e | ||
+ | Kernel modules: e1000e | ||
+ | |||
</pre> | </pre> | ||
− | |||
==Paramétrage== | ==Paramétrage== |
Version du 23 novembre 2018 à 16:40
Comment faire fonctionner une connexion ethernet pour un ordinateur sous Debian ?
Il peut y avoir plusieurs soucis :
- paramétrage incomplet (inexistant) pour ce type de connexion
- absence de pilote pour gérer la carte réseau derrière la prise RJ45
Cas pratique
Comme pour la plupart des soucis matériels, un coup d'oeil à /var/log est utile.
ls -alt
pour voir les fichiers classés temporellement
messages ... Nov 23 16:24:43 DO790B NetworkManager[500]: <info> [1542986683.7663] policy: auto-activating connection 'Wired connection 1' Nov 23 16:24:43 DO790B NetworkManager[500]: <info> [1542986683.7721] device (eno1): Activation: starting connection 'Wired connection 1' (292c29aa-90e2-4c2a-9b1d-74d76e270210) Nov 23 16:24:43 DO790B NetworkManager[500]: <info> [1542986683.7725] device (eno1): state change: disconnected -> prepare (reason 'none') [30 40 0] Nov 23 16:24:43 DO790B NetworkManager[500]: <info> [1542986683.7733] device (eno1): state change: prepare -> config (reason 'none') [40 50 0] Nov 23 16:24:43 DO790B NetworkManager[500]: <info> [1542986683.7758] device (eno1): state change: config -> ip-config (reason 'none') [50 70 0] Nov 23 16:24:43 DO790B NetworkManager[500]: <info> [1542986683.7764] dhcp4 (eno1): activation: beginning transaction (timeout in 45 seconds) Nov 23 16:24:43 DO790B NetworkManager[500]: <info> [1542986683.7786] dhcp4 (eno1): dhclient started with pid 32716 Nov 23 16:25:28 DO790B NetworkManager[500]: <warn> [1542986728.7352] dhcp4 (eno1): request timed out Nov 23 16:25:28 DO790B NetworkManager[500]: <info> [1542986728.7352] dhcp4 (eno1): state changed unknown -> timeout Nov 23 16:25:28 DO790B NetworkManager[500]: <info> [1542986728.7674] dhcp4 (eno1): canceled DHCP transaction, DHCP client pid 32716 Nov 23 16:25:28 DO790B NetworkManager[500]: <info> [1542986728.7675] dhcp4 (eno1): state changed timeout -> done Nov 23 16:25:28 DO790B NetworkManager[500]: <info> [1542986728.7678] device (eno1): state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5] Nov 23 16:25:28 DO790B NetworkManager[500]: <info> [1542986728.7681] policy: disabling autoconnect for connection 'Wired connection 1'. Nov 23 16:25:28 DO790B NetworkManager[500]: <warn> [1542986728.7683] device (eno1): Activation: failed for connection 'Wired connection 1' Nov 23 16:25:28 DO790B NetworkManager[500]: <info> [1542986728.7689] device (eno1): state change: failed -> disconnected (reason 'none') [120 30 0]
Commandes utiles
$ nmcli device PÉRIPHÉRIQUE TYPE ÉTAT CONNEXION wlx503eaa471fde wifi connecté Orange Airbox-xxxx eno1 ethernet connexion (obtention de la configuration IP) Wired connection 1 lo loopback non-géré $ lspci -k 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04) Subsystem: Dell 82579LM Gigabit Network Connection Kernel driver in use: e1000e Kernel modules: e1000e