• Bug#265313: dnsmasq: DHCP doesn't work

    From =?iso-8859-15?q?Nicol=F2_Wojewoda?=@1:229/2 to All on Thu Aug 12 18:40:11 2004
    From: [email protected]

    Package: dnsmasq
    Version: 2.12-1
    Severity: important

    After upgrading, dnsmasq doesn't provide anymore the DHCP service. I
    didn't modify my dnsmasq.conf, nor did any other changes. I connect via
    my other computer's DHCP client and it just doesn't receive any DHCP
    offer. I've tried modifying the dnsmasq.conf adding "interfaces=eth0",
    but it doesn't work the same...

    Cheers,
    /\/icol�

    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.7.200407252
    Locale: LANG=it_IT@euro, LC_CTYPE=it_IT@euro

    Versions of packages dnsmasq depends on:
    ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an ii netbase 4.18 Basic TCP/IP networking system

    -- no debconf information


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Simon Kelley@1:229/2 to All on Thu Aug 12 23:00:12 2004
    From: [email protected]

    Nicol� Wojewoda wrote:
    Package: dnsmasq
    Version: 2.12-1
    Severity: important

    After upgrading, dnsmasq doesn't provide anymore the DHCP service. I
    didn't modify my dnsmasq.conf, nor did any other changes. I connect via
    my other computer's DHCP client and it just doesn't receive any DHCP
    offer. I've tried modifying the dnsmasq.conf adding "interfaces=eth0",
    but it doesn't work the same...

    Cheers,
    /\/icol�

    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.7.200407252
    Locale: LANG=it_IT@euro, LC_CTYPE=it_IT@euro

    Versions of packages dnsmasq depends on:
    ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an
    ii netbase 4.18 Basic TCP/IP networking system

    -- no debconf information



    What version did you upgrade from?

    What (if anything) if logged in /var/log/syslog

    What DHCP client are you using?


    Cheers.

    Simon.



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From =?iso-8859-15?q?Nicol=F2_Wojewoda?=@1:229/2 to Simon Kelley on Fri Aug 13 14:10:11 2004
    From: [email protected]

    On Thursday 12 August 2004 22:43, Simon Kelley wrote:
    What version did you upgrade from?

    The previous one (2.11-1).

    What (if anything) if logged in /var/log/syslog

    This is the syslog of the other computer:

    Aug 13 13:37:40 localhost dhclient: Internet Software Consortium DHCP Client 2.0pl5
    Aug 13 13:37:40 localhost dhclient: Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
    Aug 13 13:37:40 localhost dhclient: All rights reserved.
    Aug 13 13:37:40 localhost dhclient:
    Aug 13 13:37:40 localhost dhclient: Please contribute if you find this
    software useful.
    Aug 13 13:37:40 localhost dhclient: For info, please visit http://www.isc.org/dhcp-contrib.html
    Aug 13 13:37:40 localhost dhclient:
    Aug 13 13:37:40 localhost dhclient: sit0: unknown hardware address type 776
    Aug 13 13:37:40 localhost dhclient: eth1: unknown hardware address type 24
    Aug 13 13:37:41 localhost dhclient: sit0: unknown hardware address type 776
    Aug 13 13:37:41 localhost dhclient: eth1: unknown hardware address type 24
    Aug 13 13:37:41 localhost dhclient: Listening on LPF/eth0/00:e0:18:83:04:0b
    Aug 13 13:37:41 localhost dhclient: Sending on LPF/eth0/00:e0:18:83:04:0b
    Aug 13 13:37:41 localhost dhclient: Sending on Socket/fallback/fallback-net Aug 13 13:37:41 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
    Aug 13 13:37:48 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
    Aug 13 13:38:02 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
    Aug 13 13:38:20 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
    Aug 13 13:38:28 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
    Aug 13 13:38:41 localhost dhclient: No DHCPOFFERS received.
    Aug 13 13:38:41 localhost dhclient: No working leases in persistent database. Aug 13 13:38:41 localhost dhclient: Exiting.

    And this is the one of the computer running dnsmasq:

    Aug 13 13:38:05 desktop dnsmasq[3599]: started, version 2.12 cachesize 150
    Aug 13 13:38:05 desktop dnsmasq[3599]: DHCP, IP range 10.0.0.5 -- 10.0.0.255, lease time 12h
    Aug 13 13:38:05 desktop dnsmasq[3599]: read /etc/hosts - 9 addresses

    What DHCP client are you using?

    I have the line "iface eth0 inet dhcp" in my /etc/network/interfaces, so I guess I'm using dhclient (from package dhcp-client).

    I also tried with the DCHP client "pump", but it didn't work. I guess with other clients won't work as well.


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Simon Kelley@1:229/2 to All on Fri Aug 13 15:00:14 2004
    From: [email protected]

    Nicol� Wojewoda wrote:
    On Thursday 12 August 2004 22:43, Simon Kelley wrote:

    What version did you upgrade from?


    The previous one (2.11-1).

    Please could you try downgrading back to 2.11-1 and see if it works
    then? The changes 2.11->2.12 are trivial. So it's difficult to see what
    might be the problem.



    And this is the one of the computer running dnsmasq:

    Aug 13 13:38:05 desktop dnsmasq[3599]: started, version 2.12 cachesize 150 Aug 13 13:38:05 desktop dnsmasq[3599]: DHCP, IP range 10.0.0.5 -- 10.0.0.255, lease time 12h
    Aug 13 13:38:05 desktop dnsmasq[3599]: read /etc/hosts - 9 addresses


    After you fail to get a lease, can you confirm that dnsmasq is still
    running (use ps to check that the process is still there) Does the DNS
    part of dnsmasq still work? The only explanation I can create at the
    moment is that dnsmasq is crashing somehow.


    What DHCP client are you using?


    I have the line "iface eth0 inet dhcp" in my /etc/network/interfaces, so I guess I'm using dhclient (from package dhcp-client).

    I also tried with the DCHP client "pump", but it didn't work. I guess with other clients won't work as well.



    I guess the client is not the problem. Please could you try this (as root):

    /etc/init.d/dnsmasq stop

    /usr/sbin/dnsmasq -d -q

    That will run dnsmasq in debug mode, in the foreground, with all logging
    on. Now try to get a lease as see what happens.

    Cheers,

    Simon.







    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From =?iso-8859-15?q?Nicol=F2_Wojewoda?=@1:229/2 to Simon Kelley on Fri Aug 13 21:00:20 2004
    From: [email protected]

    On Friday 13 August 2004 14:36, Simon Kelley wrote:
    I guess the client is not the problem. Please could you try this (as root):

    /etc/init.d/dnsmasq stop

    /usr/sbin/dnsmasq -d -q

    That will run dnsmasq in debug mode, in the foreground, with all logging
    on. Now try to get a lease as see what happens.

    root@desktop:/home/nico# /usr/sbin/dnsmasq -d -q
    dnsmasq: started, version 2.12 cachesize 150
    dnsmasq: DHCP, IP range 10.0.0.5 -- 10.0.0.255, lease time 12h
    dnsmasq: read /etc/hosts - 9 addresses
    Segmentation fault
    root@desktop:/home/nico#

    Err.. sorry, but I'm not that expert: how can I downgrade to 2.11-1?

    Cheers,
    /\/icol�

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)