Steve Elliott wrote:
Simon,
Thanks for the response.
I do not have --tftp-secure.
But I do launch with
sudo /etc/rc.d/initd/dnsmasq
So it seems that it will be run by root.
No, it will be running as non-privileged user, "nobody" or "dnsmasq"
unless you have user=root somewhere.
Try "su nobody" and then reading that file.
Cheers,
Simon.
Therefore I need world readable permission on my bootrom.pxe.0.
I thought I had that!
---------------
/home/Steve/Shared/workspace/xxx/xxx/
-rwxrwxr-x. 1 Steve Steve 482040 2010-05-13 17:32 bootrom.pxe.0
---------------
This is my config:
(I leave /etc/dnsmasq.conf as delivered and customise
/etc/dnsmasq.d/01dnsmasq.more.conf & /etc/dnsmasq.d/10service.conf)
Left file: /etc/dnsmasq.conf Right file:
/etc/dnsmasq.d/01dnsmasq.more.conf
25a26
filterwin2k
107a109
no-hosts
146a149,151
# Defer dhcp to another dhcp-server
dhcp-range=10.0.0.0,proxy
363a369
pxe-prompt="Which bootrom shall I load?"
390a397
enable-tftp
393a401
tftp-root=/home/Steve/Shared/workspace
536a545
log-dhcp
With /etc/dnsmasq.d/10service.conf
# Loads a file from dnsmasq TFTP server.
#pxe-service=x86PC, "Install Linux", pxelinux
pxe-service=x86PC, "xxxx", /xxx/xxx/bootrom.pxe
Steve Elliott - Embedded Overflow
4, Glassop St., Balmain, NSW 2041.
----------------------------------------------------------------------
--
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss