I cannot configure enp2s0 interface despite going through forum and many instruction pages. The interface does not show ip address in configuration though the interface is UP.
Cable is working. Tested on other devices, and with tester.
These are the contents of /etc/network/interfaces file:
#the loopback network interface
auto lo
iface lo inet loopb
auto enp2s0
iface enp2s0 int static
address 192.168.1.10
gateway 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
iface enp2s0 inet dhcp
I have already tried restarting the Network Manager and bringing the interface down and back up again. What else do I need to do?