Can't get BCM43142 to work with 17.1 Cinnamon x64

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
necromorph

Can't get BCM43142 to work with 17.1 Cinnamon x64

Post by necromorph »

Recently installed 17.1 Cinnamon x64 and all seems good, except for WiFi. The system is a Lenovo G510 with a Broadcom BCM43142. I initially tried the bcmwl-kernel-source from 'Driver Manager', to no avail. I also tried manually installing the driver from :

http://www.broadcom.com/support/802.11/linux_sta.php

following the instructions at : http://www.broadcom.com/docs/linux_sta/ ... 23.248.txt

Confirmed that Wireless is enabled in the BIOS. Tried resetting BIOS to defaults as well as re-inserting the CMOS battery.
Previously had Windows 7 on this and WiFi worked on that. Currently, Mint is the only OS installed.

I also tried updating the kernel to 3.13.0-45 & 3.16.0-30 but that didn't help, so reverted to the default 3.13.0-37.

Have added the following lines to the /etc/modprobe.d/blacklist.conf file :

blacklist ideapad_laptop
blacklist ssb
blacklist bcma
blacklist b43
blacklist brcmsmac

blacklist bcm43xx was added in there by default by Mint.

Code: Select all

sudo /usr/lib/linuxmint/mintWifi/mintWifi.py
-------------------------
* I. scanning WIFI PCI devices...
  -- Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
      ==> PCI ID = 14e4:4365 (rev 01)
-------------------------
* II. querying ndiswrapper...
Protocol spec without prior Class and Subclass spec at line 17397
-------------------------
* III. querying iwconfig...
usb0      no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11abg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=200 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
lo        no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr 20:89:84:f5:3a:e9  
          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:18 

eth1      Link encap:Ethernet  HWaddr 1c:3e:84:ea:86:bd  
          inet6 addr: fe80::1e3e:84ff:feea:86bd/64 Scope:Link
          UP BROADCAST RUNNING 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:17 

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:461 errors:0 dropped:0 overruns:0 frame:0
          TX packets:461 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:44048 (44.0 KB)  TX bytes:44048 (44.0 KB)

usb0      Link encap:Ethernet  HWaddr 02:64:06:68:06:79  
          inet addr:192.168.42.108  Bcast:192.168.42.255  Mask:255.255.255.0
          inet6 addr: fe80::64:6ff:fe68:679/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:36013 errors:14 dropped:0 overruns:0 frame:14
          TX packets:30252 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:47104677 (47.1 MB)  TX bytes:3934161 (3.9 MB)

-------------------------
* V. querying DHCP...
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
Server:		127.0.1.1
Address:	127.0.1.1#53

Non-authoritative answer:
Name:	google.com
Address: 74.125.236.36
Name:	google.com
Address: 74.125.236.41
Name:	google.com
Address: 74.125.236.34
Name:	google.com
Address: 74.125.236.46
Name:	google.com
Address: 74.125.236.38
Name:	google.com
Address: 74.125.236.39
Name:	google.com
Address: 74.125.236.37
Name:	google.com
Address: 74.125.236.40
Name:	google.com
Address: 74.125.236.32
Name:	google.com
Address: 74.125.236.33
Name:	google.com
Address: 74.125.236.35

Code: Select all

uname -a
Linux a***h-Lenovo-G510 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Code: Select all

find / -name "wl.ko*"
/lib/modules/3.13.0-37-generic/kernel/net/wireless/wl.ko

Code: Select all

iwconfig
usb0      no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11abg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=200 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
lo        no wireless extensions.

Code: Select all

modinfo wl
filename:       /lib/modules/3.13.0-37-generic/kernel/net/wireless/wl.ko
srcversion:     893D23312256593BB5C5B62
alias:          pci:v*d*sv*sd*bc02sc80i*
depends:        cfg80211
vermagic:       3.13.0-37-generic SMP mod_unload modversions 
parm:           passivemode:int
parm:           wl_txq_thresh:int
parm:           oneonly:int
parm:           piomode:int
parm:           instance_base:int
parm:           nompc:int
parm:           intf_name:string

Code: Select all

lspci -nnk | grep -iA2 net
02:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
	Subsystem: Lenovo Device [17aa:0611]
	Kernel driver in use: wl
03:00.0 Ethernet controller [0200]: Qualcomm Atheros QCA8172 Fast Ethernet [1969:10a0] (rev 10)
	Subsystem: Lenovo Device [17aa:3801]
	Kernel driver in use: alx

Code: Select all

lshw -C network
  *-network               
       description: Wireless interface
       product: BCM43142 802.11b/g/n
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eth1
       version: 01
       serial: 1c:3e:84:ea:86:bd
       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.248 (r487574) latency=0 multicast=yes wireless=IEEE 802.11abg
       resources: irq:17 memory:b0500000-b0507fff
  *-network
       description: Ethernet interface
       product: QCA8172 Fast Ethernet
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: eth0
       version: 10
       serial: 20:89:84:f5:3a:e9
       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:b0400000-b043ffff ioport:3000(size=128)
  *-network
       description: Ethernet interface
       physical id: 3
       logical name: usb0
       serial: 02:64:06:68:06:79
       capabilities: ethernet physical
       configuration: broadcast=yes driver=rndis_host driverversion=22-Aug-2005 firmware=RNDIS device ip=192.168.42.108 link=yes multicast=yes

Code: Select all

nm-tool

NetworkManager Tool

State: connected (global)

- Device: eth0 -----------------------------------------------------------------
  Type:              Wired
  Driver:            alx
  State:             unavailable
  Default:           no
  HW Address:        20:89:84:F5:3A:E9

  Capabilities:
    Carrier Detect:  yes

  Wired Properties
    Carrier:         off


- Device: eth1 -----------------------------------------------------------------
  Type:              802.11 WiFi
  Driver:            wl
  State:             unavailable
  Default:           no
  HW Address:        1C:3E:84:EA:86:BD

  Capabilities:

  Wireless Properties
    WEP Encryption:  yes
    WPA Encryption:  yes
    WPA2 Encryption: yes

  Wireless Access Points 


- Device: usb0  [Wired connection 1] -------------------------------------------
  Type:              Wired
  Driver:            rndis_host
  State:             connected
  Default:           yes
  HW Address:        02:64:06:68:06:79

  Capabilities:
    Carrier Detect:  yes

  Wired Properties
    Carrier:         on

  IPv4 Settings:
    Address:         192.168.42.108
    Prefix:          24 (255.255.255.0)
    Gateway:         192.168.42.129

    DNS:             192.168.42.129

Code: Select all

rfkill list all
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: brcmwl-0: Wireless LAN
	Soft blocked: no
	Hard blocked: yes
The F7 key is the WiFi/Bluetooth toggle, but all that does is change the 'Soft Blocked' status to yes/no. The Hard Blocked status remains 'yes' no matter what.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: Can't get BCM43142 to work with 17.1 Cinnamon x64

Post by JeremyB »

Post the full output of

Code: Select all

lsmod
and have you rebooted with the ethernet cable disconnected since adding ideapad_laptop to the blacklist?
necromorph

Re: Can't get BCM43142 to work with 17.1 Cinnamon x64

Post by necromorph »

Since installing Mint, I've been using USB tethering via my phone - never connected this system via the ethernet jack. That being said, I have rebooted while having the phone disconnected. I think the only difference I've noticed is that I didn't have to run 'ifconfig eth1 up' so that the adapter doesn't show as disabled when running 'lshw -C network'.
I also noticed that when I had installed the bcmwl-kernel-source driver initially, the adapter would show up as 'wlan0', whereas now it shows up as 'eth1'. I was able to run 'iwlist wlan0 scan' before (which produced no results) but now when I run 'iwlist eth1 scan', I see "eth1 Interface doesn't support scanning : Invalid argument"

Here's lsmod :

Code: Select all

lsmod
Module                  Size  Used by
rndis_host             14503  0 
cdc_ether              14351  1 rndis_host
usbnet                 43913  2 rndis_host,cdc_ether
mii                    13934  1 usbnet
ip6t_REJECT            12939  1 
xt_hl                  12521  6 
ip6t_rt                13537  3 
nf_conntrack_ipv6      18894  8 
nf_defrag_ipv6         34768  1 nf_conntrack_ipv6
ipt_REJECT             12541  1 
xt_LOG                 17717  10 
xt_limit               12711  13 
xt_tcpudp              12884  18 
xt_addrtype            12635  4 
nf_conntrack_ipv4      15012  8 
nf_defrag_ipv4         12758  1 nf_conntrack_ipv4
xt_conntrack           12760  16 
x86_pkg_temp_thermal    14205  0 
intel_powerclamp       14705  0 
coretemp               13435  0 
ip6table_filter        12815  1 
ip6_tables             27025  1 ip6table_filter
nf_conntrack_netbios_ns    12665  0 
kvm                   451552  0 
nf_conntrack_broadcast    12589  1 nf_conntrack_netbios_ns
nf_nat_ftp             12770  0 
dm_multipath           22873  0 
nf_nat                 21841  1 nf_nat_ftp
scsi_dh                14882  1 dm_multipath
nf_conntrack_ftp       18638  1 nf_nat_ftp
nf_conntrack           96976  8 nf_nat_ftp,nf_conntrack_netbios_ns,nf_nat,xt_conntrack,nf_conntrack_broadcast,nf_conntrack_ftp,nf_conntrack_ipv4,nf_conntrack_ipv6
iptable_filter         12810  1 
crct10dif_pclmul       14289  0 
crc32_pclmul           13113  0 
snd_hda_codec_hdmi     46368  1 
snd_hda_codec_conexant    57441  1 
ip_tables              27239  1 iptable_filter
x_tables               34059  13 ip6table_filter,xt_hl,ip_tables,xt_tcpudp,xt_limit,xt_conntrack,xt_LOG,iptable_filter,ip6t_rt,ipt_REJECT,ip6_tables,xt_addrtype,ip6t_REJECT
ghash_clmulni_intel    13216  0 
snd_hda_intel          56451  5 
snd_hda_codec         192906  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
aesni_intel            55624  0 
aes_x86_64             17131  1 aesni_intel
lrw                    13286  1 aesni_intel
gf128mul               14951  1 lrw
snd_hwdep              13602  1 snd_hda_codec
glue_helper            13990  1 aesni_intel
ablk_helper            13597  1 aesni_intel
cryptd                 20359  3 ghash_clmulni_intel,aesni_intel,ablk_helper
bnep                   19624  2 
joydev                 17381  0 
rfcomm                 69160  0 
bluetooth             391136  10 bnep,rfcomm
serio_raw              13462  0 
uvcvideo               80885  0 
wl                   6363686  0 
rts5139               335409  0 
videobuf2_vmalloc      13216  1 uvcvideo
videobuf2_memops       13362  1 videobuf2_vmalloc
videobuf2_core         40664  1 uvcvideo
snd_pcm               102099  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
videodev              134688  2 uvcvideo,videobuf2_core
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
snd_seq_midi           13324  0 
snd_seq_midi_event     14899  1 snd_seq_midi
snd_rawmidi            30144  1 snd_seq_midi
cfg80211              484040  1 wl
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              29482  2 snd_pcm,snd_seq
snd                    69322  21 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
binfmt_misc            17468  1 
soundcore              12680  1 snd
lpc_ich                21080  0 
mei_me                 18627  0 
mac_hid                13205  0 
mei                    82276  1 mei_me
parport_pc             32701  0 
ppdev                  17671  0 
lp                     17759  0 
parport                42348  3 lp,ppdev,parport_pc
nls_iso8859_1          12713  1 
dm_mirror              22135  0 
dm_region_hash         20862  1 dm_mirror
dm_log                 18411  2 dm_region_hash,dm_mirror
usb_storage            62209  1 
hid_generic            12548  0 
usbhid                 52659  0 
hid                   106148  2 hid_generic,usbhid
i915                  783805  6 
alx                    32452  0 
i2c_algo_bit           13413  1 i915
mdio                   13807  1 alx
drm_kms_helper         55071  1 i915
psmouse               106678  0 
drm                   303102  5 i915,drm_kms_helper
ahci                   25819  2 
libahci                32716  1 ahci
video                  19476  1 i915
I found the following script during my research, and ran that as well :

wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && chmod +x wireless_script && ./wireless_script

Output - http://paste.linuxmint.com/view/pydb/
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: Can't get BCM43142 to work with 17.1 Cinnamon x64

Post by JeremyB »

I wonder if

Code: Select all

sudo rfkill unblock all
will work
necromorph

Re: Can't get BCM43142 to work with 17.1 Cinnamon x64

Post by necromorph »

I've tried that, and it only changes the 'Soft Block' status. Hard Block still remains 'Yes'.
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: Can't get BCM43142 to work with 17.1 Cinnamon x64

Post by JeremyB »

I wonder if there might be something wrong with the driver you installed. Open synaptic package manager, search for broadcom, select installed from the left side of the window and right click on anything called broadcom-sta and select uninstall then in terminal

Code: Select all

apt-get install bcmwl-kernel-source
necromorph

Re: Can't get BCM43142 to work with 17.1 Cinnamon x64

Post by necromorph »

None of the broadcom-sta packages seem to be installed as per Synaptic. I had manually compiled the drivers & installed them following the instructions at :

http://www.broadcom.com/docs/linux_sta/ ... 23.248.txt

How do I revert those changes? By running rmmod or modprobe -r ?
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: Can't get BCM43142 to work with 17.1 Cinnamon x64

Post by JeremyB »

http://packages.ubuntu.com/utopic/amd64 ... e/download
Choose a mirror site to download and double click the file to install. If it tells you another version is available choose to install the downloaded one and reboot when done
necromorph

Re: Can't get BCM43142 to work with 17.1 Cinnamon x64

Post by necromorph »

Installed the driver from the URL you provided. After the installation completed, I disconnected my phone and rebooted.
Hard block still shows Yes and scanning produces 'No scan results'
Would you like to take a look at outputs of certain commands?
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: Re: Can't get BCM43142 to work with 17.1 Cinnamon x64

Post by JeremyB »

necromorph wrote:Installed the driver from the URL you provided. After the installation completed, I disconnected my phone and rebooted.
Hard block still shows Yes and scanning produces 'No scan results'
Would you like to take a look at outputs of certain commands?
You might need to edit the blacklist to remove ideapad_laptop and reboot. I have done some searches on your model and cant find any case like yours using linux and I have a G710
necromorph

Re: Can't get BCM43142 to work with 17.1 Cinnamon x64

Post by necromorph »

Removed the ideapad_laptop from blacklist. The bluetooth interface started showing up again, but no luck enabling either that or wireless.
I do appreciate your inputs & time. Let me know if there is anything else you can think of.
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: Re: Can't get BCM43142 to work with 17.1 Cinnamon x64

Post by JeremyB »

necromorph wrote:Removed the ideapad_laptop from blacklist. The bluetooth interface started showing up again, but no luck enabling either that or wireless.
I do appreciate your inputs & time. Let me know if there is anything else you can think of.
Is this wifi card a replacement? You could power off and remove the bottom, pull the card then put everything back together in case it isn't properly inserted.
necromorph

Re: Can't get BCM43142 to work with 17.1 Cinnamon x64

Post by necromorph »

It is the original card that came with the system. It was working fine on Windows - no problems at all.
I disconnected the card, removed it completely, re-seated it & re-connected. No change.
I revisited this thread : http://askubuntu.com/questions/55868/in ... ss-drivers
and tried removing the bcmwl-kernel-source ; tried the b43 as suggested in the thread but with that, the card wouldn't even be detected by ifconfig or iwconfig.
I've reverted to the bcmwl now.
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: Can't get BCM43142 to work with 17.1 Cinnamon x64

Post by JeremyB »

Search for 14e4:4365 lenovo g510 to see if you can find anything with a hard block.
necromorph

Re: Can't get BCM43142 to work with 17.1 Cinnamon x64

Post by necromorph »

Those keywords brought me to :

http://www.mindwerks.net/2013/10/wirele ... 1-kernels/

I tried the patch provided by the author on the above page, but that didn't work as well.

I'm going to cross-post this to askubuntu.com to see if I can get any other suggestions. Will update this thread if I manage to get it resolved.
JeremyB
Level 21
Level 21
Posts: 13881
Joined: Fri Feb 21, 2014 8:17 am

Re: Can't get BCM43142 to work with 17.1 Cinnamon x64

Post by JeremyB »

I wonder if this might work. But only if you are dual booted with windows, I have seen similar problems but I think they were toshiba
Locked

Return to “Networking”