0

cat /etc/network/interfaces

# interfaces(5) file used by ifup(8) and ifdown(8)
# The loopback network interface
#auto lo
#iface lo inet loopback

auto enp0s3
iface enp0s3 inet dhcp
#iface enp0s3 inet loopback

The command to restart hangs saying this: sudo /etc/init.d/networking restart [....] Restarting networking (via systemctl): networking.service

chili555
  • 61,330
Vis
  • 1

2 Answers2

0

Comment these lines-

auto enp0s3

iface enp0s3 inet dhcp

and un-comment below lines

auto lo

iface lo inet loopback

and restart network service

systemctl restart network-manager

hope this should work for you. as your system have network manager and network manager don't manage this file-

/etc/network/interfaces

JackyChan
  • 320
0

Thank you both for your help. Along with the above issue, this too was happening: Internet is working, but Firefox 67 browser cannot connect after update

Vis
  • 1