Network not starting when logging into 17.10

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I am having to run the following command everytime I login to my Ubuntu



sudo netplan apply


I am unsure what I have done to make it only start when I run this command and I am wondering how I go about fixing it so that the network netplan starts automatically.



If you need me to copy and paste files please let me know which files you need.



I have tried to see if systemctl status netplan was working but it says Unit netplan.service could not be found. So I take it I have not added it to systemctl, wondering how would I add this please.



here is my netplan located at /etc/netplan/01-network-manager-all.yaml



network:
version: 2
ethernets:
eth0:
dhcp4: true
addresses:
- 192.168.0.20/27
gateway4: 192.168.0.1
match:
macaddress: E0:D5:5E:02:29:84
nameservers:
addresses:
- 192.168.23.2
- 8.8.8.8
search:
- exemplary
set-name: eth0


@dpb this was a new install fresh from Ubuntu own website..
as for /run/systemd/network it's a folder not a text editor file.



inside that it has the following.



File: 10-netplan-eth0.link 

[Match]
MACAddress=E0:D5:5E:02:29:84

[Link]
Name=eth0
WakeOnLan=off


as well as



File: 10-netplan-eth0.network Modified 

[Match]
MACAddress=E0:D5:5E:02:29:84
Name=eth0

[Network]
DHCP=ipv4
Address=192.168.0.20/27
Gateway=192.168.0.1
DNS=192.168.0.1
DNS=8.8.8.8
Domains=exemplary

[DHCP]
UseMTU=true
RouteMetric=100


under /run/systemd/netif
I have 3 folders leases, links, lldp and a file named state







share|improve this question






















  • At boot time, what are the contents of /run/systemd/network and /run/systemd/netif? Also, was this a new install? upgrade?
    – dpb
    Apr 23 at 19:53











  • Also, what file are you modifying to write your netplan configuration? Type out the file path in your question, and paste the contents in please.
    – dpb
    Apr 23 at 20:22










  • @dpb this was a new install fresh from Ubuntu own website.. as for /run/systemd/network it's a folder - I have edited the question to show the files inside folders
    – RussellHarrower
    Apr 24 at 0:07











  • add the netplan code.
    – RussellHarrower
    Apr 24 at 0:19










  • Ah, I'm sorry. I jumped ahead of myself a bit. Are you using desktop or server?
    – dpb
    Apr 24 at 2:41















up vote
1
down vote

favorite












I am having to run the following command everytime I login to my Ubuntu



sudo netplan apply


I am unsure what I have done to make it only start when I run this command and I am wondering how I go about fixing it so that the network netplan starts automatically.



If you need me to copy and paste files please let me know which files you need.



I have tried to see if systemctl status netplan was working but it says Unit netplan.service could not be found. So I take it I have not added it to systemctl, wondering how would I add this please.



here is my netplan located at /etc/netplan/01-network-manager-all.yaml



network:
version: 2
ethernets:
eth0:
dhcp4: true
addresses:
- 192.168.0.20/27
gateway4: 192.168.0.1
match:
macaddress: E0:D5:5E:02:29:84
nameservers:
addresses:
- 192.168.23.2
- 8.8.8.8
search:
- exemplary
set-name: eth0


@dpb this was a new install fresh from Ubuntu own website..
as for /run/systemd/network it's a folder not a text editor file.



inside that it has the following.



File: 10-netplan-eth0.link 

[Match]
MACAddress=E0:D5:5E:02:29:84

[Link]
Name=eth0
WakeOnLan=off


as well as



File: 10-netplan-eth0.network Modified 

[Match]
MACAddress=E0:D5:5E:02:29:84
Name=eth0

[Network]
DHCP=ipv4
Address=192.168.0.20/27
Gateway=192.168.0.1
DNS=192.168.0.1
DNS=8.8.8.8
Domains=exemplary

[DHCP]
UseMTU=true
RouteMetric=100


under /run/systemd/netif
I have 3 folders leases, links, lldp and a file named state







share|improve this question






















  • At boot time, what are the contents of /run/systemd/network and /run/systemd/netif? Also, was this a new install? upgrade?
    – dpb
    Apr 23 at 19:53











  • Also, what file are you modifying to write your netplan configuration? Type out the file path in your question, and paste the contents in please.
    – dpb
    Apr 23 at 20:22










  • @dpb this was a new install fresh from Ubuntu own website.. as for /run/systemd/network it's a folder - I have edited the question to show the files inside folders
    – RussellHarrower
    Apr 24 at 0:07











  • add the netplan code.
    – RussellHarrower
    Apr 24 at 0:19










  • Ah, I'm sorry. I jumped ahead of myself a bit. Are you using desktop or server?
    – dpb
    Apr 24 at 2:41













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I am having to run the following command everytime I login to my Ubuntu



sudo netplan apply


I am unsure what I have done to make it only start when I run this command and I am wondering how I go about fixing it so that the network netplan starts automatically.



If you need me to copy and paste files please let me know which files you need.



I have tried to see if systemctl status netplan was working but it says Unit netplan.service could not be found. So I take it I have not added it to systemctl, wondering how would I add this please.



here is my netplan located at /etc/netplan/01-network-manager-all.yaml



network:
version: 2
ethernets:
eth0:
dhcp4: true
addresses:
- 192.168.0.20/27
gateway4: 192.168.0.1
match:
macaddress: E0:D5:5E:02:29:84
nameservers:
addresses:
- 192.168.23.2
- 8.8.8.8
search:
- exemplary
set-name: eth0


