Hi all,
Could someone help me out with making a script that netwatches a wireless interface, and when the interface is disabled, some script FIRST disables the interface again, and then enables it again?
The reason for this is that sometimes the wireless interface on my bridges disables itself for no reason. I tried al sort of hardware changes, so it's just a wifi problem. When i first disable the interface and then enable it, the interface comes up again.
it's very important to first disable. i made a simple script that just enables the interface every 10 seconds, but this doesn't help. Second thing is that it fills my log with the argument "device changed by admin" which makes reading the log a big problem.
Thanks in advance for the help!