Hey all:
Looking for some help with setting up a dedicated DHCP/TFTP server... I'll be using it for re-flashing the firmwares on consumer internet routers. Basically, right now I have to use a tftpd GUI on windows xp to do each router manually, and I could cut 80% of my time out if I could automate this.

I want my linux server to act as a DHCP server, assign the routers IP addresses, and then use TFTP to transfer over new firmware files.

I'm using standard Ubuntu 11.04 32 bit (not server), since this machine will be used by other people in the future. However, that shouldn't affect my ability to configure the server daemons.

I've installed all of the following packages: xinetd (for setting up the tftp connections), tftpd, tftp, and dhcp3-server. After installing the various tftp packages, I created /etc/xinetd.d/tftp with the following code.

service tftp
protocol        = udp
port            = 69
socket_type     = dgram
wait            = yes
user            = nobody
server          = /usr/sbin/in.tftpd
server_args     = /tftpboot
disable         = no
My /tftpboot directory has been created and the permissions modified properly using chown. However, I'm having a massive problem with configuring the DHCP server. My /etc/network/interfaces file looks like this:

auto lo
iface lo inet loopback

mapping hotplug
script grep
map eth1
auto eth0 iface eth0 inet static
address netmask
auto eth1 iface eth1 inet dhcp
My /etc/dhcp/dhcpd.conf file looks like this:
ddns-update-style none;


option routers;
option subnet-mask;
option domain-name-servers;
option broadcast-address;
option root-path "";
default-lease-time 600;
max-lease-time 86400;
server-name "tftp-overlord";

subnet netmask {
next-server tftp-overlord;
filename "lanrescue.img.secure_v06.01.bin";
I can successfully start both the xinetd and isc-dhcp-server services, but the problem is that when I connect any client to my server machine, no DHCP address is given out. I've tried both routers and working computers - still no address is given out.

I've googled this extensively, and clearly there's something wrong with my dhcpd.conf file, but I have absolutely no idea what.

Any ideas?