From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 79ED8138A1A for ; Sat, 22 Nov 2014 11:58:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B49EBE08C9; Sat, 22 Nov 2014 11:58:26 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6ECEDE086E for ; Sat, 22 Nov 2014 11:58:25 +0000 (UTC) Received: from localhost ([84.133.165.142]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LgZ7h-1YFcBW2XPp-00o2h4 for ; Sat, 22 Nov 2014 12:58:23 +0100 Date: Sat, 22 Nov 2014 12:58:22 +0100 From: meino.cramer@gmx.de To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] I shoot into my own feet: dhcpd installed... Message-ID: <20141122115822.GC4362@solfire> References: <20141121181220.GA4331@solfire> <54706297.6050506@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54706297.6050506@gmail.com> User-Agent: mutt-ng/devel-r804 (Linux) X-Provags-ID: V03:K0:Bgis2J0DHmBwtMGwkA6zDJMQHkgQafJx0ltIWE160zIvGaPBipT RyU+i9UiZckLy2mufKseMkQ+KOQr94uIoIJwCtd5DNyB7xa7YNYmS301u5QVJqYLs+cbuuV T7azRLfVEc4RZ/I1nDKfc9LWiIitn6qXshgeDzR886mUShgW6B2ANbziAV3quQTCT7/qrip hdG7Autnshc0MkCJEjEYQ== X-UI-Out-Filterresults: notjunk:1; X-Archives-Salt: 47cc2edd-1b8b-4cd7-868b-21165298720a X-Archives-Hash: eafcbd048ff9283c77322d599d60ae7a Dale [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