Thanks Lukas Macura, I really need this, please inform me when it can work fine.


------------------
Regards,

banglang huang
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel 


 




------------------ Original ------------------
From:  "Lukas Macura";<mac...@opf.slu.cz>;
Date:  Mon, Mar 31, 2014 09:42 PM
To:  "openwrt-devel"<openwrt-devel@lists.openwrt.org>; 

Subject:  Re: [OpenWrt-Devel] Question about the /tmp/resolv.conf.auto file



Hi,

we are working on patch which will save DHCP client parameters, because 
we needed to get informations later in scripts.
Maybe this is what you need. Our implementation utilises udhcp script 
and save needed parameters to /var/state for given interface.

Now we are testing this. I think more people can use this.

We will inform you when patch will be available.

With regards,
Lukas

Dne 31.3.2014 12:43, Kristian Evensen napsal(a):
> Hi,
>
> On Mon, Mar 31, 2014 at 11:58 AM, Tymon <banglang.hu...@foxmail.com> wrote:
>> How can it retrieve the nameserver in 'DHCP' way ?
> When a nameserver is retrieved through DHCP, it is part of the reply
> sent by the DHCP server. It is set (and communicated to) netifd
> through the /lib/netifd/dhcp.script, which is run by udhcp when an IP
> is acquired.
>
> -Kristian
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to