No subject


Tue Sep 14 07:33:07 BST 2010


-C, --conf-file=3D<file>
Specify a different configuration file. The conf-file option is also allowe=
d in configuration files, to include multiple configuration files.
-7, --conf-dir=3D<directory>[,<file-extension>......]
Read all the files in the given directory as configuration files. If extens=
ion(s) are given, any files which end in those extensions are skipped. Any =
files whose names end in ~ or start with . or start and end with # are alwa=
ys skipped. This flag may be given on the command line or in a configuratio=
n file.



Thanks,
Tyler

________________________________
The information contained within this e-mail message, including the informa=
tion contained in any attachments, is considered confidential information o=
f Taqua, LLC, and intended only for the named recipient(s). If you have rec=
eived this message in error, or are not the named recipient(s), please imme=
diately delete this e-mail and any attachments.

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss at lists.thekelleys.org.uk<mailto:Dnsmasq-discuss at lists.thekel=
leys.org.uk>
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss



________________________________
The information contained within this e-mail message, including the informa=
tion contained in any attachments, is considered confidential information o=
f Taqua, LLC, and intended only for the named recipient(s). If you have rec=
eived this message in error, or are not the named recipient(s), please imme=
diately delete this e-mail and any attachments.

________________________________
The information contained within this e-mail message, including the informa=
tion contained in any attachments, is considered confidential information o=
f Taqua, LLC, and intended only for the named recipient(s). If you have rec=
eived this message in error, or are not the named recipient(s), please imme=
diately delete this e-mail and any attachments.

--_000_B43202123813C44C9261D18DA4457B3C1ABC4FB10Dserver002_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"GENERATOR" content=3D"MSHTML 8.00.6001.18702">
</head>
<body>
<div dir=3D"ltr" align=3D"left"><span class=3D"015512314-21092010"><font co=
lor=3D"#0000ff" size=3D"2" face=3D"Verdana">User error.</font></span></div>
<div dir=3D"ltr" align=3D"left"><span class=3D"015512314-21092010"><font co=
lor=3D"#0000ff" size=3D"2" face=3D"Verdana"></font></span>&nbsp;</div>
<div dir=3D"ltr" align=3D"left"><span class=3D"015512314-21092010"><font co=
lor=3D"#0000ff" size=3D"2" face=3D"Verdana">I am on RHEL 5, and it comes wi=
th dnsmasq-2.45.&nbsp; The executable is located at /usr/sbin/dnsmasq.</fon=
t></span></div>
<div dir=3D"ltr" align=3D"left"><span class=3D"015512314-21092010"><font co=
lor=3D"#0000ff" size=3D"2" face=3D"Verdana"></font></span>&nbsp;</div>
<div dir=3D"ltr" align=3D"left"><span class=3D"015512314-21092010"><font co=
lor=3D"#0000ff" size=3D"2" face=3D"Verdana">I downloaded dnsmasq-2.55 (to g=
et the dhcp-broadcast option) and ran 'make install'.&nbsp; That put the 2.=
55 executable at /usr/local/sbin/dnsmasq.</font></span></div>
<div dir=3D"ltr" align=3D"left"><span class=3D"015512314-21092010"><font co=
lor=3D"#0000ff" size=3D"2" face=3D"Verdana"></font></span>&nbsp;</div>
<div dir=3D"ltr" align=3D"left"><span class=3D"015512314-21092010"><font co=
lor=3D"#0000ff" size=3D"2" face=3D"Verdana">The file /etc/init.d/dnsmasq is=
 what I am using to start and stop dnsmasq.&nbsp; That file was referencing=
 /usr/sbin/dnsmasq, and 2.45 didn't know anything
 about dhcp-broadcast.&nbsp; I fixed&nbsp;/etc/init.d/dnsmasq so that it re=
ferences /usr/local/sbin/dnsmasq.&nbsp; Now, I can just add 'dhcp-broadcast=
' to /etc/dnsmasq.conf and it works as expected.</font></span></div>
<div dir=3D"ltr" align=3D"left"><span class=3D"015512314-21092010"><font co=
lor=3D"#0000ff" size=3D"2" face=3D"Verdana"></font></span>&nbsp;</div>
<div dir=3D"ltr" align=3D"left"><span class=3D"015512314-21092010"><font co=
lor=3D"#0000ff" size=3D"2" face=3D"Verdana">It was working from the command=
 line because 'which dnsmasq' showed /usr/local/sbin/dnsmasq.</font></span>=
