Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcpcd won't start automatically invalid option -R [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Treovo
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2004
Posts: 88

PostPosted: Sat Dec 13, 2008 12:24 pm    Post subject: dhcpcd won't start automatically invalid option -R [SOLVED] Reply with quote

dhcpcd is no longer able to start on bootup giving the following error output:
Code:
/sbin/dhcpcd: invalid option -- R


I have unmerged and emerged again dhcpcd without results. I can't find any report of such an error on the net. It seems to be an error somewhere in a script calling dhcpcd.
Funnily this happens as well when trying to start mysql as
Code:
/etc/init.d/mysql start
seems to call dhcpcd also:
Code:
* Starting eth0
 *   Bringing up eth0
 *     dhcp
 *       Running dhcpcd ...
/sbin/dhcpcd: invalid option -- R
usage: dhcpcd [-dknpqxADEGHKLOTV] [-c script] [-f file ] [-h hostname]
              [-i classID ] [-l leasetime] [-m metric] [-o option] [-r ipaddr]
              [-s ipaddr] [-t timeout] [-u userclass] [-F none|ptr|both]
              [-I clientID] [-C hookscript] [-Q option] [-X ipaddr] <int  [ !! ]


Any thoughts?
_________________
.: Free your mind and your ass will follow :.


Last edited by Treovo on Mon Jan 05, 2009 4:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Sat Dec 13, 2008 6:10 pm    Post subject: Reply with quote

did you run etc-update after your last emerge?
did you recently upgrade baselayout?
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Sun Dec 14, 2008 9:25 am    Post subject: Reply with quote

You're using baselayout-1.x. This requires dhcpcd to be emerged with the compat USE flag.
You can either upgrade to OpenRC/baselayout-2 or emerge dhcpcd with the compat USE flag or stop using the nodns option.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Treovo
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2004
Posts: 88

PostPosted: Mon Jan 05, 2009 4:39 pm    Post subject: Reply with quote

Thanks Uberlord, problem solved by upgrading to openrc and baselayout-2.
The update has not been as smooth as I wished due to lvm mount issues but the gentoo bugs database should help anyone facing the same issue solve it.
_________________
.: Free your mind and your ass will follow :.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum