#12000: ar71xx sta-ap mode connectivity problem.
-----------------------------+-----------------------------------
Reporter: eminarcissus@… | Owner: developers
Type: defect | Status: closed
Priority: normal | Milestone: Barrier Breaker 14.07
Component: packages | Version: Trunk
Resolution: wontfix | Keywords:
-----------------------------+-----------------------------------
Comment (by anonymous):
Sorry for reviving this, but I've had the same issue and I've come up with
a workaround that works for me with no manual intervention. I run the
following script in the background by calling it from /etc/rc.local:
{{{
/root/wifi-watchdog.sh &
}}}
The /root/wifi-watchdog.sh script:
{{{
#!/bin/sh
AP_DEV=wlan0-1
while ( true ) ; do
if !( iw dev $AP_DEV info | grep -q ssid ) ; then
logger wifi-watchdog: Wifi in trouble, to the rescue...
ifconfig $AP_DEV down;
ifconfig $AP_DEV up;
fi
sleep 5
done
}}}
Change the AP_DEV variable to the interface which is in access point mode.
With one client mode interface and one access point interface, that should
be wlan0-1, but check to make sure.
This script is absolutely not meant to be a solution. It is in fact a
dirty, dirty hack. But it works for me, so if you want to give it a go,
don't blame me if it sets your router on fire.
--
Ticket URL: <https://dev.openwrt.org/ticket/12000#comment:9>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets