DHCPD3 "No subnet declaration for eth0 (0.0.0.0)"

Karl Goetz karl at kgoetz.id.au
Sat Jun 21 10:19:26 BST 2008


On Sat, 2008-06-21 at 01:22 -0700, Slawek Drabot wrote:
> set up a DHCPD on Ubuntu 8.04 and all was working well until I rebooted. Now DHCPD does not come up and above error is found in /var/log/daemon.log
> 

trim

> 
> /etc/ltsp/dhcpd.conf
> #
> # Default LTSP dhcpd.conf config file.
> #
> 
> #log-facility local7;
> 
> authoritative;
> 
> subnet 192.168.2.0 netmask 255.255.255.0 {
>     range 192.168.2.2 192.168.2.5;
>     option domain-name "*";
>     option domain-name-servers 192.168.1.254;
>     option broadcast-address 192.168.1.255;
>     option routers 192.168.1.1;

Sure you want your router on a different network?

> #    next-server 192.168.2.1;
> #    get-lease-hostnames true;
> #    option subnet-mask 255.255.255.0;
>     option root-path "/opt/ltsp/i386";
>     if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
>         filename "/ltsp/i386/pxelinux.0";
>     } else {
>         filename "/ltsp/i386/nbi.img";
>     }
> }
> 
> 
> /etc/network/interfaces
> auto lo
> iface lo inet loopback
> 
> 
> iface wlan0 inet dhcp
> wireless-key xxxx
> wireless-essid xxxx
> 
> auto wlan0
> 
> iface eth0 inet static
> address 192.168.2.1
> netmask 255.255.255.0
> network 192.168.2.0
> broadcast 192.168.2.255
> 

I dont see an 'auto eth0' line here. does it come up?
kk

> ----------------------------------------------
> 
> strangely enough, I can get dhcpd to listen on wlan0, but clearly I want that to be eth0.
> 
> Any help appreciated.
> 
-- 
Karl Goetz,
Debian user / Ubuntu contributor / gNewSense contributor
http://www.kgoetz.id.au
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/ubuntu-au/attachments/20080621/f0c06567/attachment-0001.pgp 


More information about the ubuntu-au mailing list