Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-16-2002, 12:00 PM
|
#1
|
LQ Newbie
Registered: Jan 2002
Distribution: SuSE 9.2 Professional
Posts: 27
Rep:
|
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
|
|
|
01-16-2002, 07:43 PM
|
#2
|
Member
Registered: Dec 2001
Distribution: redhat
Posts: 154
Rep:
|
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 .
|
|
|
01-18-2002, 02:22 PM
|
#3
|
LQ Newbie
Registered: Jan 2002
Distribution: SuSE 9.2 Professional
Posts: 27
Original Poster
Rep:
|
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.
|
|
|
01-18-2002, 02:46 PM
|
#4
|
Member
Registered: Dec 2001
Distribution: redhat
Posts: 154
Rep:
|
"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.
|
|
|
01-18-2002, 02:55 PM
|
#5
|
LQ Newbie
Registered: Jan 2002
Distribution: SuSE 9.2 Professional
Posts: 27
Original Poster
Rep:
|
Thanks for all of your help. I appreciate it.
Have a good one,
Eric
|
|
|
All times are GMT -5. The time now is 02:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|