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

2013-08-27 Thread Alex Silva
Hello,

On Sun, Jun 30, 2013 at 9:26 PM, Simon Kelley si...@thekelleys.org.ukwrote:

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


 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.



I have returned to this and created a patch for dnsmasq that allows it to
netboot both older and newer Macs. The patch is attached to this email. An
example of configuration is:

dhcp-vendorclass=set:apple-boot,AAPLBSDPC/i386
osx-netboot=tag:apple-boot,nfs:10.2.3.181:
/imaging/netboot:NetBoot/NetBootSP0/Image.nbi/NetBoot.dmg,NetBoot/NetBootSP0/Image.nbi/i386/booter

Cheers,
-- 
Alex Queiroz
Developer
--
FileWave (Europe) GmbH
email: al...@filewave.com
Chat : asandroq (Skype)
http://www.filewave.com/


dnsmasq-osxnetboot.patch
Description: Binary data
___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] Serving out NetBIOS reverse results?

2013-08-27 Thread Jarno Elonen

Hi,

I'd like to configure dnsmasq to answer reverse IP queries for Windows 
workstations, replying with their NetBIOS names  (perhaps by querying a 
Wins server or doing an nmblookup -A).

Any ideas on how to achieve this?

Current situation:

1) Dnsmasq is serving Windows workstations from a Linux server
2) Samba (v3) works as a Wins server on the same server
3) Manual reverse lookups work: nmblookup -A ip address
4) I can ping NetBIOS names from the server (/etc/nsswitch.conf 
configured correctly)
5) Reverse queries agains dnsmasq work for hosts that are manually 
entered into /etc/hosts

...but, obviously...
6) nslookup 192.168.1.68 on the server gives ** server can't find 
68.1.168.192.in-addr.arpa.: NXDOMAIN


-Jarno


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