Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I set up DHCP in Linux?



"Kevin M. Gleason" wrote:
> 
> I am running RH6.2 and have the Red Hat Linux Bible (for 6.1) in front
> of me...it only mentions that one might have it...the Bible don't cover
> it.


/etc/sysconfig/network-scripts/ifcfg-eth0 should look like:

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes

The script /etc/sysconfig/network-scripts/ifup will actually start
dhcp.  It will look for one of either 'pump' or 'dhcpcd'.  I use pump. 
Just make sure you have the pump rpm installed (rpm -qa | grep pump).

Run '/etc/rc.d/init.d/network restart' to restart the network.  Do 'tail
/var/log/messages' if you want to see what's going on.

-Ron-
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org