@dpb this was a new install fresh from Ubuntu own website..
as for /run/systemd/network it's a folder not a text editor file.



inside that it has the following.



File: 10-netplan-eth0.link 

[Match]
MACAddress=E0:D5:5E:02:29:84

[Link]
Name=eth0
WakeOnLan=off


as well as



File: 10-netplan-eth0.network Modified 

[Match]
MACAddress=E0:D5:5E:02:29:84
Name=eth0

[Network]
DHCP=ipv4
Address=192.168.0.20/27
Gateway=192.168.0.1
DNS=192.168.0.1
DNS=8.8.8.8
Domains=exemplary

[DHCP]
UseMTU=true
RouteMetric=100


under /run/systemd/netif
I have 3 folders leases, links, lldp and a file named state







share|improve this question














I am having to run the following command everytime I login to my Ubuntu



sudo netplan apply


I am unsure what I have done to make it only start when I run this command and I am wondering how I go about fixing it so that the network netplan starts automatically.



If you need me to copy and paste files please let me know which files you need.



I have tried to see if systemctl status netplan was working but it says Unit netplan.service could not be found. So I take it I have not added it to systemctl, wondering how would I add this please.



here is my netplan located at /etc/netplan/01-network-manager-all.yaml



network:
version: 2
ethernets:
eth0:
dhcp4: true
addresses:
- 192.168.0.20/27
gateway4: 192.168.0.1
match:
macaddress: E0:D5:5E:02:29:84
nameservers:
addresses:
- 192.168.23.2
- 8.8.8.8
search:
- exemplary
set-name: eth0


@dpb this was a new install fresh from Ubuntu own website..
as for /run/systemd/network it's a folder not a text editor file.



inside that it has the following.



File: 10-netplan-eth0.link 

[Match]
MACAddress=E0:D5:5E:02:29:84

[Link]
Name=eth0
WakeOnLan=off


as well as



File: 10-netplan-eth0.network Modified 

[Match]
MACAddress=E0:D5:5E:02:29:84
Name=eth0

[Network]
DHCP=ipv4
Address=192.168.0.20/27
Gateway=192.168.0.1
DNS=192.168.0.1
DNS=8.8.8.8
Domains=exemplary

[DHCP]
UseMTU=true
RouteMetric=100


under /run/systemd/netif
I have 3 folders leases, links, lldp and a file named state









share|improve this question













share|improve this question




share|improve this question








edited Apr 24 at 2:36









dpb

4,89911545




4,89911545










asked Apr 23 at 18:59









RussellHarrower

1163




1163











  • At boot time, what are the contents of /run/systemd/network and /run/systemd/netif? Also, was this a new install? upgrade?
    – dpb
    Apr 23 at 19:53











  • Also, what file are you modifying to write your netplan configuration? Type out the file path in your question, and paste the contents in please.
    – dpb
    Apr 23 at 20:22










  • @dpb this was a new install fresh from Ubuntu own website.. as for /run/systemd/network it's a folder - I have edited the question to show the files inside folders
    – RussellHarrower
    Apr 24 at 0:07











  • add the netplan code.
    – RussellHarrower
    Apr 24 at 0:19










  • Ah, I'm sorry. I jumped ahead of myself a bit. Are you using desktop or server?
    – dpb
    Apr 24 at 2:41

















  • At boot time, what are the contents of /run/systemd/network and /run/systemd/netif? Also, was this a new install? upgrade?
    – dpb
    Apr 23 at 19:53











  • Also, what file are you modifying to write your netplan configuration? Type out the file path in your question, and paste the contents in please.
    – dpb
    Apr 23 at 20:22










  • @dpb this was a new install fresh from Ubuntu own website.. as for /run/systemd/network it's a folder - I have edited the question to show the files inside folders
    – RussellHarrower
    Apr 24 at 0:07











  • add the netplan code.
    – RussellHarrower
    Apr 24 at 0:19










  • Ah, I'm sorry. I jumped ahead of myself a bit. Are you using desktop or server?
    – dpb
    Apr 24 at 2:41
















At boot time, what are the contents of /run/systemd/network and /run/systemd/netif? Also, was this a new install? upgrade?
– dpb
Apr 23 at 19:53





At boot time, what are the contents of /run/systemd/network and /run/systemd/netif? Also, was this a new install? upgrade?
– dpb
Apr 23 at 19:53













Also, what file are you modifying to write your netplan configuration? Type out the file path in your question, and paste the contents in please.
– dpb
Apr 23 at 20:22




Also, what file are you modifying to write your netplan configuration? Type out the file path in your question, and paste the contents in please.
– dpb
Apr 23 at 20:22












@dpb this was a new install fresh from Ubuntu own website.. as for /run/systemd/network it's a folder - I have edited the question to show the files inside folders
– RussellHarrower
Apr 24 at 0:07





@dpb this was a new install fresh from Ubuntu own website.. as for /run/systemd/network it's a folder - I have edited the question to show the files inside folders
– RussellHarrower
Apr 24 at 0:07













add the netplan code.
– RussellHarrower
Apr 24 at 0:19




add the netplan code.
– RussellHarrower
Apr 24 at 0:19












Ah, I'm sorry. I jumped ahead of myself a bit. Are you using desktop or server?
– dpb
Apr 24 at 2:41





Ah, I'm sorry. I jumped ahead of myself a bit. Are you using desktop or server?
– dpb
Apr 24 at 2:41
















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027561%2fnetwork-not-starting-when-logging-into-17-10%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1027561%2fnetwork-not-starting-when-logging-into-17-10%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491