Getting DHCP to work with 1999 Q3 Install

Getting DHCP to work with 1999 Q3 Install

Post by Jaime » Mon, 14 Feb 2000 04:00:00



I have just done a fresh install of the 1999 Q3 version of LinuxPPC.  I
just left it with the default IP addresses it had in setup.  I need to
use DHCP.  I tried to do this before and got all confused.  Is there
any easy way to just get the OS to get its IP via DHCP without having
to edit all kinds of files and stuff?  Is there a config program that
someone would recommend?  If someone has gone through this, I'd like a
list of steps to perform to get this working.  Any help would be
appreciated.

Also, why would I want to run dhclient over pump, or dhcpcd for that
matter?  Which is the best one any why?

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Getting DHCP to work with 1999 Q3 Install

Post by Robert N. Brya » Mon, 14 Feb 2000 04:00:00



> I have just done a fresh install of the 1999 Q3 version of LinuxPPC.  I
> just left it with the default IP addresses it had in setup.  I need to
> use DHCP.

I'm assuming that you want to get an IP address off of your ISP's DHCP
server, not set up a DHCP server. Right?

Quote:> I tried to do this before and got all confused.  Is there
> any easy way to just get the OS to get its IP via DHCP without having
> to edit all kinds of files and stuff?

Yes. As root, type "dhcpcd".

Quote:> Is there a config program that
> someone would recommend?  If someone has gone through this, I'd like a
> list of steps to perform to get this working.  Any help would be
> appreciated.

> Also, why would I want to run dhclient over pump, or dhcpcd for that
> matter?

If you want to get your IP address from a DHCP server, "dhcpcd" is the way
to do it. Put "/sbin/dhcpcd" as the last entry in your /etc/rc.d/rc.local
file, and you will get your IP address during boot.

Quote:> Which is the best one any why?

> Sent via Deja.com http://www.deja.com/
> Before you buy.

Good luck.

Bob

--
Bob Bryan
rev1 Blue G3
LinuxPPC 1999 Q3

 
 
 

Getting DHCP to work with 1999 Q3 Install

Post by Ken Quin » Wed, 16 Feb 2000 04:00:00


I'm assuming that you have DSL or Cable and are using a DHCP server to get
your ip.  Just type 'dhcpcd' at the bash prompt after you log in and it
will respond with your new ip address... it's just that easy!

I believe the latest LinuxPPC manual tells you how to permanently config
your system for DHCP.

Ken Quinn
RF Technical Specialist
Beams Division / Linac Group
Fermi National Accelerator Laboratory


> I have just done a fresh install of the 1999 Q3 version of LinuxPPC.  I
> just left it with the default IP addresses it had in setup.  I need to
> use DHCP.  I tried to do this before and got all confused.  Is there
> any easy way to just get the OS to get its IP via DHCP without having
> to edit all kinds of files and stuff?  Is there a config program that
> someone would recommend?  If someone has gone through this, I'd like a
> list of steps to perform to get this working.  Any help would be
> appreciated.

> Also, why would I want to run dhclient over pump, or dhcpcd for that
> matter?  Which is the best one any why?

> Sent via Deja.com http://www.deja.com/
> Before you buy.

 
 
 

1. Can't get RPM installs to work w/ LinuxPPC 1999 Q3

I seem to be missing something.  When I try to build and install
a package with rpm, it never gets beyond installing under a /var/tmp
Buildroot directory and never seems to update the rpm database.

For example, here's what I have tried (using cvs-1.10.5-2 as an example)

   # mount /dev/cdrom /mnt
   # cd /mnt/cdrom/devel
   # rpm -iv cvs-1.10.5-2.src.rpm
   # cd /usr/src/redhat/SPECS
   # rpm -bi cvs-1.10.5-2.spec
   ...
   <preps, builds, and installs OK under a /var/tmp/cvs-root directory>

The *.spec file contains an entry:
    Buildroot: /var/tmp/%{name}-root

Do I need to change this to / ?  (I'd assume not because I see rm -rf's
later in the spec file on the Buildroot directory.)

What do I do next to get things installed under /, not /var/tmp?
Also, although the access and modification times on the rpm database files
under /var/lib/rpm would suggest that they were updated as a result of the
previous rpm commands, when I try a query:
    # rpq -qa | grep cvs
there's no indication that the package was ever installed.

Obviously, I'm new to using RPM.  Things just aren't happening as
simply as the docs would lead me to believe.  Thanks for your suggestions!

Paul Grassie

2. news server software

3. Linux 1999 "classic" -> Linux 1999 Q3

4. Remote shutdown and sendmail startup

5. LinuxPPC 1999 Q3 Freezes during package install

6. Program Installation Q:

7. Cannot install 1999-Q3 on Lombard

8. Ataflop fix

9. How do i install linuxPPC 1999 q3?

10. Installing LinuxPPC 1999 Q3 on 8600/200

11. IDE Drives VANISH with LinuxPPC 1999 Q3 on iMac

12. 3c905b with Linuxppc 1999 Q3

13. XFree86 problems since Q3 linuxppc 1999