[email protected] wrote:
> Dale <[email protected]> [14-11-22 11:18]:
>> [email protected] wrote:
>>> Hi,
>>>
>>> (still struggling with my Arietta board...;)
>>>
>>> I did something really stupid: 
>>> I emerged dhcpd on my Arietta G25 board (which runs Gentoo of course :)
>>> and rebooted...without configuring it (or anything else).
>>>
>>> BEFORE this [CENSORED] action /etc/conf.d/net was set to assign a
>>> static IP to usb0, which works.
>>>
>>> Now the boards still boots fine ... but I cannot access it, because
>>> the usb0 gets no IP.
>>>
>>> First thing I want to get back is the static IP settings I had
>>> before I installed dhcpd.
>>>
>>> I grepped through /etc to find any hint, where the decision is made
>>> to start dhcpd, I renamed different 'dhcpd*.*'-files to disable
>>> the start of dhcpd...but now I only get 'lo' running...no usb0
>>> at all.
>>>
>>> Where can I disable dhcpd so the static IP settings get reactivated
>>> (since the system is not accessable, I cannot unemerge dhcpd)?
>>>
>>> Thank you very much in advance for any help!
>>>
>>> Best regards,
>>> mcc
>>>
>> Take a peek in this directory:
>>
>> /etc/runlevels/default/
>>
>> I think if you remove that link it will not start the service.  In other
>> words, if you have dhcpd in there, or one of the other runlevels, remove
>> it. 
>>
>> Of course, there is the chance that if it is installed, some other
>> script may use it even if it isn't started. 
>>
>> Hope that helps.
>>
>> Dale
>>
>> :-) :-) 
>>
> Hi Dale,
>
> that was also my the first idea...
>
> (in the meanwhile I found it.)
>
> But the thing is more of magic...its automagic!
>
> One has to do enter this
>
>     rc_hotplug="!dhcpd"
>
> into /etc/rc.conf. The "!" stands for "not".
>
> If one would ask me, I also would prefer the ordinary straight
> forward way of starting it as any other daemon via the way
> you have described. But I am sure that they are higher and
> more elaborated thoughts of wisdom which explain, why it is
> done the way it is done... ;)
>
> Only my two cents of money...
>
> Best regards,
> mcc
>
>

Oh yea.  I forgot about that one.  I had to use that MANY years ago. 
Well, glad you found the proper solution.  I knew there had to be a
way.  ;-)

Dale

:-)  :-) 

Reply via email to