</div>
<div dir=3D"ltr" align=3D"left"><span class=3D"015512314-21092010"><font co=
lor=3D"#0000ff" size=3D"2" face=3D"Verdana"></font></span>&nbsp;</div>
<br>
<div dir=3D"ltr" lang=3D"en-us" class=3D"OutlookMessageHeader" align=3D"lef=
t">
<hr tabindex=3D"-1">
<font size=3D"2" face=3D"Tahoma"><b>From:</b> dnsmasq-discuss-bounces at lists=
.thekelleys.org.uk [mailto:dnsmasq-discuss-bounces at lists.thekelleys.org.uk]
<b>On Behalf Of </b>Tyler Reese<br>
<b>Sent:</b> Tuesday, September 21, 2010 8:51 AM<br>
<b>To:</b> dnsmasq-discuss at lists.thekelleys.org.uk<br>
<b>Subject:</b> Re: [Dnsmasq-discuss] dhcp-broadcast<br>
</font><br>
</div>
<div></div>
<div dir=3D"ltr" align=3D"left">
<div dir=3D"ltr" align=3D"left"><span class=3D"493484313-21092010"><font co=
lor=3D"#0000ff" size=3D"2" face=3D"Verdana">I tried this, but it made no di=
fference.&nbsp; Should it matter if a dnsmasq configuration option is in dn=
smasq.conf or another file?</font></span></div>
<div dir=3D"ltr" align=3D"left"><span class=3D"493484313-21092010"><font co=
lor=3D"#0000ff" size=3D"2" face=3D"Verdana"></font></span>&nbsp;</div>
<div dir=3D"ltr" align=3D"left"><span class=3D"493484313-21092010"><font fa=
ce=3D"Verdana"><font color=3D"#0000ff"><font size=3D"2">When I run 'dnsmasq=
 --dhcp-broadcast' from the command line, it works as expected (uncondition=
ally set the broadcast flag, which is what I
 need).</font></font></font></span></div>
<div dir=3D"ltr" align=3D"left"><span class=3D"493484313-21092010"><font fa=
ce=3D"Verdana"><font color=3D"#0000ff"><font size=3D"2"><span class=3D"4064=
14813-21092010">I also see this line in the log file:</span></font></font><=
/font></span></div>
<div dir=3D"ltr" align=3D"left"><span class=3D"493484313-21092010"><font fa=
ce=3D"Verdana"><font color=3D"#0000ff"><font size=3D"2"><span class=3D"4064=
14813-21092010">Sep 20 16:59:44 adminportal dnsmasq-dhcp[25074]: 0 broadcas=
t response<br>
</span></font></font></font></span></div>
<div dir=3D"ltr" align=3D"left"><span class=3D"493484313-21092010"><font co=
lor=3D"#0000ff" size=3D"2" face=3D"Verdana"><span class=3D"406414813-210920=
10">No matter how I try to set the option in the configuration file, I don'=
t get a broadcast response.</span></font></span></div>
<div dir=3D"ltr" align=3D"left"><span class=3D"493484313-21092010"><font fa=
ce=3D"Verdana"><font color=3D"#0000ff"><font size=3D"2">I don't know the co=
rrect syntax for using this option in a configuration file (dnsmasq.conf or=
 any other specified file)<span class=3D"406414813-21092010">.</span></font=
></font></font></span></div>
</div>
<br>
<div dir=3D"ltr" lang=3D"en-us" class=3D"OutlookMessageHeader" align=3D"lef=
t">
<hr tabindex=3D"-1">
<font size=3D"2" face=3D"Tahoma"><b>From:</b> richardvoigt at gmail.com [mailt=
o:richardvoigt at gmail.com]
<br>
<b>Sent:</b> Tuesday, September 21, 2010 7:38 AM<br>
<b>To:</b> Tyler Reese<br>
<b>Cc:</b> dnsmasq-discuss at lists.thekelleys.org.uk<br>
<b>Subject:</b> Re: [Dnsmasq-discuss] dhcp-broadcast<br>
</font><br>
</div>
<div></div>
<br>
<br>
<div class=3D"gmail_quote">On Mon, Sep 20, 2010 at 8:39 PM, Tyler Reese <sp=
an dir=3D"ltr">
&lt;<a href=3D"mailto:tyler.reese at taqua.com">tyler.reese at taqua.com</a>&gt;<=
/span> wrote:<br>
<blockquote style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3D"gmail_quote">
<div>
<div><span><font size=3D"2" face=3D"Verdana">I'm trying to use this option =
to force the broadcast bootp flag to be set on bootp replies.&nbsp; The onl=
y way I am able to make it work is to run 'dnsmasq --dhcp-broadcast' from t=
he command line.&nbsp; I want the dhcp-broadcast
 option to be used unconditionally.</font></span></div>
