You are not logged in.
I am using systemd-networkd and systemd-resolved to set up my internet connection. Unfortunately, there seems to be a problem with my hostname. Here is the message of "systemctl status systemd-resolved":
● systemd-resolved.service - Network Name Resolution
Loaded: loaded (/usr/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled)
Active: active (running) since Die 2015-09-22 01:13:51 CEST; 36s ago
Docs: man:systemd-resolved.service(8)
Main PID: 421 (systemd-resolve)
Status: "Processing requests..."
CGroup: /system.slice/systemd-resolved.service
└─421 /usr/lib/systemd/systemd-resolved
Sep 22 01:13:51 lebesgue systemd[1]: Starting Network Name Resolution...
Sep 22 01:13:51 lebesgue systemd-resolved[421]: Using system hostname 'lebesgue'.
Sep 22 01:13:51 lebesgue systemd[1]: Started Network Name Resolution.
Sep 22 01:13:56 lebesgue systemd-resolved[421]: Detected conflict on lebesgue IN AAAA fe80::5246:5dff:fe70:5dfd
Sep 22 01:13:56 lebesgue systemd-resolved[421]: Hostname conflict, changing published hostname from 'lebesgue' to 'lebesgue4'.
Sep 22 01:13:58 lebesgue systemd-resolved[421]: Detected conflict on lebesgue4 IN AAAA fe80::6670:2ff:fef9:6f33
Sep 22 01:13:58 lebesgue systemd-resolved[421]: Hostname conflict, changing published hostname from 'lebesgue4' to 'lebesgue9'.
Sep 22 01:13:59 lebesgue systemd-resolved[421]: Detected conflict on lebesgue9 IN AAAA fe80::5246:5dff:fe70:5dfd
Sep 22 01:13:59 lebesgue systemd-resolved[421]: Hostname conflict, changing published hostname from 'lebesgue9' to 'lebesgue15'.
Sep 22 01:14:25 lebesgue systemd-resolved[421]: Switching to DNS server 192.168.1.1 for interface enp3s0.
Here is my /etc/hosts:
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost lebesgue
::1 localhost.localdomain localhost lebesgue
192.168.1.1 router.localdomain router
I have tried to remove "lebesgue" from the first two lines, but without any success...
My settings in /etc/systemd/network/wired.network:
[Match]
Name=enp3s0
[Network]
Address=192.168.1.99/24
Gateway=192.168.1.1
DNS=192.168.1.1
DNS=8.8.8.8
DNS=8.8.4.4
My settings in /etc/nsswitch.conf:
# Begin /etc/nsswitch.conf
passwd: files
group: files
shadow: files
publickey: files
hosts: files resolve lebesgue
networks: files
protocols: files
services: files
ethers: files
rpc: files
netgroup: files
# End /etc/nsswitch.conf
Does anybody knows, what the problem is here? The network seems to work fine though.
Offline
What is "lebesgue" doing in /etc/nsswitch.conf? Do you have a /lib/libnss_lebesgue.so.X?
Offline