Hi Albert, thank you for replying. I have access to the source code of the 
router and all it's internals.

I can download the source code of dnsmasq, compile and build it for the 
router(not on the router) but I need to run the dnsmasq as a service which I 
can't do on mipsel-linux because it doesn't contain anything equivalent to 
"service". So I'm generating the binary on a ubuntu(16.04 LTS) system and using 
that in the router running mipsel-linux.

On the ubuntu system, when I run dnsmasq with add-mac in the configuration, I'm 
able to see EDNS0 option in the dns query. This is happening only when I 
installed and run dnsmasq from apt-get. When I tried to compile it and run it 
from the same configurations, I'm not able to see the EDNS0 option. Now I'm 
left with two things, one is to install dnsmasq from the apt-get on 
mipsel-linux which is not possible because it does not have apt-get or any 
other package manager and the second option being to compile the source for the 
router.

So for now, I want to compile the dnsmasq source code on my ubuntu system or 
for the router, not from the apt-get, and want the EDNS0 option in the dns 
query.

________________________________
From: Albert ARIBAUD <albert.arib...@free.fr>
Sent: Tuesday, November 22, 2016 7:14:08 PM
To: Rahul Jain
Cc: dnsmasq-discuss@lists.thekelleys.org.uk
Subject: Re: [Dnsmasq-discuss] Dnsmasq-discuss Digest, Vol 138, Issue 13

Hi Rahul,

Le Tue, 22 Nov 2016 05:51:17 +0000
Rahul Jain <rahul2...@outlook.com> a écrit:

> Hi, thank you for the insight. Actually, I want this implementation
> on my router(which is running mipsel-linux), can't just simply
> install on it. Therefore, I have to run the binary there but I'm not
> getting the MAC address of the connected clients when I add the
> add-mac option in the conf file.

Ok, so IIUC, you do not have access to the source code of the system
installed on your router, and especially you do not have access to the
source code and build instructions to rebuild your router's dnsmasq.

But you do have access to the router's filesystem, right? So you can
inspect its services scripts and find out what it does and why the
add-mac option is not passed to dnsmasq.

Amicalement,
--
Albert.
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to