17.10 network changes

David Fletcher dave at thefletchers.net
Mon Oct 2 18:23:19 UTC 2017


On Mon, 2017-10-02 at 18:14 +0100, David wrote:
> 1. What is the name of your network device?  I had an update change
> the ethernet device name from eth0 to enp3s1 or some such nonsense
> that is supposed to give consistent naming even if I add in
> additional adapters into my laptop.  You can grep through dmesg to
> find out.  Or you can find the name out when you ip addr .

A couple of years ago I did a fresh server install which says it is
"Ubuntu 14.04.5 LTS". I found at the time that the network device was
no longer called eth1. I just "went with the flow" and edited the
interfaces file thus:-

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto em1
#iface em1 inet dhcp
#Changes to:-
iface em1 inet static
  address          192.168.2.2
  netmask          255.255.255.0
  network          192.168.2.0
  broadcast        192.168.2.255
  gateway          192.168.2.1
  dns-nameservers  208.67.222.222 208.67.220.220 192.168.2.1 8.8.8.8

For me these settings have been working ever since. I don't know know
or care why eth1 has changed to em1, just that it works.

Dave




More information about the kubuntu-users mailing list