dnsmasq fails

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Electuur
Posts: 2
Joined: Sat Feb 17, 2018 12:44 pm

dnsmasq fails

Post by Electuur »

When I try to install Pihole in DietPi 6.1 on Odroid-C2 without EMMC module I get the following error:

Code: Select all

Feb 17 11:34:18 DietPi systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
Feb 17 11:34:18 DietPi dnsmasq[2932]: dnsmasq: extraneous parameter at line 37 of /etc/dnsmasq.d/01-pihole.conf
Feb 17 11:34:18 DietPi dnsmasq[2932]: extraneous parameter at line 37 of /etc/dnsmasq.d/01-pihole.conf
Feb 17 11:34:18 DietPi dnsmasq[2932]: FAILED to start up
Feb 17 11:34:18 DietPi systemd[1]: dnsmasq.service: control process exited, code=exited status=1
Feb 17 11:34:18 DietPi systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
Feb 17 11:34:18 DietPi systemd[1]: Dependency failed for Host and Network Name Lookups.
Feb 17 11:34:18 DietPi systemd[1]: Unit dnsmasq.service entered failed state.
How do I solve this?
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: dnsmasq fails

Post by Fourdee »

Hi,

Thanks for the report, I'll try to replicate.

In the mean time, please can you paste the output of:

Code: Select all

cat /etc/dnsmasq.d/01-pihole.conf
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: dnsmasq fails

Post by Fourdee »

Confirmed on C2 Jessie. We'll open for investigations:
https://github.com/Fourdee/DietPi/issue ... -298016374
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
baz123
Posts: 166
Joined: Thu Jan 12, 2017 9:23 pm

Re: dnsmasq fails

Post by baz123 »

If th8is is pulling the latest version of PiHole, it seems it is not just a DietPi issue. I have rolled back to previous version for now.
Electuur
Posts: 2
Joined: Sat Feb 17, 2018 12:44 pm

Re: dnsmasq fails

Post by Electuur »

Output of cat /etc/dnsmasq.d/01-pihole.conf:

Code: Select all

# Pi-hole: A black hole for Internet advertisements
# (c) 2015, 2016 by Jacob Salmela
# Network-wide ad blocking via your Raspberry Pi
# http://pi-hole.net
# dnsmasq config for Pi-hole
#
# Pi-hole is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.

###############################################################################
#      FILE AUTOMATICALLY POPULATED BY PI-HOLE INSTALL/UPDATE PROCEDURE.      #
# ANY CHANGES MADE TO THIS FILE AFTER INSTALL WILL BE LOST ON THE NEXT UPDATE #
#                                                                             #
#        IF YOU WISH TO CHANGE THE UPSTREAM SERVERS, CHANGE THEM IN:          #
#                      /etc/pihole/setupVars.conf                             #
#                                                                             #
#        ANY OTHER CHANGES SHOULD BE MADE IN A SEPERATE CONFIG FILE           #
#                        OR IN /etc/dnsmasq.conf                              #
###############################################################################

addn-hosts=/etc/pihole/gravity.list
addn-hosts=/etc/pihole/black.list
addn-hosts=/etc/pihole/local.list


localise-queries


no-resolv



cache-size=10000

log-queries=extra
log-facility=/var/log/pihole.log

local-ttl=2

log-async
server=208.67.222.222
server=208.67.220.220
interface=eth0
noobs4u
Posts: 24
Joined: Tue Apr 12, 2016 6:00 pm

Re: dnsmasq fails

Post by noobs4u »

I'm having the same error with the XU4.
Post Reply