<div><span><font size=3D"2" face=3D"Verdana"></font></span>&nbsp;</div>
<div><span><font size=3D"2" face=3D"Verdana">I haven't found the correct wa=
y to add dhcp-broadcast to dnsmasq.conf in order to achieve the same thing.=
</font></span></div>
<div><span><font size=3D"2" face=3D"Verdana"></font></span>&nbsp;</div>
<div><span><font size=3D"2" face=3D"Verdana">In dnsmasq.conf, I&nbsp;have t=
ried:</font></span></div>
<div><span><font size=3D"2" face=3D"Verdana">dhcp-broadcast</font></span></=
div>
<div><span><font size=3D"2" face=3D"Verdana">dhcp-broadcast=3Dbootp</font><=
/span></div>
<div><span><font size=3D"2" face=3D"Verdana"></font></span>&nbsp;</div>
<div><span><font size=3D"2" face=3D"Verdana">After making the change, I res=
tart dnsmasq.&nbsp; Neither one is making the broadcast bit get set, but ag=
ain, it does work when I run dnsmasq from the command line.&nbsp; What am I=
 missing?&nbsp; This is on dnsmasq-2.55.</font></span></div>
</div>
</blockquote>
<div><br>
</div>
<div>I'm going to throw out a WAG that you're not editing the right dnsmasq=
.conf file.</div>
<div><br>
</div>
<div>Does forcing dnsmasq to read a particular config file using the -C com=
mand line option make any difference?</div>
<div><br>
</div>
<div>From the man page</div>
<div>
<dl style=3D"FONT-FAMILY: 'Times New Roman'; FONT-SIZE: medium" compact=3D"=
"><dt><b>-C, --conf-file=3D&lt;file&gt;</b>
</dt><dd>Specify a different configuration file. The conf-file option is al=
so allowed in configuration files, to include multiple configuration files.
</dd><dt><b>-7, --conf-dir=3D&lt;directory&gt;[,&lt;file-extension&gt;.....=
.]</b> </dt><dd>Read all the files in the given directory as configuration =
files. If extension(s) are given, any files which end in those extensions a=
re skipped. Any files whose names end in ~ or start with . or start and end=
 with # are always skipped. This flag may be
 given on the command line or in a configuration file. </dd></dl>
<span style=3D"FONT-FAMILY: 'Times New Roman'; FONT-SIZE: medium" class=3D"=
Apple-style-span"><a name=3D"lbAF">&nbsp;</a></span></div>
<div>&nbsp;</div>
<blockquote style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex=
; PADDING-LEFT: 1ex" class=3D"gmail_quote">
<div>
<div><span><font size=3D"2" face=3D"Verdana"></font></span>&nbsp;</div>
<div><span><font size=3D"2" face=3D"Verdana">Thanks,</font></span></div>
<div><span><font size=3D"2" face=3D"Verdana">Tyler</font></span></div>
<br>
<hr>
<font color=3D"gray" size=3D"3" face=3D"Arial">The information contained wi=
thin this e-mail message, including the information contained in any attach=
ments, is considered confidential information of Taqua, LLC, and intended o=
nly for the named recipient(s). If you
 have received this message in error, or are not the named recipient(s), pl=
ease immediately delete this e-mail and any attachments.<br>
</font></div>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href=3D"mailto:Dnsmasq-discuss at lists.thekelleys.org.uk">Dnsmasq-discuss@=
lists.thekelleys.org.uk</a><br>
<a href=3D"http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss"=
 target=3D"_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-=
discuss</a><br>
<br>
</blockquote>
</div>
<br>
<br>
<hr>
<font color=3D"gray" size=3D"3" face=3D"Arial">The information contained wi=
thin this e-mail message, including the information contained in any attach=
ments, is considered confidential information of Taqua, LLC, and intended o=
nly for the named recipient(s). If you
 have received this message in error, or are not the named recipient(s), pl=
ease immediately delete this e-mail and any attachments.<br>
</font><br>
<hr>
<font face=3D"Arial" color=3D"Gray" size=3D"3">The information contained wi=
thin this e-mail message, including the information contained in any attach=
ments, is considered confidential information of Taqua, LLC, and intended o=
nly for the named recipient(s). If you
 have received this message in error, or are not the named recipient(s), pl=
ease immediately delete this e-mail and any attachments.<br>
</font>
</body>
</html>

--_000_B43202123813C44C9261D18DA4457B3C1ABC4FB10Dserver002_--



More information about the Dnsmasq-discuss mailing list