<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.linuxmce.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Royw</id>
	<title>LinuxMCE - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.linuxmce.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Royw"/>
	<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php/Special:Contributions/Royw"/>
	<updated>2026-05-11T05:41:54Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=User:Royw&amp;diff=14782</id>
		<title>User:Royw</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=User:Royw&amp;diff=14782"/>
		<updated>2008-07-10T16:51:39Z</updated>

		<summary type="html">&lt;p&gt;Royw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== My System ==&lt;br /&gt;
=== AV ===&lt;br /&gt;
==== TV ====&lt;br /&gt;
* Hitachi P50_6-X901&lt;br /&gt;
** Still looking for info on RS-232 port&lt;br /&gt;
==== AV Receiver ====&lt;br /&gt;
* Yamaha RX-V861&lt;br /&gt;
==== HD ====&lt;br /&gt;
* Playstation 3&lt;br /&gt;
==== Power ====&lt;br /&gt;
* Belkin 900VA UPS&lt;br /&gt;
** researching power conditioners&lt;br /&gt;
==== Other ====&lt;br /&gt;
* 5.1 speaker setup&lt;br /&gt;
* Onkyo DV-SP501 (retired)&lt;br /&gt;
* RCA VHS (semi-retired)&lt;br /&gt;
=== Core/hybrid ===&lt;br /&gt;
* Gigabyte GA-MA69G-S3H&lt;br /&gt;
** Onboard ATI video not usable as MD&lt;br /&gt;
* AMD 64 X2 4800 CPU&lt;br /&gt;
* 2GB DDR2 800MHz RAM&lt;br /&gt;
* GeForce 7600 GS video with passive cooling&lt;br /&gt;
* WDC WD5000AAKS-0 SATA HDD&lt;br /&gt;
* WDC WD10EACS-00Z SATA HDD&lt;br /&gt;
* PIONEER DVD-RW DVR-111C IDE DVD-RAM writer&lt;br /&gt;
* Linksys Gigabit Network Adapter&lt;br /&gt;
* Zalman HD135 case&lt;br /&gt;
=== Media Director ===&lt;br /&gt;
Currently only have analog audio working.  Current guess is need Intel HD Audio ALSA driver.&lt;br /&gt;
* MSI K9NGM3&lt;br /&gt;
* WD 36GB Raptor SATA1 (not used in diskless MD configuration)&lt;br /&gt;
* Antec Sonata II case w/ 350W power supply (hey, it&#039;s what I had laying around)&lt;br /&gt;
=== Orbiters ===&lt;br /&gt;
* Nokia N800&lt;br /&gt;
* Gyration air mouse and keyboard&lt;br /&gt;
=== NFS ===&lt;br /&gt;
This is a low usage workstation with the secondary function of serving NFS media.&lt;br /&gt;
* MB GIGABYTE GA-X38-DQ6 X38 775 RTL 	&lt;br /&gt;
* CPU THERMPASTE|ARCTIC SILVER5 3.5G% 	&lt;br /&gt;
* CPU INTEL|C2Q Q6600 2.40G 775 8M R 	&lt;br /&gt;
* CASE ANTEC|P182 BK RT 	&lt;br /&gt;
* VGA GIGABYTE GV-NX86S256H 8600GTS R 	&lt;br /&gt;
* PSU TT|W0106RU 700W RT (I&#039;d go with the 800W next time because it has more SATA power connectors)&lt;br /&gt;
* HD 500G|WD 7K 16M SATA2 WD5000AAKS 	&lt;br /&gt;
* 2x MEM 2Gx2|GSK F2-6400CL4D-4GBPK R (8GB total)&lt;br /&gt;
* 2x FAN SCYTHE|S-FLEX SFF21D(800rmp) RT 	&lt;br /&gt;
* DVD BURN LG|GSA-H62NK BK % 	&lt;br /&gt;
* 3x WDC WD10EACS-00Z SATA HDD (one LVM volume, ext3, nfs shared)&lt;br /&gt;
=== Automation ===&lt;br /&gt;
* USBUIRT&lt;br /&gt;
* xantech 286M dual blink-ir mouse emitter&lt;br /&gt;
Leaning towards insteon lighting control&lt;br /&gt;
&lt;br /&gt;
[[Category:User Setups]]&lt;/div&gt;</summary>
		<author><name>Royw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=How_should_I_format_additional_hard_drives%3F&amp;diff=14018</id>
		<title>How should I format additional hard drives?</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=How_should_I_format_additional_hard_drives%3F&amp;diff=14018"/>
		<updated>2008-06-18T19:51:27Z</updated>

		<summary type="html">&lt;p&gt;Royw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Tutorials]]&lt;br /&gt;
From &amp;quot;blog gelusi: Linux Tuning Guide&amp;quot; (http://gelusi.blogspot.com/2008/02/linux-tuning-guide.html)&lt;br /&gt;
&lt;br /&gt;
  1. Filesystem&lt;br /&gt;
  Block sizes&lt;br /&gt;
  &lt;br /&gt;
  For filesystems dedicated to serving fairly large files, adopting a larger than default 1024 byte block size may yield significant&lt;br /&gt;
  performance gains.&lt;br /&gt;
  &lt;br /&gt;
  Recent transactions on the linux kernel list suggest that setting the block sizein an ext2 file system to 4096 instead of the &lt;br /&gt;
  default 1024 will result in less file fragmentation, faster fsck&#039;s, faster deletes and faster raw read speed, due to the reduced &lt;br /&gt;
  number of seeks.&lt;br /&gt;
  &lt;br /&gt;
  Unfortunately this cannot be changed on the fly. Only a reformat will make this so. The command to format a file system with 4096 &lt;br /&gt;
  byte blocks is:&lt;br /&gt;
  &lt;br /&gt;
  mke2fs -b 4096 /dev/whatever&lt;br /&gt;
  &lt;br /&gt;
  Additionally, on any filesystems except those used for logfiles, the default of 5% reserved for root use is excessive for large &lt;br /&gt;
  file systems, so the command to make the filesystem can be augmented to&lt;br /&gt;
  &lt;br /&gt;
  mke2fs -b 4096 -m 1 /dev/whatever&lt;br /&gt;
  &lt;br /&gt;
  to set the reserved fraction to 1 percent.&lt;br /&gt;
&lt;br /&gt;
Then if you want a journaling (ext3) filesystem:&lt;br /&gt;
&lt;br /&gt;
  mke2fs -b 4096 -m 1 -j /dev/whatever&lt;br /&gt;
&lt;br /&gt;
Note, no further configuration should be necessary as new drives will be auto-discovered.&lt;/div&gt;</summary>
		<author><name>Royw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=How_should_I_format_additional_hard_drives%3F&amp;diff=13933</id>
		<title>How should I format additional hard drives?</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=How_should_I_format_additional_hard_drives%3F&amp;diff=13933"/>
		<updated>2008-06-18T05:22:39Z</updated>

		<summary type="html">&lt;p&gt;Royw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Tutorials]]&lt;br /&gt;
