Restarting networking service fails - Ubuntu 16.04
-
Try...
sudo ifdown ens4 sudo ifup -v ens4
-
sudo systemctl restart NetworkManager.service
-
You misspelled dns-nameserver
-
@scottalanmiller
I think it worked...at least I don't see angry red text or the word fail anywhere...itdept@IT-DHCP:~$ sudo ifdown ens4 itdept@IT-DHCP:~$ sudo ifup -v ens4 Configuring interface ens4=ens4 (inet) /bin/run-parts --exit-on-error --verbose /etc/network/if-pre-up.d run-parts: executing /etc/network/if-pre-up.d/ethtool run-parts: executing /etc/network/if-pre-up.d/ifenslave + [ inet = meta ] + IF_BOND_SLAVES= + [ ] + [ ] + [ -z ] + exit run-parts: executing /etc/network/if-pre-up.d/vlan /bin/ip addr add 10.0.33.110/255.255.224.0 broadcast 10.0.63.255 dev en s4 label ens4 /bin/ip link set dev ens4 up /bin/ip route add default via 10.0.32.2 dev ens4 onlink /bin/run-parts --exit-on-error --verbose /etc/network/if-up.d run-parts: executing /etc/network/if-up.d/000resolvconf run-parts: executing /etc/network/if-up.d/ethtool run-parts: executing /etc/network/if-up.d/ifenslave + [ inet = meta ] + [ ] run-parts: executing /etc/network/if-up.d/ip run-parts: executing /etc/network/if-up.d/openssh-server run-parts: executing /etc/network/if-up.d/upstart run-parts: executing /e
-
@black3dynamite Yikes that's embarrassing...thank you.
-
@Markferron -- the little things that will come back and bite you.
-
@dafyre said in Restarting networking service fails - Ubuntu 16.04:
@Markferron -- the little things that will come back and bite you.
You've dealt with me too much. It's too easy for you.
-
@Markferron said in Restarting networking service fails - Ubuntu 16.04:
@dafyre said in Restarting networking service fails - Ubuntu 16.04:
@Markferron -- the little things that will come back and bite you.
You've dealt with me too much. It's too easy for you.
Not so much that, as I've been bitten in my (*@)&#$ more times than I care to count.
-
@dafyre said in Restarting networking service fails - Ubuntu 16.04:
@Markferron said in Restarting networking service fails - Ubuntu 16.04:
@dafyre said in Restarting networking service fails - Ubuntu 16.04:
@Markferron -- the little things that will come back and bite you.
You've dealt with me too much. It's too easy for you.
Not so much that, as I've been bitten in my (*@)&#$ more times than I care to count.
Mark, stop biting him!
-
Okay I'll bite, why the hell are you deploying 16.04?!
-
@DustinB3403 said in Restarting networking service fails - Ubuntu 16.04:
Okay I'll bite, why the hell are you deploying 16.04?!
I'm having issues with 18, and I need to get something up and running quickly. Do plan on moving it to 18 though.
-
@markferron wouldn't the fix here be to fix the issue in 18?
-
@DustinB3403
Hah, probably. Figured this would be the quicker route. -
@Markferron said in Restarting networking service fails - Ubuntu 16.04:
@DustinB3403 said in Restarting networking service fails - Ubuntu 16.04:
Okay I'll bite, why the hell are you deploying 16.04?!
I'm having issues with 18, and I need to get something up and running quickly. Do plan on moving it to 18 though.
Network works a little different with 18.04 and up. Netplan is how you manage your network configuration.
https://netplan.io/ -
@Markferron said in Restarting networking service fails - Ubuntu 16.04:
@DustinB3403 said in Restarting networking service fails - Ubuntu 16.04:
Okay I'll bite, why the hell are you deploying 16.04?!
I'm having issues with 18, and I need to get something up and running quickly. Do plan on moving it to 18 though.
You had issues on 16.04, too.
-
@Markferron said in Restarting networking service fails - Ubuntu 16.04:
@DustinB3403
Hah, probably. Figured this would be the quicker route.Once in a great while that is true, generally working on things that are current is faster. Often in the short run, almost always in the long run.
18.10 is out. So you are a full four versions behind now.
-
I haven't got to muck around with Netplan yet...