Network manager

Bonjour,
le network manager Debian est-il identique à celui d’Ubuntu ?

dernièrement j’ai installe Ubuntu 17.10 SERVER,
pas de mode graphique, j’ai rajouté gnome,
je n’ai pas trouvé trace de network manager
mais des exécutables comme nmcli,
j’ai donc paramétré le reseau passerelle à la "main"
à vous lire

Que retourne
commande en root
systemctl status NetworkManager.service

Edit: si tu as pu utiliser nmcli c’est que le service est bien démarré.
En fait je n’ai pas bien compris la question

Si tu cherches à configurer graphiquement des connexions réseaux il faut bien entendu démarrer une session graphique (Gnome dans ton cas).

bonsoir,
cette version linux pour serveur n’a pas de configuration graphique,
presque normal pour un serveur,

j’ai vu que gnome est dans l’environnement desktop,
je l’ai installé

mais pas d’environnement networkmanager,
sous /usr/bin des exécutables comme nmXX, plus particulièrement nmcli.

nmcli accepte l’interactif mais ne configure pas les paramètres,
ceux-ci doivent être dans un fichier, comme if-up-enp7s0 et ou 8s0

sous réserve,
je pense qu’il faut le login root à la connexion initiale et non pas user,
c’est rapide il me semble avoir vu les 3 écrans de networkmanager dans la barre de tâche ,
activité, jour/heure et à droite NM

je vais voir si les vieilles astuces fonctionnen,
plusieurs users, changer de users et indiquer root

bonsoir,
le coup de root ctrl alt f4,

comme tu m’a indiqué, j’ai ceci

jb1@alpha30:~$ su -
Mot de passe : 
root@alpha30:~# systemctl status NetworkManager.service
● NetworkManager.service - Network Manager
   Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2018-03-15 17:28:55 CET; 2min 20s ago
     Docs: man:NetworkManager(8)
 Main PID: 954 (NetworkManager)
    Tasks: 3 (limit: 4915)
   Memory: 10.8M
      CPU: 371ms
   CGroup: /system.slice/NetworkManager.service
           └─954 /usr/sbin/NetworkManager --no-daemon

