Re: [Dnsmasq-discuss] dhcp-broadcast not

2014-02-24 Thread Simon Kelley
On 21/02/14 09:07, Nikita N. wrote:
 
 All the clients are quite common, and in use all around the world, if 
 there was a general problem with this, we'd probably have heard about it 
 by now.
 Hi, well you are hearing it now :)

True, but it's not clear what to do about it. The modification to
dnsmasq which you suggested is a hack, and may well have unexpected
effects which break more installations than it fixes.

 
 It seems likely that the problem is something in your network, rather 
 than the DHCP clients or servers.
 While I was waiting for a feedback, I tried to workaround the issue
 myself.
 I tried to have a look to your code, and understood that maybe also
 there its needed just a flag bit to switch in the kernel.. but didnt
 modify nothing, didnt feel enough skilled to modify your code.. ;)
 Instead I modified the code at transportation layer, the software which
 actually sends the frames up in the air.
 Very simply, I instructed it to duplicate all frames with
 dest=broadcast, setting dest=sta mac.
 It works perfectly with *ALL* my test clients so far, also the ones
 affected by the dhcp-broadcast issue.
 Of course as you can understand by yourself, its a dirty workaround, as
 it works only in very simple cases, e.g. it does *NOT* work in the case
 of multiple concurrent connections.
 So it doesnt seem to me a problem in my network, but rather a glitching
 bug in some wireless drivers..
 

I'm not clear which simply setting

--dhcp-broadcast

doesn't do fix this.


Cheers,

Simon.

 Thanks anyway, and keep on the good job! :)
 
We're doing our best.





___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] dhcp-broadcast

2010-09-21 Thread richardvo...@gmail.com
On Mon, Sep 20, 2010 at 8:39 PM, Tyler Reese tyler.re...@taqua.com wrote:

  I'm trying to use this option to force the broadcast bootp flag to be set
 on bootp replies.  The only way I am able to make it work is to run 'dnsmasq
 --dhcp-broadcast' from the command line.  I want the dhcp-broadcast option
 to be used unconditionally.

 I haven't found the correct way to add dhcp-broadcast to dnsmasq.conf in
 order to achieve the same thing.

 In dnsmasq.conf, I have tried:
 dhcp-broadcast
 dhcp-broadcast=bootp

 After making the change, I restart dnsmasq.  Neither one is making the
 broadcast bit get set, but again, it does work when I run dnsmasq from the
 command line.  What am I missing?  This is on dnsmasq-2.55.


I'm going to throw out a WAG that you're not editing the right dnsmasq.conf
file.

Does forcing dnsmasq to read a particular config file using the -C command
line option make any difference?

