Catalin Patulea <[email protected]> writes:

> /etc/hotplug.d/iface
>

How can I obtain interface parameters like ip address, subnet etc?
set gives me only
DEVICE, INTERFACE, ACTION
and

--8<---------------cut here---------------start------------->8---
uci -P/var/state show network.wan
network.wan=interface
network.wan.ifname=eth0
network.wan.proto=dhcp
network.wan.up=1
network.wan.device=eth0
--8<---------------cut here---------------end--------------->8---

is there any system mechanism? Or i should save these values from
udhcpc.script an then read from iface-script?
KJ

-- 
http://modnebzdury.wordpress.com/2009/10/01/niewiarygodny-list-prof-majewskiej-wprowadzenie/
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to