Cannot connect to wifi after upgrade to 13.10 (BCM4313)

[Edit: the solution provided by chili555 solved my problem. However, note that I further had to remove the drivers "brcmsmac" and "bcma" from blacklisting in order for them to load at each boot (files "broadcom-sta-common.conf" and "blacklist-brcmsmac.conf", not sure it is needed for both files though...). Hope this won't lead to any conflicts.]

I've just upgraded my ubuntu from 12.04 to 13.10 by successive upgades. My main problem after those is that I have trouble to connect to wireless.

Looking through the net, I saw that many people already met this problem, but neither of the methods i tried to fix it did work:

  • https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx
  • After Ubuntu Upgrade, cannot connect to wifi(wireless)
  • 13.10 BCM4313 network problems after update

The main effect of the bcmwl-kernel-source driver re-installation (whatever was by the "Softwares & Updates" desktop menu or by the terminal) was to allow the Broadcom card to be detected. Unfortunately, my laptop is still not able to connect to the wireless networks (like for the question: https://askubuntu.com/questions/378308/can-find-network-but-cannot-connect-to-it-ubuntu-13-10)

Therefore, I would greatly appreciate any help about that! Many thanks in advance.

Here some details of my hardware and drivers:

$ lspci | grep -i wireless
03:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)

$ uname -a
Linux ludo-E6530 3.11.0-15-generic #23-Ubuntu SMP Mon Dec 9 18:17:04 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

And the wireless network section of

sudo lshw

       *-network
            description: Wireless interface
            product: BCM4313 802.11bgn Wireless Network Adapter
            vendor: Broadcom Corporation
            physical id: 0
            bus info: pci@0000:03:00.0
            logical name: eth1
            version: 01
            serial: 08:3e:8e:50:1c:ee
            width: 64 bits
            clock: 33MHz
            capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
            configuration: broadcast=yes driver=wl0 driverversion=6.30.223.141 (r415941) latency=0 multicast=yes wireless=IEEE 802.11abg
            resources: irq:17 memory:f7600000-f7603fff

Solution 1:

Let's try the other possibility. With a temporary wired ethernet connection:

sudo apt-get remove --purge bcmwl-kernel-source
sudo apt-get install linux-firmware-nonfree
sudo modprobe brcmsmac

It may take a reboot.

Solution 2:

Don't know if this will help, but i notice you did not install linux hearders.
Install linux headers and then reinstall bcmwl:

sudo apt-get install linux-headers-generic
sudo apt-get install --reinstall bcmwl-kernel-source

After that log out and log in again.