* [gentoo-user] I shoot into my own feet: dhcpd installed...
@ 2014-11-21 18:12 meino.cramer
2014-11-22 10:16 ` Dale
0 siblings, 1 reply; 4+ messages in thread
From: meino.cramer @ 2014-11-21 18:12 UTC (permalink / raw
To: Gentoo
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] I shoot into my own feet: dhcpd installed...
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
0 siblings, 1 reply; 4+ messages in thread
From: Dale @ 2014-11-22 10:16 UTC (permalink / raw
To: gentoo-user
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
:-) :-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] I shoot into my own feet: dhcpd installed...
2014-11-22 10:16 ` Dale
@ 2014-11-22 11:58 ` meino.cramer
2014-11-22 18:40 ` Dale
0 siblings, 1 reply; 4+ messages in thread
From: meino.cramer @ 2014-11-22 11:58 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] I shoot into my own feet: dhcpd installed...
2014-11-22 11:58 ` meino.cramer
@ 2014-11-22 18:40 ` Dale
0 siblings, 0 replies; 4+ messages in thread
From: Dale @ 2014-11-22 18:40 UTC (permalink / raw
To: gentoo-user
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
:-) :-)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-11-22 18:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox