For When You Can't Have The Real Thing
[ start | index | login ]
start > gentoo > DHCP client options

DHCP client options

Created by dave. Last edited by dave, 8 years and 24 days ago. Viewed 2,106 times. #4
[diff] [history] [edit] [rdf]
labels
attachments

Problem

I want a Gentoo system to

  • use dhcp
  • report its hostname (say, brooklyn) back to the DHCP server so that the windows DDNS gets updated
  • not mess with the resolv.conf because the dhcp-provided one is wrong

Solution

/etc/conf.d/net

config_eth0=( "dhcp" )
dhcpcd_eth0="-h brooklyn -C resolv.conf"

# Set the NIS things nis_domain_eth0="nis.domain.local" nis_servers_eth0="10.16.0.1"

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt