Turn off/redirect console messages "...wlan0: Limiting TX power to 30..."?
When I connect in to the Omega using screen and log in as root, I see messages like this repeated every 5-10 seconds:
[ 1048.950000] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by 90:72:40:23:dd:a0
Is there a way to turn them off or redirect them?
Hi @Julian-Richardson, I did some quick search, but I wasn't able to find a way to turn off the output from serial terminal. Would you be able to tell me which country you are from? The reason that you are seeing these messages is because different countries have different regulations for how much power a Wifi device can have. When you see this message, what's essentially happening is that your router (which is trying to obey the laws of your country) tells the Omega to turn down its power a bit. We can configure the Omega to output at a lower power.
Interesting. I'm in the US.
@Julian-Richardson so these messages (along with all of the messages at startup) are generated by
dmesgwhich acts as the message buffer of the Linux kernel.
There's no way to disable it on the serial terminal, however, if you use ssh to access the terminal, the messages will not be shown.
@Julian-Richardson Hmmm... Perhaps your router was manufactured somewhere else? Or manufactured by a company that's based in a different country?
dmesghas an option to change the severity level of the messages that are shown. Have you tried with
dmesg -n 1?
@Diego-Escalante Nice tip! Thanks for sharing!