This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DHCP not working

In the last week or so I've had an issue where DHCP is not working.  I have Android and Windows clients and none can successfully get an IP.

I have open addressing, the demon is running.  If I kill it, it respawns.

Here is the live log:
2014:06:06-12:43:48 turbonet dhcpd: DHCPDISCOVER from 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0
2014:06:06-12:43:48 turbonet dhcpd: DHCPOFFER on 192.168.10.51 to 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0
2014:06:06-12:43:51 turbonet dhcpd: DHCPDISCOVER from 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0
2014:06:06-12:43:51 turbonet dhcpd: DHCPOFFER on 192.168.10.51 to 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0
2014:06:06-12:44:14 turbonet dhcpd: DHCPDISCOVER from 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0
2014:06:06-12:44:14 turbonet dhcpd: DHCPOFFER on 192.168.10.51 to 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0
2014:06:06-12:44:17 turbonet dhcpd: DHCPDISCOVER from 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0
2014:06:06-12:44:17 turbonet dhcpd: DHCPOFFER on 192.168.10.51 to 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0
2014:06:06-12:44:20 turbonet dhcpd: DHCPDISCOVER from 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0
2014:06:06-12:44:20 turbonet dhcpd: DHCPOFFER on 192.168.10.51 to 70:85:c6:8b:ef:9f (DIRECTV-HR44-C68BEF9F) via eth0

This is all I ever see, different clients, but they all do the same.

I looked for a demon log, but didn't see anything in Var.

I deleted the DHCP config and did it over, no change.

Sophos version: 9.111-11

I think this started with a version update to 9.111-11.

Funny thing, I cannot find the DHCPD executable in /usr/sbin and cannot find the conf file in etc even though ps-aux shows that is where they are running from.

Any suggestions?


This thread was automatically locked due to age.
Parents
  • I think my problem is I don't have a conf file.

    See here:

    turbonet:/etc # ps -aux | grep dhcpd
    Warning: bad ps syntax, perhaps a bogus '-'? See procps - Frequently Asked Questions (FAQ)
    root      6793  0.0  0.0   4532  2580 ?        Ss   Jun06   0:03 /usr/sbin/dhcpd -cf /etc/dhcpd.conf eth0
    root     21128  0.0  0.0   3608   744 pts/0    S+   22:24   0:00 grep dhcpd
    turbonet:/etc # ls -l d*
    -rw-r--r-- 1 root root    0 Feb 17  2012 defaultdomain
    -rw-r--r-- 1 root root  416 Feb 17  2012 depmod.conf
    -rw-r--r-- 1 root root  645 Nov 16  2012 drirc

    dbus-1:
    total 16
    -rw-r--r-- 1 root root 2524 Nov 16  2012 session.conf
    drwxr-xr-x 2 root root 4096 Nov 16  2012 session.d
    -rw-r--r-- 1 root root 3000 Nov 16  2012 system.conf
    drwxr-xr-x 2 root root 4096 Sep  5  2013 system.d

    ddclient:
    total 12
    -rw------- 1 root root 254 Jun  6 22:04 ddclient.conf
    -rw-r--r-- 1 root root 111 Sep  5  2013 global.conf-default
    -rw-r--r-- 1 root root 142 Sep  5  2013 host.conf-default

    default:
    total 20
    -rw-r--r-- 1 root root   77 Feb 21 11:28 coredump
    -rw-r--r-- 1 root root 2140 Dec 19  2012 nss
    -rw-r--r-- 1 root root 1715 Feb 17  2012 passwd
    -rw-r--r-- 1 root root  313 Aug 15  2012 su
    -rw-r--r-- 1 root root  114 Feb 17  2012 useradd

    depmod.d:
    total 0

    There is no dhcpd.conf in /etc

    is there something I'm missing here?
Reply
  • I think my problem is I don't have a conf file.

    See here:

    turbonet:/etc # ps -aux | grep dhcpd
    Warning: bad ps syntax, perhaps a bogus '-'? See procps - Frequently Asked Questions (FAQ)
    root      6793  0.0  0.0   4532  2580 ?        Ss   Jun06   0:03 /usr/sbin/dhcpd -cf /etc/dhcpd.conf eth0
    root     21128  0.0  0.0   3608   744 pts/0    S+   22:24   0:00 grep dhcpd
    turbonet:/etc # ls -l d*
    -rw-r--r-- 1 root root    0 Feb 17  2012 defaultdomain
    -rw-r--r-- 1 root root  416 Feb 17  2012 depmod.conf
    -rw-r--r-- 1 root root  645 Nov 16  2012 drirc

    dbus-1:
    total 16
    -rw-r--r-- 1 root root 2524 Nov 16  2012 session.conf
    drwxr-xr-x 2 root root 4096 Nov 16  2012 session.d
    -rw-r--r-- 1 root root 3000 Nov 16  2012 system.conf
    drwxr-xr-x 2 root root 4096 Sep  5  2013 system.d

    ddclient:
    total 12
    -rw------- 1 root root 254 Jun  6 22:04 ddclient.conf
    -rw-r--r-- 1 root root 111 Sep  5  2013 global.conf-default
    -rw-r--r-- 1 root root 142 Sep  5  2013 host.conf-default

    default:
    total 20
    -rw-r--r-- 1 root root   77 Feb 21 11:28 coredump
    -rw-r--r-- 1 root root 2140 Dec 19  2012 nss
    -rw-r--r-- 1 root root 1715 Feb 17  2012 passwd
    -rw-r--r-- 1 root root  313 Aug 15  2012 su
    -rw-r--r-- 1 root root  114 Feb 17  2012 useradd

    depmod.d:
    total 0

    There is no dhcpd.conf in /etc

    is there something I'm missing here?
Children