[Dnsmasq-discuss] PXE Menu routing
jgiles at joeman1.com
Tue Jun 18 22:11:36 BST 2013
Thanks for the reply...
However, I am running into a little difficulty with an error. When I
try to start the new configuration, all that is displayed is:
service dnsmasq restart
Shutting down Lightweight caching nameserver (dnsmasq): [ OK ]
Starting Lightweight caching nameserver (dnsmasq):
dnsmasq: error at line 12 of /etc/dnsmasq.conf
Here is how the config file is set up. Perhaps you can see where the
error is? The file name (ms_linux.menu) is a file under the
With out the addition of line 12, the config works without issue..
pxe-prompt="Press F8 for boot menu", 0
pxe-service=tag:serial, "Moonshot boot", ms_linux.menu
<------------------ This is line 12
pxe-service=X86PC, "Boot from network", pxelinux
pxe-service=X86PC, "Boot from local hard disk", 0
# Technology Row DHCP Proxy Addresses
#Mac Address Block Filter for Ignite servers
On 2013-06-18 11:01, Simon Kelley wrote:
> On 18/06/13 17:55, Joe Giles wrote:
>> Thanks Simon,
>> I assume, based on the information you provided, we can also filter
>> IP address and/or a range as well?
> Yes, there are lots of ways to set tags, which are then used to
> select pxe-service menu entries.
>> Thanks again!
>> Joe Giles
>> On 2013-06-18 2:39, Simon Kelley wrote:
>>> On 18/06/13 03:52, Joe Giles wrote:
>>>> Hi List,
>>>> Not sure if this is possible, but would we be able to create a
>>>> config so that different mac addresses get different PXE menus?
>>>> We have some new servers that only have a serial connection to pxe
>>>> so our graphical pxe menus just display garbage on the screen. We
>>>> tested this by disabling the graphical menus and they came up
>>>> fine. Only
>>>> problem is, we don't want to disable the graphical menus for all
>>>> So, we were wondering if its possible to create tags with mac
>>>> to point certain machines to different pxe menus. One group would
>>>> the graphical menus and the other would get just a basic text
>>>> If this is possible could you provide some examples?
>>>> Thanks so much!
>>> It's certainly possible:
>>> set a tag for serial machines with something like
>>> dhcp-mac=set:serial, 01:02:03:04:*:*
>>> Then disable the graphical pxe-service lines with
>>> pxe-service=tag:!serial,"menu text", filename.
>>> Which says to use that line only when the "serial" tag is NOT set.
>>> Dnsmasq-discuss mailing list
>>> Dnsmasq-discuss at lists.thekelleys.org.uk
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
More information about the Dnsmasq-discuss