On 20/01/13 15:02, e9hack wrote:
Hi,
my windows 7 PC is connected with a WLAN card to my router. If my PC is
connected to one
router, which doesn't run dnsmasq, it got an ipv4 address only. It's
192.168.26.100. If I
disconnect the PC from this router an let it connect to the router with
dnsmasq, it got
the address 192.168.25.2. It got the ipv4 gateway and dns address and dnsmasq
dies with a
segmentation fault:
root@WLAN-DSL5:~ #dnsmasq --no-daemon -C /etc/dnsmasq.conf
dnsmasq: started, version v2.66test11 cachesize 200
dnsmasq: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP
DHCPv6
no-scripts no-TFTP no-conntrack no-auth
dnsmasq-dhcp: DHCP, IP range 192.168.25.100 -- 192.168.25.150, lease time 2d
dnsmasq-dhcp: DHCPv6, IP range fec0:::0:0::100 --
fec0:::0:0::, lease
time 2d
dnsmasq: using local addresses only for domain lan
dnsmasq: reading /etc/resolv.conf
dnsmasq: using nameserver ...
dnsmasq: using nameserver ...
dnsmasq: using nameserver ...
dnsmasq: using nameserver ...
dnsmasq: using local addresses only for domain lan
dnsmasq: read /var/hosts - 24 addresses
dnsmasq-dhcp: duplicate IP address ... in dhcp-config directive
dnsmasq-dhcp: duplicate IP address ... in dhcp-config directive
dnsmasq-dhcp: duplicate IP address ... in dhcp-config directive
dnsmasq-dhcp: duplicate IP address ... in dhcp-config directive
dnsmasq-dhcp: duplicate IP address ... in dhcp-config directive
dnsmasq-dhcp: 14128106 available DHCP range: fec0:::0:0::100 --
fec0:::0:0::
dnsmasq-dhcp: 14128106 vendor class: 311
dnsmasq-dhcp: 14128106 DHCPINFORMATION-REQUEST(br0)
00:01:00:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx windows7-pc
dnsmasq-dhcp: 14128106 requested options: 24:domain-search, 23:dns-server,
17:vendor-opts,
dnsmasq-dhcp: 14128106 requested options: 32:information-refresh-time
Segmentation fault
root@WLAN-DSL5:~ #
Regards,
Hartmut
By far the easiest way to solve this is to get a core-dump or debugger
output?
What system are you running dnsmasq on? does it have gdb available?
Cheers,
Simon.
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss