By cam73
Upgraded ubuntu in droplet (do-release-upgrade). Currently it is 16.04 Logged in.
#ping -c3 google.com
ping: unknown host
sudo service networking status
neworking.service
Loaded: masked (/dev/null; bad)
Active: inactive (dead)
Do not know why it was masked but I did unmask. And then again
sudo service networking status
networking.service - LSB: Raise network interfaces.
Loaded: loaded (/etc/init.d/networking: bad; vendor preset: enabled)
Drop-In: /run/systemd/generator/networking.service.d
50-insserv.conf-$network.conf
Active: active (exited) since Sat 2018-08-11 15:04:02 MSK; 16 min ago
Docs: man:systemd-sysv-generator(8)
Process: 943 ExecStop=/etc/init.d/networking stop (code=exited, status=0/SUCCESS
Process: 946 ExecStart=/etc/init.d/networking start (code=exited, status=0/SUCCESS
cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto ens3
iface ens3 inet static
address 162.243.XX.XX
netmask 255.255.255.0
gateway 162.243.XX.1
dns-nameservers 8.8.8.8 8.8.4.4
ifconfig - a
ens3 Link encap:Ethernet HWaddr 00:1b:fc:2d:21:3b
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:38337 errors:0 dropped:0 overruns:0 frame:0
TX packets:38337 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:3591223 (3.5 MB) TX bytes:3591223 (3.5 MB)
As I understand, networking service is not working properly. There is nothing in /var/log/syslog or in journalctl -u NetworkManager
I did
sudo ip addr flush dev ens3
sudo service networking restart
But no ip address appear in ens3 interface
Any help appreciated
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Were you able to resolve this? I’m getting the same error after upgrading to 18.04
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.