You are not logged in.

#1 2016-02-10 17:41:28

unfratellokaramazov
Member
Registered: 2016-02-10
Posts: 8

[Solved] Broadcom BCM4312 not working

Hi everybody, I'm new with Arch. I have a BCM4312 wireless card issue: the card recognizes wireless networks but does not connect at all.
I followed instructions on the wiki , i tried to switch between b43 and broadcom-wl drivers, i searched on the forum and a lot of people had this problem, but nothing worked out.

Any suggestion? I'm really going nuts

Last edited by unfratellokaramazov (2016-02-11 16:49:32)

Offline

#2 2016-02-10 17:43:55

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [Solved] Broadcom BCM4312 not working

Hello again smile

What are the output of ip link   and of   iw list   ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2016-02-10 17:52:08

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: [Solved] Broadcom BCM4312 not working

I have that chip and I have no problems with it.

I only installed b43-firmware from aur and then simply did modprobe b43  (I connect with netctl-auto)

What network manager do you use?

Offline

#4 2016-02-10 17:59:45

unfratellokaramazov
Member
Registered: 2016-02-10
Posts: 8

Re: [Solved] Broadcom BCM4312 not working

Thanks again, ewaller big_smile
This is the output of ip link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 00:23:8b:68:d7:94 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
    link/ether 00:21:00:a7:f0:47 brd ff:ff:ff:ff:ff:ff

and iw list

Wiphy phy0
	max # scan SSIDs: 4
	max scan IEs length: 2285 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports RSN-IBSS.
	Supported Ciphers:
		* WEP40 (00-0f-ac:1)
		* WEP104 (00-0f-ac:5)
		* TKIP (00-0f-ac:2)
		* CCMP (00-0f-ac:4)
		* 00-0f-ac:10
		* GCMP (00-0f-ac:8)
		* 00-0f-ac:9
	Available Antennas: TX 0 RX 0
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * WDS
		 * monitor
		 * mesh point
	Band 1:
		Bitrates (non-HT):
			* 1.0 Mbps
			* 2.0 Mbps (short preamble supported)
			* 5.5 Mbps (short preamble supported)
			* 11.0 Mbps (short preamble supported)
			* 6.0 Mbps
			* 9.0 Mbps
			* 12.0 Mbps
			* 18.0 Mbps
			* 24.0 Mbps
			* 36.0 Mbps
			* 48.0 Mbps
			* 54.0 Mbps
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (20.0 dBm) (no IR)
			* 2472 MHz [13] (20.0 dBm)
			* 2484 MHz [14] (20.0 dBm) (no IR)
	Supported commands:
		 * new_interface
		 * set_interface
		 * new_key
		 * start_ap
		 * new_station
		 * new_mpath
		 * set_mesh_config
		 * set_bss
		 * authenticate
		 * associate
		 * deauthenticate
		 * disassociate
		 * join_ibss
		 * join_mesh
		 * set_tx_bitrate_mask
		 * frame
		 * frame_wait_cancel
		 * set_wiphy_netns
		 * set_channel
		 * set_wds_peer
		 * probe_client
		 * set_noack_map
		 * register_beacons
		 * start_p2p_device
		 * set_mcast_rate
		 * set_qos_map
		 * connect
		 * disconnect
	Supported TX frame types:
		 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
		 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
	Supported RX frame types:
		 * IBSS: 0x40 0xb0 0xc0 0xd0
		 * managed: 0x40 0xd0
		 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * mesh point: 0xb0 0xc0 0xd0
		 * P2P-client: 0x40 0xd0
		 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
		 * P2P-device: 0x40 0xd0
	software interface modes (can always be added):
		 * AP/VLAN
		 * monitor
	interface combinations are not supported
	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Device supports TX status socket option.
	Device supports HT-IBSS.
	Device supports SAE with AUTHENTICATE command
	Device supports low priority scan.
	Device supports scan flush.
	Device supports AP scan.
	Device supports per-vif TX power setting
	Driver supports a userspace MPM
	Device supports configuring vdev MAC-addr on create.

@ugika: i also had b43-firmware and modprobe b43, while blacklisting wl driver for possible interactions, but every driver I tried just makes the connection to wifi networks impossible, which I really don't understand. I use networkmanager

Thanks for the answers!

Offline

#5 2016-02-10 18:03:13

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: [Solved] Broadcom BCM4312 not working

can you post the output of lspci | grep Broadcom?

Mine is:

0c:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)

Offline

#6 2016-02-10 18:06:04

unfratellokaramazov
Member
Registered: 2016-02-10
Posts: 8

Re: [Solved] Broadcom BCM4312 not working

