Hi Felix!
Thank you for help,
I am trying to use our hint and changing code. But please, let me know
if way is good.
in /lib/netifd/dhcp.script , I created function:
change_network_state() {
ubus call "network.interface.$1" set_data "{ \"$2\": \"$3\" }"
}
and reworked commented TODO part
-- Original --
From: "Lukas Macura";;
Date: Mon, Mar 31, 2014 09:42 PM
To: "openwrt-devel";
Subject: Re: [OpenWrt-Devel] Question about the /tmp/resolv.conf.auto file
Hi,
we are working on patch which will save DHCP client par
On 2014-03-31 15:42, Lukas Macura wrote:
> 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 give
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
Hi,
On Mon, Mar 31, 2014 at 11:58 AM, Tymon 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
nwrt-devel
-- Original --
From: "Kristian Evensen";;
Date: Mar 31, 2014
To: "banglang huang";
Cc: "OpenWrt Development List";
Subject: Re: [OpenWrt-Devel] Question about the /tmp/resolv.conf.auto file
Hi,
On Mon, Mar 31, 2014 at 11:39 AM, bangla
Hi,
On Mon, Mar 31, 2014 at 11:39 AM, banglang huang
wrote:
> And I want to learn how this file can be generated and why the
> openwrt knows the dns ip address automatically (nameserver) ??
This file is generated by the network interface daemon (netifd) in the
function interface_write_re
Hi all,
As we all know the openwrt will automatically generates the
/tmp/resolv.conf.auto file, also the nameserver ip.
And I want to learn how this file can be generated and why the
openwrt knows the dns ip address automatically (nameserver) ??
Any hints will be appreci