dnsmasq won't start

doc1623

Dabbler
Joined
Feb 9, 2019
Messages
18
I'm trying to use a jail as a pxe server (not the dhcp) from here

but dnsmasq won't start

Code:
root@PXEBoot:~ # cat /usr/local/etc/dnsmasq.conf
# Disable DNS Server
port=0
 
# Enable DHCP logging
log-dhcp
 
# Respond to PXE requests for the specified network;
# run as DHCP proxy
dhcp-range=10.0.0.0,proxy 
dhcp-boot=pxelinux.0
 
# Provide network boot option called "Network Boot".
pxe-service=x86PC,"Network Boot",pxelinux
 
enable-tftp
tftp-root=/tftpboot

#except-interface=lo
root@PXEBoot:~ # service dnsmasq start
Starting dnsmasq.

dnsmasq: cannot create ICMP raw socket: Operation not permitted.
/usr/local/etc/rc.d/dnsmasq: WARNING: failed to start dnsmasq


Any ideas?
 

doc1623

Dabbler
Joined
Feb 9, 2019
Messages
18
Thank You,

One down another to go.

Is this another setting?

Code:
root@PXEBoot:~ # service dnsmasq start
Starting dnsmasq.

dnsmasq: cannot create DHCP BPF socket: No such file or directory
/usr/local/etc/rc.d/dnsmasq: WARNING: failed to start dnsmasq
root@PXEBoot:~ # exit
 

doc1623

Dabbler
Joined
Feb 9, 2019
Messages
18
nvm,

got it started

Thank You

I need to research that page a little more
 
Top