From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] I shoot into my own feet: dhcpd installed...
Date: Sat, 22 Nov 2014 12:40:43 -0600 [thread overview]
Message-ID: <5470D8AB.4070404@gmail.com> (raw)
In-Reply-To: <20141122115822.GC4362@solfire>
meino.cramer@gmx.de wrote:
> Dale <rdalek1967@gmail.com> [14-11-22 11:18]:
>> meino.cramer@gmx.de 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
:-) :-)
prev parent reply other threads:[~2014-11-22 18:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-21 18:12 [gentoo-user] I shoot into my own feet: dhcpd installed meino.cramer
2014-11-22 10:16 ` Dale
2014-11-22 11:58 ` meino.cramer
2014-11-22 18:40 ` Dale [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5470D8AB.4070404@gmail.com \
--to=rdalek1967@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox