[PART_SOLVED] Broadcom driver not working on Petra (BCM4313)

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Camera

[PART_SOLVED] Broadcom driver not working on Petra (BCM4313)

Post by Camera »

After two days of trying and googling I finally decided to bother you and ask for help.

I am not able to get Proprietary Broadcom STA Wireless driver for BCM4313 working on Petra (6.30.223.141). When I choose it in driver selection, the icon shows connection, but it is not working in fact. The brcmsmac driverversion=3.11.0-12-generic does give me the wifi connection, but its quality is somehow crappy. Lets say half of the potentially available speed and not very stable.

In Mint 15 I had similar issue, but there - when after getting the connection with wifi I could switch the driver and have faster connection with broadcom STA driver (I do not remember its version, but it was also 6.xx).

Is there anybody here who can explain me step by step (like for the kid) how to fix this (until now the only one) annoying problem?
I am pretty new in the linux world, but already in love with it :-).

Thanks in advance.
Camera

P.S.

Code: Select all

* I. scanning WIFI PCI devices...
  -- Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
      ==> PCI ID = 14e4:4727 (rev 01)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"abcd"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 08:10:76:0B:FF:C4   
          Bit Rate=57.8 Mb/s   Tx-Power=27 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=54/70  Signal level=-56 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:139  Invalid misc:91   Missed beacon:0

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr 20:89:84:dc:a8:98  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:16 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1075 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1075 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:158657 (158.6 KB)  TX bytes:158657 (158.6 KB)

wlan0     Link encap:Ethernet  HWaddr f4:b7:e2:f3:74:87  
          inet addr:192.168.1.11  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::f6b7:e2ff:fef3:7487/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6900 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6979 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4638975 (4.6 MB)  TX bytes:1409330 (1.4 MB)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 4 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Camera

Re: I am too stupid to get Broadcom STA driver working on Pe

Post by Camera »

By the way, when I try to compile the driver from broadcom source (with 'make'), I get the following error:

Code: Select all

KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Wejście do katalogu `/usr/src/linux-headers-3.11.0-12-generic'
/usr/src/linux-headers-3.11.0-12-generic/arch/x86/Makefile:107: CONFIG_X86_X32 enabled but no binutils support
make[1]: *** Brak reguł do wykonania obiektu `(1)'. Stop.
make[1]: Opuszczenie katalogu `/usr/src/linux-headers-3.11.0-12-generic'
make: *** [all] Błąd 2
I have Polish version of Petra, so the following means:

make[1]: Wejście do katalogu - Entering the folder
make[1]: *** Brak reguł do wykonania obiektu - No rules to make the object
make[1]: Opuszczenie katalogu - Leaving folder
[all] Błąd 2 - Error 2

As suppose, I am missing some libraries - would you please give me hint which one?
gold_finger

Re: I am too stupid to get Broadcom STA driver working on Pe

Post by gold_finger »

Camera,
You should be able to get the driver you need through the Synaptic Package Manager, which is in your application menu under either "Administration" or "System", depending on which version of Mint you are using.

*** Open Synaptic, then hit the "Reload" button and wait for it to finish updating itself.

*** In the "Quick filter" search box, type: bcm

*** Read descriptions of any that show as installed on your system (square box to left of name is filled-in or marked). The ones with broadcom wireless descriptions are the ones you need to get rid of. Click the box next to the name each and choose "Mark for Complete Removal". When you've finished marking them, hit the "Apply" button along the top of the window.

(If you don't find any to delete and you know that one is already installed somewhere, do not continue with the next step. Stop and post back here with your exact version of Mint: version # and which desktop -- Cinnamon, Xfce, Mate, KDE?)

*** When they have been removed, then click on the box next to "bcmwl-kernel-source" and choose "Mark for Installation". Hit "Apply".

*** Reboot your computer and check to see if wifi working. Should be good now.

EDIT: ADDITIONAL INFO for others who may see this.
There are different Broadcom drivers for different wifi cards, so don't use this solution unless you are sure it applies to you. To find out which driver is for you go to the following page and follow the instructions under "Supported Devices" section:
[url]http://wireless.kernel.org/en/users/Drivers/b43#Ubuntu.2FDebian[/url]

Basically:
*** For the ones with a "yes" on the listing chart use firmware-b43-installer and b43-fwcutter from Synaptic rather than the one sited above.

*** For the ones with a "yes/legacy" on the listing chart use firmware-b43legacy-installer and b43-fwcutter from Synaptic rather than the one sited above.

*** The ones shown with "brcm80211" in the "Alternative" column will use same solution as shown above.

Pay close attention to the version number of your card if there are listings for it in more than one place.
Camera

Re: I am too stupid to get Broadcom STA driver working on Pe

Post by Camera »

Dear gold_finger,

Thank you for your answer. Please find bellow some details about my system.

I run Cinnamon Linux Mint 16 (Petra) with kernel 3.11.0-12-generic.

The hardware is as follows
#sudo lshw

Code: Select all

                    
    description: Notebook
    product: 20150 (Type1Sku0)
    vendor: LENOVO
    version: Lenovo G580
    serial: SA06061300034
    width: 64 bits
    capabilities: smbios-2.7 dmi-2.7 vsyscall32
    configuration: boot=normal chassis=notebook family=IDEAPAD sku=Type1Sku0 uuid=2940E505-CE88-11E2-A956-208984DCA898
  *-core
       description: Motherboard
       product: Product Name
       vendor: LENOVO
       physical id: 0
       version: Mainboard version
       serial: CB23757902
       slot: Type2 - Board Chassis Location
     *-firmware
          description: BIOS
          vendor: LENOVO
          physical id: 0
          version: 5ECN42WW(V4.01)
          date: 03/14/2013
          size: 128KiB
          capacity: 4544KiB
          capabilities: pci upgrade shadowing cdboot bootselect edd int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int9keyboard int10video acpi usb biosbootspecification uefi
     *-cpu
          description: CPU
          product: Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHz
          vendor: Intel Corp.
          physical id: 4
          bus info: cpu@0
          version: Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHz
          serial: To Be Filled By O.E.M.
          slot: U3E1
          size: 1200MHz
          capacity: 4GHz
          width: 64 bits
          clock: 100MHz
          capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms cpufreq
          configuration: cores=4 enabledcores=4 threads=8
        *-cache:0
             description: L1 cache
             physical id: 9
             slot: L1 Cache
             size: 32KiB
             capacity: 32KiB
             capabilities: internal write-through instruction
        *-cache:1
             description: L2 cache
             physical id: a
             slot: L2 Cache
             size: 256KiB
             capacity: 256KiB
             capabilities: internal write-through unified
        *-cache:2
             description: L3 cache
             physical id: b
             slot: L3 Cache
             size: 6MiB
             capacity: 6MiB
             capabilities: internal write-back unified
     *-cache
          description: L1 cache
          physical id: 8
          slot: L1 Cache
          size: 32KiB
          capacity: 32KiB
          capabilities: internal write-through data
     *-memory
          description: System Memory
          physical id: 28
          slot: System board or motherboard
          size: 8GiB
        *-bank:0
             description: SODIMM DDR3 Synchronous 800 MHz (1,2 ns)
             product: HMT351S6CFR8C-PB
             vendor: Unknown
             physical id: 0
             serial: 4FB32DF4
             slot: DIMM0
             size: 4GiB
             width: 64 bits
             clock: 800MHz (1.2ns)
        *-bank:1
             description: SODIMM DDR3 Synchronous 800 MHz (1,2 ns)
             product: CT51264BF160BJ.M8F
             vendor: Unknown
             physical id: 1
             serial: 00000000
             slot: DIMM1
             size: 4GiB
             width: 64 bits
             clock: 800MHz (1.2ns)
     *-pci
          description: Host bridge
          product: 3rd Gen Core processor DRAM Controller
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 09
          width: 32 bits
          clock: 33MHz
        *-pci:0
             description: PCI bridge
             product: Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port
             vendor: Intel Corporation
             physical id: 1
             bus info: pci@0000:00:01.0
             version: 09
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:40 ioport:3000(size=4096) memory:d2000000-d30fffff ioport:c0000000(size=301989888)
           *-display
                description: VGA compatible controller
                product: GF108M [GeForce GT 635M]
                vendor: NVIDIA Corporation
                physical id: 0
                bus info: pci@0000:01:00.0
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
                configuration: driver=nouveau latency=0
                resources: irq:16 memory:d2000000-d2ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:3000(size=128) memory:d3000000-d307ffff
        *-display
             description: VGA compatible controller
             product: 3rd Gen Core processor Graphics Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 09
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:43 memory:d3400000-d37fffff memory:e0000000-efffffff ioport:4000(size=64)
        *-usb:0
             description: USB controller
             product: 7 Series/C210 Series Chipset Family USB xHCI Host Controller
             vendor: Intel Corporation
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:41 memory:d3a00000-d3a0ffff
        *-communication
             description: Communication controller
             product: 7 Series/C210 Series Chipset Family MEI Controller #1
             vendor: Intel Corporation
             physical id: 16
             bus info: pci@0000:00:16.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=mei_me latency=0
             resources: irq:44 memory:d3a14000-d3a1400f
        *-usb:1
             description: USB controller
             product: 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2
             vendor: Intel Corporation
             physical id: 1a
             bus info: pci@0000:00:1a.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: pm debug ehci bus_master cap_list
             configuration: driver=ehci-pci latency=0
             resources: irq:16 memory:d3a19000-d3a193ff
        *-multimedia
             description: Audio device
             product: 7 Series/C210 Series Chipset Family High Definition Audio Controller
             vendor: Intel Corporation
             physical id: 1b
             bus info: pci@0000:00:1b.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi pciexpress bus_master cap_list
             configuration: driver=snd_hda_intel latency=0
             resources: irq:45 memory:d3a10000-d3a13fff
        *-pci:1
             description: PCI bridge
             product: 7 Series/C210 Series Chipset Family PCI Express Root Port 1
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@0000:00:1c.0
             version: c4
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:17 ioport:2000(size=4096) memory:d3900000-d39fffff
           *-network
                description: Ethernet interface
                product: AR8162 Fast Ethernet
                vendor: Qualcomm Atheros
                physical id: 0
                bus info: pci@0000:02:00.0
                logical name: eth0
                version: 10
                serial: 20:89:84:dc:a8:98
                capacity: 100Mbit/s
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=alx latency=0 link=no multicast=yes port=twisted pair
                resources: irq:46 memory:d3900000-d393ffff ioport:2000(size=128)
        *-pci:2
             description: PCI bridge
             product: 7 Series/C210 Series Chipset Family PCI Express Root Port 2
             vendor: Intel Corporation
             physical id: 1c.1
             bus info: pci@0000:00:1c.1
             version: c4
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:16 memory:d3800000-d38fffff
           *-network
                description: Network controller
                product: BCM4313 802.11bgn Wireless Network Adapter
                vendor: Broadcom Corporation
                physical id: 0
                bus info: pci@0000:03:00.0
                version: 01
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=bcma-pci-bridge latency=0
                resources: irq:17 memory:d3800000-d3803fff
        *-usb:2
             description: USB controller
             product: 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1
             vendor: Intel Corporation
             physical id: 1d
             bus info: pci@0000:00:1d.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: pm debug ehci bus_master cap_list
             configuration: driver=ehci-pci latency=0
             resources: irq:23 memory:d3a18000-d3a183ff
        *-isa
             description: ISA bridge
             product: HM76 Express Chipset LPC Controller
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master cap_list
             configuration: driver=lpc_ich latency=0
             resources: irq:0
        *-storage
             description: SATA controller
             product: 7 Series Chipset Family 6-port SATA Controller [AHCI mode]
             vendor: Intel Corporation
             physical id: 1f.2
             bus info: pci@0000:00:1f.2
             version: 04
             width: 32 bits
             clock: 66MHz
             capabilities: storage msi pm ahci_1.0 bus_master cap_list
             configuration: driver=ahci latency=0
             resources: irq:42 ioport:4088(size=8) ioport:4094(size=4) ioport:4080(size=8) ioport:4090(size=4) ioport:4060(size=32) memory:d3a17000-d3a177ff
        *-serial UNCLAIMED
             description: SMBus
             product: 7 Series/C210 Series Chipset Family SMBus Controller
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@0000:00:1f.3
             version: 04
             width: 64 bits
             clock: 33MHz
             configuration: latency=0
             resources: memory:d3a15000-d3a150ff ioport:4040(size=32)
     *-scsi:0
          physical id: 1
          logical name: scsi0
          capabilities: emulated
        *-disk
             description: ATA Disk
             product: ST1000LM024 HN-M
             vendor: Seagate
             physical id: 0.0.0
             bus info: scsi@0:0.0.0
             logical name: /dev/sda
             version: 2AR1
             serial: S2U5J9FD413596
             size: 931GiB (1TB)
             capabilities: partitioned partitioned:dos
             configuration: ansiversion=5 sectorsize=4096 signature=00084331
           *-volume:0
                description: Windows NTFS volume
                physical id: 1
                bus info: scsi@0:0.0.0,1
                logical name: /dev/sda1
                version: 3.1
                serial: 64ba-df3d
                size: 98MiB
                capacity: 100MiB
                capabilities: primary ntfs initialized
                configuration: clustersize=4096 created=2013-11-23 13:44:20 filesystem=ntfs label=Zastrzeżone przez system state=clean
           *-volume:1
                description: Windows NTFS volume
                physical id: 2
                bus info: scsi@0:0.0.0,2
                logical name: /dev/sda2
                version: 3.1
                serial: 16951b71-9af1-8d44-8263-292510c7855a
                size: 97GiB
                capacity: 97GiB
                capabilities: primary ntfs initialized
                configuration: clustersize=4096 created=2013-11-23 13:45:27 filesystem=ntfs state=clean
           *-volume:2
                description: EXT4 volume
                vendor: Linux
                physical id: 3
                bus info: scsi@0:0.0.0,3
                logical name: /dev/sda3
                logical name: /
                version: 1.0
                serial: e233a9a9-50e1-49ab-b46f-66c135a150f6
                size: 46GiB
                capacity: 46GiB
                capabilities: primary bootable journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
                configuration: created=2013-12-03 00:42:11 filesystem=ext4 lastmountpoint=/ modified=2013-12-04 09:45:54 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,data=ordered mounted=2013-12-04 09:45:54 state=mounted
           *-volume:3
                description: Extended partition
                physical id: 4
                bus info: scsi@0:0.0.0,4
                logical name: /dev/sda4
                size: 787GiB
                capacity: 787GiB
                capabilities: primary extended partitioned partitioned:extended
              *-logicalvolume:0
                   description: Linux swap / Solaris partition
                   physical id: 5
                   logical name: /dev/sda5
                   capacity: 15GiB
                   capabilities: nofs
              *-logicalvolume:1
                   description: Linux filesystem partition
                   physical id: 6
                   logical name: /dev/sda6
                   logical name: /home
                   capacity: 698GiB
                   configuration: mount.fstype=ext4 mount.options=rw,relatime,data=ordered state=mounted
              *-logicalvolume:2
                   description: Linux filesystem partition
                   physical id: 7
                   logical name: /dev/sda7
                   logical name: /tmp
                   capacity: 73GiB
                   configuration: mount.fstype=ext4 mount.options=rw,relatime,data=ordered state=mounted
     *-scsi:1
          physical id: 2
          logical name: scsi2
          capabilities: emulated
        *-cdrom
             description: DVD-RAM writer
             product: DVD-RAM UJ8D1
             vendor: MATSHITA
             physical id: 0.0.0
             bus info: scsi@2:0.0.0
             logical name: /dev/cdrom
             logical name: /dev/sr0
             version: 8.10
             capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
             configuration: ansiversion=5 status=nodisc
     *-scsi:2
          physical id: 3
          bus info: usb@1:1.4
          logical name: scsi6
          capabilities: emulated scsi-host
          configuration: driver=rts5139
        *-disk
             description: SCSI Disk
             product: xD/SD/M.S.
             vendor: Generic-
             physical id: 0.0.0
             bus info: scsi@6:0.0.0
             logical name: /dev/sdb
             version: 1.00
             serial: 3
             capabilities: removable
             configuration: sectorsize=512
           *-medium
                physical id: 0
                logical name: /dev/sdb
  *-battery
       description: Lithium Ion Battery
       product: CRB Battery 0
       vendor: -Virtual Battery 0-
       physical id: 1
       version: 07/07/2010
       serial: Battery 0
       slot: Fake
  *-power UNCLAIMED
       description: OEM_Define1
       product: OEM_Define5
       vendor: OEM_Define2
       physical id: 2
       version: OEM_Define6
       serial: OEM_Define3
       capacity: 75mWh
  *-network
       description: Wireless interface
       physical id: 3
       logical name: wlan0
       serial: f4:b7:e2:f3:74:87
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=brcmsmac driverversion=3.11.0-12-generic firmware=610.812 ip=192.168.1.4 link=yes multicast=yes wireless=IEEE 802.11bgn

Under "Additional Drivers" I have two options:
1. bcmwl-kernel-source v. 6.30.223.141+bdcom-0ubuntu1
or second
2. Do not use the device

When I choose the first one, the icon in the system tray shows the full connection, but it doesn't really operate. Also #ping shows the same

Code: Select all

From 192.168.1.4 icmp_seq=1 Destination Host Unreachable
When I choose "Do not use the device" the connection works but it is weak and not stable, even when I am 2 meters from router.

#iwconfig

Code: Select all

wlan0     IEEE 802.11bgn  ESSID:"KP_Network"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 08:10:76:0B:FF:C4   
          Bit Rate=1 Mb/s   Tx-Power=27 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=39/70  Signal level=-71 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:111  Invalid misc:72   Missed beacon:0
#lsmod

Code: Select all

Module                  Size  Used by
parport_pc             32701  0 
ppdev                  17671  0 
bnep                   19564  2 
rfcomm                 69070  12 
binfmt_misc            17468  1 
joydev                 17377  0 
arc4                   12608  2 
brcmsmac              562767  0 
cordic                 12574  1 brcmsmac
brcmutil               15618  1 brcmsmac
b43                   387185  0 
x86_pkg_temp_thermal    14162  0 
intel_powerclamp       14705  0 
coretemp               13435  0 
mac80211              596969  2 b43,brcmsmac
kvm                   431315  0 
crct10dif_pclmul       14289  0 
crc32_pclmul           13113  0 
ghash_clmulni_intel    13259  0 
aesni_intel            55624  2 
aes_x86_64             17131  1 aesni_intel
lrw                    13257  1 aesni_intel
gf128mul               14951  1 lrw
glue_helper            13990  1 aesni_intel
ablk_helper            13597  1 aesni_intel
cryptd                 20329  3 ghash_clmulni_intel,aesni_intel,ablk_helper
cfg80211              479757  3 b43,brcmsmac,mac80211
ssb                    57932  1 b43
dm_multipath           22843  0 
scsi_dh                14882  1 dm_multipath
snd_hda_codec_hdmi     41276  1 
uvcvideo               80885  0 
snd_hda_codec_conexant    56945  1 
videobuf2_vmalloc      13216  1 uvcvideo
microcode              23518  0 
videobuf2_memops       13362  1 videobuf2_vmalloc
videobuf2_core         40469  1 uvcvideo
videodev              133390  2 uvcvideo,videobuf2_core
psmouse                97626  0 
serio_raw              13413  0 
snd_hda_intel          48171  3 
snd_hda_codec         188738  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
bcma                   46670  3 b43,brcmsmac
snd_hwdep              13602  1 snd_hda_codec
rts5139               331166  0 
snd_pcm               102033  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
lpc_ich                21080  0 
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
snd_seq_midi           13324  0 
snd_seq_midi_event     14899  1 snd_seq_midi
btusb                  28267  0 
snd_rawmidi            30095  1 snd_seq_midi
bluetooth             371874  22 bnep,btusb,rfcomm
snd_seq                61560  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              29433  2 snd_pcm,snd_seq
snd                    69141  17 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
mei_me                 18421  0 
mei                    77692  1 mei_me
soundcore              12680  1 snd
ideapad_laptop         18342  0 
sparse_keymap          13948  1 ideapad_laptop
mac_hid                13205  0 
lp                     17759  0 
parport                42299  3 lp,ppdev,parport_pc
dm_mirror              22056  0 
dm_region_hash         20784  1 dm_mirror
dm_log                 18411  2 dm_region_hash,dm_mirror
hid_logitech_dj        18581  0 
usbhid                 53014  0 
hid                   101512  3 usbhid,hid_logitech_dj
nouveau               943295  1 
i915                  655752  3 
mxm_wmi                13021  1 nouveau
wmi                    19070  2 mxm_wmi,nouveau
ttm                    83995  1 nouveau
i2c_algo_bit           13413  2 i915,nouveau
drm_kms_helper         52651  2 i915,nouveau
drm                   296739  7 ttm,i915,drm_kms_helper,nouveau
alx                    32255  0 
mdio                   13807  1 alx
ahci                   25819  4 
libahci                31898  1 ahci
video                  19318  2 i915,nouveau
In the Synaptic, with search phrase bcm I get the following:

bcmwl-kernel-source 6.30.223.141+bdcom-0ubuntu1
broadcom-sta-common 5.100.82.112-11
broadcom-sta-source 5.100.82.112-11
broadcom-sta-dkms 5.100.82.112-11
firmware-b43-installer 1:017-2
firmware-b43legacy-installer 1:017-2
b43-fwcutter 1:017-2

None of them are marked as installed.
Shall I completely remove all of them and reinstall bcmwl-kernel-source?

Yesterday I have reinstalled bcmwl with:

Code: Select all

sudo apt-get --reinstall install bcmwl-kernel-source
but without any positive effects.

I have also tried (as suggested on number of forums) to blacklist the following

Code: Select all

echo "blacklist ssb" >> /etc/modprobe.d/blacklist.conf
echo "blacklist bcma" >> /etc/modprobe.d/blacklist.conf
echo "blacklist b43" >> /etc/modprobe.d/blacklist.conf
echo "blacklist brcmsmac" >> /etc/modprobe.d/blacklist.conf
I did it by the Terminal commands and also manually editing /etc/modprobe.d/blacklist.conf but without any positive change

During last 5 days I have re-installed the whole system already 5 times - because during different trials and errors I was reaching the point when no connection at all was present and I am not experienced enough to fix it - and I am still in the same point.

As mentioned before, for half a year I was using Cinnamon Mint 15 with a lot of fun and no problems, so believe this one is also fixable, but still don't know how :-)

Looking forward for any good hint from you gold_finger, and from anybody empathic ;-)

Regards
Camera
Camera

Re: I am too stupid to get Broadcom STA driver working on Pe

Post by Camera »

OK, the story is still under development.

I have installed bcmwl-kernel-source using Synaptic. That caused automatic switch the wifi driver in "Additional Drivers" from "Do not use device" to this just installed. The wifi connected to the router but it was not transferring any data. After reboot the same.

When I switched to the previous option ("Do not use the device") it started trying to connect but asked about the wifi password. And kept asking without connecting.

So I switched back in "Additional drivers" to the just installed bcmwl-kernel...

Rebooted.

Again it shows the connection, but doesnt work. I have blacklisted the following in /etc/modprobe.d/blacklist.conf
blacklist brcmsmac
blacklist ssb
blacklist b43
blacklist bcma.

Rebooted. And no effect.

lsmod

Code: Select all

Module                  Size  Used by
parport_pc             32701  0 
ppdev                  17671  0 
rfcomm                 69070  12 
bnep                   19564  2 
binfmt_misc            17468  1 
joydev                 17377  0 
lib80211_crypt_tkip    17619  0 
wl                   4207474  0 
x86_pkg_temp_thermal    14162  0 
intel_powerclamp       14705  0 
coretemp               13435  0 
kvm                   431315  0 
crct10dif_pclmul       14289  0 
crc32_pclmul           13113  0 
ghash_clmulni_intel    13259  0 
aesni_intel            55624  0 
aes_x86_64             17131  1 aesni_intel
lrw                    13257  1 aesni_intel
gf128mul               14951  1 lrw
glue_helper            13990  1 aesni_intel
ablk_helper            13597  1 aesni_intel
cryptd                 20329  3 ghash_clmulni_intel,aesni_intel,ablk_helper
snd_hda_codec_hdmi     41276  1 
snd_hda_codec_conexant    56945  1 
lib80211               14352  2 wl,lib80211_crypt_tkip
dm_multipath           22843  0 
scsi_dh                14882  1 dm_multipath
snd_hda_intel          48171  3 
snd_hda_codec         188738  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
snd_hwdep              13602  1 snd_hda_codec
snd_pcm               102033  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
microcode              23518  0 
uvcvideo               80885  0 
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
videobuf2_vmalloc      13216  1 uvcvideo
videobuf2_memops       13362  1 videobuf2_vmalloc
videobuf2_core         40469  1 uvcvideo
snd_seq_midi           13324  0 
snd_seq_midi_event     14899  1 snd_seq_midi
psmouse                97626  0 
serio_raw              13413  0 
videodev              133390  2 uvcvideo,videobuf2_core
btusb                  28267  0 
rts5139               331166  0 
bluetooth             371874  22 bnep,btusb,rfcomm
snd_rawmidi            30095  1 snd_seq_midi
snd_seq                61560  2 snd_seq_midi_event,snd_seq_midi
lpc_ich                21080  0 
cfg80211              479757  1 wl
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              29433  2 snd_pcm,snd_seq
mei_me                 18421  0 
mei                    77692  1 mei_me
snd                    69141  17 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
soundcore              12680  1 snd
ideapad_laptop         18342  0 
sparse_keymap          13948  1 ideapad_laptop
mac_hid                13205  0 
lp                     17759  0 
parport                42299  3 lp,ppdev,parport_pc
dm_mirror              22056  0 
dm_region_hash         20784  1 dm_mirror
dm_log                 18411  2 dm_region_hash,dm_mirror
hid_logitech_dj        18581  0 
usbhid                 53014  0 
Probably here is the problem, that wl is not loading. It is not loaded also by

Code: Select all

modprobe wl
It is also not located by

Code: Select all

locate wl.ko
But wl.ko exist in the system in

/lib/modules/3.11.0-12-generic/updates

In fact it was created during bcmwl-kernel-source instalation. But it is not loading and it is not found by the system.

Do you have any opinion about this mystery?

(Now I have no wifi and writing wired on 70 cm cable - pretty uncomfortable ;-) )

Camera
gold_finger

Re: I am too stupid to get Broadcom STA driver working on Pe

Post by gold_finger »

First, just to be sure: Did you remove whatever driver you were using before installing the new one? If not, remove everything for Broadcom wireless -- mark for "complete" removal. Then install the correct one again.

If you did remove old before installing new, I'm not sure what is wrong but think that one of the ones you blacklisted is the one you need.
Camera wrote:I have blacklisted the following in /etc/modprobe.d/blacklist.conf
blacklist brcmsmac
blacklist ssb
blacklist b43
blacklist bcma.
I think brcmsmac is the one you need, so remove that from blacklisting (leave the others blacklisted) and reboot again to see if it worked.

If not, I don't know that I'll be able to help much. Use this search engine to see if you can find other solutions: Linux Beginner Search Engine. Plug your Broadcom model # into the search engine -- you should get many results back.
Camera

Re: I am too stupid to get Broadcom STA driver working on Pe

Post by Camera »

Next story about this strange driver.

I have installed bcmwl-kernel-source using Synaptic. It added wl.ko to /lib/modules/3.11.0-12-generic/updates. The network was visible but not working properly - all as described before.

Than I wanted to come back to have any wifi network - so commented (#) blacklisted drivers and switch back to "Do not use this device" in the "Additional Drivers" menu. Rebooted. The network was back - not well working, but working. And now the interesting thing is coming:

In Synaptic bcmwl-kernel-source driver was again shown as not installed, and wl.ko file from /lib/modules/3.11.0-12-generic/updates disapeared. I did not delete them and not uninstalled the driver (an not drinking any alcohol this evening). They simply disapeared.

Is there an explanation for this?

C.
Timberbeast

Re: I am too stupid to get Broadcom STA driver working on Pe

Post by Timberbeast »

@Camera
I have been following your problem. I had nearly the same problems as you did after I installed Petra-Mate on my old Dell. Only, mine was the b43 driver. I re-installed only once, but I wasted 2 days on it, fighting with the driver.

This might be no help, forgive me if I am wrong. But ... did you check the security settings on the router and the wifi connection? That was my problem, so I *was* stupid. I hate to admit it. Old timer's I guess. No other excuse.

I reset the security and the MAC address to *disable* on the router, and deleted the security on the wifi connection. Rebooted and there it was. Rebooted a couple of times to be sure, and reset the security. And now, I am a happy camper.

Good luck, :D
larry
gold_finger

Re: I am too stupid to get Broadcom STA driver working on Pe

Post by gold_finger »

Camera wrote:In Synaptic bcmwl-kernel-source driver was again shown as not installed, and wl.ko file from /lib/modules/3.11.0-12-generic/updates disapeared. I did not delete them and not uninstalled the driver (an not drinking any alcohol this evening). They simply disapeared.

Is there an explanation for this?
Yes, I believe that when you
Camera wrote:switch back to "Do not use this device" in the "Additional Drivers" menu
that will actually uninstall the drivers.
Camera wrote:I have installed bcmwl-kernel-source using Synaptic. It added wl.ko to /lib/modules/3.11.0-12-generic/updates. The network was visible but not working properly - all as described before.
I'm really not sure what else to do other than what I suggested a couple of posts up from here.
gold_finger wrote:I think brcmsmac is the one you need, so remove that from blacklisting (leave the others blacklisted) and reboot again to see if it worked.
If that didn't do anything, maybe try doing as Timberbeast suggested. Sounds like it's worth a try -- can't hurt anything at least.
Camera

Re: I am too stupid to get Broadcom STA driver working on Pe

Post by Camera »

Hallo again,

Let me update you about the situation... in fact I am still deep in the forest, and started to think about going back to Mint 15... :-(

Thank you gold_finger and Timberbeast for your input, but unfortunately it did not work. Playing with security on the router did not change the situation. Also leaving brcmsmac unblocked is probably not a good idea as far as it is a competing driver for wl I want to wake up.

In the meantime I did pretty interesting test. Started Mint 15 from Live USB. At first it connected with brcmsmac. Than in "Additional drivers" I switched to bcmwl. Connected to router with no problems and working. In fact, working far better than brmsmac. Please take a look at the results:

Results for brcmsmac:
[img]http://www.speedtest.net/result/3146568344.png[/img]

Results for bcmwl:
[img]http://www.speedtest.net/result/3146571871.png[/img]

and this difference was consistent. Please note that under Mint 15 bcmwl driver is in the previous version 6.20.155.1+bdcom-0ubuntu6

Than I did the same using Live USB with Mint 16 (both versions as Cinnamon).
While it connected and working using brcmsmac, it connected but not working properly after switch to bcmwl.

Please find below the results of #lsmod with bsmwl driver in Mint 15 (working perfect) and Mint 16 (not working properly):

Mint 15

Code: Select all

mint@mint ~ $ lsmod
Module                  Size  Used by
lib80211_crypt_tkip    17379  0 
wl                   3074449  0 
lib80211               14352  2 wl,lib80211_crypt_tkip
dm_crypt               22820  0 
joydev                 17377  0 
arc4                   12615  0 
snd_hda_codec_hdmi     36913  1 
snd_hda_codec_conexant    62000  1 
uvcvideo               80847  0 
videobuf2_vmalloc      13056  1 uvcvideo
videobuf2_memops       13202  1 videobuf2_vmalloc
videobuf2_core         40513  1 uvcvideo
snd_hda_intel          39619  3 
videodev              129260  2 uvcvideo,videobuf2_core
snd_hda_codec         136453  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
snd_hwdep              13602  1 snd_hda_codec
snd_pcm                97451  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
coretemp               13355  0 
rts5139               352481  0 
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
snd_seq_midi           13324  0 
cordic                 12574  0 
parport_pc             28152  0 
brcmutil               14755  0 
mac80211              606457  0 
ppdev                  17073  0 
snd_seq_midi_event     14899  1 snd_seq_midi
snd_rawmidi            30180  1 snd_seq_midi
kvm                   443165  0 
lp                     17759  0 
bnep                   18036  2 
btusb                  22474  0 
cfg80211              510937  2 wl,mac80211
parport                46345  3 lp,ppdev,parport_pc
snd_seq                61554  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              29425  2 snd_pcm,snd_seq
rfcomm                 42641  12 
ghash_clmulni_intel    13259  0 
bluetooth             228619  22 bnep,btusb,rfcomm
ideapad_laptop         18394  0 
aesni_intel            55399  0 
dm_multipath           22843  0 
snd                    68876  16 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device
sparse_keymap          13890  1 ideapad_laptop
aes_x86_64             17255  1 aesni_intel
xts                    12885  1 aesni_intel
lrw                    13257  1 aesni_intel
gf128mul               14951  2 lrw,xts
ablk_helper            13597  1 aesni_intel
cryptd                 20373  3 ghash_clmulni_intel,aesni_intel,ablk_helper
mac_hid                13205  0 
soundcore              12680  1 snd
scsi_dh                14843  1 dm_multipath
psmouse                95870  0 
mei                    41158  0 
serio_raw              13215  0 
alx                    67960  0 
lpc_ich                17061  0 
mdio                   13807  1 alx
microcode              22881  0 
binfmt_misc            17500  1 
squashfs               36522  1 
overlayfs              28003  1 
nls_utf8               12557  1 
isofs                  39815  1 
dm_raid45              76725  0 
xor                    17116  1 dm_raid45
dm_mirror              21946  0 
dm_region_hash         20820  1 dm_mirror
dm_log                 18529  3 dm_region_hash,dm_mirror,dm_raid45
hid_logitech_dj        18604  0 
usbhid                 47074  1 hid_logitech_dj
hid                   101002  2 usbhid,hid_logitech_dj
usb_storage            57204  1 
nouveau               939088  1 
i915                  600351  3 
mxm_wmi                13021  1 nouveau
wmi                    19070  2 mxm_wmi,nouveau
ttm                    83187  1 nouveau
video                  19390  2 i915,nouveau
i2c_algo_bit           13413  2 i915,nouveau
drm_kms_helper         49394  2 i915,nouveau
drm                   286313  7 ttm,i915,drm_kms_helper,nouveau
ahci                   25731  1 
libahci                31364  1 ahci
mint@mint ~ $ 
Mint 16

Code: Select all

Module                  Size  Used by
lib80211_crypt_tkip    17619  0 
wl                   4207474  0 
lib80211               14352  2 wl,lib80211_crypt_tkip
dm_crypt               22728  0 
joydev                 17377  0 
x86_pkg_temp_thermal    14162  0 
intel_powerclamp       14705  0 
arc4                   12608  0 
coretemp               13435  0 
cordic                 12574  0 
brcmutil               15618  0 
kvm                   431315  0 
snd_hda_codec_hdmi     41276  1 
snd_hda_codec_conexant    56945  1 
mac80211              596969  0 
crct10dif_pclmul       14289  0 
crc32_pclmul           13113  0 
ghash_clmulni_intel    13259  0 
snd_hda_intel          48171  3 
aesni_intel            55624  0 
aes_x86_64             17131  1 aesni_intel
cfg80211              479757  2 wl,mac80211
lrw                    13257  1 aesni_intel
snd_hda_codec         188738  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
gf128mul               14951  1 lrw
glue_helper            13990  1 aesni_intel
snd_hwdep              13602  1 snd_hda_codec
ablk_helper            13597  1 aesni_intel
cryptd                 20329  3 ghash_clmulni_intel,aesni_intel,ablk_helper
snd_pcm               102033  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
uvcvideo               80885  0 
videobuf2_vmalloc      13216  1 uvcvideo
videobuf2_memops       13362  1 videobuf2_vmalloc
videobuf2_core         40469  1 uvcvideo
btusb                  28267  0 
videodev              133390  2 uvcvideo,videobuf2_core
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
rts5139               331166  0 
snd_seq_midi           13324  0 
dm_multipath           22843  0 
snd_seq_midi_event     14899  1 snd_seq_midi
snd_rawmidi            30095  1 snd_seq_midi
scsi_dh                14882  1 dm_multipath
parport_pc             32701  0 
mei_me                 18421  0 
snd_seq                61560  2 snd_seq_midi_event,snd_seq_midi
ppdev                  17671  0 
mei                    77692  1 mei_me
lp                     17759  0 
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              29433  2 snd_pcm,snd_seq
parport                42299  3 lp,ppdev,parport_pc
ideapad_laptop         18342  0 
lpc_ich                21080  0 
sparse_keymap          13948  1 ideapad_laptop
mac_hid                13205  0 
snd                    69141  17 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
soundcore              12680  1 snd
psmouse                97626  0 
serio_raw              13413  0 
microcode              23518  0 
bnep                   19564  2 
rfcomm                 69070  12 
bluetooth             371874  22 bnep,btusb,rfcomm
binfmt_misc            17468  1 
squashfs               47663  1 
overlayfs              27858  1 
nls_utf8               12557  1 
isofs                  39815  1 
dm_mirror              22056  0 
dm_region_hash         20784  1 dm_mirror
dm_log                 18411  2 dm_region_hash,dm_mirror
hid_logitech_dj        18581  0 
usbhid                 53014  0 
hid                   101512  3 usbhid,hid_logitech_dj
usb_storage            62062  1 
nouveau               943295  1 
i915                  655752  3 
mxm_wmi                13021  1 nouveau
wmi                    19070  2 mxm_wmi,nouveau
ttm                    83995  1 nouveau
i2c_algo_bit           13413  2 i915,nouveau
drm_kms_helper         52651  2 i915,nouveau
drm                   296739  7 ttm,i915,drm_kms_helper,nouveau
alx                    32255  0 
ahci                   25819  1 
mdio                   13807  1 alx
libahci                31898  1 ahci
video                  19318  2 i915,nouveau
I do not see any important differences (but I am linux rookie), do you?

By the way - in Mint 15 bsmwl was not starting properly when booted with this driver selected - but when booted with "don't use this device" and than changed to bsmwl it was working like a charm.

I am still trying, but getting closer and closer to go back to Mint 15 I was using with no problems for 5 month (ok it was with old computer, but anyway ... with the new one it was flying last two weeks).
Please stop me to do, as it would be shame to give up!!! :-)

Best wishes
Camera
gold_finger

Re: I am too stupid to get Broadcom STA driver working on Pe

Post by gold_finger »

Yes, something must have changed between versions. Don't know enough about it to try sorting that out. Might just be best to stick with 15 for now until May, 2014 when new long-term release, Mint 17, comes out. Maybe the issue will be solved by then.
Camera

Re: I am too stupid to get Broadcom STA driver working on Pe

Post by Camera »

But the weak point of this would be, that Olivia will be supported only till January 2014...

Would it be any way to downgrade the wl driver to the previous version and working?
gold_finger

Re: I am too stupid to get Broadcom STA driver working on Pe

Post by gold_finger »

Camera wrote:But the weak point of this would be, that Olivia will be supported only till January 2014...
True, but in reality probably not that big of a deal -- just means you won't get new updates for a few months. Yes, in theory you could miss security updates that close vulnerabilities; but weighed against the probability that an exploit of such were to be developed, then deployed against YOU in particular in that time frame, I'd say the odds are pretty slim. But I understand the concern -- you never know -- and don't know that I would risk it either.
Camera wrote:Would it be any way to downgrade the wl driver to the previous version and working?
There probably is a way, but I myself don't know how. I did a quick search using the search engine I referenced in above post and came up with this:
[url]http://askubuntu.com/questions/250858/broadcom-wireless-bcm4313-on-12-04-lts[/url]
Hopefully that will work for you. If not do another search for answer. All else fails, start another post asking for help: "How to Downgrade Broadcom Wireless Driver". That title will better attract attention of people who know vs. title on this post.
Camera

Re: [SOLVED] Broadcom STA driver not working on Petra

Post by Camera »

Hurra!

It seems, that I finally got my Broadcom 4313 working on wl driver on Petra.

The solution is strange, as strange is this wifi card. Searching as a mole in the internet I found this Windows community page
[url]http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/broadcom-4313-80211bgn-not-working-on-wpa2-psk-aes/25bfe295-9e21-4387-b888-56d456aac466[/url]

And in my case is the same. The card works when (and only then) the security settings on wifi router are set to WPA-PSK with encryption set to TKIP. With all other settings and their combinations there is strong connection with the router but no transfer at all. I do not understand anything from this, but at least it works!
I gave up, went back to Mint 15, after 12 hours returned to 16 and here we are ;-)

I was determined to use wl driver, as in my case the wifi signal with it is much stronger comparing to brcmsmac (almost double).


Still the speed is not on maximum capacity, but it is definitelly usable.
So, Timberbeast, you have shown the direction :-)

Regards
Camera
Locked

Return to “Networking”