ugjka wrote:

can you post the output of lspci | grep Broadcom?

Mine is:

0c:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)

Quite the same here smile

02:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)

Last edited by unfratellokaramazov (2016-02-10 18:06:51)

Offline

#7 2016-02-10 18:12:27

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [Solved] Broadcom BCM4312 not working

Okay, lets start by seeing if the radio is working.  Look at the output of sudo iw wlan0 scan
It is a site survey that will be quite long.  We want to see if the access point to which you want to connect is visible.

Tangentially, let's make sure there is only one thing trying to control your network.   Please post the output of systemctl status --no-pager


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#8 2016-02-10 18:26:18

unfratellokaramazov
Member
Registered: 2016-02-10
Posts: 8

Re: [Solved] Broadcom BCM4312 not working

ewaller wrote:

Okay, lets start by seeing if the radio is working.  Look at the output of sudo iw wlan0 scan
It is a site survey that will be quite long.  We want to see if the access point to which you want to connect is visible.

Tangentially, let's make sure there is only one thing trying to control your network.   Please post the output of systemctl status --no-pager

The AP to which I'm trying to connect is this one, so it's visible

BSS a4:b1:e9:5e:b3:73(on wlan0)
	TSF: 465418325099 usec (5d, 09:16:58)
	freq: 2437
	beacon interval: 100 TUs
	capability: ESS Privacy ShortSlotTime (0x0411)
	signal: -3.00 dBm
	last seen: 506 ms ago
	Information elements from Probe Response frame:
	SSID: saboc
	Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0 
	DS Parameter set: channel 6
	ERP: Barker_Preamble_Mode
	ERP D4.0: Barker_Preamble_Mode
	RSN:	 * Version: 1
		 * Group cipher: CCMP
		 * Pairwise ciphers: CCMP
		 * Authentication suites: PSK
		 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
	Extended supported rates: 6.0 9.0 12.0 48.0 
	HT capabilities:
		Capabilities: 0x181c
			HT20
			SM Power Save disabled
			RX Greenfield
			No RX STBC
			Max AMSDU length: 7935 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT RX MCS rate indexes supported: 0-15
		HT TX MCS rate indexes are undefined
	HT operation:
		 * primary channel: 6
		 * secondary channel offset: no secondary
		 * STA channel width: 20 MHz
		 * RIFS: 1
		 * HT protection: no
		 * non-GF present: 1
		 * OBSS non-GF present: 0
		 * dual beacon: 0
		 * dual CTS protection: 0
		 * STBC beacon: 0
		 * L-SIG TXOP Prot: 0
		 * PCO active: 0
		 * PCO phase: 0
	WMM:	 * Parameter version 1
		 * BE: CW 15-1023, AIFSN 3
		 * BK: CW 15-1023, AIFSN 7
		 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
		 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec

Output for systemctl status --no-pager

