NetworkManager ignoring conf files at startup but not when restarted

Asked by Ivan Ogai on 2018-04-10

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu network-manager Edit question
Assignee:
No assignee Edit question
Last query:
2018-04-10
Last reply:
2018-04-11

If you run:

sudo touch /etc/rc.local
sudo chmod +x /etc/rc.local
echo "exit 0" | sudo tee -a /etc/rc.local > /dev/null
sudo gedit /etc/rc.local

Add the line:
systemctl restart NetworkManager.service &

above the "exit 0" line, save the new file and exit gedit (change gedit for vi or whatever text editor you prefer) then reboot. Is it now OK?

Can you help with this problem?

Provide an answer of your own, or ask Ivan Ogai for more information if necessary.

To post a message you must log in.