I am trying to change the value in the file /proc/brcm_monitor0 from 0 to 1.
This file is used to set Broadcom wifi modules into monitor mode.
The default method to do this is:
sudo -s
echo 1 > /proc/brcm_monitor0
But, this gives the error:
-bash: echo: write error: Input/output error
So I try the second method:
echo 1 | sudo tee /proc/brcm_monitor0
The console outputs 1, but when I check the file with:
cat brcm_monitor0
It's still 0.
I have no clue why the file won't change. I've tried chmod 777, but that did not seem to change anything in the output. I know that the proc folder contains virtual files, but from what I've read, the above two methods should work in changing parameters stored in the files.
Any suggestions are welcome.
Thanks
Best Answer
Possibly a bug in patched Ubuntu driver.
In Ubuntu 13.04, using the vanilla 6.30.223.141 driver of Broadcom.com, solves the problem.
In Ubuntu 13.10, the vanilla 6.30.223.141 driver does not work due to incompatibility with the kernel version 3.11. Patching the vanilla driver with patch "0009-add-support-for-linux-3.10.0.patch" from Launchpad, generates the SAME error:
FIXING BUG in Ubuntu 13.10:
Apply the patch from Arch Linux AUR instead of 0009-add-support-for-linux-3.10.0.patch
INSTRUCTIONS:
Download driver source (6.30.223.141) from Broadcom
DO NOT APPLY LINUX 3.10 UBUNTU PATCH. Apply http://ix.io/9DV patch only.
Compile the driver.
Testing the driver.
Enable monitor mode.
source: http://aur.archlinux.org/packages/broadcom-wl/?setlang=de&comments=all