Jump to content

DHCP Settings


mtweidmann
 Share

Recommended Posts

Hi,

 

A friend from Uni is having trouble setting up his DHCP client, he is trying to do it all himself (from scratch). We thought it might help if we compared my settings to his as we have very similar set us. But where are earth does Mandrake keep them?? I've be prodding around my system but I can only find scripts not configurations.

Link to comment
Share on other sites

If you run a DHCP server, the settings are in /etc/dhcpd.conf. If you are just a client using an outside DHCP server, then you should have an /etc/sysconfig/network-scripts/ifcfg-eth0 (or ifcfg-eth1, etc). It should look something like this:

DEVICE="eth0"
BOOTPROTO="dhcp"
ONBOOT="yes"

 

You may or may not have to add a

Netmask="blahblah"

 

in there. If you use dhcpcd, then you would have an /etc/dhcpc/ directory with a file in it like dhcpcd-eth0.info

although I'm not sure what it should look like.

 

Here's a good site with instruction on how to use pump to set up the client configuration.

http://www.linux-firewall-tools.com/linux/.../pump-done.html

Edited by Steve Scrimpshire
Link to comment
Share on other sites

Bear in mind that I have yet to be able to get my cable modem working hooked directly to the ethernet card I have, but it only works through USB (which is really odd considering Mandrake's track record with USB devices). Apparently, the USB driver for the cable modem has the dhcp client stuff built in and I've tried everything to get my cable modem to work through the ethernet card to no avail. :)

Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...