● marce-linux
    State: running
     Jobs: 0 queued
   Failed: 0 units
    Since: mer 2016-02-10 18:22:37 CET; 57min ago
   CGroup: /
           ├─init.scope
           │ └─1 /sbin/init
           ├─system.slice
           │ ├─avahi-daemon.service
           │ │ ├─381 avahi-daemon: running [marce-linux.local]
           │ │ └─385 avahi-daemon: chroot helper
           │ ├─dbus.service
           │ │ └─382 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
           │ ├─org.cups.cupsd.service
           │ │ └─392 /usr/bin/cupsd -l
           │ ├─ModemManager.service
           │ │ └─386 /usr/bin/ModemManager
           │ ├─wpa_supplicant.service
           │ │ └─473 /usr/bin/wpa_supplicant -u
           │ ├─lightdm.service
           │ │ ├─400 /usr/bin/lightdm
           │ │ └─426 /usr/lib/xorg-server/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
           │ ├─accounts-daemon.service
           │ │ └─427 /usr/lib/accountsservice/accounts-daemon
           │ ├─systemd-journald.service
           │ │ └─167 /usr/lib/systemd/systemd-journald
           │ ├─udisks2.service
           │ │ └─703 /usr/lib/udisks2/udisksd --no-debug
           │ ├─upower.service
           │ │ └─772 /usr/lib/upower/upowerd
           │ ├─systemd-logind.service
           │ │ └─389 /usr/lib/systemd/systemd-logind
           │ ├─system-getty.slice
           │ │ └─getty@tty1.service
           │ │   └─399 /sbin/agetty --noclear tty1 linux
           │ ├─systemd-udevd.service
           │ │ └─206 /usr/lib/systemd/systemd-udevd
           │ ├─haveged.service
           │ │ └─379 /usr/bin/haveged -F -w 1024 -v 1
           │ ├─pamac.service
           │ │ └─2294 /usr/bin/pamac-daemon
           │ ├─polkit.service
           │ │ └─415 /usr/lib/polkit-1/polkitd --no-debug
           │ ├─NetworkManager.service
           │ │ ├─ 390 /usr/bin/NetworkManager --no-daemon
           │ │ └─1111 /usr/bin/dhclient -d -q -sf /usr/lib/networkmanager/nm-dhcp-helper -pf /var/run/dhclient-enp3s0.pid -lf /var/lib/NetworkManager/dhclient-d45f87d...
           │ ├─geoclue.service
           │ │ └─879 /usr/lib/geoclue2/geoclue -t 5
           │ └─rtkit-daemon.service
           │   └─688 /usr/lib/rtkit/rtkit-daemon
           └─user.slice
             └─user-1000.slice
               ├─user@1000.service
               │ ├─gvfs-daemon.service
               │ │ ├─ 660 /usr/lib/gvfs/gvfsd
               │ │ ├─ 665 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
               │ │ ├─ 775 /usr/lib/gvfs/gvfsd-trash --spawner :1.9 /org/gtk/gvfs/exec_spaw/0
               │ │ └─2378 /usr/lib/gvfs/gvfsd-http --spawner :1.9 /org/gtk/gvfs/exec_spaw/1
               │ ├─dbus.service
               │ │ ├─637 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation
               │ │ ├─643 /usr/lib/dconf/dconf-service
               │ │ ├─725 /usr/lib/at-spi2-core/at-spi-bus-launcher
               │ │ ├─730 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
               │ │ ├─732 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
               │ │ ├─741 /usr/lib/mate-panel/wnck-applet
               │ │ ├─742 /usr/lib/mate-applets/trashapplet
               │ │ ├─764 /usr/bin/python2 /usr/lib/linuxmint/mintMenu/mintMenu.py
               │ │ ├─766 /usr/lib/mate-panel/notification-area-applet
               │ │ ├─770 /usr/lib/mate-panel/clock-applet
               │ │ └─919 /usr/lib/GConf/gconfd-2
               │ ├─pulseaudio.service
               │ │ └─674 /usr/bin/pulseaudio --daemonize=no
               │ ├─init.scope
               │ │ ├─613 /usr/lib/systemd/systemd --user
               │ │ └─615 (sd-pam)
               │ ├─gvfs-udisks2-volume-monitor.service
               │ │ └─695 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
               │ └─gvfs-mtp-volume-monitor.service
               │   └─717 /usr/lib/gvfs/gvfs-mtp-volume-monitor
               └─session-c2.scope
                 ├─ 606 lightdm --session-child 12 19
                 ├─ 630 mate-session
                 ├─ 647 /usr/lib/mate-settings-daemon/mate-settings-daemon
                 ├─ 651 marco
                 ├─ 655 mate-panel
                 ├─ 673 caja
                 ├─ 691 /usr/lib/mate-polkit/polkit-mate-authentication-agent-1
                 ├─ 694 mate-power-manager
                 ├─ 699 nm-applet
                 ├─ 709 /usr/bin/python3 /usr/share/system-config-printer/applet.py
                 ├─ 751 python2 -m guake.main
                 ├─ 754 python3 /usr/bin/redshift-gtk
                 ├─ 755 pamac-tray
                 ├─ 756 mate-volume-control-applet
                 ├─ 759 mate-screensaver
                 ├─ 785 /opt/urserver/urserver --daemon
                 ├─ 865 /usr/bin/redshift -v
                 ├─ 958 /bin/bash
                 ├─1119 /usr/lib/chromium/chromium
                 ├─1123 /usr/lib/chromium/chrome-sandbox /usr/lib/chromium/chromium --type=zygote
                 ├─1125 /usr/lib/chromium/chromium --type=zygote
                 ├─1127 /usr/lib/chromium/chrome-sandbox /usr/lib/chromium/nacl_helper
                 ├─1129 /usr/lib/chromium/nacl_helper
                 ├─1136 /usr/lib/chromium/chromium --type=zygote
                 ├─1245 /usr/lib/chromium/chromium --type=gpu-process --channel=1119.0.1981259165 --supports-dual-gpus=false --gpu-driver-bug-workarounds=2,33,36,52,6...
                 ├─1255 /usr/lib/chromium/chromium --type=gpu-broker
                 ├─1295 /usr/lib/chromium/chromium --type=renderer --lang=it --extension-process --enable-webrtc-hw-h264-encoding --enable-offline-auto-reload --enabl...
                 ├─1301 /usr/lib/chromium/chromium --type=renderer --lang=it --extension-process --enable-webrtc-hw-h264-encoding --enable-offline-auto-reload --enabl...
                 ├─1304 /usr/lib/chromium/chromium --type=renderer --lang=it --extension-process --enable-webrtc-hw-h264-encoding --enable-offline-auto-reload --enabl...
                 ├─1309 /usr/lib/chromium/chromium --type=renderer --lang=it --extension-process --enable-webrtc-hw-h264-encoding --enable-offline-auto-reload --enabl...
                 ├─1313 /usr/lib/chromium/chromium --type=renderer --lang=it --extension-process --enable-webrtc-hw-h264-encoding --enable-offline-auto-reload --enabl...
                 ├─1674 thunderbird
                 ├─1824 gpg-agent --homedir /home/marcello/.gnupg --use-standard-socket --daemon
                 ├─1911 /usr/lib/chromium/chromium --type=renderer --lang=it --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threa...
                 ├─1973 /usr/lib/chromium/chromium --type=renderer --lang=it --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threa...
                 ├─2054 /usr/lib/chromium/chromium --type=renderer --lang=it --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threa...
                 ├─2290 pamac-manager
                 ├─2383 firefox http://projects.archlinux.org/netctl.git/
                 ├─2624 /usr/lib/chromium/chromium --type=renderer --lang=it --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threa...
                 ├─2756 /usr/lib/chromium/chromium --type=renderer --lang=it --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threa...
                 └─2798 systemctl status --no-pager

Offline

#9 2016-02-10 18:35:49

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [Solved] Broadcom BCM4312 not working

You must be using the wired Ethernet too.

A couple thoughts.  First, it appears that have enabled the wpa_supplicant service.  It started before NetworkManager.  That is a problem.
wpa_supplicant is started by NetworkManager when it needs it.  But, the NetworkManager.service starts wpa_supplicant first, so NetworkManager cannot use it without conflicting.    So, use systemctl to disable the wpa_supplicant service.

Is the wired Ethernet connected to the same network as the access point?  It has been a while since I have used NetworkManager, but I think it will prefer the wired connection to the wireless connection and will not create two connections to the same network.  I could be wrong on that hmm  Try connecting to the wireless net after you unplug the wired net and see if that helps.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#10 2016-02-10 18:58:59

unfratellokaramazov
Member
Registered: 2016-02-10
Posts: 8

Re: [Solved] Broadcom BCM4312 not working

thanks, I didn't know about the wpa_supplicant topic, so I did

systemctl disable wpa_supplicant

as you suggested.

Yes, I'm currently using the ethernet port, but every time I try to connect to the wireless I always disconnect the cable first

Offline

#11 2016-02-11 11:06:41

unfratellokaramazov
Member
Registered: 2016-02-10
Posts: 8

Re: [Solved] Broadcom BCM4312 not working

If I connect to open networks (no WEP/WPA password) everything works fine, so I guess the problem lies in the encrypted password thing...any clue?

Offline

#12 2016-02-11 14:08:41

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: [Solved] Broadcom BCM4312 not working

Do yo have anything in /etc/NetworkManager/system-connections/?

Offline

#13 2016-02-11 14:54:20

unfratellokaramazov
Member
Registered: 2016-02-10
Posts: 8

Re: [Solved] Broadcom BCM4312 not working

ugjka wrote:

Do yo have anything in /etc/NetworkManager/system-connections/?

Yes, I can see all the wifi networks around me. But if I try to connect to any of these, I can't even get the chance to enter the password.
But if the network is open, I can connect and navigate properly.
Is this something related to WEP/WPA encryptions? Wpa_supplicant, maybe? I have read the wiki, but I got nowhere...

Last edited by unfratellokaramazov (2016-02-11 15:02:03)

Offline

#14 2016-02-11 15:12:43

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,962
Website

Re: [Solved] Broadcom BCM4312 not working

Try a different network manager maybe? See if the problem persists.

Offline

#15 2016-02-11 16:53:27

unfratellokaramazov
Member
Registered: 2016-02-10
Posts: 8

Re: [Solved] Broadcom BCM4312 not working

Solved using wicd instead of NetworkManager, enabling wicd in systemctl and disabling dhcpcd, dhcpcd, netctl, netcfg, wpa_supplicant and NetworkManager.
Thanks, folks!

Last edited by unfratellokaramazov (2016-02-11 17:08:00)

Offline

#16 2016-02-11 21:42:53

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: [Solved] Broadcom BCM4312 not working

Ehm, it's rather  a workaround smile


do it good first, it will be faster than do it twice the saint wink

Offline

Board footer

Powered by FluxBB