Article: 16232 of comp.os.linux.powerpc
Message-ID: <3767B50B.5CD29F55@generation.net>
From: Simon Piette <spiette@generation.net>
X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.6-15apmac ppc)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.linux.powerpc
Subject: Re: LinuxPPC R5, DHCP and DNS
References: <7k2rnc$nbe$1@nnrp1.deja.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 44
Date: Wed, 16 Jun 1999 14:30:23 GMT
NNTP-Posting-Host: 209.226.97.243
X-Trace: news21.bellglobal.com 929543423 209.226.97.243 (Wed, 16 Jun 1999 10:30:23 EDT)
NNTP-Posting-Date: Wed, 16 Jun 1999 10:30:23 EDT
Organization: Sympatico
Path: news1.meer.net!news3.best.com!news1.best.com!144.212.100.101.MISMATCH!newsfeed.mathworks.com!news.maxwell.syr.edu!cyclone.bc.net!torn!news1.bellglobal.com!news21.bellglobal.com.POSTED!not-for-mail
Xref: news1.meer.net comp.os.linux.powerpc:16232

First, be sure that you have dhcpcd installed (rpm -qa | grep dhcpcd),
then edit /etc/sysconfig/network/scripts/ifup, and substitute pump for
dhcpcd, as this:

if [ -n "$PUMP" ]; then
    echo -n "Determining IP information for $DEVICE..."
    if /sbin/dhcpcd  $DEVICE ; then
        echo " done."
    else

Then, modify /etc/sysconfig/network/scripts/ifdown as this:


if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then
        dhcpcd -k  ${DEVICE}
fi

Then:

# cd /etc/rc.d/init
# ./network stop
# ./network start

It should work (it worked really well for me ...)

Simon

john@marcus-online.net wrote:
> 
> I just installed R5 from a copy of the distribution tree on
> ftp://ftp.linuxppc.org. After working through a few broken bits I'm more
> or less up and running.
> 
> What isn't working correctly for me is DHCP on my cable modem. Pump
> fires up and grabs an IP address and sets the gateway etc. but it
> doesn't initialize /etc/resolv.conf. This means my networking is
> basically dead in the water. I took a look at the source code briefly
> and it should be able to do this and it should do it automatically. How
> can I fix this?
> 
> John
> 
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.


