[Dnsmasq-discuss] FAQ? dhcp-script does not receive any action for Windows 10 dhcp client

Learn _learn at leeee.in
Thu Aug 2 07:40:11 BST 2018


Hi

Not very sure if this is a bug, but I saw dnsmasq.log:

Aug  2 14:13:28 dnsmasq-dhcp[5748]: 4278662147 available DHCP range:
172.24.1.10 -- 172.24.1.249
Aug  2 14:13:28 dnsmasq-dhcp[5748]: 4278662147 vendor class: MSFT 5.0
Aug  2 14:13:28 dnsmasq-dhcp[5748]: 4278662147 client provides name: xxx

But my dhcp-script file does not capture anything.

Here is my simple dhcp-script:

> #!/bin/sh
>  op="${1:-op}"
>  mac="${2:-mac}"
>  ip="${3:-ip}"
>  hostname="${4}"
>  tstamp="`date '+%Y-%m-%d %H:%M:%S'`"
>  payload="${tstamp} ${op} ${ip} (${mac} - ${hostname})"
>  ddd="`date +%Y_ww%W`"
>  echo $payload >> /var/log/dhcp-$ddd.log

I am sure that I could capture actions from an iPhone iOS. And my Windows
10 client does lease a dhcp address.

I am using Ubuntu 18.04 on RPi3 arm64
> $ dpkg -l| grep dnsmas
ii  dnsmasq                       2.79-1                            all
      Small caching DNS proxy and DHCP/TFTP server
> ii  dnsmasq-base                  2.79-1
arm64        Small caching DNS proxy and DHCP/TFTP server
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20180802/2c122291/attachment.html>


More information about the Dnsmasq-discuss mailing list