Re: [Dnsmasq-discuss] LAN taken down by Ubuntu upgrade - can't see problem

2013-06-30 Thread Adam Hardy

adam@cyberspaceroad.com on 6/29/2013 5:45 PM, wrote:

I upgraded the OS on my gateway machine which runs dnsmasq serving dhcp
and dns to the lan, and now the machines on my lan can't get an ip
address.

With ubuntu, I run dnsmasq in a stand-alone mode, in contrast to the
ubuntu 'way' where the default installation installs dnsmasq and sets it
up for optimal desktop networking - which doesn't work well for a gateway
machine.

My lan is on eth1, my modem is on eth0. Eth1 is assigned 192.168.0.3 by
/etc/network/interfaces, and this is what dnsmasq is configured to run on.

I hope you can give me a hint where to look next because as far as I am
aware, the only thing that changed was the ubuntu upgrade and I'm not
getting any help from the forum there, and my investigations with my
limited experience has run into the sand.[SNIP]


OK problem solved, it was just my network hub that had on the blink and as it 
was buried under a mound of cables, I hadn't seen the blinking red light - 
strange co-incidence that it happened exactly as I did the ubuntu upgrade.


Anyway, a question that arises from my investigations:

I installed dhcping and running this command on the server with dnsmasq on 
192.168.0.3 produces the response no answer - surely I probe the DHCP service 
from the same machine like that?



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


Re: [Dnsmasq-discuss] segfault when setting pxe-server to empty value in dnsmasq 2.66

2013-06-30 Thread Simon Kelley

On 27/06/13 03:56, Patrick McLean wrote:

Hi, running dnsmasq 2.66 we had a config that set pxe-server to a blank
value, and that was causing dnsmasq to segfault every time it recieved
a dhcp request.

I have attached a backtrace (generated when compiled
with gcc 4.8's -fsanitize=address), I manually printed some relevant
variables as well.



Many thanks for the comprehensive bug report. Would it be possible to 
send me the configuration file you were using? (off-list, if you 
prefer). Just to make sure I've understood exactly the circumstances 
that cause this, so I can fix it properly.



Cheers,

Simon.



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


Re: [Dnsmasq-discuss] Netbooting OS X and PXE with the same conf

2013-06-30 Thread Simon Kelley

On 27/06/13 11:13, Alex Silva wrote:

Hello Simon,

On Wed, Jun 26, 2013 at 10:14 PM, Simon Kelley si...@thekelleys.org.uk
mailto:si...@thekelleys.org.uk wrote:



I'm not sure there is: the proxy function (ie get boot parameters
from one DHCP/PXE server, IP address from another DHCP server) is
PXE specific, I  think. Unless the Apple  boot protocol implements
the same thing somehow, what you want is not possible.



Thanks for the reply. Yes, I want the exact same thing that happens with
PXE: To send back an IP address of 0.0.0.0 and the netboot DHCP options.
The other DHCP server in the network will return the correct IP address.
I just can't find a way to make this work with dnsmasq.


I'm pretty sure there is not way to make dnsmasq do that. The way PXE 
proxy works gives  that effect, but not via the mechanism of returning 
0.0.0.0 to the DHCP request.


Cheers,

Simon.




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


Re: [Dnsmasq-discuss] dhcp proxy to Netboot Macs

2013-06-30 Thread Simon Kelley

On 27/06/13 11:36, Darcey Steinsberger wrote:

Hello.  Is it possible to use the dhcp proxy option for netbooting Macs?


Not as far as we know. There's another thread current on the mailing 
list which is discussing this.



Cheers,

Simon.



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


Re: [Dnsmasq-discuss] LAN taken down by Ubuntu upgrade - can't see problem

2013-06-30 Thread Simon Kelley

On 30/06/13 16:55, Adam Hardy wrote:

adam@cyberspaceroad.com on 6/29/2013 5:45 PM, wrote:

I upgraded the OS on my gateway machine which runs dnsmasq serving dhcp
and dns to the lan, and now the machines on my lan can't get an ip
address.

With ubuntu, I run dnsmasq in a stand-alone mode, in contrast to the
ubuntu 'way' where the default installation installs dnsmasq and sets it
up for optimal desktop networking - which doesn't work well for a gateway
machine.

My lan is on eth1, my modem is on eth0. Eth1 is assigned 192.168.0.3 by
/etc/network/interfaces, and this is what dnsmasq is configured to run
on.

I hope you can give me a hint where to look next because as far as I am
aware, the only thing that changed was the ubuntu upgrade and I'm not
getting any help from the forum there, and my investigations with my
limited experience has run into the sand.[SNIP]


OK problem solved, it was just my network hub that had on the blink and
as it was buried under a mound of cables, I hadn't seen the blinking red
light - strange co-incidence that it happened exactly as I did the
ubuntu upgrade.

Anyway, a question that arises from my investigations:

I installed dhcping and running this command on the server with dnsmasq
on 192.168.0.3 produces the response no answer - surely I probe the
DHCP service from the same machine like that?



It's possible that the kernel or routing the dhcping request via the lo 
local interface, rather than via eth1, which is where dnsmasq is 
expecting to receive it.


Cheers,

Simon.



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




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