[Dnsmasq-discuss] missing 00: on the leading of the mac-address in dhcp-script programm

Michael Rack dnsmasq.list at michaelrack.de
Thu Sep 18 17:50:51 BST 2008


Hi List,

its me again. I have a very confusing issue. I use dhcp-script with 
leasefile-ro to manage all leases with my own script. After dnsmasq 
invokes my dhcp-script with init, it invokes my script to commit some 
changes with "old" - message. The very bad issue is the missing 00: on 
the leading of the mac-address!

My ARGV-Tracking of the invoke to my dhcp-script:
> /usr/sbin/store-dhcp-lease init
> /usr/sbin/store-dhcp-lease old 16:01:f4:e8:59 81.95.xxx.41 buffalo-router
> /usr/sbin/store-dhcp-lease old 16:01:f4:e8:59 81.95.xxx.41 buffalo-router
> /usr/sbin/store-dhcp-lease old 04:0e:df:0f:dd 81.95.xxx.125 datapipe
> /usr/sbin/store-dhcp-lease old 1d:73:18:18:ca 81.95.xxx.124
> /usr/sbin/store-dhcp-lease old 17:31:83:0a:a2 81.95.xxx.119
Why does dnsmasq forget to send the leading 00: ?

My Configuration look as follow:
> dhcp-authoritative
> dhcp-leasefile=/var/state/dnsmasq/dhcp.lease
> dhcp-script=/usr/sbin/store-dhcp-lease
> dhcp-hostsfile=/etc/dnsmasq.dhcp-hosts
> leasefile-ro
> log-dhcp
>
> dhcp-ignore-names
>
> # Time-Server
> dhcp-option=option:ntp-server,141.40.103.103,81.169.141.30
>
> # DNS Server
> dhcp-option=option:dns-server,81.95.xxx.1
>
> # Maximal Leases
> dhcp-lease-max=255
Thanks in advance,

Michael Rack.




More information about the Dnsmasq-discuss mailing list