I've been struggling to get a new install up and running and just can't seem to find the problem with the dhcp not sending. From the syslog it looks like it is shutting down (see below) but from ifconfig AND lshw it seems like all is in order. I repeatedly tried starting and restarting isc-dhcp-server which, according to syslog, does start but then shuts down for lack of finding subnet declaration which is, indeed, there in the etc/ltsp/dhcpd.conf file. After a reboot syslog shows eth1 starting and stopping on its own 6-8 times.<br>
<br>What am I doing wrong? Please, can someone help me?<br><br>edubuntu 12.04<br><br>The error reported in syslog is <br>"No subnet declaration for 1 (no IPv4 addresses).<br>Jan 6 14:14:06 brightlearning dhcpd: ** Ignoring requests on 1. If this is not what<br>
Jan 6 14:14:06 brightlearning dhcpd: you want, please write a subnet declaration<br>Jan 6 14:14:06 brightlearning dhcpd: in your dhcpd.conf file for the network segment<br>Jan 6 14:14:06 brightlearning dhcpd: to which interface 1 is attached. **<br>
<br>but in that dhcpd.conf file (from etc/ltsp/dhcpd.conf) I have this in which I also tried 192.168.0.254 to match the nic card address:<br><br>#<br># Default LTSP dhcpd.conf config file.<br>#<br><br>authoritative;<br><br>
subnet 192.168.0.0 netmask 255.255.255.0 {<br> range 192.168.0.20 192.168.0.250;<br> option domain-name "<a href="http://brightlearning.org">brightlearning.org</a>";<br> # option domain-name-servers 192.168.0.1;<br>
option broadcast-address 192.168.0.255;<br># option routers 192.168.0.254;<br># next-server 192.168.0.1;<br># get-lease-hostnames true;<br> option subnet-mask 255.255.255.0;<br> option root-path "/opt/ltsp/i386";<br>
if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {<br> filename "/ltsp/i386/pxelinux.0";<br> } else {<br> filename "/ltsp/i386/nbi.img";<br> }<br>}<br>
<br><br>XXXXXXXXX ifconfig XXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>eth0 Link encap:Ethernet HWaddr 90:2b:34:a3:81:d2 <br> inet addr:24.73.154.245 Bcast:24.73.154.255 Mask:255.255.255.0<br> inet6 addr: fe80::922b:34ff:fea3:81d2/64 Scope:Link<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:163 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:191 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000 <br>
RX bytes:28022 (28.0 KB) TX bytes:17854 (17.8 KB)<br> Interrupt:42 Base address:0xc000 <br><br>eth1 Link encap:Ethernet HWaddr 00:0a:cd:1f:bb:95 <br> inet addr:192.168.0.254 Bcast:192.168.0.255 Mask:255.255.255.0<br>
inet6 addr: fe80::20a:cdff:fe1f:bb95/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:225 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:51 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:1000 <br> RX bytes:66622 (66.6 KB) TX bytes:8054 (8.0 KB)<br> Interrupt:41 Base address:0xa000 <br><br>lo Link encap:Local Loopback <br> inet addr:127.0.0.1 Mask:255.0.0.0<br>
inet6 addr: ::1/128 Scope:Host<br> UP LOOPBACK RUNNING MTU:16436 Metric:1<br> RX packets:1 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:1 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:0 <br> RX bytes:79 (79.0 B) TX bytes:79 (79.0 B)<br><br>lxcbr0 Link encap:Ethernet HWaddr 4a:7c:35:8f:d3:6b <br> inet addr:10.0.3.1 Bcast:10.0.3.255 Mask:255.255.255.0<br>
inet6 addr: fe80::487c:35ff:fe8f:d36b/64 Scope:Link<br> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br> RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:81 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:0 <br> RX bytes:0 (0.0 B) TX bytes:11484 (11.4 KB)<br><br><br>XXXXXXXXX AND THE SAME FROM LSHW XXXXXXXXXXXXX<br> *-network<br> description: Ethernet interface<br>
product: RTL8111/8168B PCI Express Gigabit Ethernet controller<br> vendor: Realtek Semiconductor Co., Ltd.<br> physical id: 0<br> bus info: pci@0000:03:00.0<br>
logical name: eth0<br> version: 06<br> serial: 90:2b:34:a3:81:d2<br> size: 1Gbit/s<br> capacity: 1Gbit/s<br> width: 64 bits<br> clock: 33MHz<br>
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation<br> configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=24.73.154.245 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s<br>
resources: irq:42 ioport:ce00(size=256) memory:fdcff000-fdcfffff memory:fdcf8000-fdcfbfff<br><br>*-network<br> description: Ethernet interface<br> product: RTL8111/8168B PCI Express Gigabit Ethernet controller<br>
vendor: Realtek Semiconductor Co., Ltd.<br> physical id: 0<br> bus info: pci@0000:02:00.0<br> logical name: eth1<br> version: 03<br> serial: 00:0a:cd:1f:bb:95<br>
size: 1Gbit/s<br> capacity: 1Gbit/s<br> width: 64 bits<br> clock: 33MHz<br> capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation<br>
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl_nic/rtl8168d-2.fw ip=192.168.0.254 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s<br>
resources: irq:41 ioport:de00(size=256) memory:fd7ff000-fd7fffff memory:fdefc000-fdefffff memory:fde00000-fde1ffff<br><br><br>XXXXXXXXXXXXXXXXXX result of checking isc-dhcp-server status<br><br>shalom@bright-learning:~$ sudo /etc/init.d/isc-dhcp-server status<br>
Rather than invoking init scripts through /etc/init.d, use the service(8)<br>utility, e.g. service isc-dhcp-server status<br><br>Since the script you are attempting to invoke has been converted to an<br>Upstart job, you may also use the status(8) utility, e.g. status isc-dhcp-server<br>
isc-dhcp-server stop/waiting<br>shalom@bright-learning:~$ <br><br>XXXXXXXXXXXXXX and starting XXXXXXXXXXXX<br><br>sudo /etc/init.d/networking start<br>Rather than invoking init scripts through /etc/init.d, use the service(8)<br>
utility, e.g. service networking start<br><br>Since the script you are attempting to invoke has been converted to an<br>Upstart job, you may also use the start(8) utility, e.g. start networking<br>networking stop/waiting<br>
<br>shalom@bright-learning:~$ sudo /etc/init.d/isc-dhcp-server start<br>Rather than invoking init scripts through /etc/init.d, use the service(8)<br>utility, e.g. service isc-dhcp-server start<br><br>Since the script you are attempting to invoke has been converted to an<br>
Upstart job, you may also use the start(8) utility, e.g. start isc-dhcp-server<br>isc-dhcp-server start/running, process 2667<br>shalom@bright-learning:~$ <br><br><br>XXXXXXXXXX AND SYSLOG HERE XXXXXXXXXXX<br><br>Jan 6 14:14:06 brightlearning kernel: [ 1825.858900] init: isc-dhcp-server main process (2723) terminated with status 1<br>
Jan 6 14:14:06 brightlearning kernel: [ 1825.858959] init: isc-dhcp-server main process ended, respawning<br>Jan 6 14:14:06 brightlearning dhcpd: Wrote 1 leases to leases file.<br>Jan 6 14:14:06 brightlearning dhcpd: <br>
Jan 6 14:14:06 brightlearning dhcpd: No subnet declaration for 1 (no IPv4 addresses).<br>Jan 6 14:14:06 brightlearning dhcpd: ** Ignoring requests on 1. If this is not what<br>Jan 6 14:14:06 brightlearning dhcpd: you want, please write a subnet declaration<br>
Jan 6 14:14:06 brightlearning dhcpd: in your dhcpd.conf file for the network segment<br>Jan 6 14:14:06 brightlearning dhcpd: to which interface 1 is attached. **<br>Jan 6 14:14:06 brightlearning dhcpd: <br>Jan 6 14:14:06 brightlearning dhcpd: <br>
Jan 6 14:14:06 brightlearning dhcpd: Not configured to listen on any interfaces!<br>Jan 6 14:14:06 brightlearning kernel: [ 1825.942485] init: isc-dhcp-server main process (2730) terminated with status 1<br>Jan 6 14:14:06 brightlearning kernel: [ 1825.942545] init: isc-dhcp-server main process ended, respawning<br>
Jan 6 14:14:06 brightlearning dhcpd: Wrote 1 leases to leases file.<br>Jan 6 14:14:06 brightlearning dhcpd: <br>Jan 6 14:14:06 brightlearning dhcpd: No subnet declaration for 1 (no IPv4 addresses).<br>Jan 6 14:14:06 brightlearning dhcpd: ** Ignoring requests on 1. If this is not what<br>
Jan 6 14:14:06 brightlearning dhcpd: you want, please write a subnet declaration<br>Jan 6 14:14:06 brightlearning dhcpd: in your dhcpd.conf file for the network segment<br>Jan 6 14:14:06 brightlearning dhcpd: to which interface 1 is attached. **<br>
Jan 6 14:14:06 brightlearning dhcpd: <br>Jan 6 14:14:06 brightlearning dhcpd: <br>Jan 6 14:14:06 brightlearning dhcpd: Not configured to listen on any interfaces!<br>Jan 6 14:14:06 brightlearning kernel: [ 1826.026094] init: isc-dhcp-server main process (2737) terminated with status 1<br>
Jan 6 14:14:06 brightlearning kernel: [ 1826.026150] init: isc-dhcp-server respawning too fast, stopped<br><br><br><br><br clear="all"><br>-- <br>BungeeBones.com - A B2B Link Exchange - Free Links in limited locations - human edited and reviewed - Networked online advertising business opportunities available through our free, distributed web directory script