/srv/irclogs.ubuntu.com/2019/02/03/#ubuntu-server.txt

tewardzzlatev_: you're welcome (sorry I had errands all day)02:32
tewardzzlatev_: there should be an updated version now :P02:32
super_kozaHi! Each time when I restart my server, or when network parameters change, the server isn't able to get a new IP address. I have to manually run dhclient in order to get an IP address.09:04
super_kozaAny idea what might be the issue here and how to solve it?09:04
blackflowsuper_koza: what's your network configuration like? pastebin?10:05
super_kozaI haven't done anything network wise, after installing the OS.10:23
super_kozaWhat should I paste?10:23
blackflowsuper_koza: your network configuration. if you're running a server, you must know what that is.10:25
super_kozawell I am not experienced, but I am willing to learn :)10:29
super_kozaor at least I am trying to learn10:29
blackflowsuper_koza: default on ubuntu is netplan.io which is just a configuration abstractor for a backend. on server editions, the backend is networkd. can you can pastebin systemd-networkd config? It should be under /etc/systemd/network/<files here>10:31
blackflowalso please pastebin files under /etc/netplan/10:31
zzlatev_teward: yes it is, once again - tnank yo for everything11:13
super_koza@blackflow: Sorry, I was AFK13:35
super_kozaThe folder /etc/systemd/network is empty, there is nothing there :)13:37
super_kozaIn /etc/netplan/ there is only 1 file: 01-netcfg.yaml13:37
super_kozaHere it is: https://pastebin.com/tf9cQJk013:39
super_kozaThis is the network interface that I use: https://pastebin.com/4RcvHs4013:41
super_kozaNotice that it is called eno113:41
blackflowsuper_koza: that's your problem. netplan is configuring enp0s25 instead. I'd say just change that to eno1 in that netplan file  but the $32k question here is why did it change.13:45
super_kozaok, thanks a lot13:46
super_kozaI will give it a try :)13:47
blackflowrun `netplan apply` after you change its config. might disconnect you if you're doing this over ssh.13:47
super_kozaThe only explanation I have for the change is that it might have picked up a small USB dongle when I attached a monitor to it...13:48
blackflowthat's possible I suppose. there have been bug reports of NICs changing names after random hardware is added, removed. but usually it'd be something like different slot in the enp0sX form13:49
blackflownevertheless, you can force and bind the NIC name via its MAC address.13:49

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!