Shedule wireless power
-
I was wondering is there a way to power down my wifi at night?
Or turn down the broadcasting power to null.
Ive got an alpha wireless mini pc card. -
I suppose a Cron job would do the trick.
First you gotta check if the function is supported. On my Intel WiFi card I get nothing from the command below.
sysctl -a | grep rfkill
and get something like```
dev.iwl.0.rfkill: 0
then you can setup a Cronjob with``` sysctl dev.iwl.0.rfkill=1 ```or something like it and another one which disables the rfkill option in the morning. It's possible``` ifconfig wlan0 down ```brings the radio down too, I'm not really sure. Try it out and see what happens.
-
I have tried it my card does not support the rfkill command.
the ifconfig wlan0 down didn't do anything no output but also my wireless keeps working.
Could there be another way?
-
I have tried it my card does not support the rfkill command.
the ifconfig wlan0 down didn't do anything no output but also my wireless keeps working.
Could there be another way?
You gotta check the actual WLAN interface name.
It could be like "ath0_wlan0" or something of the like.
Check the actual interface name in "Interfaces/Assign".so, in my case it would be
ifconfig ath0_wlan1 down
-
is your desired outcome to literally powerdown the RF transmission, or to block the AP's access to the gateway, and grant access again at another ?
if you just want to block gateway access, then yes:
Firewall –-> Schedules
then make a rule:
Firewall ---> Rules ---> Floating
and make sure to select the schedule you defined in the last step under "Advanced features" on your rule -
@Mattofsweden
I did check it with the actual interface name. But no difference.
Thanx for the help I think I'll check again if I buy a new network card when wireless n is supported in freebsd@ ericab
No its not about blocking the access.
I just don't want to be burning useless energy and filling my house with wifi radiation for nothing.