Where does device mode and state output come from, and how do I disable it?

0

Whenever I change my wlan broadcasting details with hostapd I get some output like this:

[ 6706.929857 ] device wlan0 entered promiscuous mode
[ 6707.986991 ] br0: port 2(wlan0) entered forwarding state
[ 6707.992803 ] br0: port 2(wlan0) entered forwarding state
[ 6707.017990 ] br0: port 2(wlan0) entered forwarding state

I have no idea what is causing this output, but it isn't hostapd since I use the -f argument for logging to a debug file. I even added >/dev/null at the end, and still the above output shows.

Where is this coming from and how do I make it silent?

Bob

Posted 2015-05-19T16:11:38.723

Reputation: 243

It's coming from the kernel. To silence these messages, but not others from the kernel, you'll need to dig into syslog or rsyslog depending upon your distro. – LawrenceC – 2015-05-19T17:05:39.527

I'm using minibian for my raspberry pi. Where would I start with this?

– Bob – 2015-05-19T17:47:14.893

Answers

0

I solved it by running the following command on boot:

dmesg -n 1

Bob

Posted 2015-05-19T16:11:38.723

Reputation: 243