From &amp;quot;blog gelusi: Linux Tuning Guide&amp;quot; (http://gelusi.blogspot.com/2008/02/linux-tuning-guide.html)&lt;br /&gt;
&lt;br /&gt;
  1. Filesystem&lt;br /&gt;
  Block sizes&lt;br /&gt;
  &lt;br /&gt;
  For filesystems dedicated to serving fairly large files, adopting a larger than default 1024 byte block size may yield significant&lt;br /&gt;
  performance gains.&lt;br /&gt;
  &lt;br /&gt;
  Recent transactions on the linux kernel list suggest that setting the block sizein an ext2 file system to 4096 instead of the &lt;br /&gt;
  default 1024 will result in less file fragmentation, faster fsck&#039;s, faster deletes and faster raw read speed, due to the reduced &lt;br /&gt;
  number of seeks.&lt;br /&gt;
  &lt;br /&gt;
  Unfortunately this cannot be changed on the fly. Only a reformat will make this so. The command to format a file system with 4096 &lt;br /&gt;
  byte blocks is:&lt;br /&gt;
  &lt;br /&gt;
  mke2fs -b 4096 /dev/whatever&lt;br /&gt;
  &lt;br /&gt;
  Additionally, on any filesystems except those used for logfiles, the default of 5% reserved for root use is excessive for large &lt;br /&gt;
  file systems, so the command to make the filesystem can be augmented to&lt;br /&gt;
  &lt;br /&gt;
  mke2fs -b 4096 -m 1 /dev/whatever&lt;br /&gt;
  &lt;br /&gt;
  to set the reserved fraction to 1 percent.&lt;br /&gt;
&lt;br /&gt;
Note, no further configuration should be necessary as new drives will be auto-discovered.&lt;/div&gt;</summary>
		<author><name>Royw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=How_should_I_format_additional_hard_drives%3F&amp;diff=13932</id>
		<title>How should I format additional hard drives?</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=How_should_I_format_additional_hard_drives%3F&amp;diff=13932"/>
		<updated>2008-06-18T05:20:27Z</updated>

		<summary type="html">&lt;p&gt;Royw: New page: From &amp;quot;blog gelusi: Linux Tuning Guide&amp;quot; (http://gelusi.blogspot.com/2008/02/linux-tuning-guide.html)    1. Filesystem   Block sizes      For filesystems dedicated to serving fairly large fi...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;From &amp;quot;blog gelusi: Linux Tuning Guide&amp;quot; (http://gelusi.blogspot.com/2008/02/linux-tuning-guide.html)&lt;br /&gt;
&lt;br /&gt;
  1. Filesystem&lt;br /&gt;
  Block sizes&lt;br /&gt;
  &lt;br /&gt;
  For filesystems dedicated to serving fairly large files, adopting a larger than default 1024 byte block size may yield significant&lt;br /&gt;
  performance gains.&lt;br /&gt;
  &lt;br /&gt;
  Recent transactions on the linux kernel list suggest that setting the block sizein an ext2 file system to 4096 instead of the &lt;br /&gt;
  default 1024 will result in less file fragmentation, faster fsck&#039;s, faster deletes and faster raw read speed, due to the reduced &lt;br /&gt;
  number of seeks.&lt;br /&gt;
  &lt;br /&gt;
  Unfortunately this cannot be changed on the fly. Only a reformat will make this so. The command to format a file system with 4096 &lt;br /&gt;
  byte blocks is:&lt;br /&gt;
  &lt;br /&gt;
  mke2fs -b 4096 /dev/whatever&lt;br /&gt;
  &lt;br /&gt;
  Additionally, on any filesystems except those used for logfiles, the default of 5% reserved for root use is excessive for large &lt;br /&gt;
  file systems, so the command to make the filesystem can be augmented to&lt;br /&gt;
  &lt;br /&gt;
  mke2fs -b 4096 -m 1 /dev/whatever&lt;br /&gt;
  &lt;br /&gt;
  to set the reserved fraction to 1 percent.&lt;br /&gt;
&lt;br /&gt;
Note, no further configuration should be necessary as new drives will be auto-discovered.&lt;/div&gt;</summary>
		<author><name>Royw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Frequently_Asked_Questions&amp;diff=13931</id>
		<title>Frequently Asked Questions</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Frequently_Asked_Questions&amp;diff=13931"/>
		<updated>2008-06-18T05:13:01Z</updated>

		<summary type="html">&lt;p&gt;Royw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This &#039;&#039;&#039;frequently asked questions&#039;&#039;&#039; (FAQ) section outlines solutions to the most common queries for initial/potential users. See also [[troubleshooting]] for solutions to problems experienced with the system.&lt;br /&gt;
&lt;br /&gt;
*[[Reset_the_password_for_the_LinuxMCE_Admin_site|What if I forget my web admin password?]]&lt;br /&gt;
*[[Resetting_Account_Passwords|What if I forget my linuxmce/upgrade account password?]]&lt;br /&gt;
*[[:Category:Hardware|Which hardware is known to work?]]&lt;br /&gt;
*[[What does an appliance solution like LinuxMCE cost?]]&lt;br /&gt;
*[[Is LinuxMCE an appliance or software solution?]]&lt;br /&gt;
*[[Do I need LinuxMCE?  Can I use the projects by themselves?]]&lt;br /&gt;
*[[Logging_In|How do I login to a LinuxMCE system?]]&lt;br /&gt;
*[[How are media files organized?]]&lt;br /&gt;
*[[I can&#039;t access my media files over the network]].&lt;br /&gt;
*[[Reset the password for the LinuxMCE Admin site]].&lt;br /&gt;
*[[What if you don&#039;t have a driver for my home automation device]]?&lt;br /&gt;
*[[What scenarios are created automatically?]]&lt;br /&gt;
*[[I&#039;m a Linux user already.  Should I use LinuxMCE&#039;s distribution]]?&lt;br /&gt;
*[[Encrypted DVD&#039;s|Why doesn&#039;t LinuxMCE support encrypted DVD&#039;s?]]&lt;br /&gt;
*[[Use Additional Mouse Buttons|How can I use additional mouse buttons for LinuxMCE?]]&lt;br /&gt;
*[[How should I format additional hard drives?]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>Royw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Howto:_Using_Network_Shares&amp;diff=10110</id>
		<title>Howto: Using Network Shares</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Howto:_Using_Network_Shares&amp;diff=10110"/>
		<updated>2008-04-24T23:03:28Z</updated>

		<summary type="html">&lt;p&gt;Royw: /* Manual Creation of Network Shares */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
[[Category: Tutorials]]&lt;br /&gt;
[[Category: Network Attached Storage]]&lt;br /&gt;
&lt;br /&gt;
The LinuxMCE core is able to auto-detect, configure and use Windows (SMB or CIFS) and *nix (NFS) network shares. This document details the different options for using network shares in LinuxMCE and the actions required to successfully configure them, when the automated discovery processes fail.&lt;br /&gt;
&lt;br /&gt;
== Network Share Use ==&lt;br /&gt;
&lt;br /&gt;
Network shares are accessed in LinuxMCE using synbolic links created in the media storage directories, either in &#039;&#039;/home/public/data&#039;&#039; in the case of public shares, or in &#039;&#039;/home/&amp;lt;user_name&amp;gt;/data&#039;&#039; if the share has been assigned to a user.&lt;br /&gt;
&lt;br /&gt;
LinuxMCE offers two alternatives for use of network shares:&lt;br /&gt;
&lt;br /&gt;
# Using LinuxMCE&#039;s directory structure&lt;br /&gt;
# As a simple storage area, either public or private&lt;br /&gt;
&lt;br /&gt;
=== Network Share Using LinuxMCE&#039;s Directory Structure ===&lt;br /&gt;
&lt;br /&gt;
In this case LinuxMCE uses separate directories on the share for each user, with media sub-directories in each one. These directory trees are created if they do not already exist on the share.&lt;br /&gt;
&lt;br /&gt;
For a typical Windows share, the storage layout will look like this:&lt;br /&gt;
&lt;br /&gt;
 my_share\public\audio&lt;br /&gt;
 my_share\public\documents&lt;br /&gt;
 my_share\public\pictures&lt;br /&gt;
 my_share\public\videos&lt;br /&gt;
 my_share\&amp;lt;user_1&amp;gt;\audio&lt;br /&gt;
 my_share\&amp;lt;user_1&amp;gt;\documents&lt;br /&gt;
 my_share\&amp;lt;user_1&amp;gt;\pictures&lt;br /&gt;
 my_share\&amp;lt;user_1&amp;gt;\videos&lt;br /&gt;
&lt;br /&gt;
=== Network Share As a Simple Storage Device ===&lt;br /&gt;
&lt;br /&gt;
In this case the share will simply be attached either to the &#039;&#039;public&#039;&#039; storage or to a specified user, using a symbolic link in the &#039;&#039;other&#039;&#039; media directory. For example:&lt;br /&gt;
&lt;br /&gt;
 /home/public/data/other/my_share&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
 /home/&amp;lt;user_1&amp;gt;/data/other/my_share&lt;br /&gt;
&lt;br /&gt;
== Adding Network Shares Using Auto-Detection and the Orbiter ==&lt;br /&gt;
&lt;br /&gt;
Adding a new network share to LinuxMCE consists of two stages: Adding the computer hosting the share as a &#039;&#039;File Server&#039;&#039;, and then adding each share on this computer.&lt;br /&gt;
&lt;br /&gt;
=== Adding a File Server ===&lt;br /&gt;
&lt;br /&gt;
# Ensure that the file server is active and connected to your network.&lt;br /&gt;
# Quick-reload the router. In the Orbiter, click &#039;&#039;More -&amp;gt; Advanced options -&amp;gt; Quick reload router&#039;&#039;.&lt;br /&gt;
# The orbiter will display a message identifying the detected network share, and ask what you would like to do with this share. Click &#039;&#039;File Server&#039;&#039;.&lt;br /&gt;
# The orbiter will ask for the user name and password for this file server. If the file server does not require a login, simply click &#039;&#039;Ok&#039;&#039;.&lt;br /&gt;
# The orbiter will inform you that the File Server has been created, and ask which room the file server is in.&lt;br /&gt;
&lt;br /&gt;
This concludes the first stage. LinuxMCE will now proceed to detect and configure any available shares on this file server. At some point, the message &amp;quot;I finished installing the software for your new devices. You will need to restart the router before you can use them&amp;quot; will be displayed. You can press &#039;&#039;Ok&#039;&#039; to dismiss the message, but you should not reload the router as this will interrupt the share configuration process.&lt;br /&gt;
&lt;br /&gt;
=== Adding File Shares ===&lt;br /&gt;
&lt;br /&gt;
# For each available file share on your new file server, the orbiter will display the share name and ask what you would like to do with it. The list will contain a single option - either &#039;&#039;Windows Share&#039;&#039; or &#039;&#039;NFS Share&#039;&#039;. Click this option.&lt;br /&gt;
# The orbiter will ask if the new storage device can be used automatically for storing media. If you select &#039;&#039;Yes&#039;&#039;, LinuxMCE will store ripped CDs and DVDs and recorded TV shows on this device.&lt;br /&gt;
# The next orbiter screen will ask allow you to select if you would like to use LinuxMCE&#039;s directory structure on the new storage device. You have three options:&lt;br /&gt;
## Use LinuxMCE&#039;s directory structure&lt;br /&gt;
## Access the device content as-is and make it public&lt;br /&gt;
## Access the device content as-is and make it private for a selected user&lt;br /&gt;
&lt;br /&gt;
When you have finished with this process, quick-reload the router.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting and Manual Configuration ==&lt;br /&gt;
&lt;br /&gt;
The automated configuration process can fail at several places. This section explains how to complete the configuration in each case, using the LinuxMCE admin website and a Linux shell.&lt;br /&gt;
&lt;br /&gt;
For all processes described below, start by navigating to the &#039;&#039;devices tree&#039;&#039; in the administration site: Either click &#039;&#039;show devices tree&#039;&#039; in the left-hand &#039;&#039;&#039;Wizard&#039;&#039;&#039; menu, or select &#039;&#039;Advances -&amp;gt; configuration -&amp;gt; Devices&#039;&#039; from the top menu.&lt;br /&gt;
&lt;br /&gt;
To enter shell commands, either press &#039;&#039;Ctrl+Alt+F2&#039;&#039; on the core console, or use SSH to connect to the core from another computer. In either case, log in using the user account you created when installing Ubuntu. When running a &#039;&#039;sudo&#039;&#039; operation, enter the password of the same user.&lt;br /&gt;
&lt;br /&gt;
=== Manual Creation of a File Server ===&lt;br /&gt;
&lt;br /&gt;
In case LinuxMCE fails to detect your file server, or if it detected it in the past and you selected to ignore it:&lt;br /&gt;
&lt;br /&gt;
# Click &#039;&#039;Core&#039;&#039; in the left-hand navigation tree.&lt;br /&gt;
# Click &#039;&#039;Create Child Device&#039;&#039; in the main window.&lt;br /&gt;
# Enter the file server&#039;s description and IP address.&lt;br /&gt;
# Click &#039;&#039;Pick device template&#039;&#039;.&lt;br /&gt;
# In the &#039;&#039;Device Category menu&#039;&#039; select &#039;&#039;File/Media Server&#039;&#039;.&lt;br /&gt;
# Click &#039;&#039;Apply Filter&#039;&#039;.&lt;br /&gt;
# In the &#039;&#039;Device Template&#039;&#039; menu select &#039;&#039;File Server&#039;&#039;.&lt;br /&gt;
# Click &#039;&#039;Pick device template&#039;&#039;.&lt;br /&gt;
# If the file server requires a login, in the &#039;&#039;Device data&#039;&#039; section, enter the username and password for the file server, and check &#039;&#039;Password Required&#039;&#039;. Then click &#039;&#039;Save&#039;&#039;.&lt;br /&gt;
# Note the device number of the new file server, displayed at the top of the main window.&lt;br /&gt;
# In the shell, trigger the network share detection script for the new file server:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/pluto/bin/Configure_1837.sh -d &amp;lt;device number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point, return to the orbiter to continue the automated process.&lt;br /&gt;
&lt;br /&gt;
=== Manual Creation of Network Shares ===&lt;br /&gt;
&lt;br /&gt;
In case LinuxMCE fails to detect the shares on your file server:&lt;br /&gt;
&lt;br /&gt;
# In the left-hand navigation tree, locate and click the file server entry.&lt;br /&gt;
# Click &#039;&#039;Create Child Device&#039;&#039; in the main window.&lt;br /&gt;
# Click &#039;&#039;Pick device template&#039;&#039;.&lt;br /&gt;
# In the &#039;&#039;Device Template&#039;&#039; menu select the appropriate share type for your file server.&lt;br /&gt;
# In the &#039;&#039;Device data&#039;&#039; area, fill in:&lt;br /&gt;
## &#039;&#039;&#039;PK_Users&#039;&#039;&#039;: Leave empty for a public share, or select the desired user [Starting with 0710, select &amp;quot;&#039;&#039;Public&#039;&#039;&amp;quot;, &amp;quot;&#039;&#039;Pluto&#039;s structure&#039;&#039;&amp;quot;, or a user name.  &amp;quot;&#039;&#039;Public&#039;&#039;&amp;quot; will mount under data/other.]&lt;br /&gt;
## &#039;&#039;&#039;Share Name&#039;&#039;&#039; (if the share is \\my_server\my_share, enter &#039;&#039;my_share&#039;&#039;)&lt;br /&gt;
## &#039;&#039;&#039;Filesystem&#039;&#039;&#039;: &#039;&#039;cifs&#039;&#039; for Windows shares, &#039;&#039;nfs&#039;&#039; for *nix shares&lt;br /&gt;
## Check &#039;&#039;&#039;Use Automatically&#039;&#039;&#039; if desired&lt;br /&gt;
## &#039;&#039;&#039;Username&#039;&#039;&#039;, &#039;&#039;&#039;Password&#039;&#039;&#039; and &#039;&#039;&#039;Password Required&#039;&#039;&#039; if the file server requires login.&lt;br /&gt;
 &lt;br /&gt;
LinuxMCE should now mount your new share and create the required links to make your data available.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: I have not been able to find how to select to use LinuxMCE&#039;s directory structure in this process.&lt;br /&gt;
&lt;br /&gt;
== Advanced Configuration Options ==&lt;br /&gt;
&lt;br /&gt;
Network shares use can be further customized using the LinuxMCE admin site. To use the following options, navigate to the network share device and scroll to the &#039;&#039;Device data&#039;&#039; section.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Directories&#039;&#039;&#039;: When a share is configured to use LinuxMCE&#039;s directory structure, it will by default be used in all media directories: &#039;&#039;audio, documents, pictures&#039;&#039; and &#039;&#039;videos&#039;&#039;. You can restrict which media directories will be used by entering their names in this field, separated by commas.&lt;br /&gt;
* &#039;&#039;&#039;Readonly&#039;&#039;&#039;: checking this option will make LinuxMCE mount the share as read-only. This will stop LinuxMCE from creating .id3 files for all your videos, and from modifying the MP3 tags of your music files.&lt;br /&gt;
&lt;br /&gt;
== NFS Server Hints ==&lt;br /&gt;
&lt;br /&gt;
If you are wanting to have a linux system be your server, here are a few hints.&lt;br /&gt;
&lt;br /&gt;
As of 0710 beta 3, LinuxMCE requires your sever to be very open (insecure).  You must allow root access to the share as LinuxMCE writes files as root:public.&lt;br /&gt;
&lt;br /&gt;
So on the server to share /var/media, assuming your core is at 192.168.80.1, you need to add your share to the /etc/exports like:&lt;br /&gt;
&lt;br /&gt;
  /var/media/ 192.168.80.1(async,no_subtree_check,rw,no_root_squash)&lt;br /&gt;
&lt;br /&gt;
Ownership in your share of media files should be:  root:public (0:1002) and permissions should be set to 2775 (rwxrwsr-x)&lt;br /&gt;
&lt;br /&gt;
You may need to change a groupid if another group is already using 1002.  The process will vary depending on your system, but here are the general steps:&lt;br /&gt;
# examine /etc/groups and find an unused group id to move the conflicting group to.  This example will use 1234 for the new group id.&lt;br /&gt;
# find all files with that currently have 1002 groupid:  find / -group 1002 -print&lt;br /&gt;
#* if it&#039;s just a few files then you can change their group id with:  chgrp 1234 filename&lt;br /&gt;
#* if it&#039;s a lot of files, then you might prefer using the find command:  find / -group 1002 -exec chgrp 1234 &#039;{}&#039; \;&lt;br /&gt;
# now double check that you changed all the files with group id 1002:  find / -group 1002 -print&lt;br /&gt;
# edit /etc/groups and change the group id for the conflicting group from 1002 to the new group id (1234 in this example)&lt;br /&gt;
# while editing /etc/groups, edit or add the public group with a group id of 1002&lt;br /&gt;
# save /etc/groups&lt;br /&gt;
# if the conflicting group was for a service, then restart the service.&lt;br /&gt;
# if the service was one of the critical service (mine was hald), I&#039;d go ahead and reboot the box.&lt;/div&gt;</summary>
		<author><name>Royw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Howto:_Using_Network_Shares&amp;diff=10052</id>
		<title>Howto: Using Network Shares</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Howto:_Using_Network_Shares&amp;diff=10052"/>
		<updated>2008-04-23T08:00:43Z</updated>

		<summary type="html">&lt;p&gt;Royw: /* NFS Server Hints */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
[[Category: Tutorials]]&lt;br /&gt;
[[Category: Network Attached Storage]]&lt;br /&gt;
&lt;br /&gt;
The LinuxMCE core is able to auto-detect, configure and use Windows (SMB or CIFS) and *nix (NFS) network shares. This document details the different options for using network shares in LinuxMCE and the actions required to successfully configure them, when the automated discovery processes fail.&lt;br /&gt;
&lt;br /&gt;
== Network Share Use ==&lt;br /&gt;
&lt;br /&gt;
Network shares are accessed in LinuxMCE using synbolic links created in the media storage directories, either in &#039;&#039;/home/public/data&#039;&#039; in the case of public shares, or in &#039;&#039;/home/&amp;lt;user_name&amp;gt;/data&#039;&#039; if the share has been assigned to a user.&lt;br /&gt;
&lt;br /&gt;
LinuxMCE offers two alternatives for use of network shares:&lt;br /&gt;
&lt;br /&gt;
# Using LinuxMCE&#039;s directory structure&lt;br /&gt;
# As a simple storage area, either public or private&lt;br /&gt;
&lt;br /&gt;
=== Network Share Using LinuxMCE&#039;s Directory Structure ===&lt;br /&gt;
&lt;br /&gt;
In this case LinuxMCE uses separate directories on the share for each user, with media sub-directories in each one. These directory trees are created if they do not already exist on the share.&lt;br /&gt;
&lt;br /&gt;
For a typical Windows share, the storage layout will look like this:&lt;br /&gt;
&lt;br /&gt;
 my_share\public\audio&lt;br /&gt;
 my_share\public\documents&lt;br /&gt;
 my_share\public\pictures&lt;br /&gt;
 my_share\public\videos&lt;br /&gt;
 my_share\&amp;lt;user_1&amp;gt;\audio&lt;br /&gt;
 my_share\&amp;lt;user_1&amp;gt;\documents&lt;br /&gt;
 my_share\&amp;lt;user_1&amp;gt;\pictures&lt;br /&gt;
 my_share\&amp;lt;user_1&amp;gt;\videos&lt;br /&gt;
&lt;br /&gt;
=== Network Share As a Simple Storage Device ===&lt;br /&gt;
&lt;br /&gt;
In this case the share will simply be attached either to the &#039;&#039;public&#039;&#039; storage or to a specified user, using a symbolic link in the &#039;&#039;other&#039;&#039; media directory. For example:&lt;br /&gt;
&lt;br /&gt;
 /home/public/data/other/my_share&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
 /home/&amp;lt;user_1&amp;gt;/data/other/my_share&lt;br /&gt;
&lt;br /&gt;
== Adding Network Shares Using Auto-Detection and the Orbiter ==&lt;br /&gt;
&lt;br /&gt;
Adding a new network share to LinuxMCE consists of two stages: Adding the computer hosting the share as a &#039;&#039;File Server&#039;&#039;, and then adding each share on this computer.&lt;br /&gt;
&lt;br /&gt;
=== Adding a File Server ===&lt;br /&gt;
&lt;br /&gt;
# Ensure that the file server is active and connected to your network.&lt;br /&gt;
# Quick-reload the router. In the Orbiter, click &#039;&#039;More -&amp;gt; Advanced options -&amp;gt; Quick reload router&#039;&#039;.&lt;br /&gt;
# The orbiter will display a message identifying the detected network share, and ask what you would like to do with this share. Click &#039;&#039;File Server&#039;&#039;.&lt;br /&gt;
# The orbiter will ask for the user name and password for this file server. If the file server does not require a login, simply click &#039;&#039;Ok&#039;&#039;.&lt;br /&gt;
# The orbiter will inform you that the File Server has been created, and ask which room the file server is in.&lt;br /&gt;
&lt;br /&gt;
This concludes the first stage. LinuxMCE will now proceed to detect and configure any available shares on this file server. At some point, the message &amp;quot;I finished installing the software for your new devices. You will need to restart the router before you can use them&amp;quot; will be displayed. You can press &#039;&#039;Ok&#039;&#039; to dismiss the message, but you should not reload the router as this will interrupt the share configuration process.&lt;br /&gt;
&lt;br /&gt;
=== Adding File Shares ===&lt;br /&gt;
&lt;br /&gt;
# For each available file share on your new file server, the orbiter will display the share name and ask what you would like to do with it. The list will contain a single option - either &#039;&#039;Windows Share&#039;&#039; or &#039;&#039;NFS Share&#039;&#039;. Click this option.&lt;br /&gt;
# The orbiter will ask if the new storage device can be used automatically for storing media. If you select &#039;&#039;Yes&#039;&#039;, LinuxMCE will store ripped CDs and DVDs and recorded TV shows on this device.&lt;br /&gt;
# The next orbiter screen will ask allow you to select if you would like to use LinuxMCE&#039;s directory structure on the new storage device. You have three options:&lt;br /&gt;
## Use LinuxMCE&#039;s directory structure&lt;br /&gt;
## Access the device content as-is and make it public&lt;br /&gt;
## Access the device content as-is and make it private for a selected user&lt;br /&gt;
&lt;br /&gt;
When you have finished with this process, quick-reload the router.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting and Manual Configuration ==&lt;br /&gt;
&lt;br /&gt;
The automated configuration process can fail at several places. This section explains how to complete the configuration in each case, using the LinuxMCE admin website and a Linux shell.&lt;br /&gt;
&lt;br /&gt;
For all processes described below, start by navigating to the &#039;&#039;devices tree&#039;&#039; in the administration site: Either click &#039;&#039;show devices tree&#039;&#039; in the left-hand &#039;&#039;&#039;Wizard&#039;&#039;&#039; menu, or select &#039;&#039;Advances -&amp;gt; configuration -&amp;gt; Devices&#039;&#039; from the top menu.&lt;br /&gt;
&lt;br /&gt;
To enter shell commands, either press &#039;&#039;Ctrl+Alt+F2&#039;&#039; on the core console, or use SSH to connect to the core from another computer. In either case, log in using the user account you created when installing Ubuntu. When running a &#039;&#039;sudo&#039;&#039; operation, enter the password of the same user.&lt;br /&gt;
&lt;br /&gt;
=== Manual Creation of a File Server ===&lt;br /&gt;
&lt;br /&gt;
In case LinuxMCE fails to detect your file server, or if it detected it in the past and you selected to ignore it:&lt;br /&gt;
&lt;br /&gt;
# Click &#039;&#039;Core&#039;&#039; in the left-hand navigation tree.&lt;br /&gt;
# Click &#039;&#039;Create Child Device&#039;&#039; in the main window.&lt;br /&gt;
# Enter the file server&#039;s description and IP address.&lt;br /&gt;
# Click &#039;&#039;Pick device template&#039;&#039;.&lt;br /&gt;
# In the &#039;&#039;Device Category menu&#039;&#039; select &#039;&#039;File/Media Server&#039;&#039;.&lt;br /&gt;
# Click &#039;&#039;Apply Filter&#039;&#039;.&lt;br /&gt;
# In the &#039;&#039;Device Template&#039;&#039; menu select &#039;&#039;File Server&#039;&#039;.&lt;br /&gt;
# Click &#039;&#039;Pick device template&#039;&#039;.&lt;br /&gt;
# If the file server requires a login, in the &#039;&#039;Device data&#039;&#039; section, enter the username and password for the file server, and check &#039;&#039;Password Required&#039;&#039;. Then click &#039;&#039;Save&#039;&#039;.&lt;br /&gt;
# Note the device number of the new file server, displayed at the top of the main window.&lt;br /&gt;
# In the shell, trigger the network share detection script for the new file server:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/pluto/bin/Configure_1837.sh -d &amp;lt;device number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point, return to the orbiter to continue the automated process.&lt;br /&gt;
&lt;br /&gt;
=== Manual Creation of Network Shares ===&lt;br /&gt;
&lt;br /&gt;
In case LinuxMCE fails to detect the shares on your file server:&lt;br /&gt;
&lt;br /&gt;
# In the left-hand navigation tree, locate and click the file server entry.&lt;br /&gt;
# Click &#039;&#039;Create Child Device&#039;&#039; in the main window.&lt;br /&gt;
# Click &#039;&#039;Pick device template&#039;&#039;.&lt;br /&gt;
# In the &#039;&#039;Device Template&#039;&#039; menu select the appropriate share type for your file server.&lt;br /&gt;
# In the &#039;&#039;Device data&#039;&#039; area, fill in:&lt;br /&gt;
## &#039;&#039;&#039;PK_Users&#039;&#039;&#039;: Leave empty for a public share, or select the desired user&lt;br /&gt;
## &#039;&#039;&#039;Share Name&#039;&#039;&#039; (if the share is \\my_server\my_share, enter &#039;&#039;my_share&#039;&#039;)&lt;br /&gt;
## &#039;&#039;&#039;Filesystem&#039;&#039;&#039;: &#039;&#039;cifs&#039;&#039; for Windows shares, &#039;&#039;nfs&#039;&#039; for *nix shares&lt;br /&gt;
## Check &#039;&#039;&#039;Use Automatically&#039;&#039;&#039; if desired&lt;br /&gt;
## &#039;&#039;&#039;Username&#039;&#039;&#039;, &#039;&#039;&#039;Password&#039;&#039;&#039; and &#039;&#039;&#039;Password Required&#039;&#039;&#039; if the file server requires login.&lt;br /&gt;
 &lt;br /&gt;
LinuxMCE should now mount your new share and create the required links to make your data available.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: I have not been able to find how to select to use LinuxMCE&#039;s directory structure in this process.&lt;br /&gt;
&lt;br /&gt;
== Advanced Configuration Options ==&lt;br /&gt;
&lt;br /&gt;
Network shares use can be further customized using the LinuxMCE admin site. To use the following options, navigate to the network share device and scroll to the &#039;&#039;Device data&#039;&#039; section.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Directories&#039;&#039;&#039;: When a share is configured to use LinuxMCE&#039;s directory structure, it will by default be used in all media directories: &#039;&#039;audio, documents, pictures&#039;&#039; and &#039;&#039;videos&#039;&#039;. You can restrict which media directories will be used by entering their names in this field, separated by commas.&lt;br /&gt;
* &#039;&#039;&#039;Readonly&#039;&#039;&#039;: checking this option will make LinuxMCE mount the share as read-only. This will stop LinuxMCE from creating .id3 files for all your videos, and from modifying the MP3 tags of your music files.&lt;br /&gt;
&lt;br /&gt;
== NFS Server Hints ==&lt;br /&gt;
&lt;br /&gt;
If you are wanting to have a linux system be your server, here are a few hints.&lt;br /&gt;
&lt;br /&gt;
As of 0710 beta 3, LinuxMCE requires your sever to be very open (insecure).  You must allow root access to the share as LinuxMCE writes files as root:public.&lt;br /&gt;
&lt;br /&gt;
So on the server to share /var/media, assuming your core is at 192.168.80.1, you need to add your share to the /etc/exports like:&lt;br /&gt;
&lt;br /&gt;
  /var/media/ 192.168.80.1(async,no_subtree_check,rw,no_root_squash)&lt;br /&gt;
&lt;br /&gt;
Ownership in your share of media files should be:  root:public (0:1002) and permissions should be set to 2775 (rwxrwsr-x)&lt;br /&gt;
&lt;br /&gt;
You may need to change a groupid if another group is already using 1002.  The process will vary depending on your system, but here are the general steps:&lt;br /&gt;
# examine /etc/groups and find an unused group id to move the conflicting group to.  This example will use 1234 for the new group id.&lt;br /&gt;
# find all files with that currently have 1002 groupid:  find / -group 1002 -print&lt;br /&gt;
#* if it&#039;s just a few files then you can change their group id with:  chgrp 1234 filename&lt;br /&gt;
#* if it&#039;s a lot of files, then you might prefer using the find command:  find / -group 1002 -exec chgrp 1234 &#039;{}&#039; \;&lt;br /&gt;
# now double check that you changed all the files with group id 1002:  find / -group 1002 -print&lt;br /&gt;
# edit /etc/groups and change the group id for the conflicting group from 1002 to the new group id (1234 in this example)&lt;br /&gt;
# while editing /etc/groups, edit or add the public group with a group id of 1002&lt;br /&gt;
# save /etc/groups&lt;br /&gt;
# if the conflicting group was for a service, then restart the service.&lt;br /&gt;
# if the service was one of the critical service (mine was hald), I&#039;d go ahead and reboot the box.&lt;/div&gt;</summary>
		<author><name>Royw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=User:Royw&amp;diff=9808</id>
		<title>User:Royw</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=User:Royw&amp;diff=9808"/>
		<updated>2008-03-27T22:42:02Z</updated>

		<summary type="html">&lt;p&gt;Royw: New page: == My System == === AV === ==== TV ==== * Hitachi P50_6-X901 ** Still looking for info on RS-232 port ==== AV Receiver ==== * Yamaha RX-V861 ==== HD ==== * Playstation 3 ==== Power ==== * ...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== My System ==&lt;br /&gt;
=== AV ===&lt;br /&gt;
==== TV ====&lt;br /&gt;
* Hitachi P50_6-X901&lt;br /&gt;
** Still looking for info on RS-232 port&lt;br /&gt;
==== AV Receiver ====&lt;br /&gt;
* Yamaha RX-V861&lt;br /&gt;
==== HD ====&lt;br /&gt;
* Playstation 3&lt;br /&gt;
==== Power ====&lt;br /&gt;
* Belkin 900VA UPS&lt;br /&gt;
** researching power conditioners&lt;br /&gt;
==== Other ====&lt;br /&gt;
* 5.1 speaker setup&lt;br /&gt;
* Onkyo DV-SP501 (retired)&lt;br /&gt;
* RCA VHS (semi-retired)&lt;br /&gt;
=== Core/hybrid ===&lt;br /&gt;
* Gigabyte GA-MA69G-S3H&lt;br /&gt;
** Onboard ATI video not usable as MD&lt;br /&gt;
* AMD 64 X2 4800 CPU&lt;br /&gt;
* 2GB DDR2 800MHz RAM&lt;br /&gt;
* GeForce 7600 GS video with passive cooling&lt;br /&gt;
* WDC WD5000AAKS-0 SATA HDD&lt;br /&gt;
* WDC WD10EACS-00Z SATA HDD&lt;br /&gt;
* PIONEER DVD-RW DVR-111C IDE DVD-RAM writer&lt;br /&gt;
* Linksys Gigabit Network Adapter&lt;br /&gt;
* Zalman HD135 case&lt;br /&gt;
=== Media Director ===&lt;br /&gt;
Currently only have analog audio working.  Current guess is need Intel HD Audio ALSA driver.&lt;br /&gt;
* MSI K9NGM3&lt;br /&gt;
* WD 36GB Raptor SATA1 (not used in diskless MD configuration)&lt;br /&gt;
* Antec Sonata II case w/ 350W power supply (hey, it&#039;s what I had laying around)&lt;br /&gt;
=== Orbiters ===&lt;br /&gt;
* Nokia N800&lt;br /&gt;
* Gyration air mouse and keyboard&lt;br /&gt;
=== NFS ===&lt;br /&gt;
This is a low usage workstation with the secondary function of serving NFS media.&lt;br /&gt;
* MB GIGABYTE GA-X38-DQ6 X38 775 RTL 	&lt;br /&gt;
* CPU THERMPASTE|ARCTIC SILVER5 3.5G% 	&lt;br /&gt;
* CPU INTEL|C2Q Q6600 2.40G 775 8M R 	&lt;br /&gt;
* CASE ANTEC|P182 BK RT 	&lt;br /&gt;
* VGA GIGABYTE GV-NX86S256H 8600GTS R 	&lt;br /&gt;
* PSU TT|W0106RU 700W RT (I&#039;d go with the 800W next time because it has more SATA power connectors)&lt;br /&gt;
* HD 500G|WD 7K 16M SATA2 WD5000AAKS 	&lt;br /&gt;
* 2x MEM 2Gx2|GSK F2-6400CL4D-4GBPK R (8GB total)&lt;br /&gt;
* 2x FAN SCYTHE|S-FLEX SFF21D(800rmp) RT 	&lt;br /&gt;
* DVD BURN LG|GSA-H62NK BK % 	&lt;br /&gt;
* 3x WDC WD10EACS-00Z SATA HDD (one LVM volume, ext3, nfs shared)&lt;br /&gt;
=== Automation ===&lt;br /&gt;
* USBUIRT&lt;br /&gt;
* xantech 286M dual blink-ir mouse emitter&lt;br /&gt;
Leaning towards insteon lighting control&lt;/div&gt;</summary>
		<author><name>Royw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Custom_Power_Station&amp;diff=9666</id>
		<title>Custom Power Station</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Custom_Power_Station&amp;diff=9666"/>
		<updated>2008-03-12T23:10:05Z</updated>

		<summary type="html">&lt;p&gt;Royw: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Examples of LinuxMCE configurations by users.&lt;br /&gt;
&lt;br /&gt;
== Remote Control Organizer and Charging Station ==&lt;br /&gt;
[[Image:Organizer-loaded-600x400.jpg]]&lt;br /&gt;
[[Image:Organizer-open-600x400.jpg]]&lt;br /&gt;
&lt;br /&gt;
One afternoon I decided to organize the mess of all the remote controls for my LMCE system.  So designed and built this organizer/charging station to hold:&lt;br /&gt;
* Gyration keyboard&lt;br /&gt;
* Gyration air mouse&lt;br /&gt;
* Nokia N800 orbiter&lt;br /&gt;
* 2 PS3 controllers&lt;br /&gt;
* wireless phone (not yet voip)&lt;br /&gt;
* av remote (haven&#039;t figured out how to have USB-UIRT transmit yet)&lt;br /&gt;
&lt;br /&gt;
If I was to do it again, I&#039;d offset the power strip and add a 2&amp;quot; drawer underneath.&lt;/div&gt;</summary>
		<author><name>Royw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=File:Organizer-loaded-600x400.jpg&amp;diff=9665</id>
		<title>File:Organizer-loaded-600x400.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=File:Organizer-loaded-600x400.jpg&amp;diff=9665"/>
		<updated>2008-03-12T22:54:42Z</updated>

		<summary type="html">&lt;p&gt;Royw: This is the loaded view of my remote organizer and charging station.  Wood is oak with a a tung oil finish.  Base is single piece 16&amp;quot; x 11 1/4&amp;quot; x 3/4&amp;quot;.  The sides are 16&amp;quot; x 4 7/8&amp;quot; x 3/8&amp;quot;.  The top is 16&amp;quot; x 4 5/8&amp;quot; x 3/8&amp;quot;.  The ends are 7&amp;quot; x 4 3/8&amp;quot; x 3/8&amp;quot;. &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the loaded view of my remote organizer and charging station.  Wood is oak with a a tung oil finish.  Base is single piece 16&amp;quot; x 11 1/4&amp;quot; x 3/4&amp;quot;.  The sides are 16&amp;quot; x 4 7/8&amp;quot; x 3/8&amp;quot;.  The top is 16&amp;quot; x 4 5/8&amp;quot; x 3/8&amp;quot;.  The ends are 7&amp;quot; x 4 3/8&amp;quot; x 3/8&amp;quot;.  Angle is 15 degrees.&lt;/div&gt;</summary>
		<author><name>Royw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=File:Organizer-open-600x400.jpg&amp;diff=9664</id>
		<title>File:Organizer-open-600x400.jpg</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=File:Organizer-open-600x400.jpg&amp;diff=9664"/>
		<updated>2008-03-12T22:45:35Z</updated>

		<summary type="html">&lt;p&gt;Royw: Open view of remote organizer and charging station I made one afternoon.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Open view of remote organizer and charging station I made one afternoon.&lt;/div&gt;</summary>
		<author><name>Royw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Howto:_Using_Network_Shares&amp;diff=8784</id>
		<title>Howto: Using Network Shares</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Howto:_Using_Network_Shares&amp;diff=8784"/>
		<updated>2008-02-08T08:12:56Z</updated>

		<summary type="html">&lt;p&gt;Royw: /* Advanced Configuration Options */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
[[Category: Tutorials]]&lt;br /&gt;
[[Category: Network Attached Storage]]&lt;br /&gt;
&lt;br /&gt;
The LinuxMCE core is able to auto-detect, configure and use Windows (SMB or CIFS) and *nix (NFS) network shares. This document details the different options for using network shares in LinuxMCE and the actions required to successfully configure them, when the automated discovery processes fail.&lt;br /&gt;
&lt;br /&gt;
== Network Share Use ==&lt;br /&gt;
&lt;br /&gt;
Network shares are accessed in LinuxMCE using synbolic links created in the media storage directories, either in &#039;&#039;/home/public/data&#039;&#039; in the case of public shares, or in &#039;&#039;/home/&amp;lt;user_name&amp;gt;/data&#039;&#039; if the share has been assigned to a user.&lt;br /&gt;
&lt;br /&gt;
LinuxMCE offers two alternatives for use of network shares:&lt;br /&gt;
&lt;br /&gt;
# Using LinuxMCE&#039;s directory structure&lt;br /&gt;
# As a simple storage area, either public or private&lt;br /&gt;
&lt;br /&gt;
=== Network Share Using LinuxMCE&#039;s Directory Structure ===&lt;br /&gt;
&lt;br /&gt;
In this case LinuxMCE uses separate directories on the share for each user, with media sub-directories in each one. These directory trees are created if they do not already exist on the share.&lt;br /&gt;
&lt;br /&gt;
For a typical Windows share, the storage layout will look like this:&lt;br /&gt;
&lt;br /&gt;
 my_share\public\audio&lt;br /&gt;
 my_share\public\documents&lt;br /&gt;
 my_share\public\pictures&lt;br /&gt;
 my_share\public\videos&lt;br /&gt;
 my_share\&amp;lt;user_1&amp;gt;\audio&lt;br /&gt;
 my_share\&amp;lt;user_1&amp;gt;\documents&lt;br /&gt;
 my_share\&amp;lt;user_1&amp;gt;\pictures&lt;br /&gt;
 my_share\&amp;lt;user_1&amp;gt;\videos&lt;br /&gt;
&lt;br /&gt;
=== Network Share As a Simple Storage Device ===&lt;br /&gt;
&lt;br /&gt;
In this case the share will simply be attached either to the &#039;&#039;public&#039;&#039; storage or to a specified user, using a symbolic link in the &#039;&#039;other&#039;&#039; media directory. For example:&lt;br /&gt;
&lt;br /&gt;
 /home/public/data/other/my_share&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
 /home/&amp;lt;user_1&amp;gt;/data/other/my_share&lt;br /&gt;
&lt;br /&gt;
== Adding Network Shares Using Auto-Detection and the Orbiter ==&lt;br /&gt;
&lt;br /&gt;
Adding a new network share to LinuxMCE consists of two stages: Adding the computer hosting the share as a &#039;&#039;File Server&#039;&#039;, and then adding each share on this computer.&lt;br /&gt;
&lt;br /&gt;
=== Adding a File Server ===&lt;br /&gt;
&lt;br /&gt;
# Ensure that the file server is active and connected to your network.&lt;br /&gt;
# Quick-reload the router. In the Orbiter, click &#039;&#039;More -&amp;gt; Advanced options -&amp;gt; Quick reload router&#039;&#039;.&lt;br /&gt;
# The orbiter will display a message identifying the detected network share, and ask what you would like to do with this share. Click &#039;&#039;File Server&#039;&#039;.&lt;br /&gt;
# The orbiter will ask for the user name and password for this file server. If the file server does not require a login, simply click &#039;&#039;Ok&#039;&#039;.&lt;br /&gt;
# The orbiter will inform you that the File Server has been created, and ask which room the file server is in.&lt;br /&gt;
&lt;br /&gt;
This concludes the first stage. LinuxMCE will now proceed to detect and configure any available shares on this file server. At some point, the message &amp;quot;I finished installing the software for your new devices. You will need to restart the router before you can use them&amp;quot; will be displayed. You can press &#039;&#039;Ok&#039;&#039; to dismiss the message, but you should not reload the router as this will interrupt the share configuration process.&lt;br /&gt;
&lt;br /&gt;
=== Adding File Shares ===&lt;br /&gt;
&lt;br /&gt;
# For each available file share on your new file server, the orbiter will display the share name and ask what you would like to do with it. The list will contain a single option - either &#039;&#039;Windows Share&#039;&#039; or &#039;&#039;NFS Share&#039;&#039;. Click this option.&lt;br /&gt;
# The orbiter will ask if the new storage device can be used automatically for storing media. If you select &#039;&#039;Yes&#039;&#039;, LinuxMCE will store ripped CDs and DVDs and recorded TV shows on this device.&lt;br /&gt;
# The next orbiter screen will ask allow you to select if you would like to use LinuxMCE&#039;s directory structure on the new storage device. You have three options:&lt;br /&gt;
## Use LinuxMCE&#039;s directory structure&lt;br /&gt;
## Access the device content as-is and make it public&lt;br /&gt;
## Access the device content as-is and make it private for a selected user&lt;br /&gt;
&lt;br /&gt;
When you have finished with this process, quick-reload the router.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting and Manual Configuration ==&lt;br /&gt;
&lt;br /&gt;
The automated configuration process can fail at several places. This section explains how to complete the configuration in each case, using the LinuxMCE admin website and a Linux shell.&lt;br /&gt;
&lt;br /&gt;
For all processes described below, start by navigating to the &#039;&#039;devices tree&#039;&#039; in the administration site: Either click &#039;&#039;show devices tree&#039;&#039; in the left-hand &#039;&#039;&#039;Wizard&#039;&#039;&#039; menu, or select &#039;&#039;Advances -&amp;gt; configuration -&amp;gt; Devices&#039;&#039; from the top menu.&lt;br /&gt;
&lt;br /&gt;
To enter shell commands, either press &#039;&#039;Ctrl+Alt+F2&#039;&#039; on the core console, or use SSH to connect to the core from another computer. In either case, log in using the user account you created when installing Ubuntu. When running a &#039;&#039;sudo&#039;&#039; operation, enter the password of the same user.&lt;br /&gt;
&lt;br /&gt;
=== Manual Creation of a File Server ===&lt;br /&gt;
&lt;br /&gt;
In case LinuxMCE fails to detect your file server, or if it detected it in the past and you selected to ignore it:&lt;br /&gt;
&lt;br /&gt;
# Click &#039;&#039;Core&#039;&#039; in the left-hand navigation tree.&lt;br /&gt;
# Click &#039;&#039;Create Child Device&#039;&#039; in the main window.&lt;br /&gt;
# Enter the file server&#039;s description and IP address.&lt;br /&gt;
# Click &#039;&#039;Pick device template&#039;&#039;.&lt;br /&gt;
# In the &#039;&#039;Device Category menu&#039;&#039; select &#039;&#039;File/Media Server&#039;&#039;.&lt;br /&gt;
# Click &#039;&#039;Apply Filter&#039;&#039;.&lt;br /&gt;
# In the &#039;&#039;Device Template&#039;&#039; menu select &#039;&#039;File Server&#039;&#039;.&lt;br /&gt;
# Click &#039;&#039;Pick device template&#039;&#039;.&lt;br /&gt;
# If the file server requires a login, in the &#039;&#039;Device data&#039;&#039; section, enter the username and password for the file server, and check &#039;&#039;Password Required&#039;&#039;. Then click &#039;&#039;Save&#039;&#039;.&lt;br /&gt;
# Note the device number of the new file server, displayed at the top of the main window.&lt;br /&gt;
# In the shell, trigger the network share detection script for the new file server:&lt;br /&gt;
&lt;br /&gt;
 sudo /usr/pluto/bin/Configure_1837.sh -d &amp;lt;device number&amp;gt;&lt;br /&gt;
&lt;br /&gt;
At this point, return to the orbiter to continue the automated process.&lt;br /&gt;
&lt;br /&gt;
=== Manual Creation of Network Shares ===&lt;br /&gt;
&lt;br /&gt;
In case LinuxMCE fails to detect the shares on your file server:&lt;br /&gt;
&lt;br /&gt;
# In the left-hand navigation tree, locate and click the file server entry.&lt;br /&gt;
# Click &#039;&#039;Create Child Device&#039;&#039; in the main window.&lt;br /&gt;
# Click &#039;&#039;Pick device template&#039;&#039;.&lt;br /&gt;
# In the &#039;&#039;Device Template&#039;&#039; menu select the appropriate share type for your file server.&lt;br /&gt;
# In the &#039;&#039;Device data&#039;&#039; area, fill in:&lt;br /&gt;
## &#039;&#039;&#039;PK_Users&#039;&#039;&#039;: Leave empty for a public share, or select the desired user&lt;br /&gt;
## &#039;&#039;&#039;Share Name&#039;&#039;&#039; (if the share is \\my_server\my_share, enter &#039;&#039;my_share&#039;&#039;)&lt;br /&gt;
## &#039;&#039;&#039;Filesystem&#039;&#039;&#039;: &#039;&#039;cifs&#039;&#039; for Windows shares, &#039;&#039;nfs&#039;&#039; for *nix shares&lt;br /&gt;
## Check &#039;&#039;&#039;Use Automatically&#039;&#039;&#039; if desired&lt;br /&gt;
## &#039;&#039;&#039;Username&#039;&#039;&#039;, &#039;&#039;&#039;Password&#039;&#039;&#039; and &#039;&#039;&#039;Password Required&#039;&#039;&#039; if the file server requires login.&lt;br /&gt;
 &lt;br /&gt;
LinuxMCE should now mount your new share and create the required links to make your data available.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: I have not been able to find how to select to use LinuxMCE&#039;s directory structure in this process.&lt;br /&gt;
&lt;br /&gt;
== Advanced Configuration Options ==&lt;br /&gt;
&lt;br /&gt;
Network shares use can be further customized using the LinuxMCE admin site. To use the following options, navigate to the network share device and scroll to the &#039;&#039;Device data&#039;&#039; section.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Directories&#039;&#039;&#039;: When a share is configured to use LinuxMCE&#039;s directory structure, it will by default be used in all media directories: &#039;&#039;audio, documents, pictures&#039;&#039; and &#039;&#039;videos&#039;&#039;. You can restrict which media directories will be used by entering their names in this field, separated by commas.&lt;br /&gt;
* &#039;&#039;&#039;Readonly&#039;&#039;&#039;: checking this option will make LinuxMCE mount the share as read-only. This will stop LinuxMCE from creating .id3 files for all your videos, and from modifying the MP3 tags of your music files.&lt;br /&gt;
&lt;br /&gt;
== NFS Server Hints ==&lt;br /&gt;
&lt;br /&gt;
If you are wanting to have a linux system be your server, here are a few hints.&lt;br /&gt;
&lt;br /&gt;
As of 0710 beta 3, LinuxMCE requires your sever to be very open (insecure).  You must allow root access to the share as LinuxMCE writes files as root:public.&lt;br /&gt;
&lt;br /&gt;
So on the server to share /var/media, assuming your core is at 192.168.80.1, you need to add your share to the /etc/exports like:&lt;br /&gt;
&lt;br /&gt;
  /var/media/ 192.168.80.1(async,no_subtree_check,rw,no_root_squash)&lt;br /&gt;
&lt;br /&gt;
Ownership in your share of media files should be:  root:public (0:1002) and permissions should be set to 2775 (rwxrwsr-x)&lt;/div&gt;</summary>
		<author><name>Royw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=How_to_setup_Local_Authoritative_DNS&amp;diff=8741</id>
		<title>How to setup Local Authoritative DNS</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=How_to_setup_Local_Authoritative_DNS&amp;diff=8741"/>
		<updated>2008-02-04T05:17:45Z</updated>

		<summary type="html">&lt;p&gt;Royw: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=How to setup Local Authoritative DNS=&lt;br /&gt;
&lt;br /&gt;
I was wanting an authoritative name server for my local intranet.  I also wanted any dynamic IP&#039;s to be visible to the name server.  The name server included with linuxmce is configured as a recursive name server.  Here&#039;s the changes I did to configure my core&#039;s name server to be authoritative and support dynamic IPs.  Note, the machines on my intranet are private, i.e., not known to the outside world.&lt;br /&gt;
&lt;br /&gt;
  3 Feb 2008 - Developed and tested on LinuxMCE 0710 Beta 3 amd64.&lt;br /&gt;
&lt;br /&gt;
I named my intranet &amp;quot;wright.local&amp;quot;.  Using a &amp;quot;local&amp;quot; top level domain (TLD) is recommended for private intranets.  Some may prefer to use &amp;quot;lan&amp;quot;.  You do not want to use any of the standard TLDs like &amp;quot;com&amp;quot;, &amp;quot;net&amp;quot;, &amp;quot;org&amp;quot;,...&lt;br /&gt;
&lt;br /&gt;
I used the core&#039;s default intranet addresses, 192.168.80.0/24 with the core at 192.168.80.1.&lt;br /&gt;
&lt;br /&gt;
I&#039;ve attempted to verbosely document each config file. :)&lt;br /&gt;
&lt;br /&gt;
The directions for adapting the config files are included in the named.conf file.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
If you want to try this, I would suggest building the config in new directories then swapping with the originals when you are ready (I had a little mess when my core hung and I had to restart with only half the configs ready) :)&lt;br /&gt;
&lt;br /&gt;
So start with creating two directories:&lt;br /&gt;
&lt;br /&gt;
  sudo mkdir /etc/bind.new&lt;br /&gt;
  sudo mkdir /etc/dhcp3.new&lt;br /&gt;
&lt;br /&gt;
Now copy the contents of the original directories:&lt;br /&gt;
&lt;br /&gt;
  sudo cp -arp /etc/bind/* /etc/bind.new&lt;br /&gt;
  sudo cp -arp /etc/dhcp3/* /etc/dhcp3.new&lt;br /&gt;
&lt;br /&gt;
Also create a new resolve.conf file:&lt;br /&gt;
&lt;br /&gt;
  sudo touch /etc/resolv.conf.new&lt;br /&gt;
&lt;br /&gt;
Then add/change the config files below. &lt;br /&gt;
&lt;br /&gt;
To create a key for use in rndc.key and dhcpd.conf:&lt;br /&gt;
&lt;br /&gt;
  sudo dnssec-keygen -a HMAC-MD5 -b 256 -n user rndc&lt;br /&gt;
&lt;br /&gt;
Now get the key from the private file:&lt;br /&gt;
&lt;br /&gt;
  sudo cat Krndc.*.private&lt;br /&gt;
  Private-key-format: v1.2&lt;br /&gt;
  Algorithm: 157 (HMAC_MD5)&lt;br /&gt;
  Key: 3+GnSWV5FKxcUu57k7QFxbpvv/xr4fXj2wBVGtdGifI=&lt;br /&gt;
  Bits: AAA=&lt;br /&gt;
&lt;br /&gt;
Now cut the key which is to the right of &amp;quot;Key: &amp;quot; and paste where needed (replace &amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot; with the key in the config files).  So an example using the above key would look like:&lt;br /&gt;
&lt;br /&gt;
  key &amp;quot;linuxmce-dhcp&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
  };&lt;br /&gt;
&lt;br /&gt;
becomes:&lt;br /&gt;
&lt;br /&gt;
  key &amp;quot;linuxmce-dhcp&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;3+GnSWV5FKxcUu57k7QFxbpvv/xr4fXj2wBVGtdGifI=&amp;quot;;&lt;br /&gt;
  };&lt;br /&gt;
&lt;br /&gt;
Make the logging directory:&lt;br /&gt;
&lt;br /&gt;
  sudo mkdir /var/log/named&lt;br /&gt;
  sudo chown bind:bind /var/log/named&lt;br /&gt;
  sudo chmod 755 /var/log/named&lt;br /&gt;
&lt;br /&gt;
You probably ought to check and change the defaultdomain:&lt;br /&gt;
&lt;br /&gt;
  domainname&lt;br /&gt;
&lt;br /&gt;
will probably show&lt;br /&gt;
&lt;br /&gt;
  pluto&lt;br /&gt;
&lt;br /&gt;
if so, then set it by:&lt;br /&gt;
  sudo domainname yourdomain.local&lt;br /&gt;
&lt;br /&gt;
where &amp;quot;yourdomain.local&amp;quot; is your domain.  :-)&lt;br /&gt;
&lt;br /&gt;
Change all the file permissions per instructions in named.conf. &lt;br /&gt;
&lt;br /&gt;
Double check everything.   Roll Eyes&lt;br /&gt;
&lt;br /&gt;
Then when you are feeling lucky, rename the original directories and then rename the new directories to take there place:&lt;br /&gt;
&lt;br /&gt;
  sudo mv /etc/bind /etc/bind.original&lt;br /&gt;
  sudo mv /etc/bind.new /etc/bind&lt;br /&gt;
  sudo mv /etc/dhcp3 /etc/dhcp3.original&lt;br /&gt;
  sudo mv /etc/dhcp3.new /etc/dhcp3&lt;br /&gt;
  sudo mv /etc/resolve.conf /etc/resolve.conf.original&lt;br /&gt;
  sudo mv /etc/resolve.conf.new /etc/resolve.conf&lt;br /&gt;
&lt;br /&gt;
Finally restart the bind and dhcpd services:&lt;br /&gt;
&lt;br /&gt;
  sudo rndc reload&lt;br /&gt;
  sudo /etc/init.d/dhcp3-server restart&lt;br /&gt;
&lt;br /&gt;
Check the syslog for any errors:&lt;br /&gt;
&lt;br /&gt;
  grep named /var/log/syslog&lt;br /&gt;
  grep dhcpd /var/log/syslog&lt;br /&gt;
&lt;br /&gt;
==Config Files==&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/named.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// This is the primary configuration file for the BIND DNS server named.&lt;br /&gt;
//&lt;br /&gt;
// This configuration supports an authoritative local zone (wright.local on&lt;br /&gt;
// 192.168.80.0/24) and allows DHCP to update the local zone.  &lt;br /&gt;
// To customize to your setup:&lt;br /&gt;
// 1) replace &amp;quot;wright.local&amp;quot; with your internal domain name.&lt;br /&gt;
// 2) edit db.wright.local.zone and db.wright.local.rev and replace&lt;br /&gt;
//    my static names/addresses with your network&#039;s static names/addresses.&lt;br /&gt;
//    Make sure to increment the serial number of any file edited.  &lt;br /&gt;
//    Note, format of serial number is:  YYYYMMDDNN where YYYY is year, &lt;br /&gt;
//    MM is month, DD is day, NN is update number for that day (i.e., 01, &lt;br /&gt;
//    02, 03,...)&lt;br /&gt;
// 3) rename db.wright.local.zone to match your domain name.&lt;br /&gt;
// 4) rename db.wright.local.rev to match your domain name.&lt;br /&gt;
// 5) If you changed the internal network IP from the LinuxMCE default of&lt;br /&gt;
//    192.168.80.0/24, then replace &amp;quot;192.168.80&amp;quot; with your network&lt;br /&gt;
//    ip and replace it&#039;s reverse &amp;quot;80.168.192&amp;quot; wity your network ip&#039;s&lt;br /&gt;
//    reverse.&lt;br /&gt;
//&lt;br /&gt;
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the &lt;br /&gt;
// structure of BIND configuration files in Debian, *BEFORE* you customize &lt;br /&gt;
// this configuration file.&lt;br /&gt;
//&lt;br /&gt;
// If you are just adding zones, please do that in /etc/bind/named.conf.local&lt;br /&gt;
//&lt;br /&gt;
// references:&lt;br /&gt;
// http://www.arda.homeunix.net/dnssetup.html&lt;br /&gt;
// http://www.madboa.com/geek/soho-bind/&lt;br /&gt;
//&lt;br /&gt;
// notes:&lt;br /&gt;
// 1) The following command should be ran about twice a year to keep&lt;br /&gt;
//    the root servers current:&lt;br /&gt;
//      dig @a.root-servers.net . ns &amp;gt; /etc/bin/db.root&lt;br /&gt;
//    Root name servers don’t change very often so updating this file more &lt;br /&gt;
//    than twice a year is probably overkill. Frequent updates also put undo &lt;br /&gt;
//    load on the root name servers; they have enough to do as it is.&lt;br /&gt;
//&lt;br /&gt;
// 2) File permissions:&lt;br /&gt;
//    /etc/bind/named.conf   root:root   644&lt;br /&gt;
//    /etc/bind/rndc.key     root:bind   640&lt;br /&gt;
//    /etc/bind/rndc.conf    root:root   600&lt;br /&gt;
//    /etc/resolv.conf       root:root   644&lt;br /&gt;
//    /etc/bind              root:bind   775, chmod g+s =&amp;gt; drwxrwsr-x&lt;br /&gt;
//    /etc/dhcp3             root:root   755&lt;br /&gt;
//    /etc/dhcp3/dhcpd.conf  root:root   644&lt;br /&gt;
//&lt;br /&gt;
// Manually Updating Zone Files&lt;br /&gt;
// 1. Use rndc to stop BIND.&lt;br /&gt;
//      sudo rndc stop&lt;br /&gt;
// 2. Remove any .jnl files from the zone file directory.&lt;br /&gt;
//      sudo rm /etc/bind/*.jnl&lt;br /&gt;
// 3. Edit the zone files as necessary. Make sure to increment the serial &lt;br /&gt;
//    number of any file edited.  Note, format of serial number is:&lt;br /&gt;
//    YYYYMMDDNN where YYYY is year, MM is month, DD is day, NN is update&lt;br /&gt;
//    number for that day (i.e., 01, 02, 03,...)&lt;br /&gt;
// 4. Start BIND using its startup script. &lt;br /&gt;
//      sudo /etc/init.d/bind9 start&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
// secret must be the same as in /etc/bind/rndc.conf&lt;br /&gt;
include &amp;quot;/etc/bind/rndc.key&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// access control list used to limit queries to local net&lt;br /&gt;
acl &amp;quot;internal-net&amp;quot; { 192.168.80/24; 127.0.0.1; };&lt;br /&gt;
&lt;br /&gt;
controls {&lt;br /&gt;
    inet 127.0.0.1 allow { any; } keys { &amp;quot;rndc-key&amp;quot;; };&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
include &amp;quot;/etc/bind/named.conf.options&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// The single dot (.) is the root of all DNS namespace, so&lt;br /&gt;
// this zone tells named where to start looking for any&lt;br /&gt;
// name on the Internet&lt;br /&gt;
zone &amp;quot;.&amp;quot; IN {&lt;br /&gt;
	type hint;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.root&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
// local intranet zones and reverse zones&lt;br /&gt;
// intranet is wright.local and 192.168.80.0/24&lt;br /&gt;
// the DHCP servers is on linuxmce-dhcp&lt;br /&gt;
// an optional second nameserver would be on linuxmce-ns2&lt;br /&gt;
	&lt;br /&gt;
zone &amp;quot;wright.local&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.wright.local.zone&amp;quot;;&lt;br /&gt;
	// both allow-update and update-policy can enable DHCP updates,&lt;br /&gt;
	// but update-policy allows more control over what kinds of &lt;br /&gt;
	// updates DHCP can perform on a zone.&lt;br /&gt;
	// allow-update { none; };&lt;br /&gt;
	update-policy { grant linuxmce-dhcp subdomain wright.local. A TXT; };&lt;br /&gt;
	// allow-transfer { key &amp;quot;linuxmce-ns2&amp;quot;; };&lt;br /&gt;
	// notify on zone transfers&lt;br /&gt;
	notify yes;&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
zone &amp;quot;80.168.192.in-addr.arpa&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.wright.local.rev&amp;quot;;&lt;br /&gt;
	// allow-update { none; };&lt;br /&gt;
	update-policy { grant linuxmce-dhcp subdomain 80.168.192.in-addr.arpa. PTR TXT; };&lt;br /&gt;
	// allow-transfer { key &amp;quot;linuxmce-ns2&amp;quot;; };&lt;br /&gt;
	notify yes;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
// be authoritative for the localhost forward and reverse zones, and for&lt;br /&gt;
// broadcast zones as per RFC 1912 (http://www.ietf.org/rfc/rfc1912.txt)&lt;br /&gt;
&lt;br /&gt;
// Where the localhost hostname is defined&lt;br /&gt;
zone &amp;quot;localhost&amp;quot; IN {&lt;br /&gt;
	// a master type means that this server needn&#039;t look&lt;br /&gt;
	// anywhere else for information; the localhost buck&lt;br /&gt;
	// stops here.&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.local&amp;quot;;&lt;br /&gt;
	// don&#039;t allow dynamic DNS clients to update info&lt;br /&gt;
	// about the localhost zone&lt;br /&gt;
	allow-update { none; };&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
// Where the 127.0.0.0 network is defined&lt;br /&gt;
zone &amp;quot;127.in-addr.arpa&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.127&amp;quot;;&lt;br /&gt;
	allow-update { none; };&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
zone &amp;quot;0.in-addr.arpa&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.0&amp;quot;;&lt;br /&gt;
	allow-update { none; };&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
zone &amp;quot;255.in-addr.arpa&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.255&amp;quot;;&lt;br /&gt;
	allow-update { none; };&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
&lt;br /&gt;
// Include logging config file&lt;br /&gt;
include &amp;quot;/etc/bind/logging.conf&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// zone &amp;quot;com&amp;quot; { type delegation-only; };&lt;br /&gt;
// zone &amp;quot;net&amp;quot; { type delegation-only; };&lt;br /&gt;
&lt;br /&gt;
// From the release notes:&lt;br /&gt;
//  Because many of our users are uncomfortable receiving undelegated answers&lt;br /&gt;
//  from root or top level domains, other than a few for whom that behaviour&lt;br /&gt;
//  has been trusted and expected for quite some length of time, we have now&lt;br /&gt;
//  introduced the &amp;quot;root-delegations-only&amp;quot; feature which applies delegation-only&lt;br /&gt;
//  logic to all top level domains, and to the root domain.  An exception list&lt;br /&gt;
//  should be specified, including &amp;quot;MUSEUM&amp;quot; and &amp;quot;DE&amp;quot;, and any other top level&lt;br /&gt;
//  domains from whom undelegated responses are expected and trusted.&lt;br /&gt;
// root-delegation-only exclude { &amp;quot;DE&amp;quot;; &amp;quot;MUSEUM&amp;quot;; };&lt;br /&gt;
&lt;br /&gt;
include &amp;quot;/etc/bind/named.conf.local&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/named.conf.options===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options {&lt;br /&gt;
	// tell named where to find files mentioned below&lt;br /&gt;
	directory &amp;quot;/var/cache/bind&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
	// file that contains the process id when bind is running&lt;br /&gt;
	pid-file &amp;quot;/var/run/bind/run/named.pid&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
	// enable statistics&lt;br /&gt;
	statistics-file &amp;quot;/var/named/named.stats&amp;quot;;&lt;br /&gt;
	zone-statistics yes;&lt;br /&gt;
&lt;br /&gt;
	dump-file &amp;quot;/var/named/named.dump&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
	// If there is a firewall between you and nameservers you want&lt;br /&gt;
	// to talk to, you might need to uncomment the query-source&lt;br /&gt;
	// directive below.  Previous versions of BIND always asked&lt;br /&gt;
	// questions using port 53, but BIND 8.1 and later use an unprivileged&lt;br /&gt;
	// port by default.&lt;br /&gt;
	// query-source address * port 53;&lt;br /&gt;
&lt;br /&gt;
	// If your ISP provided one or more IP addresses for stable &lt;br /&gt;
	// nameservers, you probably want to use them as forwarders.  &lt;br /&gt;
	// Uncomment the following block, and insert the addresses replacing &lt;br /&gt;
	// the all-0&#039;s placeholder.&lt;br /&gt;
&lt;br /&gt;
	// The forwarders option tells BIND to not use iterative queries itself &lt;br /&gt;
	// for information it doesn’t already know about but to forward a &lt;br /&gt;
	// recursive query to the name servers specified instead.&lt;br /&gt;
	include &amp;quot;/etc/bind/named.conf.forwarders&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
	// conform to RFC1035&lt;br /&gt;
	auth-nxdomain no;&lt;br /&gt;
&lt;br /&gt;
	// on a multi-homed host, you might want to tell named&lt;br /&gt;
	// to listen for queries only on certain interfaces&lt;br /&gt;
	listen-on-v6 { any; };&lt;br /&gt;
	listen-on { &amp;quot;internal-net&amp;quot;; };&lt;br /&gt;
&lt;br /&gt;
	// to allow only specific hosts to use the DNS server:&lt;br /&gt;
	allow-query { &amp;quot;internal-net&amp;quot;; };&lt;br /&gt;
&lt;br /&gt;
	// sets BIND’s default behaviour to refuse all zone transfers. &lt;br /&gt;
	// Without setting this option, anyone can transfer any zone.&lt;br /&gt;
	allow-transfer { none; };&lt;br /&gt;
&lt;br /&gt;
	// do not generate notify messages for all zones on a restart.&lt;br /&gt;
	// override for authorative zones&lt;br /&gt;
	notify no;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/logging.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
logging {&lt;br /&gt;
&lt;br /&gt;
	channel default_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/default.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel general_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/general.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel database_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/database.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel security_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/security.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel config_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/config.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel resolver_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/resolver.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel xfer-in_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/xfer-in.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel xfer-out_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/xfer-out.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel notify_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/notify.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel client_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/client.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel unmatched_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/unmatched.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel queries_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/queries.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel network_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/network.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel update_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/update.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel dispatch_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/dispatch.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel dnssec_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/dnssec.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel lame-servers_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/lame-servers.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	category lame-servers {&lt;br /&gt;
		lame-servers_file;&lt;br /&gt;
		};&lt;br /&gt;
	category dnssec {&lt;br /&gt;
		dnssec_file;&lt;br /&gt;
		};&lt;br /&gt;
	category dispatch {&lt;br /&gt;
		dispatch_file;&lt;br /&gt;
		};&lt;br /&gt;
	category update {&lt;br /&gt;
		update_file;&lt;br /&gt;
		};&lt;br /&gt;
	category network {&lt;br /&gt;
		network_file;&lt;br /&gt;
		};&lt;br /&gt;
	category queries {&lt;br /&gt;
		queries_file;&lt;br /&gt;
		};&lt;br /&gt;
	category unmatched {&lt;br /&gt;
		unmatched_file;&lt;br /&gt;
		};&lt;br /&gt;
	category client {&lt;br /&gt;
		client_file;&lt;br /&gt;
		};&lt;br /&gt;
	category notify {&lt;br /&gt;
		notify_file;&lt;br /&gt;
		};&lt;br /&gt;
	category xfer-out {&lt;br /&gt;
		xfer-out_file;&lt;br /&gt;
		};&lt;br /&gt;
	category xfer-in {&lt;br /&gt;
		xfer-in_file;&lt;br /&gt;
		};&lt;br /&gt;
	category resolver {&lt;br /&gt;
		resolver_file;&lt;br /&gt;
		};&lt;br /&gt;
	category config {&lt;br /&gt;
		config_file;&lt;br /&gt;
		};&lt;br /&gt;
	category security {&lt;br /&gt;
		security_file;&lt;br /&gt;
		};&lt;br /&gt;
	category database {&lt;br /&gt;
		database_file;&lt;br /&gt;
		};&lt;br /&gt;
	category general {&lt;br /&gt;
		general_file;&lt;br /&gt;
		};&lt;br /&gt;
	category default {&lt;br /&gt;
		default_file;&lt;br /&gt;
		};&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/rndc.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options {&lt;br /&gt;
	default-server  localhost;&lt;br /&gt;
	default-key     &amp;quot;rndc-key&amp;quot;;&lt;br /&gt;
	default-port 953;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
server localhost {&lt;br /&gt;
	key     &amp;quot;rndc-key&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
key &amp;quot;rndc-key&amp;quot; {&lt;br /&gt;
	algorithm       hmac-md5;&lt;br /&gt;
	secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/rndc.key===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
key &amp;quot;rndc-key&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
key &amp;quot;linuxmce-dhcp&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
key &amp;quot;linuxmce-ns2&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/db.wright.local.zone===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
;&lt;br /&gt;
; BIND data file for wright.local&lt;br /&gt;
; ref. http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-bind-zone.html&lt;br /&gt;
;&lt;br /&gt;
$TTL 86400 ; time to live : 86400s = 1 day&lt;br /&gt;
; Start Of Authority record, proclaims important authoritative information &lt;br /&gt;
; about a namespace to the nameserver.&lt;br /&gt;
@               IN SOA  dcerouter.wright.local        roy@wright.org (&lt;br /&gt;
                2008013101      ;serial (YYYYMMDDNN where N = 01,02,03,...)&lt;br /&gt;
                10800           ;refresh (3 hours)&lt;br /&gt;
                7200            ;retry (2 hours)&lt;br /&gt;
                36000000        ;expire (10,000 hours = 416 2/3 days)&lt;br /&gt;
                86400)          ;default minimum ttl&lt;br /&gt;
;&lt;br /&gt;
; NameServer record, which announces the authoritative nameservers for a particular zone.&lt;br /&gt;
;&lt;br /&gt;
                IN NS   dcerouter.wright.local.&lt;br /&gt;
;&lt;br /&gt;
; Address records specify an IP address to assign to a name&lt;br /&gt;
;&lt;br /&gt;
dcerouter       IN A            192.168.80.1&lt;br /&gt;
dad-kubuntu     IN A            192.168.80.21&lt;br /&gt;
royw-gentoo	IN A		192.168.80.20&lt;br /&gt;
;&lt;br /&gt;
; Canonical name records, maps one name to another. &lt;br /&gt;
;&lt;br /&gt;
linuxmce        IN CNAME        dcerouter&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/db.wright.local.rev===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&lt;br /&gt;
; BIND reverse data file for wright.local&lt;br /&gt;
; ref. http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-bind-zone.html&lt;br /&gt;
;&lt;br /&gt;
$ORIGIN 80.168.192.in-addr.arpa.&lt;br /&gt;
$TTL 86400 ; time to live : 86400s = 1 day&lt;br /&gt;
; Start Of Authority record, proclaims important authoritative information &lt;br /&gt;
; about a namespace to the nameserver.&lt;br /&gt;
@               IN SOA  dcerouter.wright.local        roy@wright.org (&lt;br /&gt;
                2008013101      ;serial (YYYYMMDDNN where N = 01,02,03,...)&lt;br /&gt;
                10800           ;refresh (3 hours)&lt;br /&gt;
                7200            ;retry (2 hours)&lt;br /&gt;
                36000000        ;expire (10,000 hours = 416 2/3 days)&lt;br /&gt;
                86400)          ;default minimum ttl&lt;br /&gt;
;&lt;br /&gt;
; NameServer record, which announces the authoritative nameservers for a particular zone.&lt;br /&gt;
;&lt;br /&gt;
                IN NS   dcerouter.wright.local.&lt;br /&gt;
;&lt;br /&gt;
; PTR — PoinTeR record, designed to point to another part of the namespace.&lt;br /&gt;
;&lt;br /&gt;
1               IN PTR  dcerouter.wright.local.&lt;br /&gt;
21              IN PTR  dad-kubuntu.wright.local.&lt;br /&gt;
20		IN PTR	royw-gentoo.wright.local.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/dhcp3/dhcpd.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
option domain-name-servers 192.168.80.1;&lt;br /&gt;
authoritative;&lt;br /&gt;
&lt;br /&gt;
option routers 192.168.80.1;&lt;br /&gt;
option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
# lease IPs for 1 day, maximum 1 week&lt;br /&gt;
default-lease-time 86400;&lt;br /&gt;
max-lease-time 604800;&lt;br /&gt;
&lt;br /&gt;
# dynamic DNS updates&lt;br /&gt;
ddns-updates on;&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ddns-domainname &amp;quot;wright.local.&amp;quot;;&lt;br /&gt;
ddns-rev-domainname &amp;quot;in-addr.arpa.&amp;quot;;&lt;br /&gt;
ddns-ttl 14400;&lt;br /&gt;
&lt;br /&gt;
# don&#039;t let clients modify their own A records&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
key &amp;quot;linuxmce-dhcp&amp;quot; {&lt;br /&gt;
	algorithm       hmac-md5;&lt;br /&gt;
	secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
zone wright.local {&lt;br /&gt;
	primary 192.168.80.1;&lt;br /&gt;
	key &amp;quot;linuxmce-dhcp&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
zone 80.168.192.in-addr.arpa {&lt;br /&gt;
	primary 192.168.80.1;&lt;br /&gt;
	key &amp;quot;linuxmce-dhcp&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
option space pxelinux;&lt;br /&gt;
option pxelinux.magic code 208 = string;&lt;br /&gt;
option pxelinux.configfile code 209 = text;&lt;br /&gt;
option pxelinux.pathprefix code 210 = text;&lt;br /&gt;
option pxelinux.reboottime code 211 = unsigned integer 32;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.80.0 netmask 255.255.255.0 {&lt;br /&gt;
	next-server 192.168.80.1;&lt;br /&gt;
	filename &amp;quot;/tftpboot/pxelinux.0&amp;quot;;&lt;br /&gt;
	option pxelinux.reboottime = 30;&lt;br /&gt;
&lt;br /&gt;
	option domain-name &amp;quot;wright.local&amp;quot;;&lt;br /&gt;
	option domain-name-servers 192.168.80.1;&lt;br /&gt;
	option routers 192.168.80.1;&lt;br /&gt;
&lt;br /&gt;
	default-lease-time 86400;&lt;br /&gt;
	max-lease-time 604800;&lt;br /&gt;
	pool {&lt;br /&gt;
		 allow unknown-clients;&lt;br /&gt;
		 range 192.168.80.129 192.168.80.254; &lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# PXE booting machines&lt;br /&gt;
group {&lt;br /&gt;
	next-server 192.168.80.1;&lt;br /&gt;
	filename &amp;quot;/tftpboot/pxelinux.0&amp;quot;;&lt;br /&gt;
	option pxelinux.reboottime = 30;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# regular machines&lt;br /&gt;
group {&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# CORE (1) has bad mac address: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/resolv.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
domain wright.local&lt;br /&gt;
nameserver localhost&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Royw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=DHCP_Plug_and_Play&amp;diff=8740</id>
		<title>DHCP Plug and Play</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=DHCP_Plug_and_Play&amp;diff=8740"/>
		<updated>2008-02-04T02:45:19Z</updated>

		<summary type="html">&lt;p&gt;Royw: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p&amp;gt;LinuxMCE allows a user to plug in any type of device and automatically configures it and lets the user start using it right away without doing anything.  The way this is accomplished is with an extension to the DHCP server. When a new device is plugged into the network and requests an IP address, this program connects to a central database to do a lookup of the device&#039;s unique MAC address to see what type of device it is.  The database defines all the configuration data the device needs to run, and references the software drivers needed.  This program then downloads and installs any needed software, adds configuration pages for the device to the user&#039;s [[LinuxMCE Admin Website]], and adds the device in the user&#039;s local database.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Single NIC &amp;amp; Existing DHCPd=&lt;br /&gt;
LinuxMCE recommends its core server have 2 ethernet ports, connecting one to an existing LAN (that routes to the Internet), and the other to a LAN segment on which sit all devices that LMCE will serve. That recommended setup runs a DHCP server (DHCPd) on LMCE to assign IP numbers and other network configs to devices on the &amp;quot;inside&amp;quot; LAN served by LMCE. LMCE runs a DHCP client on its &amp;quot;outside&amp;quot; LAN interface to get its IP# (and any other configs the existing LAN might assign) on that outside LAN. LMCE than routes inside LAN traffic to the outside LAN, including to any router/gateway on the outside LAN, while running a firewall that protects devices on the inside from activity on the outside.&lt;br /&gt;
&lt;br /&gt;
However, it is possible to run LMCE on a host with a single ethernet port. There is some complexity in the configuration, the solution is not as fully automated and robust as is the recommended 2 ethernet version, and the omission of the LMCE firewall reduces the overall security of the installation. However, it is possible to do. These are instructions, including switching the LAN from an existing DHCP server to using the LMCE DHCPd instead. AFAICT, this technique doesn&#039;t leave any wrong configurations anywhere inside either LMCE&#039;s complex interdependencies or the remnants of the previously existing DHCP system.&lt;br /&gt;
&lt;br /&gt;
#In existing router/gateway&lt;br /&gt;
##Disable DHCPd&lt;br /&gt;
##Assign LAN IP# on desired subnet (eg 192.168.0.1 )&lt;br /&gt;
##Ensure router/gateway is configured to route properly between the newly specified subnet and the other network&lt;br /&gt;
# In LMCE Admin site:&lt;br /&gt;
##Homepage -&amp;gt; Advanced -&amp;gt; Network -&amp;gt; Network Settings&lt;br /&gt;
##Change all 192.168.80.x IP#s to desired subnet (eg. 192.168.0.x )&lt;br /&gt;
##Set both NICs to the same IP# (and proper subnet info)&lt;br /&gt;
##Reload DCERouter&lt;br /&gt;
##Check Homepage -&amp;gt; Advanced -&amp;gt; Network -&amp;gt; Network Settings to be sure settings were properly retained&lt;br /&gt;
#/etc/dhcp3/dhcpd.conf :&lt;br /&gt;
##Ensure &amp;quot;option routers&amp;quot; parameter(s) is the correct IP#(s) of the existing router(s)&lt;br /&gt;
##Exclude router/gateway IP# from allocatable ranges&lt;br /&gt;
##Change &amp;quot;host px[1,2]&amp;quot; lines from 192.168.80.x IP#s to desired subnet IP#s (eg. 192.168.0.253 )&lt;br /&gt;
##/etc/init.d/dhcp3-server restart&lt;br /&gt;
##Force a LAN host to reset its network configs by DHCP, then test pinging across the router&lt;br /&gt;
# Force each host on the LAN to reread its network configs by DHCP (eg. run its DHCP client or reboot if its DHCP client runs at startup).&lt;br /&gt;
&lt;br /&gt;
Note that the dhcpd.conf file regenerated by the LMCE Admin site&#039;s Network Settings form has a bug which doesn&#039;t change all the IP#s properly. There might be other bugs, so check the whole file to be sure it&#039;s correct.&lt;br /&gt;
&lt;br /&gt;
==Caveat==&lt;br /&gt;
This technique leaves a problem in that any configs of your original router/gateway DHCPd are not available to the LMCE DHCPd, unless you manually recreate them in the LMCE&#039;s dhcpd.conf file. Also, the router/gateway LAN IP# must be manually discovered/set, and then the LMCE LAN subnet must be manually configured to accommodate it. There is no way to fix that problem, unless the router/gateway allows its LAN IP# to be set by DHCP (ie. a DHCP client running on the router/gateway that is set by the LMCE DHCPd). Conversely, there is no way for LMCE to insert into the router/gateway DHCPd configs the configs that LMCE needs clients for its own services (like IP phones) to automatically get from a DHCPd when they&#039;re plugged into a network. The only way to make DHCP fully automatic for LMCE is to use the recommended network architecture of a pair of ethernet ports on the LMCE server (or use a router/gateway DHCPd that can be remotely configured by the LMCE, and a script to glue them together).&lt;br /&gt;
&lt;br /&gt;
=Switching From Single NIC to Double NIC=&lt;br /&gt;
There are instructions for switching from [[Single to Double NIC]].&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Network Settings]]&lt;br /&gt;
* [[How to setup Local Authoritative DNS]]&lt;/div&gt;</summary>
		<author><name>Royw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=How_to_setup_Local_Authoritative_DNS&amp;diff=8739</id>
		<title>How to setup Local Authoritative DNS</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=How_to_setup_Local_Authoritative_DNS&amp;diff=8739"/>
		<updated>2008-02-04T02:41:11Z</updated>

		<summary type="html">&lt;p&gt;Royw: /* How to setup Local Authoritative DNS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=How to setup Local Authoritative DNS=&lt;br /&gt;
&lt;br /&gt;
I was wanting an authoritative name server for my local intranet.  I also wanted any dynamic IP&#039;s to be visible to the name server.  The name server included with linuxmce is configured as a recursive name server.  Here&#039;s the changes I did to configure my core&#039;s name server to be authoritative and support dynamic IPs.  Note, the machines on my intranet are private, i.e., not known to the outside world.&lt;br /&gt;
&lt;br /&gt;
  3 Feb 2008 - Developed and tested on LinuxMCE 0710 Beta 3 amd64.&lt;br /&gt;
&lt;br /&gt;
I named my intranet &amp;quot;wright.local&amp;quot;.  Using a &amp;quot;local&amp;quot; top level domain (TLD) is recommended for private intranets.  Some may prefer to use &amp;quot;lan&amp;quot;.  You do not want to use any of the standard TLDs like &amp;quot;com&amp;quot;, &amp;quot;net&amp;quot;, &amp;quot;org&amp;quot;,...&lt;br /&gt;
&lt;br /&gt;
I used the core&#039;s default intranet addresses, 192.168.80.0/24 with the core at 192.168.80.1.&lt;br /&gt;
&lt;br /&gt;
I&#039;ve attempted to verbosely document each config file. :)&lt;br /&gt;
&lt;br /&gt;
The directions for adapting the config files are included in the named.conf file.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
If you want to try this, I would suggest building the config in new directories then swapping with the originals when you are ready (I had a little mess when my core hung and I had to restart with only half the configs ready) :)&lt;br /&gt;
&lt;br /&gt;
So start with creating two directories:&lt;br /&gt;
&lt;br /&gt;
  sudo mkdir /etc/bind.new&lt;br /&gt;
  sudo mkdir /etc/dhcp3.new&lt;br /&gt;
&lt;br /&gt;
Now copy the contents of the original directories:&lt;br /&gt;
&lt;br /&gt;
  sudo cp -arp /etc/bind/* /etc/bind.new&lt;br /&gt;
  sudo cp -arp /etc/dhcp3/* /etc/dhcp3.new&lt;br /&gt;
&lt;br /&gt;
Also create a new resolve.conf file:&lt;br /&gt;
&lt;br /&gt;
  sudo touch /etc/resolv.conf.new&lt;br /&gt;
&lt;br /&gt;
Then add/change the config files below. &lt;br /&gt;
&lt;br /&gt;
To create a key for use in rndc.key and dhcpd.conf:&lt;br /&gt;
&lt;br /&gt;
  sudo dnssec-keygen -a HMAC-MD5 -b 256 -n user rndc&lt;br /&gt;
&lt;br /&gt;
Now get the key from the private file:&lt;br /&gt;
&lt;br /&gt;
  sudo cat Krndc.*.private&lt;br /&gt;
  Private-key-format: v1.2&lt;br /&gt;
  Algorithm: 157 (HMAC_MD5)&lt;br /&gt;
  Key: 3+GnSWV5FKxcUu57k7QFxbpvv/xr4fXj2wBVGtdGifI=&lt;br /&gt;
  Bits: AAA=&lt;br /&gt;
&lt;br /&gt;
Now cut the key which is to the right of &amp;quot;Key: &amp;quot; and paste where needed (replace &amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot; with the key in the config files).  So an example using the above key would look like:&lt;br /&gt;
&lt;br /&gt;
  key &amp;quot;linuxmce-dhcp&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
  };&lt;br /&gt;
&lt;br /&gt;
becomes:&lt;br /&gt;
&lt;br /&gt;
  key &amp;quot;linuxmce-dhcp&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;3+GnSWV5FKxcUu57k7QFxbpvv/xr4fXj2wBVGtdGifI=&amp;quot;;&lt;br /&gt;
  };&lt;br /&gt;
&lt;br /&gt;
Make the logging directory:&lt;br /&gt;
&lt;br /&gt;
  sudo mkdir /var/log/named&lt;br /&gt;
  sudo chown bind:bind /var/log/named&lt;br /&gt;
  sudo chmod 755 /var/log/named&lt;br /&gt;
&lt;br /&gt;
Change all the file permissions per instructions in named.conf. &lt;br /&gt;
&lt;br /&gt;
Double check everything.   Roll Eyes&lt;br /&gt;
&lt;br /&gt;
Then when you are feeling lucky, rename the original directories and then rename the new directories to take there place:&lt;br /&gt;
&lt;br /&gt;
  sudo mv /etc/bind /etc/bind.original&lt;br /&gt;
  sudo mv /etc/bind.new /etc/bind&lt;br /&gt;
  sudo mv /etc/dhcp3 /etc/dhcp3.original&lt;br /&gt;
  sudo mv /etc/dhcp3.new /etc/dhcp3&lt;br /&gt;
  sudo mv /etc/resolve.conf /etc/resolve.conf.original&lt;br /&gt;
  sudo mv /etc/resolve.conf.new /etc/resolve.conf&lt;br /&gt;
&lt;br /&gt;
Finally restart the bind and dhcpd services:&lt;br /&gt;
&lt;br /&gt;
  sudo rndc reload&lt;br /&gt;
  sudo /etc/init.d/dhcp3-server restart&lt;br /&gt;
&lt;br /&gt;
Check the syslog for any errors:&lt;br /&gt;
&lt;br /&gt;
  grep named /var/log/syslog&lt;br /&gt;
  grep dhcpd /var/log/syslog&lt;br /&gt;
&lt;br /&gt;
==Config Files==&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/named.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// This is the primary configuration file for the BIND DNS server named.&lt;br /&gt;
//&lt;br /&gt;
// This configuration supports an authoritative local zone (wright.local on&lt;br /&gt;
// 192.168.80.0/24) and allows DHCP to update the local zone.  &lt;br /&gt;
// To customize to your setup:&lt;br /&gt;
// 1) replace &amp;quot;wright.local&amp;quot; with your internal domain name.&lt;br /&gt;
// 2) edit db.wright.local.zone and db.wright.local.rev and replace&lt;br /&gt;
//    my static names/addresses with your network&#039;s static names/addresses.&lt;br /&gt;
//    Make sure to increment the serial number of any file edited.  &lt;br /&gt;
//    Note, format of serial number is:  YYYYMMDDNN where YYYY is year, &lt;br /&gt;
//    MM is month, DD is day, NN is update number for that day (i.e., 01, &lt;br /&gt;
//    02, 03,...)&lt;br /&gt;
// 3) rename db.wright.local.zone to match your domain name.&lt;br /&gt;
// 4) rename db.wright.local.rev to match your domain name.&lt;br /&gt;
// 5) If you changed the internal network IP from the LinuxMCE default of&lt;br /&gt;
//    192.168.80.0/24, then replace &amp;quot;192.168.80&amp;quot; with your network&lt;br /&gt;
//    ip and replace it&#039;s reverse &amp;quot;80.168.192&amp;quot; wity your network ip&#039;s&lt;br /&gt;
//    reverse.&lt;br /&gt;
//&lt;br /&gt;
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the &lt;br /&gt;
// structure of BIND configuration files in Debian, *BEFORE* you customize &lt;br /&gt;
// this configuration file.&lt;br /&gt;
//&lt;br /&gt;
// If you are just adding zones, please do that in /etc/bind/named.conf.local&lt;br /&gt;
//&lt;br /&gt;
// references:&lt;br /&gt;
// http://www.arda.homeunix.net/dnssetup.html&lt;br /&gt;
// http://www.madboa.com/geek/soho-bind/&lt;br /&gt;
//&lt;br /&gt;
// notes:&lt;br /&gt;
// 1) The following command should be ran about twice a year to keep&lt;br /&gt;
//    the root servers current:&lt;br /&gt;
//      dig @a.root-servers.net . ns &amp;gt; /etc/bin/db.root&lt;br /&gt;
//    Root name servers don’t change very often so updating this file more &lt;br /&gt;
//    than twice a year is probably overkill. Frequent updates also put undo &lt;br /&gt;
//    load on the root name servers; they have enough to do as it is.&lt;br /&gt;
//&lt;br /&gt;
// 2) File permissions:&lt;br /&gt;
//    /etc/bind/named.conf   root:root   644&lt;br /&gt;
//    /etc/bind/rndc.key     root:bind   640&lt;br /&gt;
//    /etc/bind/rndc.conf    root:root   600&lt;br /&gt;
//    /etc/resolv.conf       root:root   644&lt;br /&gt;
//    /etc/bind              root:bind   775, chmod g+s =&amp;gt; drwxrwsr-x&lt;br /&gt;
//    /etc/dhcp3             root:root   755&lt;br /&gt;
//    /etc/dhcp3/dhcpd.conf  root:root   644&lt;br /&gt;
//&lt;br /&gt;
// Manually Updating Zone Files&lt;br /&gt;
// 1. Use rndc to stop BIND.&lt;br /&gt;
//      sudo rndc stop&lt;br /&gt;
// 2. Remove any .jnl files from the zone file directory.&lt;br /&gt;
//      sudo rm /etc/bind/*.jnl&lt;br /&gt;
// 3. Edit the zone files as necessary. Make sure to increment the serial &lt;br /&gt;
//    number of any file edited.  Note, format of serial number is:&lt;br /&gt;
//    YYYYMMDDNN where YYYY is year, MM is month, DD is day, NN is update&lt;br /&gt;
//    number for that day (i.e., 01, 02, 03,...)&lt;br /&gt;
// 4. Start BIND using its startup script. &lt;br /&gt;
//      sudo /etc/init.d/bind9 start&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
// secret must be the same as in /etc/bind/rndc.conf&lt;br /&gt;
include &amp;quot;/etc/bind/rndc.key&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// access control list used to limit queries to local net&lt;br /&gt;
acl &amp;quot;internal-net&amp;quot; { 192.168.80/24; 127.0.0.1; };&lt;br /&gt;
&lt;br /&gt;
controls {&lt;br /&gt;
    inet 127.0.0.1 allow { any; } keys { &amp;quot;rndc-key&amp;quot;; };&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
include &amp;quot;/etc/bind/named.conf.options&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// The single dot (.) is the root of all DNS namespace, so&lt;br /&gt;
// this zone tells named where to start looking for any&lt;br /&gt;
// name on the Internet&lt;br /&gt;
zone &amp;quot;.&amp;quot; IN {&lt;br /&gt;
	type hint;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.root&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
// local intranet zones and reverse zones&lt;br /&gt;
// intranet is wright.local and 192.168.80.0/24&lt;br /&gt;
// the DHCP servers is on linuxmce-dhcp&lt;br /&gt;
// an optional second nameserver would be on linuxmce-ns2&lt;br /&gt;
	&lt;br /&gt;
zone &amp;quot;wright.local&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.wright.local.zone&amp;quot;;&lt;br /&gt;
	// both allow-update and update-policy can enable DHCP updates,&lt;br /&gt;
	// but update-policy allows more control over what kinds of &lt;br /&gt;
	// updates DHCP can perform on a zone.&lt;br /&gt;
	// allow-update { none; };&lt;br /&gt;
	update-policy { grant linuxmce-dhcp subdomain wright.local. A TXT; };&lt;br /&gt;
	// allow-transfer { key &amp;quot;linuxmce-ns2&amp;quot;; };&lt;br /&gt;
	// notify on zone transfers&lt;br /&gt;
	notify yes;&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
zone &amp;quot;80.168.192.in-addr.arpa&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.wright.local.rev&amp;quot;;&lt;br /&gt;
	// allow-update { none; };&lt;br /&gt;
	update-policy { grant linuxmce-dhcp subdomain 80.168.192.in-addr.arpa. PTR TXT; };&lt;br /&gt;
	// allow-transfer { key &amp;quot;linuxmce-ns2&amp;quot;; };&lt;br /&gt;
	notify yes;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
// be authoritative for the localhost forward and reverse zones, and for&lt;br /&gt;
// broadcast zones as per RFC 1912 (http://www.ietf.org/rfc/rfc1912.txt)&lt;br /&gt;
&lt;br /&gt;
// Where the localhost hostname is defined&lt;br /&gt;
zone &amp;quot;localhost&amp;quot; IN {&lt;br /&gt;
	// a master type means that this server needn&#039;t look&lt;br /&gt;
	// anywhere else for information; the localhost buck&lt;br /&gt;
	// stops here.&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.local&amp;quot;;&lt;br /&gt;
	// don&#039;t allow dynamic DNS clients to update info&lt;br /&gt;
	// about the localhost zone&lt;br /&gt;
	allow-update { none; };&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
// Where the 127.0.0.0 network is defined&lt;br /&gt;
zone &amp;quot;127.in-addr.arpa&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.127&amp;quot;;&lt;br /&gt;
	allow-update { none; };&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
zone &amp;quot;0.in-addr.arpa&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.0&amp;quot;;&lt;br /&gt;
	allow-update { none; };&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
zone &amp;quot;255.in-addr.arpa&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.255&amp;quot;;&lt;br /&gt;
	allow-update { none; };&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
&lt;br /&gt;
// Include logging config file&lt;br /&gt;
include &amp;quot;/etc/bind/logging.conf&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// zone &amp;quot;com&amp;quot; { type delegation-only; };&lt;br /&gt;
// zone &amp;quot;net&amp;quot; { type delegation-only; };&lt;br /&gt;
&lt;br /&gt;
// From the release notes:&lt;br /&gt;
//  Because many of our users are uncomfortable receiving undelegated answers&lt;br /&gt;
//  from root or top level domains, other than a few for whom that behaviour&lt;br /&gt;
//  has been trusted and expected for quite some length of time, we have now&lt;br /&gt;
//  introduced the &amp;quot;root-delegations-only&amp;quot; feature which applies delegation-only&lt;br /&gt;
//  logic to all top level domains, and to the root domain.  An exception list&lt;br /&gt;
//  should be specified, including &amp;quot;MUSEUM&amp;quot; and &amp;quot;DE&amp;quot;, and any other top level&lt;br /&gt;
//  domains from whom undelegated responses are expected and trusted.&lt;br /&gt;
// root-delegation-only exclude { &amp;quot;DE&amp;quot;; &amp;quot;MUSEUM&amp;quot;; };&lt;br /&gt;
&lt;br /&gt;
include &amp;quot;/etc/bind/named.conf.local&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/named.conf.options===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options {&lt;br /&gt;
	// tell named where to find files mentioned below&lt;br /&gt;
	directory &amp;quot;/var/cache/bind&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
	// file that contains the process id when bind is running&lt;br /&gt;
	pid-file &amp;quot;/var/run/bind/run/named.pid&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
	// enable statistics&lt;br /&gt;
	statistics-file &amp;quot;/var/named/named.stats&amp;quot;;&lt;br /&gt;
	zone-statistics yes;&lt;br /&gt;
&lt;br /&gt;
	dump-file &amp;quot;/var/named/named.dump&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
	// If there is a firewall between you and nameservers you want&lt;br /&gt;
	// to talk to, you might need to uncomment the query-source&lt;br /&gt;
	// directive below.  Previous versions of BIND always asked&lt;br /&gt;
	// questions using port 53, but BIND 8.1 and later use an unprivileged&lt;br /&gt;
	// port by default.&lt;br /&gt;
	// query-source address * port 53;&lt;br /&gt;
&lt;br /&gt;
	// If your ISP provided one or more IP addresses for stable &lt;br /&gt;
	// nameservers, you probably want to use them as forwarders.  &lt;br /&gt;
	// Uncomment the following block, and insert the addresses replacing &lt;br /&gt;
	// the all-0&#039;s placeholder.&lt;br /&gt;
&lt;br /&gt;
	// The forwarders option tells BIND to not use iterative queries itself &lt;br /&gt;
	// for information it doesn’t already know about but to forward a &lt;br /&gt;
	// recursive query to the name servers specified instead.&lt;br /&gt;
	include &amp;quot;/etc/bind/named.conf.forwarders&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
	// conform to RFC1035&lt;br /&gt;
	auth-nxdomain no;&lt;br /&gt;
&lt;br /&gt;
	// on a multi-homed host, you might want to tell named&lt;br /&gt;
	// to listen for queries only on certain interfaces&lt;br /&gt;
	listen-on-v6 { any; };&lt;br /&gt;
	listen-on { &amp;quot;internal-net&amp;quot;; };&lt;br /&gt;
&lt;br /&gt;
	// to allow only specific hosts to use the DNS server:&lt;br /&gt;
	allow-query { &amp;quot;internal-net&amp;quot;; };&lt;br /&gt;
&lt;br /&gt;
	// sets BIND’s default behaviour to refuse all zone transfers. &lt;br /&gt;
	// Without setting this option, anyone can transfer any zone.&lt;br /&gt;
	allow-transfer { none; };&lt;br /&gt;
&lt;br /&gt;
	// do not generate notify messages for all zones on a restart.&lt;br /&gt;
	// override for authorative zones&lt;br /&gt;
	notify no;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/logging.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
logging {&lt;br /&gt;
&lt;br /&gt;
	channel default_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/default.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel general_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/general.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel database_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/database.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel security_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/security.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel config_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/config.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel resolver_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/resolver.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel xfer-in_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/xfer-in.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel xfer-out_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/xfer-out.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel notify_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/notify.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel client_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/client.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel unmatched_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/unmatched.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel queries_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/queries.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel network_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/network.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel update_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/update.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel dispatch_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/dispatch.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel dnssec_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/dnssec.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel lame-servers_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/lame-servers.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	category lame-servers {&lt;br /&gt;
		lame-servers_file;&lt;br /&gt;
		};&lt;br /&gt;
	category dnssec {&lt;br /&gt;
		dnssec_file;&lt;br /&gt;
		};&lt;br /&gt;
	category dispatch {&lt;br /&gt;
		dispatch_file;&lt;br /&gt;
		};&lt;br /&gt;
	category update {&lt;br /&gt;
		update_file;&lt;br /&gt;
		};&lt;br /&gt;
	category network {&lt;br /&gt;
		network_file;&lt;br /&gt;
		};&lt;br /&gt;
	category queries {&lt;br /&gt;
		queries_file;&lt;br /&gt;
		};&lt;br /&gt;
	category unmatched {&lt;br /&gt;
		unmatched_file;&lt;br /&gt;
		};&lt;br /&gt;
	category client {&lt;br /&gt;
		client_file;&lt;br /&gt;
		};&lt;br /&gt;
	category notify {&lt;br /&gt;
		notify_file;&lt;br /&gt;
		};&lt;br /&gt;
	category xfer-out {&lt;br /&gt;
		xfer-out_file;&lt;br /&gt;
		};&lt;br /&gt;
	category xfer-in {&lt;br /&gt;
		xfer-in_file;&lt;br /&gt;
		};&lt;br /&gt;
	category resolver {&lt;br /&gt;
		resolver_file;&lt;br /&gt;
		};&lt;br /&gt;
	category config {&lt;br /&gt;
		config_file;&lt;br /&gt;
		};&lt;br /&gt;
	category security {&lt;br /&gt;
		security_file;&lt;br /&gt;
		};&lt;br /&gt;
	category database {&lt;br /&gt;
		database_file;&lt;br /&gt;
		};&lt;br /&gt;
	category general {&lt;br /&gt;
		general_file;&lt;br /&gt;
		};&lt;br /&gt;
	category default {&lt;br /&gt;
		default_file;&lt;br /&gt;
		};&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/rndc.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options {&lt;br /&gt;
	default-server  localhost;&lt;br /&gt;
	default-key     &amp;quot;rndc-key&amp;quot;;&lt;br /&gt;
	default-port 953;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
server localhost {&lt;br /&gt;
	key     &amp;quot;rndc-key&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
key &amp;quot;rndc-key&amp;quot; {&lt;br /&gt;
	algorithm       hmac-md5;&lt;br /&gt;
	secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/rndc.key===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
key &amp;quot;rndc-key&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
key &amp;quot;linuxmce-dhcp&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
key &amp;quot;linuxmce-ns2&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/db.wright.local.zone===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
;&lt;br /&gt;
; BIND data file for wright.local&lt;br /&gt;
; ref. http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-bind-zone.html&lt;br /&gt;
;&lt;br /&gt;
$TTL 86400 ; time to live : 86400s = 1 day&lt;br /&gt;
; Start Of Authority record, proclaims important authoritative information &lt;br /&gt;
; about a namespace to the nameserver.&lt;br /&gt;
@               IN SOA  dcerouter.wright.local        roy@wright.org (&lt;br /&gt;
                2008013101      ;serial (YYYYMMDDNN where N = 01,02,03,...)&lt;br /&gt;
                10800           ;refresh (3 hours)&lt;br /&gt;
                7200            ;retry (2 hours)&lt;br /&gt;
                36000000        ;expire (10,000 hours = 416 2/3 days)&lt;br /&gt;
                86400)          ;default minimum ttl&lt;br /&gt;
;&lt;br /&gt;
; NameServer record, which announces the authoritative nameservers for a particular zone.&lt;br /&gt;
;&lt;br /&gt;
                IN NS   dcerouter.wright.local.&lt;br /&gt;
;&lt;br /&gt;
; Address records specify an IP address to assign to a name&lt;br /&gt;
;&lt;br /&gt;
dcerouter       IN A            192.168.80.1&lt;br /&gt;
dad-kubuntu     IN A            192.168.80.21&lt;br /&gt;
royw-gentoo	IN A		192.168.80.20&lt;br /&gt;
;&lt;br /&gt;
; Canonical name records, maps one name to another. &lt;br /&gt;
;&lt;br /&gt;
linuxmce        IN CNAME        dcerouter&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/db.wright.local.rev===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&lt;br /&gt;
; BIND reverse data file for wright.local&lt;br /&gt;
; ref. http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-bind-zone.html&lt;br /&gt;
;&lt;br /&gt;
$ORIGIN 80.168.192.in-addr.arpa.&lt;br /&gt;
$TTL 86400 ; time to live : 86400s = 1 day&lt;br /&gt;
; Start Of Authority record, proclaims important authoritative information &lt;br /&gt;
; about a namespace to the nameserver.&lt;br /&gt;
@               IN SOA  dcerouter.wright.local        roy@wright.org (&lt;br /&gt;
                2008013101      ;serial (YYYYMMDDNN where N = 01,02,03,...)&lt;br /&gt;
                10800           ;refresh (3 hours)&lt;br /&gt;
                7200            ;retry (2 hours)&lt;br /&gt;
                36000000        ;expire (10,000 hours = 416 2/3 days)&lt;br /&gt;
                86400)          ;default minimum ttl&lt;br /&gt;
;&lt;br /&gt;
; NameServer record, which announces the authoritative nameservers for a particular zone.&lt;br /&gt;
;&lt;br /&gt;
                IN NS   dcerouter.wright.local.&lt;br /&gt;
;&lt;br /&gt;
; PTR — PoinTeR record, designed to point to another part of the namespace.&lt;br /&gt;
;&lt;br /&gt;
1               IN PTR  dcerouter.wright.local.&lt;br /&gt;
21              IN PTR  dad-kubuntu.wright.local.&lt;br /&gt;
20		IN PTR	royw-gentoo.wright.local.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/dhcp3/dhcpd.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
option domain-name-servers 192.168.80.1;&lt;br /&gt;
authoritative;&lt;br /&gt;
&lt;br /&gt;
option routers 192.168.80.1;&lt;br /&gt;
option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
# lease IPs for 1 day, maximum 1 week&lt;br /&gt;
default-lease-time 86400;&lt;br /&gt;
max-lease-time 604800;&lt;br /&gt;
&lt;br /&gt;
# dynamic DNS updates&lt;br /&gt;
ddns-updates on;&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ddns-domainname &amp;quot;wright.local.&amp;quot;;&lt;br /&gt;
ddns-rev-domainname &amp;quot;in-addr.arpa.&amp;quot;;&lt;br /&gt;
ddns-ttl 14400;&lt;br /&gt;
&lt;br /&gt;
# don&#039;t let clients modify their own A records&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
key &amp;quot;linuxmce-dhcp&amp;quot; {&lt;br /&gt;
	algorithm       hmac-md5;&lt;br /&gt;
	secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
zone wright.local {&lt;br /&gt;
	primary 192.168.80.1;&lt;br /&gt;
	key &amp;quot;linuxmce-dhcp&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
zone 80.168.192.in-addr.arpa {&lt;br /&gt;
	primary 192.168.80.1;&lt;br /&gt;
	key &amp;quot;linuxmce-dhcp&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
option space pxelinux;&lt;br /&gt;
option pxelinux.magic code 208 = string;&lt;br /&gt;
option pxelinux.configfile code 209 = text;&lt;br /&gt;
option pxelinux.pathprefix code 210 = text;&lt;br /&gt;
option pxelinux.reboottime code 211 = unsigned integer 32;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.80.0 netmask 255.255.255.0 {&lt;br /&gt;
	next-server 192.168.80.1;&lt;br /&gt;
	filename &amp;quot;/tftpboot/pxelinux.0&amp;quot;;&lt;br /&gt;
	option pxelinux.reboottime = 30;&lt;br /&gt;
&lt;br /&gt;
	option domain-name &amp;quot;wright.local&amp;quot;;&lt;br /&gt;
	option domain-name-servers 192.168.80.1;&lt;br /&gt;
	option routers 192.168.80.1;&lt;br /&gt;
&lt;br /&gt;
	default-lease-time 86400;&lt;br /&gt;
	max-lease-time 604800;&lt;br /&gt;
	pool {&lt;br /&gt;
		 allow unknown-clients;&lt;br /&gt;
		 range 192.168.80.129 192.168.80.254; &lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# PXE booting machines&lt;br /&gt;
group {&lt;br /&gt;
	next-server 192.168.80.1;&lt;br /&gt;
	filename &amp;quot;/tftpboot/pxelinux.0&amp;quot;;&lt;br /&gt;
	option pxelinux.reboottime = 30;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# regular machines&lt;br /&gt;
group {&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# CORE (1) has bad mac address: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/resolv.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
domain wright.local&lt;br /&gt;
nameserver localhost&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Royw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=How_to_setup_Local_Authoritative_DNS&amp;diff=8738</id>
		<title>How to setup Local Authoritative DNS</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=How_to_setup_Local_Authoritative_DNS&amp;diff=8738"/>
		<updated>2008-02-04T02:39:53Z</updated>

		<summary type="html">&lt;p&gt;Royw: /* How to setup Local Authoritative DNS */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=How to setup Local Authoritative DNS=&lt;br /&gt;
&lt;br /&gt;
I was wanting an authoritative name server for my local intranet.  I also wanted any dynamic IP&#039;s to be visible to the name server.  The name server included with linuxmce is configured as a recursive name server.  Here&#039;s the changes I did to configure my core&#039;s name server to be authoritative and support dynamic IPs.  Note, the machines on my intranet are private, i.e., not known to the outside world.&lt;br /&gt;
&lt;br /&gt;
Developed and tested on LinuxMCE 0710 Beta 3.  3 Feb 2008&lt;br /&gt;
&lt;br /&gt;
I named my intranet &amp;quot;wright.local&amp;quot;.  Using a &amp;quot;local&amp;quot; top level domain (TLD) is recommended for private intranets.  Some may prefer to use &amp;quot;lan&amp;quot;.  You do not want to use any of the standard TLDs like &amp;quot;com&amp;quot;, &amp;quot;net&amp;quot;, &amp;quot;org&amp;quot;,...&lt;br /&gt;
&lt;br /&gt;
I used the core&#039;s default intranet addresses, 192.168.80.0/24 with the core at 192.168.80.1.&lt;br /&gt;
&lt;br /&gt;
I&#039;ve attempted to verbosely document each config file. :)&lt;br /&gt;
&lt;br /&gt;
The directions for adapting the config files are included in the named.conf file.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
If you want to try this, I would suggest building the config in new directories then swapping with the originals when you are ready (I had a little mess when my core hung and I had to restart with only half the configs ready) :)&lt;br /&gt;
&lt;br /&gt;
So start with creating two directories:&lt;br /&gt;
&lt;br /&gt;
  sudo mkdir /etc/bind.new&lt;br /&gt;
  sudo mkdir /etc/dhcp3.new&lt;br /&gt;
&lt;br /&gt;
Now copy the contents of the original directories:&lt;br /&gt;
&lt;br /&gt;
  sudo cp -arp /etc/bind/* /etc/bind.new&lt;br /&gt;
  sudo cp -arp /etc/dhcp3/* /etc/dhcp3.new&lt;br /&gt;
&lt;br /&gt;
Also create a new resolve.conf file:&lt;br /&gt;
&lt;br /&gt;
  sudo touch /etc/resolv.conf.new&lt;br /&gt;
&lt;br /&gt;
Then add/change the config files below. &lt;br /&gt;
&lt;br /&gt;
To create a key for use in rndc.key and dhcpd.conf:&lt;br /&gt;
&lt;br /&gt;
  sudo dnssec-keygen -a HMAC-MD5 -b 256 -n user rndc&lt;br /&gt;
&lt;br /&gt;
Now get the key from the private file:&lt;br /&gt;
&lt;br /&gt;
  sudo cat Krndc.*.private&lt;br /&gt;
  Private-key-format: v1.2&lt;br /&gt;
  Algorithm: 157 (HMAC_MD5)&lt;br /&gt;
  Key: 3+GnSWV5FKxcUu57k7QFxbpvv/xr4fXj2wBVGtdGifI=&lt;br /&gt;
  Bits: AAA=&lt;br /&gt;
&lt;br /&gt;
Now cut the key which is to the right of &amp;quot;Key: &amp;quot; and paste where needed (replace &amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot; with the key in the config files).  So an example using the above key would look like:&lt;br /&gt;
&lt;br /&gt;
  key &amp;quot;linuxmce-dhcp&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
  };&lt;br /&gt;
&lt;br /&gt;
becomes:&lt;br /&gt;
&lt;br /&gt;
  key &amp;quot;linuxmce-dhcp&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;3+GnSWV5FKxcUu57k7QFxbpvv/xr4fXj2wBVGtdGifI=&amp;quot;;&lt;br /&gt;
  };&lt;br /&gt;
&lt;br /&gt;
Make the logging directory:&lt;br /&gt;
&lt;br /&gt;
  sudo mkdir /var/log/named&lt;br /&gt;
  sudo chown bind:bind /var/log/named&lt;br /&gt;
  sudo chmod 755 /var/log/named&lt;br /&gt;
&lt;br /&gt;
Change all the file permissions per instructions in named.conf. &lt;br /&gt;
&lt;br /&gt;
Double check everything.   Roll Eyes&lt;br /&gt;
&lt;br /&gt;
Then when you are feeling lucky, rename the original directories and then rename the new directories to take there place:&lt;br /&gt;
&lt;br /&gt;
  sudo mv /etc/bind /etc/bind.original&lt;br /&gt;
  sudo mv /etc/bind.new /etc/bind&lt;br /&gt;
  sudo mv /etc/dhcp3 /etc/dhcp3.original&lt;br /&gt;
  sudo mv /etc/dhcp3.new /etc/dhcp3&lt;br /&gt;
  sudo mv /etc/resolve.conf /etc/resolve.conf.original&lt;br /&gt;
  sudo mv /etc/resolve.conf.new /etc/resolve.conf&lt;br /&gt;
&lt;br /&gt;
Finally restart the bind and dhcpd services:&lt;br /&gt;
&lt;br /&gt;
  sudo rndc reload&lt;br /&gt;
  sudo /etc/init.d/dhcp3-server restart&lt;br /&gt;
&lt;br /&gt;
Check the syslog for any errors:&lt;br /&gt;
&lt;br /&gt;
  grep named /var/log/syslog&lt;br /&gt;
  grep dhcpd /var/log/syslog&lt;br /&gt;
&lt;br /&gt;
==Config Files==&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/named.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// This is the primary configuration file for the BIND DNS server named.&lt;br /&gt;
//&lt;br /&gt;
// This configuration supports an authoritative local zone (wright.local on&lt;br /&gt;
// 192.168.80.0/24) and allows DHCP to update the local zone.  &lt;br /&gt;
// To customize to your setup:&lt;br /&gt;
// 1) replace &amp;quot;wright.local&amp;quot; with your internal domain name.&lt;br /&gt;
// 2) edit db.wright.local.zone and db.wright.local.rev and replace&lt;br /&gt;
//    my static names/addresses with your network&#039;s static names/addresses.&lt;br /&gt;
//    Make sure to increment the serial number of any file edited.  &lt;br /&gt;
//    Note, format of serial number is:  YYYYMMDDNN where YYYY is year, &lt;br /&gt;
//    MM is month, DD is day, NN is update number for that day (i.e., 01, &lt;br /&gt;
//    02, 03,...)&lt;br /&gt;
// 3) rename db.wright.local.zone to match your domain name.&lt;br /&gt;
// 4) rename db.wright.local.rev to match your domain name.&lt;br /&gt;
// 5) If you changed the internal network IP from the LinuxMCE default of&lt;br /&gt;
//    192.168.80.0/24, then replace &amp;quot;192.168.80&amp;quot; with your network&lt;br /&gt;
//    ip and replace it&#039;s reverse &amp;quot;80.168.192&amp;quot; wity your network ip&#039;s&lt;br /&gt;
//    reverse.&lt;br /&gt;
//&lt;br /&gt;
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the &lt;br /&gt;
// structure of BIND configuration files in Debian, *BEFORE* you customize &lt;br /&gt;
// this configuration file.&lt;br /&gt;
//&lt;br /&gt;
// If you are just adding zones, please do that in /etc/bind/named.conf.local&lt;br /&gt;
//&lt;br /&gt;
// references:&lt;br /&gt;
// http://www.arda.homeunix.net/dnssetup.html&lt;br /&gt;
// http://www.madboa.com/geek/soho-bind/&lt;br /&gt;
//&lt;br /&gt;
// notes:&lt;br /&gt;
// 1) The following command should be ran about twice a year to keep&lt;br /&gt;
//    the root servers current:&lt;br /&gt;
//      dig @a.root-servers.net . ns &amp;gt; /etc/bin/db.root&lt;br /&gt;
//    Root name servers don’t change very often so updating this file more &lt;br /&gt;
//    than twice a year is probably overkill. Frequent updates also put undo &lt;br /&gt;
//    load on the root name servers; they have enough to do as it is.&lt;br /&gt;
//&lt;br /&gt;
// 2) File permissions:&lt;br /&gt;
//    /etc/bind/named.conf   root:root   644&lt;br /&gt;
//    /etc/bind/rndc.key     root:bind   640&lt;br /&gt;
//    /etc/bind/rndc.conf    root:root   600&lt;br /&gt;
//    /etc/resolv.conf       root:root   644&lt;br /&gt;
//    /etc/bind              root:bind   775, chmod g+s =&amp;gt; drwxrwsr-x&lt;br /&gt;
//    /etc/dhcp3             root:root   755&lt;br /&gt;
//    /etc/dhcp3/dhcpd.conf  root:root   644&lt;br /&gt;
//&lt;br /&gt;
// Manually Updating Zone Files&lt;br /&gt;
// 1. Use rndc to stop BIND.&lt;br /&gt;
//      sudo rndc stop&lt;br /&gt;
// 2. Remove any .jnl files from the zone file directory.&lt;br /&gt;
//      sudo rm /etc/bind/*.jnl&lt;br /&gt;
// 3. Edit the zone files as necessary. Make sure to increment the serial &lt;br /&gt;
//    number of any file edited.  Note, format of serial number is:&lt;br /&gt;
//    YYYYMMDDNN where YYYY is year, MM is month, DD is day, NN is update&lt;br /&gt;
//    number for that day (i.e., 01, 02, 03,...)&lt;br /&gt;
// 4. Start BIND using its startup script. &lt;br /&gt;
//      sudo /etc/init.d/bind9 start&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
// secret must be the same as in /etc/bind/rndc.conf&lt;br /&gt;
include &amp;quot;/etc/bind/rndc.key&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// access control list used to limit queries to local net&lt;br /&gt;
acl &amp;quot;internal-net&amp;quot; { 192.168.80/24; 127.0.0.1; };&lt;br /&gt;
&lt;br /&gt;
controls {&lt;br /&gt;
    inet 127.0.0.1 allow { any; } keys { &amp;quot;rndc-key&amp;quot;; };&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
include &amp;quot;/etc/bind/named.conf.options&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// The single dot (.) is the root of all DNS namespace, so&lt;br /&gt;
// this zone tells named where to start looking for any&lt;br /&gt;
// name on the Internet&lt;br /&gt;
zone &amp;quot;.&amp;quot; IN {&lt;br /&gt;
	type hint;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.root&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
// local intranet zones and reverse zones&lt;br /&gt;
// intranet is wright.local and 192.168.80.0/24&lt;br /&gt;
// the DHCP servers is on linuxmce-dhcp&lt;br /&gt;
// an optional second nameserver would be on linuxmce-ns2&lt;br /&gt;
	&lt;br /&gt;
zone &amp;quot;wright.local&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.wright.local.zone&amp;quot;;&lt;br /&gt;
	// both allow-update and update-policy can enable DHCP updates,&lt;br /&gt;
	// but update-policy allows more control over what kinds of &lt;br /&gt;
	// updates DHCP can perform on a zone.&lt;br /&gt;
	// allow-update { none; };&lt;br /&gt;
	update-policy { grant linuxmce-dhcp subdomain wright.local. A TXT; };&lt;br /&gt;
	// allow-transfer { key &amp;quot;linuxmce-ns2&amp;quot;; };&lt;br /&gt;
	// notify on zone transfers&lt;br /&gt;
	notify yes;&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
zone &amp;quot;80.168.192.in-addr.arpa&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.wright.local.rev&amp;quot;;&lt;br /&gt;
	// allow-update { none; };&lt;br /&gt;
	update-policy { grant linuxmce-dhcp subdomain 80.168.192.in-addr.arpa. PTR TXT; };&lt;br /&gt;
	// allow-transfer { key &amp;quot;linuxmce-ns2&amp;quot;; };&lt;br /&gt;
	notify yes;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
// be authoritative for the localhost forward and reverse zones, and for&lt;br /&gt;
// broadcast zones as per RFC 1912 (http://www.ietf.org/rfc/rfc1912.txt)&lt;br /&gt;
&lt;br /&gt;
// Where the localhost hostname is defined&lt;br /&gt;
zone &amp;quot;localhost&amp;quot; IN {&lt;br /&gt;
	// a master type means that this server needn&#039;t look&lt;br /&gt;
	// anywhere else for information; the localhost buck&lt;br /&gt;
	// stops here.&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.local&amp;quot;;&lt;br /&gt;
	// don&#039;t allow dynamic DNS clients to update info&lt;br /&gt;
	// about the localhost zone&lt;br /&gt;
	allow-update { none; };&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
// Where the 127.0.0.0 network is defined&lt;br /&gt;
zone &amp;quot;127.in-addr.arpa&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.127&amp;quot;;&lt;br /&gt;
	allow-update { none; };&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
zone &amp;quot;0.in-addr.arpa&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.0&amp;quot;;&lt;br /&gt;
	allow-update { none; };&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
zone &amp;quot;255.in-addr.arpa&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.255&amp;quot;;&lt;br /&gt;
	allow-update { none; };&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
&lt;br /&gt;
// Include logging config file&lt;br /&gt;
include &amp;quot;/etc/bind/logging.conf&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// zone &amp;quot;com&amp;quot; { type delegation-only; };&lt;br /&gt;
// zone &amp;quot;net&amp;quot; { type delegation-only; };&lt;br /&gt;
&lt;br /&gt;
// From the release notes:&lt;br /&gt;
//  Because many of our users are uncomfortable receiving undelegated answers&lt;br /&gt;
//  from root or top level domains, other than a few for whom that behaviour&lt;br /&gt;
//  has been trusted and expected for quite some length of time, we have now&lt;br /&gt;
//  introduced the &amp;quot;root-delegations-only&amp;quot; feature which applies delegation-only&lt;br /&gt;
//  logic to all top level domains, and to the root domain.  An exception list&lt;br /&gt;
//  should be specified, including &amp;quot;MUSEUM&amp;quot; and &amp;quot;DE&amp;quot;, and any other top level&lt;br /&gt;
//  domains from whom undelegated responses are expected and trusted.&lt;br /&gt;
// root-delegation-only exclude { &amp;quot;DE&amp;quot;; &amp;quot;MUSEUM&amp;quot;; };&lt;br /&gt;
&lt;br /&gt;
include &amp;quot;/etc/bind/named.conf.local&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/named.conf.options===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options {&lt;br /&gt;
	// tell named where to find files mentioned below&lt;br /&gt;
	directory &amp;quot;/var/cache/bind&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
	// file that contains the process id when bind is running&lt;br /&gt;
	pid-file &amp;quot;/var/run/bind/run/named.pid&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
	// enable statistics&lt;br /&gt;
	statistics-file &amp;quot;/var/named/named.stats&amp;quot;;&lt;br /&gt;
	zone-statistics yes;&lt;br /&gt;
&lt;br /&gt;
	dump-file &amp;quot;/var/named/named.dump&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
	// If there is a firewall between you and nameservers you want&lt;br /&gt;
	// to talk to, you might need to uncomment the query-source&lt;br /&gt;
	// directive below.  Previous versions of BIND always asked&lt;br /&gt;
	// questions using port 53, but BIND 8.1 and later use an unprivileged&lt;br /&gt;
	// port by default.&lt;br /&gt;
	// query-source address * port 53;&lt;br /&gt;
&lt;br /&gt;
	// If your ISP provided one or more IP addresses for stable &lt;br /&gt;
	// nameservers, you probably want to use them as forwarders.  &lt;br /&gt;
	// Uncomment the following block, and insert the addresses replacing &lt;br /&gt;
	// the all-0&#039;s placeholder.&lt;br /&gt;
&lt;br /&gt;
	// The forwarders option tells BIND to not use iterative queries itself &lt;br /&gt;
	// for information it doesn’t already know about but to forward a &lt;br /&gt;
	// recursive query to the name servers specified instead.&lt;br /&gt;
	include &amp;quot;/etc/bind/named.conf.forwarders&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
	// conform to RFC1035&lt;br /&gt;
	auth-nxdomain no;&lt;br /&gt;
&lt;br /&gt;
	// on a multi-homed host, you might want to tell named&lt;br /&gt;
	// to listen for queries only on certain interfaces&lt;br /&gt;
	listen-on-v6 { any; };&lt;br /&gt;
	listen-on { &amp;quot;internal-net&amp;quot;; };&lt;br /&gt;
&lt;br /&gt;
	// to allow only specific hosts to use the DNS server:&lt;br /&gt;
	allow-query { &amp;quot;internal-net&amp;quot;; };&lt;br /&gt;
&lt;br /&gt;
	// sets BIND’s default behaviour to refuse all zone transfers. &lt;br /&gt;
	// Without setting this option, anyone can transfer any zone.&lt;br /&gt;
	allow-transfer { none; };&lt;br /&gt;
&lt;br /&gt;
	// do not generate notify messages for all zones on a restart.&lt;br /&gt;
	// override for authorative zones&lt;br /&gt;
	notify no;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/logging.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
logging {&lt;br /&gt;
&lt;br /&gt;
	channel default_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/default.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel general_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/general.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel database_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/database.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel security_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/security.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel config_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/config.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel resolver_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/resolver.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel xfer-in_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/xfer-in.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel xfer-out_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/xfer-out.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel notify_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/notify.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel client_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/client.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel unmatched_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/unmatched.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel queries_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/queries.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel network_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/network.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel update_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/update.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel dispatch_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/dispatch.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel dnssec_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/dnssec.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel lame-servers_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/lame-servers.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	category lame-servers {&lt;br /&gt;
		lame-servers_file;&lt;br /&gt;
		};&lt;br /&gt;
	category dnssec {&lt;br /&gt;
		dnssec_file;&lt;br /&gt;
		};&lt;br /&gt;
	category dispatch {&lt;br /&gt;
		dispatch_file;&lt;br /&gt;
		};&lt;br /&gt;
	category update {&lt;br /&gt;
		update_file;&lt;br /&gt;
		};&lt;br /&gt;
	category network {&lt;br /&gt;
		network_file;&lt;br /&gt;
		};&lt;br /&gt;
	category queries {&lt;br /&gt;
		queries_file;&lt;br /&gt;
		};&lt;br /&gt;
	category unmatched {&lt;br /&gt;
		unmatched_file;&lt;br /&gt;
		};&lt;br /&gt;
	category client {&lt;br /&gt;
		client_file;&lt;br /&gt;
		};&lt;br /&gt;
	category notify {&lt;br /&gt;
		notify_file;&lt;br /&gt;
		};&lt;br /&gt;
	category xfer-out {&lt;br /&gt;
		xfer-out_file;&lt;br /&gt;
		};&lt;br /&gt;
	category xfer-in {&lt;br /&gt;
		xfer-in_file;&lt;br /&gt;
		};&lt;br /&gt;
	category resolver {&lt;br /&gt;
		resolver_file;&lt;br /&gt;
		};&lt;br /&gt;
	category config {&lt;br /&gt;
		config_file;&lt;br /&gt;
		};&lt;br /&gt;
	category security {&lt;br /&gt;
		security_file;&lt;br /&gt;
		};&lt;br /&gt;
	category database {&lt;br /&gt;
		database_file;&lt;br /&gt;
		};&lt;br /&gt;
	category general {&lt;br /&gt;
		general_file;&lt;br /&gt;
		};&lt;br /&gt;
	category default {&lt;br /&gt;
		default_file;&lt;br /&gt;
		};&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/rndc.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options {&lt;br /&gt;
	default-server  localhost;&lt;br /&gt;
	default-key     &amp;quot;rndc-key&amp;quot;;&lt;br /&gt;
	default-port 953;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
server localhost {&lt;br /&gt;
	key     &amp;quot;rndc-key&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
key &amp;quot;rndc-key&amp;quot; {&lt;br /&gt;
	algorithm       hmac-md5;&lt;br /&gt;
	secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/rndc.key===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
key &amp;quot;rndc-key&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
key &amp;quot;linuxmce-dhcp&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
key &amp;quot;linuxmce-ns2&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/db.wright.local.zone===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
;&lt;br /&gt;
; BIND data file for wright.local&lt;br /&gt;
; ref. http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-bind-zone.html&lt;br /&gt;
;&lt;br /&gt;
$TTL 86400 ; time to live : 86400s = 1 day&lt;br /&gt;
; Start Of Authority record, proclaims important authoritative information &lt;br /&gt;
; about a namespace to the nameserver.&lt;br /&gt;
@               IN SOA  dcerouter.wright.local        roy@wright.org (&lt;br /&gt;
                2008013101      ;serial (YYYYMMDDNN where N = 01,02,03,...)&lt;br /&gt;
                10800           ;refresh (3 hours)&lt;br /&gt;
                7200            ;retry (2 hours)&lt;br /&gt;
                36000000        ;expire (10,000 hours = 416 2/3 days)&lt;br /&gt;
                86400)          ;default minimum ttl&lt;br /&gt;
;&lt;br /&gt;
; NameServer record, which announces the authoritative nameservers for a particular zone.&lt;br /&gt;
;&lt;br /&gt;
                IN NS   dcerouter.wright.local.&lt;br /&gt;
;&lt;br /&gt;
; Address records specify an IP address to assign to a name&lt;br /&gt;
;&lt;br /&gt;
dcerouter       IN A            192.168.80.1&lt;br /&gt;
dad-kubuntu     IN A            192.168.80.21&lt;br /&gt;
royw-gentoo	IN A		192.168.80.20&lt;br /&gt;
;&lt;br /&gt;
; Canonical name records, maps one name to another. &lt;br /&gt;
;&lt;br /&gt;
linuxmce        IN CNAME        dcerouter&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/db.wright.local.rev===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&lt;br /&gt;
; BIND reverse data file for wright.local&lt;br /&gt;
; ref. http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-bind-zone.html&lt;br /&gt;
;&lt;br /&gt;
$ORIGIN 80.168.192.in-addr.arpa.&lt;br /&gt;
$TTL 86400 ; time to live : 86400s = 1 day&lt;br /&gt;
; Start Of Authority record, proclaims important authoritative information &lt;br /&gt;
; about a namespace to the nameserver.&lt;br /&gt;
@               IN SOA  dcerouter.wright.local        roy@wright.org (&lt;br /&gt;
                2008013101      ;serial (YYYYMMDDNN where N = 01,02,03,...)&lt;br /&gt;
                10800           ;refresh (3 hours)&lt;br /&gt;
                7200            ;retry (2 hours)&lt;br /&gt;
                36000000        ;expire (10,000 hours = 416 2/3 days)&lt;br /&gt;
                86400)          ;default minimum ttl&lt;br /&gt;
;&lt;br /&gt;
; NameServer record, which announces the authoritative nameservers for a particular zone.&lt;br /&gt;
;&lt;br /&gt;
                IN NS   dcerouter.wright.local.&lt;br /&gt;
;&lt;br /&gt;
; PTR — PoinTeR record, designed to point to another part of the namespace.&lt;br /&gt;
;&lt;br /&gt;
1               IN PTR  dcerouter.wright.local.&lt;br /&gt;
21              IN PTR  dad-kubuntu.wright.local.&lt;br /&gt;
20		IN PTR	royw-gentoo.wright.local.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/dhcp3/dhcpd.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
option domain-name-servers 192.168.80.1;&lt;br /&gt;
authoritative;&lt;br /&gt;
&lt;br /&gt;
option routers 192.168.80.1;&lt;br /&gt;
option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
# lease IPs for 1 day, maximum 1 week&lt;br /&gt;
default-lease-time 86400;&lt;br /&gt;
max-lease-time 604800;&lt;br /&gt;
&lt;br /&gt;
# dynamic DNS updates&lt;br /&gt;
ddns-updates on;&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ddns-domainname &amp;quot;wright.local.&amp;quot;;&lt;br /&gt;
ddns-rev-domainname &amp;quot;in-addr.arpa.&amp;quot;;&lt;br /&gt;
ddns-ttl 14400;&lt;br /&gt;
&lt;br /&gt;
# don&#039;t let clients modify their own A records&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
key &amp;quot;linuxmce-dhcp&amp;quot; {&lt;br /&gt;
	algorithm       hmac-md5;&lt;br /&gt;
	secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
zone wright.local {&lt;br /&gt;
	primary 192.168.80.1;&lt;br /&gt;
	key &amp;quot;linuxmce-dhcp&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
zone 80.168.192.in-addr.arpa {&lt;br /&gt;
	primary 192.168.80.1;&lt;br /&gt;
	key &amp;quot;linuxmce-dhcp&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
option space pxelinux;&lt;br /&gt;
option pxelinux.magic code 208 = string;&lt;br /&gt;
option pxelinux.configfile code 209 = text;&lt;br /&gt;
option pxelinux.pathprefix code 210 = text;&lt;br /&gt;
option pxelinux.reboottime code 211 = unsigned integer 32;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.80.0 netmask 255.255.255.0 {&lt;br /&gt;
	next-server 192.168.80.1;&lt;br /&gt;
	filename &amp;quot;/tftpboot/pxelinux.0&amp;quot;;&lt;br /&gt;
	option pxelinux.reboottime = 30;&lt;br /&gt;
&lt;br /&gt;
	option domain-name &amp;quot;wright.local&amp;quot;;&lt;br /&gt;
	option domain-name-servers 192.168.80.1;&lt;br /&gt;
	option routers 192.168.80.1;&lt;br /&gt;
&lt;br /&gt;
	default-lease-time 86400;&lt;br /&gt;
	max-lease-time 604800;&lt;br /&gt;
	pool {&lt;br /&gt;
		 allow unknown-clients;&lt;br /&gt;
		 range 192.168.80.129 192.168.80.254; &lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# PXE booting machines&lt;br /&gt;
group {&lt;br /&gt;
	next-server 192.168.80.1;&lt;br /&gt;
	filename &amp;quot;/tftpboot/pxelinux.0&amp;quot;;&lt;br /&gt;
	option pxelinux.reboottime = 30;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# regular machines&lt;br /&gt;
group {&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# CORE (1) has bad mac address: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/resolv.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
domain wright.local&lt;br /&gt;
nameserver localhost&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Royw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=How_to_setup_Local_Authoritative_DNS&amp;diff=8737</id>
		<title>How to setup Local Authoritative DNS</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=How_to_setup_Local_Authoritative_DNS&amp;diff=8737"/>
		<updated>2008-02-04T02:35:34Z</updated>

		<summary type="html">&lt;p&gt;Royw: New page: =How to setup Local Authoritative DNS=  I was wanting an authoritative name server for my local intranet.  I also wanted any dynamic IP&amp;#039;s to be visible to the name server.  The name server...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=How to setup Local Authoritative DNS=&lt;br /&gt;
&lt;br /&gt;
I was wanting an authoritative name server for my local intranet.  I also wanted any dynamic IP&#039;s to be visible to the name server.  The name server included with linuxmce is configured as a recursive name server.  Here&#039;s the changes I did to configure my core&#039;s name server to be authoritative and support dynamic IPs.  Note, the machines on my intranet are private, i.e., not known to the outside world.&lt;br /&gt;
&lt;br /&gt;
I named my intranet &amp;quot;wright.local&amp;quot;.  Using a &amp;quot;local&amp;quot; top level domain (TLD) is recommended for private intranets.  Some may prefer to use &amp;quot;lan&amp;quot;.  You do not want to use any of the standard TLDs like &amp;quot;com&amp;quot;, &amp;quot;net&amp;quot;, &amp;quot;org&amp;quot;,...&lt;br /&gt;
&lt;br /&gt;
I used the core&#039;s default intranet addresses, 192.168.80.0/24 with the core at 192.168.80.1.&lt;br /&gt;
&lt;br /&gt;
I&#039;ve attempted to verbosely document each config file. :)&lt;br /&gt;
&lt;br /&gt;
The directions for adapting the config files are included in the named.conf file.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
&lt;br /&gt;
If you want to try this, I would suggest building the config in new directories then swapping with the originals when you are ready (I had a little mess when my core hung and I had to restart with only half the configs ready) :)&lt;br /&gt;
&lt;br /&gt;
So start with creating two directories:&lt;br /&gt;
&lt;br /&gt;
  sudo mkdir /etc/bind.new&lt;br /&gt;
  sudo mkdir /etc/dhcp3.new&lt;br /&gt;
&lt;br /&gt;
Now copy the contents of the original directories:&lt;br /&gt;
&lt;br /&gt;
  sudo cp -arp /etc/bind/* /etc/bind.new&lt;br /&gt;
  sudo cp -arp /etc/dhcp3/* /etc/dhcp3.new&lt;br /&gt;
&lt;br /&gt;
Also create a new resolve.conf file:&lt;br /&gt;
&lt;br /&gt;
  sudo touch /etc/resolv.conf.new&lt;br /&gt;
&lt;br /&gt;
Then add/change the config files below. &lt;br /&gt;
&lt;br /&gt;
To create a key for use in rndc.key and dhcpd.conf:&lt;br /&gt;
&lt;br /&gt;
  sudo dnssec-keygen -a HMAC-MD5 -b 256 -n user rndc&lt;br /&gt;
&lt;br /&gt;
Now get the key from the private file:&lt;br /&gt;
&lt;br /&gt;
  sudo cat Krndc.*.private&lt;br /&gt;
  Private-key-format: v1.2&lt;br /&gt;
  Algorithm: 157 (HMAC_MD5)&lt;br /&gt;
  Key: 3+GnSWV5FKxcUu57k7QFxbpvv/xr4fXj2wBVGtdGifI=&lt;br /&gt;
  Bits: AAA=&lt;br /&gt;
&lt;br /&gt;
Now cut the key which is to the right of &amp;quot;Key: &amp;quot; and paste where needed (replace &amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot; with the key in the config files).  So an example using the above key would look like:&lt;br /&gt;
&lt;br /&gt;
  key &amp;quot;linuxmce-dhcp&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
  };&lt;br /&gt;
&lt;br /&gt;
becomes:&lt;br /&gt;
&lt;br /&gt;
  key &amp;quot;linuxmce-dhcp&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;3+GnSWV5FKxcUu57k7QFxbpvv/xr4fXj2wBVGtdGifI=&amp;quot;;&lt;br /&gt;
  };&lt;br /&gt;
&lt;br /&gt;
Make the logging directory:&lt;br /&gt;
&lt;br /&gt;
  sudo mkdir /var/log/named&lt;br /&gt;
  sudo chown bind:bind /var/log/named&lt;br /&gt;
  sudo chmod 755 /var/log/named&lt;br /&gt;
&lt;br /&gt;
Change all the file permissions per instructions in named.conf. &lt;br /&gt;
&lt;br /&gt;
Double check everything.   Roll Eyes&lt;br /&gt;
&lt;br /&gt;
Then when you are feeling lucky, rename the original directories and then rename the new directories to take there place:&lt;br /&gt;
&lt;br /&gt;
  sudo mv /etc/bind /etc/bind.original&lt;br /&gt;
  sudo mv /etc/bind.new /etc/bind&lt;br /&gt;
  sudo mv /etc/dhcp3 /etc/dhcp3.original&lt;br /&gt;
  sudo mv /etc/dhcp3.new /etc/dhcp3&lt;br /&gt;
  sudo mv /etc/resolve.conf /etc/resolve.conf.original&lt;br /&gt;
  sudo mv /etc/resolve.conf.new /etc/resolve.conf&lt;br /&gt;
&lt;br /&gt;
Finally restart the bind and dhcpd services:&lt;br /&gt;
&lt;br /&gt;
  sudo rndc reload&lt;br /&gt;
  sudo /etc/init.d/dhcp3-server restart&lt;br /&gt;
&lt;br /&gt;
Check the syslog for any errors:&lt;br /&gt;
&lt;br /&gt;
  grep named /var/log/syslog&lt;br /&gt;
  grep dhcpd /var/log/syslog&lt;br /&gt;
&lt;br /&gt;
==Config Files==&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/named.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
// This is the primary configuration file for the BIND DNS server named.&lt;br /&gt;
//&lt;br /&gt;
// This configuration supports an authoritative local zone (wright.local on&lt;br /&gt;
// 192.168.80.0/24) and allows DHCP to update the local zone.  &lt;br /&gt;
// To customize to your setup:&lt;br /&gt;
// 1) replace &amp;quot;wright.local&amp;quot; with your internal domain name.&lt;br /&gt;
// 2) edit db.wright.local.zone and db.wright.local.rev and replace&lt;br /&gt;
//    my static names/addresses with your network&#039;s static names/addresses.&lt;br /&gt;
//    Make sure to increment the serial number of any file edited.  &lt;br /&gt;
//    Note, format of serial number is:  YYYYMMDDNN where YYYY is year, &lt;br /&gt;
//    MM is month, DD is day, NN is update number for that day (i.e., 01, &lt;br /&gt;
//    02, 03,...)&lt;br /&gt;
// 3) rename db.wright.local.zone to match your domain name.&lt;br /&gt;
// 4) rename db.wright.local.rev to match your domain name.&lt;br /&gt;
// 5) If you changed the internal network IP from the LinuxMCE default of&lt;br /&gt;
//    192.168.80.0/24, then replace &amp;quot;192.168.80&amp;quot; with your network&lt;br /&gt;
//    ip and replace it&#039;s reverse &amp;quot;80.168.192&amp;quot; wity your network ip&#039;s&lt;br /&gt;
//    reverse.&lt;br /&gt;
//&lt;br /&gt;
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the &lt;br /&gt;
// structure of BIND configuration files in Debian, *BEFORE* you customize &lt;br /&gt;
// this configuration file.&lt;br /&gt;
//&lt;br /&gt;
// If you are just adding zones, please do that in /etc/bind/named.conf.local&lt;br /&gt;
//&lt;br /&gt;
// references:&lt;br /&gt;
// http://www.arda.homeunix.net/dnssetup.html&lt;br /&gt;
// http://www.madboa.com/geek/soho-bind/&lt;br /&gt;
//&lt;br /&gt;
// notes:&lt;br /&gt;
// 1) The following command should be ran about twice a year to keep&lt;br /&gt;
//    the root servers current:&lt;br /&gt;
//      dig @a.root-servers.net . ns &amp;gt; /etc/bin/db.root&lt;br /&gt;
//    Root name servers don’t change very often so updating this file more &lt;br /&gt;
//    than twice a year is probably overkill. Frequent updates also put undo &lt;br /&gt;
//    load on the root name servers; they have enough to do as it is.&lt;br /&gt;
//&lt;br /&gt;
// 2) File permissions:&lt;br /&gt;
//    /etc/bind/named.conf   root:root   644&lt;br /&gt;
//    /etc/bind/rndc.key     root:bind   640&lt;br /&gt;
//    /etc/bind/rndc.conf    root:root   600&lt;br /&gt;
//    /etc/resolv.conf       root:root   644&lt;br /&gt;
//    /etc/bind              root:bind   775, chmod g+s =&amp;gt; drwxrwsr-x&lt;br /&gt;
//    /etc/dhcp3             root:root   755&lt;br /&gt;
//    /etc/dhcp3/dhcpd.conf  root:root   644&lt;br /&gt;
//&lt;br /&gt;
// Manually Updating Zone Files&lt;br /&gt;
// 1. Use rndc to stop BIND.&lt;br /&gt;
//      sudo rndc stop&lt;br /&gt;
// 2. Remove any .jnl files from the zone file directory.&lt;br /&gt;
//      sudo rm /etc/bind/*.jnl&lt;br /&gt;
// 3. Edit the zone files as necessary. Make sure to increment the serial &lt;br /&gt;
//    number of any file edited.  Note, format of serial number is:&lt;br /&gt;
//    YYYYMMDDNN where YYYY is year, MM is month, DD is day, NN is update&lt;br /&gt;
//    number for that day (i.e., 01, 02, 03,...)&lt;br /&gt;
// 4. Start BIND using its startup script. &lt;br /&gt;
//      sudo /etc/init.d/bind9 start&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
// secret must be the same as in /etc/bind/rndc.conf&lt;br /&gt;
include &amp;quot;/etc/bind/rndc.key&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// access control list used to limit queries to local net&lt;br /&gt;
acl &amp;quot;internal-net&amp;quot; { 192.168.80/24; 127.0.0.1; };&lt;br /&gt;
&lt;br /&gt;
controls {&lt;br /&gt;
    inet 127.0.0.1 allow { any; } keys { &amp;quot;rndc-key&amp;quot;; };&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
include &amp;quot;/etc/bind/named.conf.options&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// The single dot (.) is the root of all DNS namespace, so&lt;br /&gt;
// this zone tells named where to start looking for any&lt;br /&gt;
// name on the Internet&lt;br /&gt;
zone &amp;quot;.&amp;quot; IN {&lt;br /&gt;
	type hint;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.root&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
// local intranet zones and reverse zones&lt;br /&gt;
// intranet is wright.local and 192.168.80.0/24&lt;br /&gt;
// the DHCP servers is on linuxmce-dhcp&lt;br /&gt;
// an optional second nameserver would be on linuxmce-ns2&lt;br /&gt;
	&lt;br /&gt;
zone &amp;quot;wright.local&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.wright.local.zone&amp;quot;;&lt;br /&gt;
	// both allow-update and update-policy can enable DHCP updates,&lt;br /&gt;
	// but update-policy allows more control over what kinds of &lt;br /&gt;
	// updates DHCP can perform on a zone.&lt;br /&gt;
	// allow-update { none; };&lt;br /&gt;
	update-policy { grant linuxmce-dhcp subdomain wright.local. A TXT; };&lt;br /&gt;
	// allow-transfer { key &amp;quot;linuxmce-ns2&amp;quot;; };&lt;br /&gt;
	// notify on zone transfers&lt;br /&gt;
	notify yes;&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
zone &amp;quot;80.168.192.in-addr.arpa&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.wright.local.rev&amp;quot;;&lt;br /&gt;
	// allow-update { none; };&lt;br /&gt;
	update-policy { grant linuxmce-dhcp subdomain 80.168.192.in-addr.arpa. PTR TXT; };&lt;br /&gt;
	// allow-transfer { key &amp;quot;linuxmce-ns2&amp;quot;; };&lt;br /&gt;
	notify yes;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
// be authoritative for the localhost forward and reverse zones, and for&lt;br /&gt;
// broadcast zones as per RFC 1912 (http://www.ietf.org/rfc/rfc1912.txt)&lt;br /&gt;
&lt;br /&gt;
// Where the localhost hostname is defined&lt;br /&gt;
zone &amp;quot;localhost&amp;quot; IN {&lt;br /&gt;
	// a master type means that this server needn&#039;t look&lt;br /&gt;
	// anywhere else for information; the localhost buck&lt;br /&gt;
	// stops here.&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.local&amp;quot;;&lt;br /&gt;
	// don&#039;t allow dynamic DNS clients to update info&lt;br /&gt;
	// about the localhost zone&lt;br /&gt;
	allow-update { none; };&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
// Where the 127.0.0.0 network is defined&lt;br /&gt;
zone &amp;quot;127.in-addr.arpa&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.127&amp;quot;;&lt;br /&gt;
	allow-update { none; };&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
zone &amp;quot;0.in-addr.arpa&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.0&amp;quot;;&lt;br /&gt;
	allow-update { none; };&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
zone &amp;quot;255.in-addr.arpa&amp;quot; IN {&lt;br /&gt;
	type master;&lt;br /&gt;
	file &amp;quot;/etc/bind/db.255&amp;quot;;&lt;br /&gt;
	allow-update { none; };&lt;br /&gt;
};&lt;br /&gt;
	&lt;br /&gt;
&lt;br /&gt;
// Include logging config file&lt;br /&gt;
include &amp;quot;/etc/bind/logging.conf&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
// zone &amp;quot;com&amp;quot; { type delegation-only; };&lt;br /&gt;
// zone &amp;quot;net&amp;quot; { type delegation-only; };&lt;br /&gt;
&lt;br /&gt;
// From the release notes:&lt;br /&gt;
//  Because many of our users are uncomfortable receiving undelegated answers&lt;br /&gt;
//  from root or top level domains, other than a few for whom that behaviour&lt;br /&gt;
//  has been trusted and expected for quite some length of time, we have now&lt;br /&gt;
//  introduced the &amp;quot;root-delegations-only&amp;quot; feature which applies delegation-only&lt;br /&gt;
//  logic to all top level domains, and to the root domain.  An exception list&lt;br /&gt;
//  should be specified, including &amp;quot;MUSEUM&amp;quot; and &amp;quot;DE&amp;quot;, and any other top level&lt;br /&gt;
//  domains from whom undelegated responses are expected and trusted.&lt;br /&gt;
// root-delegation-only exclude { &amp;quot;DE&amp;quot;; &amp;quot;MUSEUM&amp;quot;; };&lt;br /&gt;
&lt;br /&gt;
include &amp;quot;/etc/bind/named.conf.local&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/named.conf.options===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options {&lt;br /&gt;
	// tell named where to find files mentioned below&lt;br /&gt;
	directory &amp;quot;/var/cache/bind&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
	// file that contains the process id when bind is running&lt;br /&gt;
	pid-file &amp;quot;/var/run/bind/run/named.pid&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
	// enable statistics&lt;br /&gt;
	statistics-file &amp;quot;/var/named/named.stats&amp;quot;;&lt;br /&gt;
	zone-statistics yes;&lt;br /&gt;
&lt;br /&gt;
	dump-file &amp;quot;/var/named/named.dump&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
	// If there is a firewall between you and nameservers you want&lt;br /&gt;
	// to talk to, you might need to uncomment the query-source&lt;br /&gt;
	// directive below.  Previous versions of BIND always asked&lt;br /&gt;
	// questions using port 53, but BIND 8.1 and later use an unprivileged&lt;br /&gt;
	// port by default.&lt;br /&gt;
	// query-source address * port 53;&lt;br /&gt;
&lt;br /&gt;
	// If your ISP provided one or more IP addresses for stable &lt;br /&gt;
	// nameservers, you probably want to use them as forwarders.  &lt;br /&gt;
	// Uncomment the following block, and insert the addresses replacing &lt;br /&gt;
	// the all-0&#039;s placeholder.&lt;br /&gt;
&lt;br /&gt;
	// The forwarders option tells BIND to not use iterative queries itself &lt;br /&gt;
	// for information it doesn’t already know about but to forward a &lt;br /&gt;
	// recursive query to the name servers specified instead.&lt;br /&gt;
	include &amp;quot;/etc/bind/named.conf.forwarders&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
	// conform to RFC1035&lt;br /&gt;
	auth-nxdomain no;&lt;br /&gt;
&lt;br /&gt;
	// on a multi-homed host, you might want to tell named&lt;br /&gt;
	// to listen for queries only on certain interfaces&lt;br /&gt;
	listen-on-v6 { any; };&lt;br /&gt;
	listen-on { &amp;quot;internal-net&amp;quot;; };&lt;br /&gt;
&lt;br /&gt;
	// to allow only specific hosts to use the DNS server:&lt;br /&gt;
	allow-query { &amp;quot;internal-net&amp;quot;; };&lt;br /&gt;
&lt;br /&gt;
	// sets BIND’s default behaviour to refuse all zone transfers. &lt;br /&gt;
	// Without setting this option, anyone can transfer any zone.&lt;br /&gt;
	allow-transfer { none; };&lt;br /&gt;
&lt;br /&gt;
	// do not generate notify messages for all zones on a restart.&lt;br /&gt;
	// override for authorative zones&lt;br /&gt;
	notify no;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/logging.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
logging {&lt;br /&gt;
&lt;br /&gt;
	channel default_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/default.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel general_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/general.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel database_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/database.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel security_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/security.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel config_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/config.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel resolver_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/resolver.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel xfer-in_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/xfer-in.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel xfer-out_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/xfer-out.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel notify_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/notify.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel client_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/client.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel unmatched_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/unmatched.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel queries_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/queries.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel network_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/network.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel update_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/update.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel dispatch_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/dispatch.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel dnssec_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/dnssec.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
	channel lame-servers_file {&lt;br /&gt;
		file &amp;quot;/var/log/named/lame-servers.log&amp;quot; versions 3 size 5m;&lt;br /&gt;
		severity dynamic;&lt;br /&gt;
		print-time yes;&lt;br /&gt;
		};&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	category lame-servers {&lt;br /&gt;
		lame-servers_file;&lt;br /&gt;
		};&lt;br /&gt;
	category dnssec {&lt;br /&gt;
		dnssec_file;&lt;br /&gt;
		};&lt;br /&gt;
	category dispatch {&lt;br /&gt;
		dispatch_file;&lt;br /&gt;
		};&lt;br /&gt;
	category update {&lt;br /&gt;
		update_file;&lt;br /&gt;
		};&lt;br /&gt;
	category network {&lt;br /&gt;
		network_file;&lt;br /&gt;
		};&lt;br /&gt;
	category queries {&lt;br /&gt;
		queries_file;&lt;br /&gt;
		};&lt;br /&gt;
	category unmatched {&lt;br /&gt;
		unmatched_file;&lt;br /&gt;
		};&lt;br /&gt;
	category client {&lt;br /&gt;
		client_file;&lt;br /&gt;
		};&lt;br /&gt;
	category notify {&lt;br /&gt;
		notify_file;&lt;br /&gt;
		};&lt;br /&gt;
	category xfer-out {&lt;br /&gt;
		xfer-out_file;&lt;br /&gt;
		};&lt;br /&gt;
	category xfer-in {&lt;br /&gt;
		xfer-in_file;&lt;br /&gt;
		};&lt;br /&gt;
	category resolver {&lt;br /&gt;
		resolver_file;&lt;br /&gt;
		};&lt;br /&gt;
	category config {&lt;br /&gt;
		config_file;&lt;br /&gt;
		};&lt;br /&gt;
	category security {&lt;br /&gt;
		security_file;&lt;br /&gt;
		};&lt;br /&gt;
	category database {&lt;br /&gt;
		database_file;&lt;br /&gt;
		};&lt;br /&gt;
	category general {&lt;br /&gt;
		general_file;&lt;br /&gt;
		};&lt;br /&gt;
	category default {&lt;br /&gt;
		default_file;&lt;br /&gt;
		};&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/rndc.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
options {&lt;br /&gt;
	default-server  localhost;&lt;br /&gt;
	default-key     &amp;quot;rndc-key&amp;quot;;&lt;br /&gt;
	default-port 953;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
server localhost {&lt;br /&gt;
	key     &amp;quot;rndc-key&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
key &amp;quot;rndc-key&amp;quot; {&lt;br /&gt;
	algorithm       hmac-md5;&lt;br /&gt;
	secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/rndc.key===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
key &amp;quot;rndc-key&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
key &amp;quot;linuxmce-dhcp&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
key &amp;quot;linuxmce-ns2&amp;quot; {&lt;br /&gt;
        algorithm	hmac-md5;&lt;br /&gt;
        secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/db.wright.local.zone===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
;&lt;br /&gt;
; BIND data file for wright.local&lt;br /&gt;
; ref. http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-bind-zone.html&lt;br /&gt;
;&lt;br /&gt;
$TTL 86400 ; time to live : 86400s = 1 day&lt;br /&gt;
; Start Of Authority record, proclaims important authoritative information &lt;br /&gt;
; about a namespace to the nameserver.&lt;br /&gt;
@               IN SOA  dcerouter.wright.local        roy@wright.org (&lt;br /&gt;
                2008013101      ;serial (YYYYMMDDNN where N = 01,02,03,...)&lt;br /&gt;
                10800           ;refresh (3 hours)&lt;br /&gt;
                7200            ;retry (2 hours)&lt;br /&gt;
                36000000        ;expire (10,000 hours = 416 2/3 days)&lt;br /&gt;
                86400)          ;default minimum ttl&lt;br /&gt;
;&lt;br /&gt;
; NameServer record, which announces the authoritative nameservers for a particular zone.&lt;br /&gt;
;&lt;br /&gt;
                IN NS   dcerouter.wright.local.&lt;br /&gt;
;&lt;br /&gt;
; Address records specify an IP address to assign to a name&lt;br /&gt;
;&lt;br /&gt;
dcerouter       IN A            192.168.80.1&lt;br /&gt;
dad-kubuntu     IN A            192.168.80.21&lt;br /&gt;
royw-gentoo	IN A		192.168.80.20&lt;br /&gt;
;&lt;br /&gt;
; Canonical name records, maps one name to another. &lt;br /&gt;
;&lt;br /&gt;
linuxmce        IN CNAME        dcerouter&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/bind/db.wright.local.rev===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&lt;br /&gt;
; BIND reverse data file for wright.local&lt;br /&gt;
; ref. http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-bind-zone.html&lt;br /&gt;
;&lt;br /&gt;
$ORIGIN 80.168.192.in-addr.arpa.&lt;br /&gt;
$TTL 86400 ; time to live : 86400s = 1 day&lt;br /&gt;
; Start Of Authority record, proclaims important authoritative information &lt;br /&gt;
; about a namespace to the nameserver.&lt;br /&gt;
@               IN SOA  dcerouter.wright.local        roy@wright.org (&lt;br /&gt;
                2008013101      ;serial (YYYYMMDDNN where N = 01,02,03,...)&lt;br /&gt;
                10800           ;refresh (3 hours)&lt;br /&gt;
                7200            ;retry (2 hours)&lt;br /&gt;
                36000000        ;expire (10,000 hours = 416 2/3 days)&lt;br /&gt;
                86400)          ;default minimum ttl&lt;br /&gt;
;&lt;br /&gt;
; NameServer record, which announces the authoritative nameservers for a particular zone.&lt;br /&gt;
;&lt;br /&gt;
                IN NS   dcerouter.wright.local.&lt;br /&gt;
;&lt;br /&gt;
; PTR — PoinTeR record, designed to point to another part of the namespace.&lt;br /&gt;
;&lt;br /&gt;
1               IN PTR  dcerouter.wright.local.&lt;br /&gt;
21              IN PTR  dad-kubuntu.wright.local.&lt;br /&gt;
20		IN PTR	royw-gentoo.wright.local.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/dhcp3/dhcpd.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
option domain-name-servers 192.168.80.1;&lt;br /&gt;
authoritative;&lt;br /&gt;
&lt;br /&gt;
option routers 192.168.80.1;&lt;br /&gt;
option subnet-mask 255.255.255.0;&lt;br /&gt;
&lt;br /&gt;
# lease IPs for 1 day, maximum 1 week&lt;br /&gt;
default-lease-time 86400;&lt;br /&gt;
max-lease-time 604800;&lt;br /&gt;
&lt;br /&gt;
# dynamic DNS updates&lt;br /&gt;
ddns-updates on;&lt;br /&gt;
ddns-update-style interim;&lt;br /&gt;
ddns-domainname &amp;quot;wright.local.&amp;quot;;&lt;br /&gt;
ddns-rev-domainname &amp;quot;in-addr.arpa.&amp;quot;;&lt;br /&gt;
ddns-ttl 14400;&lt;br /&gt;
&lt;br /&gt;
# don&#039;t let clients modify their own A records&lt;br /&gt;
ignore client-updates;&lt;br /&gt;
&lt;br /&gt;
key &amp;quot;linuxmce-dhcp&amp;quot; {&lt;br /&gt;
	algorithm       hmac-md5;&lt;br /&gt;
	secret		&amp;quot;&amp;lt;paste your key here&amp;gt;&amp;quot;;&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
zone wright.local {&lt;br /&gt;
	primary 192.168.80.1;&lt;br /&gt;
	key &amp;quot;linuxmce-dhcp&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
zone 80.168.192.in-addr.arpa {&lt;br /&gt;
	primary 192.168.80.1;&lt;br /&gt;
	key &amp;quot;linuxmce-dhcp&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
option space pxelinux;&lt;br /&gt;
option pxelinux.magic code 208 = string;&lt;br /&gt;
option pxelinux.configfile code 209 = text;&lt;br /&gt;
option pxelinux.pathprefix code 210 = text;&lt;br /&gt;
option pxelinux.reboottime code 211 = unsigned integer 32;&lt;br /&gt;
&lt;br /&gt;
subnet 192.168.80.0 netmask 255.255.255.0 {&lt;br /&gt;
	next-server 192.168.80.1;&lt;br /&gt;
	filename &amp;quot;/tftpboot/pxelinux.0&amp;quot;;&lt;br /&gt;
	option pxelinux.reboottime = 30;&lt;br /&gt;
&lt;br /&gt;
	option domain-name &amp;quot;wright.local&amp;quot;;&lt;br /&gt;
	option domain-name-servers 192.168.80.1;&lt;br /&gt;
	option routers 192.168.80.1;&lt;br /&gt;
&lt;br /&gt;
	default-lease-time 86400;&lt;br /&gt;
	max-lease-time 604800;&lt;br /&gt;
	pool {&lt;br /&gt;
		 allow unknown-clients;&lt;br /&gt;
		 range 192.168.80.129 192.168.80.254; &lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# PXE booting machines&lt;br /&gt;
group {&lt;br /&gt;
	next-server 192.168.80.1;&lt;br /&gt;
	filename &amp;quot;/tftpboot/pxelinux.0&amp;quot;;&lt;br /&gt;
	option pxelinux.reboottime = 30;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# regular machines&lt;br /&gt;
group {&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# CORE (1) has bad mac address: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===/etc/resolv.conf===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
domain wright.local&lt;br /&gt;
nameserver localhost&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Royw</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Network_Settings&amp;diff=8736</id>
		<title>Network Settings</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Network_Settings&amp;diff=8736"/>
		<updated>2008-02-04T02:18:38Z</updated>

		<summary type="html">&lt;p&gt;Royw: /* See also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Networking]]&lt;br /&gt;
[[Category: Admin Website]]&lt;br /&gt;
[[Image:NetworkSettings.jpg|thumb|200px|Network Settings Admin Page]]&lt;br /&gt;
&lt;br /&gt;
The settings on this page are used to configure the network in your Core.&lt;br /&gt;
&lt;br /&gt;
==Recommended configuration==&lt;br /&gt;
The recommended configuration for a LinuxMCE Core is to have 2 network cards, and plug 1 of them into the external internet (the cable or DSL modem), and the other into the internal switch that the other computers and devices in the house connect to.&lt;br /&gt;
This allows the LinuxMCE Core to act as a firewall to protect the devices in the house, and also to manage your network bandwidth to ensure that phone calls, video calls and other time-sensitive traffic takes priority over web pages and file downloads. In such a configuration you would enable DHCP on the internal network, and the external network would obtain an IP address either statically or through the DHCP server in your DSL/Cable modem, depending on how your internet service provider configured it.&lt;br /&gt;
&lt;br /&gt;
Every device connected to the local area network in your home needs a unique IP address.&lt;br /&gt;
The &amp;quot;DHCP Server&amp;quot; is the device that assigns every device it&#039;s own IP.&lt;br /&gt;
If you have multiple computers in your home, you probably have a router, dsl or cable modem that is your DHCP Server.  Normally you should only have 1 DHCP server on the network.  If you have more than 1, they can &#039;fight&#039; over the assignment of IP addresses.  If you have dual network cards in the core this is not a problem since the &#039;external&#039; internet connection provided by your DSL or cable modem is physically a separate network from the internal network in your home.  In that case it is okay to have LinuxMCE act as the DHCP server for the internal network while the Cable/DSL modem is the DHCP server for the external network.&lt;br /&gt;
&lt;br /&gt;
===Diskless media directors===&lt;br /&gt;
If you want to have diskless media directors, where they do not boot LinuxMCE from their local hard drive, but rather use the LinuxMCE Core, the Core needs to be the DHCP server for those media directors.  Also, for the Core to be able to automatically configure your devices, such as telephones, the Core needs to be their DHCP server.  The easiest solution is, therefore, to make the Core the sole DHCP server in your house.  It will then assign IP addresses for every computer in your home, whether it&#039;s running LinuxMCE&#039;s software or not.&lt;br /&gt;
&lt;br /&gt;
==Single network card==&lt;br /&gt;
If you do not have dual network cards, or want to use another DHCP server, you can disable DHCP on the LinuxMCE Core altogether.  Or, you can tell the Core to &amp;quot;give IP addresses to LinuxMCE devices only&amp;quot;.  This means the LinuxMCE Core will assign IP addresses for LinuxMCE devices, but ignore everything else in your home.  If you do this, LinuxMCE can work with your other DHCP servers if they likewise do not try to assign IP addresses to your LinuxMCE devices.  But this means that plug-and-play will not work since LinuxMCE will only give IP addresses to devices it already knows--not new devices.&lt;br /&gt;
&lt;br /&gt;
===Example configuration===&lt;br /&gt;
If you do not have two network cards, and want your existing homenetwork to remain using your DSL-Modem/Router/WLANAcessPoint-All-in-One-Standalone-Box (e.g. a Fritzbox) you`ll end up with two subnetworks in your home. - Or you manage to tell the Core to only use 1 subnetwork, which I didn`t ...&lt;br /&gt;
&lt;br /&gt;
If this is the case your existing network most likely contains a &amp;quot;DSL-Modem/Router/WLANAcessPoint&amp;quot; (192.168.1.1) which connects your local Computer (192.168.1.2) and your Laptop (192.168.1.3) to your Internetprovider (which assigns a dynamic Internet-IP to your Router).&lt;br /&gt;
&lt;br /&gt;
! You need to disable the DHCP-Sever in the &amp;quot;DSL-Modem/Router/WLANAcessPoint&amp;quot;. Assign static IPs to all your homenetwork-computers. Later on everytime a computer/device which uses dhcp is started, the dhcp-request must be answered by the core/hybrid in order to use MD pxe boot.&lt;br /&gt;
&lt;br /&gt;
Now you install a Core/Hybrid with one physical networkcard (eth0). LinuxMCE automatically adds a second virtual networkcard (eth0:0). Change your &amp;quot;external&amp;quot; IP to be static and to be part of your existing homenetwork (e.g. IP 192.168.1.4). &lt;br /&gt;
So far I`m only telling old stories ... The particular NEWS: To use your existing wiring (incl. wlan) you need to tell the router that the gateway to the &amp;quot;external&amp;quot; (from the homenetwork`s point of view) (sub)net 192.168.80.0 is 192.168.1.4&lt;br /&gt;
This is done by creating a static route on your &amp;quot;DSL-Modem/Router/WLANAcessPoint&amp;quot;. Sometime you`ll find this in the NAT-settings. If using a Fritzbox: System / Networksetting / IP-Routs / Add. IP-network: 192.168.80.0 Subnetmask: 255.255.255.0 Gateway: 192.168.1.4&lt;br /&gt;
&lt;br /&gt;
Hint: If you disabled the dhcp-server of the &amp;quot;DSL-Modem/Router/WLANAcessPoint&amp;quot; and created the route before installing LinuxMCE you`ll end up with an internal-eth0:0 192.168.80.1 and your external-eth0 (which uses &amp;quot;Obtain an IP adress from DHCP&amp;quot;) having an IP from the subnet 192.168.80.xxx as well. This means everything is working!&lt;br /&gt;
Your &amp;quot;external&amp;quot; interface did ask for a dhcp-server and your &amp;quot;interal&amp;quot; interface answered that it got one ... - Of course you have to change your &amp;quot;external&amp;quot;-eth0-IP to be static and be part of you (sub)homenetwork, as well.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Why dual network cards?]]&lt;br /&gt;
* [[How to setup ADSL access?]]&lt;br /&gt;
* [[DHCP Plug and Play]]&lt;br /&gt;
* [[How to setup Local Authoritative DNS]]&lt;/div&gt;</summary>
		<author><name>Royw</name></author>
	</entry>
</feed>