Slow wireless with BCM4313 until "wl" reloaded.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bcmwl (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I'd noticed that my wireless had been slow for a while... I'm not sure when this occurred - whether it was before, after, or during the upgrade from 12.04 to 12.10, but I've confirmed (via several clean installs) that it's alive in 12.10 for sure.
When the computer boots up, and I log in, my wireless speed is limited to a max of just over 5 Mbps; usually it hovers around 2-3 Mbps. (Both upload and download speeds are like this, with uploads being ever-so-slightly higher.)
However, if I run the following commands (or the attached script, as root), the issue goes away:
sudo modprobe -r wl
sudo modprobe wl
...and then re-appears the next time I reboot (or shutdown/startup). It's really annoying to need to run some command before I can use my wireless card at full speed - especially since, as it requires root privileges, it's not possible to add it to my login script without needing me to type in my password (I tried).
Also, if a script is made and run via "/etc/rc.local", it doesn't help; it acts the same as if I'd never done anything (but it does run the script; I confirmed this by some debugging stuff in the script).
Attached is the script my "/etc/rc.local" file runs.
Commands/output:
'lsb_release -rd'
Description: Ubuntu 12.10
Release: 12.10
'sudo apt-cache policy bcmwl-kernel-
bcmwl-kernel-
Installed: 5.100.82.
Candidate: 5.100.82.
Version table:
*** 5.100.82.
500 http://
100 /var/lib/
Found a work-around; the new "fix-wl.sh" script is attached. Basically, it just delays long enough for me to log in, before resetting the wireless adapter.