Skip to content

Instantly share code, notes, and snippets.

@meskarune
Created October 19, 2012 14:03
Show Gist options
  • Save meskarune/3918385 to your computer and use it in GitHub Desktop.
Save meskarune/3918385 to your computer and use it in GitHub Desktop.
journalctl netcfg not bringing up eth0 at boot
** Oct 19 09:01:57 localhost systemd[1]: iptables.service: main process exited, code=exited, status=1
** Oct 19 09:01:57 localhost iptables-restore[1886]: Can't open /etc/iptables/iptables.rules: No such file or directory
** Oct 19 09:01:57 localhost systemd[1]: Failed to start Packet Filtering Framework.
Oct 19 09:01:57 localhost systemd[1]: Unit iptables.service entered failed state.
Oct 19 09:01:57 localhost systemd[1]: Started Login Service.
Oct 19 09:01:57 localhost systemd-logind[1890]: New seat seat0.
Oct 19 09:01:58 localhost sshd[1887]: Server listening on 0.0.0.0 port 22.
Oct 19 09:01:58 localhost sshd[1887]: Server listening on :: port 22.
** Oct 19 09:02:01 localhost netcfg[1888]: :: main up Duplicate Address Detection is taking too long
** Oct 19 09:02:01 localhost netcfg[1888]: [fail]
** Oct 19 09:02:01 localhost systemd[1]: [email protected]: main process exited, code=exited, status=1
** Oct 19 09:02:01 localhost systemd[1]: Failed to start Netcfg networking service for profile main.
** Oct 19 09:02:01 localhost systemd[1]: Unit [email protected] entered failed state.
Oct 19 09:02:01 localhost systemd[1]: Starting Network.
Oct 19 09:02:01 localhost systemd[1]: Reached target Network.
cat /etc/network.d/main
CONNECTION='ethernet'
DESCRIPTION='A more versatile static ethernet connection using iproute'
INTERFACE='eth0'
IP='static'
HOSTNAME='maharani'
# Any valid iproute command can be placed in this array
IPCFG=('addr add dev eth0 66.175.208.202/24 brd +'
'route add default via 66.175.208.1'
'-6 addr add 2600:3c03:e000:8:0:1ced:c0ff:ee/64 dev eth0'
'-6 addr add 2600:3c03:e000:8::bad:1dea/64 dev eth0'
'-6 addr add 2600:3c03:e000:8:d010:2e5:c0de:cafe/64 dev eth0'
'-6 addr add 2600:3c03:e000:8::b1ac:b12d/64 dev eth0'
)
IP6='stateless'
DNS=('97.107.133.4' '207.192.69.4' '207.192.69.5' '2600:3c03::2' '2600:3c03::3')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment