You are not logged in.

#1 2008-10-27 19:22:58

colbert
Member
Registered: 2007-12-16
Posts: 809

Network won't start on reboot

I rebooted my server and now my network daemon keeps failing on boot, showing "/sbin/dhcpcd -N invalid option". I haven't changed any settings myself. To get it running I keep having to run /sbin/dhcpcd eth0 as root, and then it works fine.

Thanks for any help smile

Offline

#2 2008-10-27 23:05:10

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: Network won't start on reboot

In one of the last updates the parameters to dhcpcd changed.

I never heard of -N, but I had '-R' and its gone, so it failed since it isnt a valid option.

Look at '/etc/conf.d/dhcpcd', and edit it if necessary.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#3 2008-10-27 23:23:52

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: Network won't start on reboot

DHCPCD_ARGS="-N -R -t 30 -h $HOSTNAME"

That was mine. I have changed it to:

DHCPCD_ARGS="-t 30 -h $HOSTNAME"

My mythbackend is recording for a while now so I will reboot after and hopefully that will work! Thanks very much Mektub!

Offline

#4 2008-10-28 00:18:24

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: Network won't start on reboot

colbert,

I just remember that this new dhcpcd brings some more trouble: sometimes it overwrites your /etc/resolv.conf.

In fact I think '-R' just said 'dont touch my resolv.conf'.

Anyhow, following:

http://bbs.archlinux.org/viewtopic.php?id=57031

I have now my nameserver in the file /etc/resolv.conf.head

Developers make this changes so that we dont fall asleep.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

#5 2008-10-28 22:52:22

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: Network won't start on reboot

Thanks Mektub I have changed it to add the -C resolv.conf, will post back when she's rebooted tomorrow.

Offline

Board footer

Powered by FluxBB