OpenWrt Forum Archive

Topic: hotplug wifi

The content of this topic has been archived on 3 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

how to make a hotplug script to check whether wireless client connected to hotspot or not. if wireless client not connected to hotspot, then switch to ap mode.
but when the hotspot is available in next few hours, then switch to ap+sta mode..

(Last edited by gentong on 29 Jun 2016, 06:56)

Be so kind to first to Search the forum for your answer before posting as this topic is discussed many times before.

sorry sir.. i've searched everywhere but still not find it..
would u pls give me the link ?
maybe because my english language is bad, so i cannot find the topic which discuss about it.
i found this page http://opendiv.net/doc/recipes/ap_sta
but this is not perfect.. if hotspot is available, the script cannot make ap+sta up again..
and that script only run at startup

(Last edited by gentong on 29 Jun 2016, 07:53)

ap sta offline

ok..
problem solved using watchdog dirty script from @johndoe
thank you.. smile

(Last edited by gentong on 30 Jun 2016, 07:44)

The discussion might have continued from here.