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 A9926138A1A for ; Sat, 22 Nov 2014 18:40:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92AB6E0964; Sat, 22 Nov 2014 18:40:46 +0000 (UTC) Received: from mail-qc0-f174.google.com (mail-qc0-f174.google.com [209.85.216.174]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 78B0FE0802 for ; Sat, 22 Nov 2014 18:40:45 +0000 (UTC) Received: by mail-qc0-f174.google.com with SMTP id c9so5195376qcz.5 for ; Sat, 22 Nov 2014 10:40:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=KIDxqTFGI3UOvHiXed5bBpQpJ+xXy7rq86tnFCSCRMs=; b=HgOBL546NRC7qsR2TyR45anaaSYSkrFSSU9PhwpPWyfBnB3ROJxbFeBjdajJtTWq7t sM8H1+oE24JTCG68aAswftkArONlvHaCLhtzyfaNTssBC4K8P/F4m9dDBAz68EI08caR 14L/SJkW2YyFxQ/xTfcrf1qoAR7hjWcTMcVg93k6PW1Zi+C3Jhgn58tX0LKcMA+drAvG LFHzVAftUx6tefevdzYASaxmferfp5SHjdbIvhYD2Nd2VbySLHEwyP/WZ2ERiw/c6vYh wRdQrgyNuVpyCk19IeshZ4oKxxYiAsG+z6mnlqPc3hSZcs5b8B51znNVk/NZQGWxTQis kawg== X-Received: by 10.140.42.86 with SMTP id b80mr16127666qga.102.1416681644676; Sat, 22 Nov 2014 10:40:44 -0800 (PST) Received: from [192.168.2.5] (adsl-65-0-115-169.jan.bellsouth.net. [65.0.115.169]) by mx.google.com with ESMTPSA id a12sm7756140qai.1.2014.11.22.10.40.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Nov 2014 10:40:43 -0800 (PST) Message-ID: <5470D8AB.4070404@gmail.com> Date: Sat, 22 Nov 2014 12:40:43 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] I shoot into my own feet: dhcpd installed... References: <20141121181220.GA4331@solfire> <54706297.6050506@gmail.com> <20141122115822.GC4362@solfire> In-Reply-To: <20141122115822.GC4362@solfire> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 3abb894c-d361-474b-a931-d86dcba88fe4 X-Archives-Hash: d80d3b054bc6d0b35ff1617719e06049 meino.cramer@gmx.de wrote: > 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 > > 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 :-) :-)