LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-16-2002, 12:00 PM   #1
eboggess
LQ Newbie
 
Registered: Jan 2002
Distribution: SuSE 9.2 Professional
Posts: 27

Rep: Reputation: 15
Exclamation Configure Red Hat 7.2 Workstation as DHCP Client


Can anyone tell me how to load and configure the dhcpcd daemon? I currently have my eth0 interface configured to use a static IP address. My home configuration consists of the following:

Dell Latitude C600 (laptop) running Red Hat 7.2
Self-built desktop (AMD Athlon 1G, 384M RAM) running Win98 SE
Self-built desktop (Intel P133, 96M RAM) running Red Hat 7.2

I am using the Windows box to dial in to my ISP and I've configured it to share its connection with the other devices on my home LAN. In addition, this Win98 box is the DHCP server on my network. I know this is not the ideal configuration, but I haven't found a similar solution on Linux yet (at least I haven't found a way of sharing a dial-up connection in Linux).

Note: The Win98 box is serving addresses from the 192.168.0.x block of private class C addresses.

Note 2: Although I am using KDE for my desktop, I would prefer to use only console utilities and rc files to setup the dhcpcd daemon and the rest of my network.

Any help would be greatly appreciated.
Thanks,
Eric
 
Old 01-16-2002, 07:43 PM   #2
theFuzzyOne
Member
 
Registered: Dec 2001
Distribution: redhat
Posts: 154

Rep: Reputation: 30
DCHP

you don't need a deamon to configure as a dchp client, just setup your eth0 to use dchp (use setup or netconf from the console, or any other network config tool) and reload your network (/etc/rc.d/init.d/network reload). use ifconfig to check.

also, there are many ways to share dial up connection in linux... search for info on dialup routing and stuff like that and check out the HOWTO's on www.linuxdoc.org .
 
Old 01-18-2002, 02:22 PM   #3
eboggess
LQ Newbie
 
Registered: Jan 2002
Distribution: SuSE 9.2 Professional
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks for the info. I'm going to look into using my Linux desktop as my dial-up connection with routing and NAT. That's definitely my preferred solution. However, before I make that change, I still need to get this Linux laptop using dhcp. In your message, you refer to several network configuration tools; however, I was hoping you might know the actual configuration files that I could edit directly using a text editor.
 
Old 01-18-2002, 02:46 PM   #4
theFuzzyOne
Member
 
Registered: Dec 2001
Distribution: redhat
Posts: 154

Rep: Reputation: 30
"I would prefer to use only console utilities and rc files to setup" ....

setup and netconf run from the console. some of the file you can edit for networking:

DCHP client:
/etc/sysconfig/network-scripts/ifcfg-eth0

example ifcfg-eth0 :
DEVICE=eth0
BOOTPROTO=dchp
ONBOOT=yes

dialup and other stuff:
/etc/sysconfig/network-scripts/ifup-ppp
/etc/sysconfig/network-scripts/ifup-routes

if you do use linux in the future for your NAT routing, one way to do it is with one iptables scripts that runs at bootup, assuming that both network interfaces are up and configured.
 
Old 01-18-2002, 02:55 PM   #5
eboggess
LQ Newbie
 
Registered: Jan 2002
Distribution: SuSE 9.2 Professional
Posts: 27

Original Poster
Rep: Reputation: 15
Thanks for all of your help. I appreciate it.
Have a good one,
Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat client does not appear in Windows DHCP server dbruso Linux - Networking 0 08-06-2004 03:31 PM
Red Hat Professional Workstation Book mateka Linux - Newbie 1 06-14-2004 07:32 PM
Red Hat Professional Workstation WS? cucolin@ Red Hat 2 02-05-2004 06:26 PM
Red Hat Professional WorkStation coolamit78 Linux - Software 1 02-03-2004 07:49 PM
What are the client and server programs in Red Hat Linux for DHCP services? thatgentleman Linux - General 1 03-22-2002 11:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration