Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] Cannot connect to wifi using BCM43142  (Read 6251 times)

jjjrrr3

  • Guest
[EN] Cannot connect to wifi using BCM43142
« on: 2014/05/30, 07:47:03 »
I can see the available wireless networks but not connect.  network-manager asks for the password over and over again but never connects. Ceni runs but has no effect. It seems that I am not receiving any DHCPOFFERS, but I do not know what that means.

It took me a long time and many Web pages to get this far.  I could not even detect the wireless until the instructions that I found from the Dubious Disc. Maybe there is more configuration that needs to be done, but I am frustrated and do not know where to look next. Any suggestions or ideas?

My wireless chip set:
Code: [Select]
$ lspci | grep Network
02:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)

Ceni output:
Code: [Select]
Configuring interface wlan0=wlan0 (inet)
run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/ethtool
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
wpa_supplicant: wpa-driver nl80211,wext (default)
wpa_supplicant: /sbin/wpa_supplicant -s -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -D nl80211,wext -C /var/run/wpa_supplicant
Starting /sbin/wpa_supplicant...
wpa_supplicant: creating sendsigs omission pidfile: /run/sendsigs.omit.d/wpasupplicant.wpa_supplicant.wlan0.pid
wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/wlan0
wpa_supplicant: configuring network block -- 0
wpa_supplicant: wpa-ssid "2WIRE257" -- OK
wpa_supplicant: wpa-psk ***** -- OK
wpa_supplicant: enabling network block 0 -- OK

dhclient -v -pf /run/dhclient.wlan0.pid -lf /var/lib/dhcp/dhclient.wlan0.leases wlan0
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/48:5a:b6:da:cc:d5
Sending on   LPF/wlan0/48:5a:b6:da:cc:d5
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14                                       
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16                                       
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7                                         
No DHCPOFFERS received.                                                                             
No working leases in persistent database - sleeping.
run-parts --exit-on-error --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/000resolvconf
run-parts: executing /etc/network/if-up.d/avahi-daemon
run-parts: executing /etc/network/if-up.d/ethtool
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/openssh-server
run-parts: executing /etc/network/if-up.d/upstart
run-parts: executing /etc/network/if-up.d/wpasupplicant

Press Enter key to continue ...

Offline musca

  • User
  • Posts: 725
  • sid, fly high!
Re: Cannot connect to wifi using BCM43142
« Reply #1 on: 2014/05/30, 10:14:11 »
Hello jjjrrr3,

i got this info from the #debian-next channel on irc.oftc.net:

The Broadcom BCM43142 is a hybrid 802.11n and Bluetooth 4.0 device.  Its wireless LAN component (PCI ID 14e4:4365, incorrectly identified as BCM4365 by Broadcom's proprietary driver) is currently only supported by Broadcom's proprietary driver since version 6.30.223.126 (packaged in Debian testing as broadcom-sta, version 6.30.223.141-1 available in debian unstable/non-free).

Broadcom's proprietary wireless LAN driver (wl, aka broadcom-sta) supports devices based on the BCM4312 LP-PHY and BCM4313/4321/4322/43224/43225/43227/43228 chips.  To install (amd64 and i386 only), see http://wiki.debian.org/wl .  Since Debian 7 "Wheezy", this driver creates wireless interfaces with the 'wlan' prefix (see NEWS.Debian.gz).  Most chips are also supported by the open source b43 and brcmsmac drivers.


I think besides the unstable repo the instructions for wheezy will work also for debian unstable:

1) add "contrib non-free" to your debian source and "apt-get update".
2) install broadcom-sta-dkms
3) modprobe -r b44 b43 b43legacy ssb brcmsmac
4) modprobe wl

you can do step 2) by "apt-get installbroadcom-sta-dkms"     with an ethernetcable
or even offline with downloading from https://packages.debian.org/sid/all/broadcom-sta-dkms
and dpkg -i broadcom-sta-dkms_6.30.223.141-1_all.deb  ; continue with step 3) and 4) 

I hope this will work out for you as i don't own such device. Feel free to ask more.

greetings
musca

β€žEs irrt der Mensch, solang er strebt.β€œ  (Goethe, Faust)

Offline unklarer

  • User
  • Posts: 821
Re: Cannot connect to wifi using BCM43142
« Reply #2 on: 2014/05/30, 20:21:40 »
@musca
@mehlmarker

you are just great in Support!   ;)

jjjrrr3

  • Guest
Re: Cannot connect to wifi using BCM43142
« Reply #3 on: 2014/05/31, 04:12:39 »
Thank you, Musca.  Your response was faster than mine, but I have the same problem after following the four-step instructions.  I'll try out the instructions on the wiki too sometime this weekend.