Am Fri, 25 Apr 2014 23:38:40 +0200 schrieb Marco Gaiarin <[email protected]>:
> I've tried to create an openvpn 'up' script with inside: > > /sbin/wifi down > /bin/sleep 1 > /sbin/wifi up > > but does nothing; i've also added that instruction on /etc/rc.local, > but nothing changed. Are you sure the commands were triggered? You are aware of the openvpn script-security option? Have you considered, that the execution bit could be missing? A missing shebang? You provide not that much information. Give us some logs to see whats going wrong. To this late hour I don't want to ask my crystal ball that much ;) > PS: seems also that a simple: > > HOSTAPD_PID=`cat /var/run/wifi-phy0.pid` > kill -HUP $HOSTAPD_PID > > does not work, eg wirelss/hostapd have to be restarted... I found not very much information about the behaviour of hostapd on a HUP (had no time to look in the sources). Only thing I found were complains about hostapd not working correctly with kill signals. So I would not rely on that. -- toerb _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
