Penguin

Differences between version 13 and predecessor to the previous major change of DHCPNotes.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 13 Last edited on Monday, March 7, 2005 11:17:38 am by MichaelBarnwell Revert
Older page: version 11 Last edited on Wednesday, June 23, 2004 9:54:16 am by PerryLorier Revert
@@ -1,9 +1,9 @@
 Under [Debian] [Woody], you install "dhcp-client" for clients, and "dhcp" for the server. If you have interfaces other than eth0 and lo0 (such as wan0 for MetaNet), then by default dhcp will refuse to start. You need to edit /etc/default/dhcp and put __INTERFACES="eth0"__. Unfortunately this isn't documented anywhere sensible like the dhcpd man page or the README.Debian file. 
  
 In /etc/dhcpd.conf, the options that take time values are in seconds, although the example file doesn't mention this. It's in the man page though, dhcpd.conf(5). 
  
-If you are running a dhcpd server on Debian Woody, and you're running [LinuxKernel2.6], then you will need to edit /usr/sbin/dhcpd and add a "6" where it says [[12345]. When the script was written, it was unsure whether or not the 2.6 kernel would have compatible structures for the binary in the dhcp package, but it works fine in 2.2 - 2.6 kernels. 
+If you are running a dhcpd server on Debian Woody, and you're running [LinuxKernel2.6], then you will need to edit /usr/sbin/dhcpd and add a "6" where it says [[12345]. If you are using a dhcp client, you will need to do this to the /sbin/dhclient script as well / instead . When the script was written, it was unsure whether or not the 2.6 kernel would have compatible structures for the binary in the dhcp package, but it works fine in 2.2 - 2.6 kernels. 
  
  
 !! Dynamic DNS 
 ISC [DHCP] version 3 and later support dynamic dns updates for DHCP leases. 
@@ -36,16 +36,16 @@
  
 Note: it is very important that you copy the key verbatim! 
 For the zones you wish to enable DDNS updates on, add the following to the zone definition in named.conf 
  
- allow-update { key DHCP_ UPDATER; }; 
+ allow-update { key DHCP- UPDATER; }; 
  
 e.g., I have: 
  
  zone "dyn.mydomain.something." { 
  type master; 
  file "/etc/bind/zone/db.dyn.mydomain.something"; 
- allow-update { key DHCP_ UPDATER; }; 
+ allow-update { key DHCP- UPDATER; }; 
  }; 
  
 Remember to add it to the reverse zone as well: 
  
@@ -64,21 +64,21 @@
  ddns-domainname "dyn.mydomain.something"; 
  ddns-updates off; 
  ddns-update-style interim; 
  
- key DHCP_ UPDATER { 
+ key DHCP- UPDATER { 
  algorithm hmac-md5; 
  secret "bC9Up7x9abx5mnOKujzgEg=="; 
 
  
  zone dyn.mydomain.something. { 
  primary 127.0.0.1; 
- key DHCP_ UPDATER; 
+ key DHCP- UPDATER; 
 
  
  zone 0.0.10.in-addr.arpa. { 
  primary 127.0.0.1; 
- key DHCP_ UPDATER; 
+ key DHCP- UPDATER; 
 
  
  
 This sets up the ddns keys, and which zones to use them for. ddns-domainname sets the forward domain name that ddns will update. You can leave this out, 
The following authors of this page have not agreed to the WlugWikiLicense. As such copyright to all content on this page is retained by the original authors. The following authors of this page have agreed to the WlugWikiLicense.

lib/blame.php (In template 'html'):177: Warning: Invalid argument supplied for foreach() (...repeated 2 times)

lib/plugin/WlugLicense.php (In template 'html'):99: Warning: Invalid argument supplied for foreach()

lib/plugin/WlugLicense.php (In template 'html'):111: Notice: Undefined variable: ignore_authors

lib/plugin/WlugLicense.php (In template 'html'):111: Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument

lib/plugin/WlugLicense.php (In template 'html'):111: Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument

lib/plugin/WlugLicense.php (In template 'html'):111: Notice: Undefined variable: ignore_authors