1234567891011121314151617181920212223242526272829303132 |
- CODE: SELECT ALL
- nano /etc/systemd/network/eth0.network
- Then paste this in:
- CODE: SELECT ALL
- [Match]
- Name=eth0
- [Network]
- Address=192.168.1.8/24
- Gateway=192.168.1.1
- DNS=8.8.8.8
- DNS=8.8.4.4
- ## OpenDNS
- DNS=208.67.222.222
- DNS=208.67.220.220
- You will then need to disable netcl. To find out what is enabled that is netctl related, run this:
- CODE: SELECT ALL
- systemctl list-unit-files
- Once you identify all netctl related stuff. Go through and disable all netctl related stuff. You may have more to disable than just the below:
- CODE: SELECT ALL
- systemctl disable netctl@eth0.service
- You will then need systemd-networkd enabled:
- CODE: SELECT ALL
- systemctl enable systemd-networkd
|