Thanks, Bastian. If I add a script /etc/hotplug.d/net/ I get up/down events for WLAN interfaces when /sbin/wifi is run.
The hotplug scripts receive events for interface names, but they know nothing about the underlying configuration. Is there any way to map a WLAN interface name, e.g. wlan0, to the corresponding UCI config entry in /etc/config/wireless? Johan On Wed, Nov 12, 2014 at 10:53 AM, Bastian Bittorf <[email protected]> wrote: > * Johan Almbladh <[email protected]> [12.11.2014 10:45]: > > I tried just doing "ubus listen" in one shell and then running "wifi" > from > > another, but that doesn't give much to go on: > > which events do you need? > > a joining or leaving station? > use 'iw event' > > an upcoming (or going down) interface? > use '/etc/hotplug.d/iface/$yourscript' > > bye, bastian >
_______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
