Click to See Complete Forum and Search --> : Mandrake 7.2 and DHCP


bushwacker
12-05-2000, 05:15 AM
I've got my server running DHCP and a gateway so my network can connect to the Internet. All the Win32 machines can connect, but DHCP fails on startup with Mandrake systems. Where do I specify the IP address of my DHCP server (192.168.0.1 in this case)?

------------------
~Hacked by PowerPenguin (http://awminc.dhs.org)

Fandelem
12-05-2000, 09:32 AM
You have to use ifconfig to set your (static) IP address for your internal LAN. But then you need to add it to your boot-up script so that it will load up everytime you reboot as well. if you get a second, check out http://www.fandelem.com/nhf.html - i cover some of that in section 2 i believe..

regards,

~kyle



[This message has been edited by Fandelem (edited 05 December 2000).]

bushwacker
12-05-2000, 07:39 PM
This is a client-side, not serverside problem. I need to know how to set up the Mandrake clients to use DHCP to assign IPs to them.

Iceman
12-05-2000, 07:52 PM
Hi:

On each client box, go to netconf (or whatever it is in MDK 7.2.) Enable DHCP, specify the domain, device and module for the NIC. Activate changes and quit. Then check /etc/resolv.conf and make sure the nameserver, search and domain is OK.

Fandelem
12-05-2000, 08:02 PM
This is a client-side, not serverside problem. I need to know how to set up the Mandrake clients to use DHCP to assign IPs to them.


Okay, let's pick apart this statement (to get a better understanding of what you are trying to accomplish.. I still don't fully understand.. so bear with me) -

"I need to know how to set up the Mandrake clients to use DHCP to assign IPs to them."

1. When you refer to something as a dhcp *client* - you are installing a program on the workstation that will go out to an *existing* DHCP server and request an IP address.

IF this is what you are referring to (after re-reading it a few times, I think this is..) then all you need to do:

1. find out if you have dhcpcd installed by issuing: rpm -q dhcpcd

2. if yes, then simple. type dhcpcd and it is *just* like having windows "Obtain IP address automatically"

3. if no, then you need to go http://rpmfind.net/linux/RPM/mandrake//Mandrake/7.2/i586/Mandrake/RPMS//dhcpcd-1.3.19pl1-1mdk.i586.html here and grab the latest dhcpcd client for mandrake.

4. installation of dhcpcd client: rpm -ivh dhcpcd*

5. run it! dhcpcd

and you should be all set.

regards,

~kyle

bushwacker
12-06-2000, 12:23 AM
OK. I guess I still am not clear. My netserver(DHCP/Gateway) runs Linux Mandrake. My windows machines can connect to it because they are correctly configured. I'm having slight problems getting the *other* clients (Mandrake boxes as well) to get their IPs from my linux dhcp server.

------------------
~Hacked by PowerPenguin (http://awminc.dhs.org)

Fandelem
12-06-2000, 05:04 PM
Well, follow the steps I just listed in my previous post on your other mandrake boxes. That's how you connect to a DHCP server in any linux environment.

DHCP servers *do not care* what OS you are using. They simply receive a broadcast packet asking, "Can I have an IP address" and then they respond from a pool you have specified.

dhcpcd does this. it is what you want to look into.

regards,

~kyle