mars 15 17:28:56 alpha30 NetworkManager[954]: <info>  [1521131336.3028] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
mars 15 17:28:56 alpha30 NetworkManager[954]: <info>  [1521131336.3047] manager: (enp7s0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
mars 15 17:28:56 alpha30 NetworkManager[954]: <info>  [1521131336.3064] manager: (enp8s0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/3)
mars 15 17:28:56 alpha30 NetworkManager[954]: <warn>  [1521131336.3184] Error: failed to open /run/network/ifstate
mars 15 17:28:56 alpha30 NetworkManager[954]: <info>  [1521131336.3222] urfkill disappeared from the bus
mars 15 17:28:56 alpha30 NetworkManager[954]: <info>  [1521131336.3321] ModemManager available in the bus
mars 15 17:28:56 alpha30 NetworkManager[954]: <info>  [1521131336.3348] manager: startup complete
mars 15 17:28:56 alpha30 NetworkManager[954]: <info>  [1521131336.6834] device (enp7s0): link connected
mars 15 17:29:06 alpha30 NetworkManager[954]: <info>  [1521131346.3343] manager: rfkill: WiFi hardware radio set enabled
mars 15 17:29:06 alpha30 NetworkManager[954]: <info>  [1521131346.3343] manager: rfkill: WWAN hardware radio set enabled
root@alpha30:~# 

pour ifstate ,je n’ai pas compris google, et pas de man

encore de la lecture,
j’ai fait le resolv.conf à la main
enp8s0 a encore des malheurs
je verrais cela demain aprés le contrôle technique de mon vélo

root@alpha30:~# journalctl -u NetworkManager.service
-- Logs begin at Thu 2018-03-15 18:28:10 CET, end at Thu 2018-03-15 18:31:32 CET. --
mars 15 18:28:11 alpha30 systemd[1]: Starting Network Manager...
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.8125] NetworkManager (version 1.8.4) is starting... (for the first time)
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.8127] Read config: /etc/NetworkManager/NetworkManager.conf (lib: 10-dns-resolved.conf, 10-globally-managed-devices.conf) (run: netplan.conf) (etc: default-wifi-powersave-on.conf)
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.8417] manager[0x5646165ec040]: monitoring kernel firmware directory '/lib/firmware'.
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.8418] monitoring ifupdown state file '/run/network/ifstate'.
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.8452] policy: hostname management mode: default
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.8456] dns-mgr[0x5646165f8950]: init: dns=systemd-resolved, rc-manager=symlink, plugin=systemd-resolved
mars 15 18:28:11 alpha30 systemd[1]: Started Network Manager.
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9597] init!
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9677]       interface-parser: parsing file /etc/network/interfaces
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9735]       interface-parser: finished parsing file /etc/network/interfaces
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9738] guessed connection type (enp7s0) = 802-3-ethernet
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9739] update_connection_setting_from_if_block: name:enp7s0, type:802-3-ethernet, id:Ifupdown (enp7s0), uuid: c15d7fd0-e3f1-0baf-ad7a-c471df071cb4
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9741] addresses count: 1
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9741] No dns-nameserver configured in /etc/network/interfaces
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9742] adding enp7s0 to connections
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9742] adding iface enp7s0 to eni_ifaces
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9742] autoconnect
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9742] management mode: unmanaged
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9749] devices added (path: /sys/devices/pci0000:00/0000:00:1c.4/0000:07:00.0/net/enp7s0, iface: enp7s0)
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9750] locking wired connection setting
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9751] devices added (path: /sys/devices/pci0000:00/0000:00:1e.0/0000:08:00.0/net/enp8s0, iface: enp8s0)
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9751] device added (path: /sys/devices/pci0000:00/0000:00:1e.0/0000:08:00.0/net/enp8s0, iface: enp8s0): no ifupdown configuration found.
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9751] devices added (path: /sys/devices/virtual/net/lo, iface: lo)
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9751] device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9752] end _init.
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9752] settings: loaded plugin ifupdown: (C) 2008 Canonical Ltd.  To report bugs please use the NetworkManager mailing list. (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-settings-plugin-ifupdown.so
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9752] settings: loaded plugin keyfile: (c) 2007 - 2016 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9753] (375538560) ... get_connections.
mars 15 18:28:11 alpha30 NetworkManager[935]: <info>  [1521134891.9753] (375538560) ... get_connections (managed=false): return empty list.
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.0024] keyfile: new connection /etc/NetworkManager/system-connections/Connexion Ethernet 1 (fa7ac3f3-a23a-4b50-84ad-c51036466d1e,"Connexion Ethernet 1")
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.0314] keyfile: new connection /etc/NetworkManager/system-connections/VPN 1 (04e63f20-249d-4366-b96b-d3a6a46da6ec,"VPN 1")
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.0321] get unmanaged devices count: 1
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2126] settings: hostname: using hostnamed
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2127] settings: hostname changed from (none) to "alpha30"
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2276] dhcp-init: Using DHCP client 'dhclient'
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2276] manager: rfkill: WiFi enabled by radio killswitch; enabled by state file
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2277] manager: rfkill: WWAN enabled by radio killswitch; enabled by state file
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2277] manager: Networking is enabled by state file
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2337] Loaded device plugin: NMBondDeviceFactory (internal)
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2337] Loaded device plugin: NMBridgeDeviceFactory (internal)
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2338] Loaded device plugin: NMDummyDeviceFactory (internal)
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2338] Loaded device plugin: NMEthernetDeviceFactory (internal)
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2338] Loaded device plugin: NMInfinibandDeviceFactory (internal)
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2339] Loaded device plugin: NMIPTunnelDeviceFactory (internal)
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2339] Loaded device plugin: NMMacsecDeviceFactory (internal)
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2339] Loaded device plugin: NMMacvlanDeviceFactory (internal)
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2392] Loaded device plugin: NMTunDeviceFactory (internal)
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2393] Loaded device plugin: NMVethDeviceFactory (internal)
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2393] Loaded device plugin: NMVlanDeviceFactory (internal)
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2393] Loaded device plugin: NMVxlanDeviceFactory (internal)
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2527] Loaded device plugin: NMWifiFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-wifi.so)
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2791] Loaded device plugin: NMWwanFactory (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-wwan.so)
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.2886] Loaded device plugin: NMAtmManager (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-adsl.so)
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.3181] Loaded device plugin: NMBluezManager (/usr/lib/x86_64-linux-gnu/NetworkManager/libnm-device-plugin-bluetooth.so)
mars 15 18:28:12 alpha30 NetworkManager[935]: ((src/devices/nm-device.c:1452)): assertion '<dropped>' failed
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.3323] device (lo): link connected
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.3332] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.3350] manager: (enp7s0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.3369] manager: (enp8s0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/3)
mars 15 18:28:12 alpha30 NetworkManager[935]: <warn>  [1521134892.3469] Error: failed to open /run/network/ifstate
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.3505] urfkill disappeared from the bus
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.3559] ModemManager available in the bus
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.3620] manager: startup complete
mars 15 18:28:12 alpha30 NetworkManager[935]: <info>  [1521134892.7301] device (enp7s0): link connected
mars 15 18:28:22 alpha30 NetworkManager[935]: <info>  [1521134902.3409] manager: rfkill: WiFi hardware radio set enabled
mars 15 18:28:22 alpha30 NetworkManager[935]: <info>  [1521134902.3409] manager: rfkill: WWAN hardware radio set enabled
mars 15 18:30:44 alpha30 NetworkManager[935]: <info>  [1521135044.6462] device (enp8s0): link connected
root@alpha30:~# 

bonne soirée et bonne télè sur la 2 avec le “facteur”