From the man page
*-C, --conf-file=file*Specify a different configuration file. The
conf-file option is also allowed in configuration files, to include multiple
configuration files.*-7, --conf-dir=directory[,file-extension..]*Read
all the files in the given directory as configuration files. If extension(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 always
skipped. This flag may be given on the command line or in a configuration
file.



 Thanks,
 Tyler

 --
 The information contained within this e-mail message, including the
 information contained in any attachments, is considered confidential
 information of Taqua, LLC, and intended only for the named recipient(s). If
 you have received this message in error, or are not the named recipient(s),
 please immediately delete this e-mail and any attachments.

 ___
 Dnsmasq-discuss mailing list
 Dnsmasq-discuss@lists.thekelleys.org.uk
 http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss




Re: [Dnsmasq-discuss] dhcp-broadcast

2010-09-21 Thread Tyler Reese
I tried this, but it made no difference.  Should it matter if a dnsmasq 
configuration option is in dnsmasq.conf or another file?

When I run 'dnsmasq --dhcp-broadcast' from the command line, it works as 
expected (unconditionally set the broadcast flag, which is what I need).
I also see this line in the log file:
Sep 20 16:59:44 adminportal dnsmasq-dhcp[25074]: 0 broadcast response
No matter how I try to set the option in the configuration file, I don't get a 
broadcast response.
I don't know the correct syntax for using this option in a configuration file 
(dnsmasq.conf or any other specified file).


From: richardvo...@gmail.com [mailto:richardvo...@gmail.com]
Sent: Tuesday, September 21, 2010 7:38 AM
To: Tyler Reese
Cc: dnsmasq-discuss@lists.thekelleys.org.uk
Subject: Re: [Dnsmasq-discuss] dhcp-broadcast



On Mon, Sep 20, 2010 at 8:39 PM, Tyler Reese 
tyler.re...@taqua.commailto:tyler.re...@taqua.com wrote:
I'm trying to use this option to force the broadcast bootp flag to be set on 
bootp replies.  The only way I am able to make it work is to run 'dnsmasq 
--dhcp-broadcast' from the command line.  I want the dhcp-broadcast option to 
be used unconditionally.

I haven't found the correct way to add dhcp-broadcast to dnsmasq.conf in order 
to achieve the same thing.

In dnsmasq.conf, I have tried:
dhcp-broadcast
dhcp-broadcast=bootp

After making the change, I restart dnsmasq.  Neither one is making the 
broadcast bit get set, but again, it does work when I run dnsmasq from the 
command line.  What am I missing?  This is on dnsmasq-2.55.

I'm going to throw out a WAG that you're not editing the right dnsmasq.conf 
file.

Does forcing dnsmasq to read a particular config file using the -C command line 
option make any difference?

From the man page

-C, --conf-file=file
Specify a different configuration file. The conf-file option is also allowed in 
configuration files, to include multiple configuration files.
-7, --conf-dir=directory[,file-extension..]
Read all the files in the given directory as configuration files. If 
extension(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 
always skipped. This flag may be given on the command line or in a 
configuration file.



Thanks,
Tyler


The information contained within this e-mail message, including the information 
contained in any attachments, is considered confidential information of Taqua, 
LLC, and intended only for the named recipient(s). If you have received this 
message in error, or are not the named recipient(s), please immediately delete 
this e-mail and any attachments.

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.ukmailto:Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss




The information contained within this e-mail message, including the information 
contained in any attachments, is considered confidential information of Taqua, 
LLC, and intended only for the named recipient(s). If you have received this 
message in error, or are not the named recipient(s), please immediately delete 
this e-mail and any attachments.


Re: [Dnsmasq-discuss] dhcp-broadcast

2010-09-21 Thread Tyler Reese
User error.

I am on RHEL 5, and it comes with dnsmasq-2.45.  The executable is located at 
/usr/sbin/dnsmasq.

I downloaded dnsmasq-2.55 (to get the dhcp-broadcast option) and ran 'make 
install'.  That put the 2.55 executable at /usr/local/sbin/dnsmasq.

The file /etc/init.d/dnsmasq is what I am using to start and stop dnsmasq.  
That file was referencing /usr/sbin/dnsmasq, and 2.45 didn't know anything 
about dhcp-broadcast.  I fixed /etc/init.d/dnsmasq so that it references 
/usr/local/sbin/dnsmasq.  Now, I can just add 'dhcp-broadcast' to 
/etc/dnsmasq.conf and it works as expected.

It was working from the command line because 'which dnsmasq' showed 
/usr/local/sbin/dnsmasq.



From: dnsmasq-discuss-boun...@lists.thekelleys.org.uk 
[mailto:dnsmasq-discuss-boun...@lists.thekelleys.org.uk] On Behalf Of Tyler 
Reese
Sent: Tuesday, September 21, 2010 8:51 AM
To: dnsmasq-discuss@lists.thekelleys.org.uk
Subject: Re: [Dnsmasq-discuss] dhcp-broadcast

I tried this, but it made no difference.  Should it matter if a dnsmasq 
configuration option is in dnsmasq.conf or another file?

When I run 'dnsmasq --dhcp-broadcast' from the command line, it works as 
expected (unconditionally set the broadcast flag, which is what I need).
I also see this line in the log file:
Sep 20 16:59:44 adminportal dnsmasq-dhcp[25074]: 0 broadcast response
No matter how I try to set the option in the configuration file, I don't get a 
broadcast response.
I don't know the correct syntax for using this option in a configuration file 
(dnsmasq.conf or any other specified file).


From: richardvo...@gmail.com [mailto:richardvo...@gmail.com]
Sent: Tuesday, September 21, 2010 7:38 AM
To: Tyler Reese
Cc: dnsmasq-discuss@lists.thekelleys.org.uk
Subject: Re: [Dnsmasq-discuss] dhcp-broadcast



On Mon, Sep 20, 2010 at 8:39 PM, Tyler Reese 
tyler.re...@taqua.commailto:tyler.re...@taqua.com wrote:
I'm trying to use this option to force the broadcast bootp flag to be set on 
bootp replies.  The only way I am able to make it work is to run 'dnsmasq 
--dhcp-broadcast' from the command line.  I want the dhcp-broadcast option to 
be used unconditionally.

I haven't found the correct way to add dhcp-broadcast to dnsmasq.conf in order 
to achieve the same thing.

In dnsmasq.conf, I have tried:
dhcp-broadcast
dhcp-broadcast=bootp

After making the change, I restart dnsmasq.  Neither one is making the 
broadcast bit get set, but again, it does work when I run dnsmasq from the 
command line.  What am I missing?  This is on dnsmasq-2.55.

I'm going to throw out a WAG that you're not editing the right dnsmasq.conf 
file.

Does forcing dnsmasq to read a particular config file using the -C command line 
option make any difference?

From the man page

-C, --conf-file=file
Specify a different configuration file. The conf-file option is also allowed in 
configuration files, to include multiple configuration files.
-7, --conf-dir=directory[,file-extension..]
Read all the files in the given directory as configuration files. If 
extension(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 
always skipped. This flag may be given on the command line or in a 
configuration file.



Thanks,
Tyler


The information contained within this e-mail message, including the information 
contained in any attachments, is considered confidential information of Taqua, 
LLC, and intended only for the named recipient(s). If you have received this 
message in error, or are not the named recipient(s), please immediately delete 
this e-mail and any attachments.

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.ukmailto:Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss




The information contained within this e-mail message, including the information 
contained in any attachments, is considered confidential information of Taqua, 
LLC, and intended only for the named recipient(s). If you have received this 
message in error, or are not the named recipient(s), please immediately delete 
this e-mail and any attachments.


The information contained within this e-mail message, including the information 
contained in any attachments, is considered confidential information of Taqua, 
LLC, and intended only for the named recipient(s). If you have received this 
message in error, or are not the named recipient(s), please immediately delete 
this e-mail and any attachments.