You are not logged in.

#1 2013-03-29 06:01:34

Jnels124
Member
Registered: 2013-03-29
Posts: 8

Unable to get wireless working on a mac with Broadcom 4331 wireless

Hello,
I have been at this for two days straight, I haven't been to bed yet, and I can't figure out what is going on with my wireless. I followed all of the information found online such as getting the b43 driver but I have no success. When I run iwconfig the interface is present so I don't know what is going on. Here is all of the infromation gathered about my hardware and connection. I have also provided a list of running drivers.

Can some one take a look and see if it sparks any ideas, I am completely out. Thanks in advance.

-----> iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
-----> lspci -vnn |grep 14e4:
01:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM57765 Gigabit Ethernet PCIe [14e4:16b4] (rev 10)
	Subsystem: Broadcom Corporation NetXtreme BCM57765 Gigabit Ethernet PCIe [14e4:16b4]
01:00.1 SD Host controller [0805]: Broadcom Corporation NetXtreme BCM57765 Memory Card Reader [14e4:16bc] (rev 10) (prog-if 01)
	Subsystem: Broadcom Corporation Device [14e4:0000]
02:00.0 Network controller [0280]: Broadcom Corporation BCM4331 802.11a/b/g/n [14e4:4331] (rev 02)
-----> lsmod
Module                  Size  Used by
arc4                    2007  2 
b43                   362732  0 
bcma                   32990  1 b43
mac80211              467685  1 b43
cfg80211              433688  2 b43,mac80211
ssb                    55056  1 b43
pcmcia                 46292  2 b43,ssb
pcmcia_core            14173  1 pcmcia
nls_cp437               5953  1 
btusb                  14804  0 
bluetooth             301098  2 btusb
hid_generic             1145  0 
rfkill                 15996  2 cfg80211,bluetooth
coretemp                6198  0 
kvm_intel             124204  0 
kvm                   392222  1 kvm_intel
crc32c_intel           14313  0 
ghash_clmulni_intel     4597  0 
aesni_intel            46103  0 
aes_x86_64              7555  1 aesni_intel
xts                     3135  1 aesni_intel
lrw                     3661  1 aesni_intel
gf128mul                6050  2 lrw,xts
ablk_helper             1972  1 aesni_intel
cryptd                  8741  3 ghash_clmulni_intel,aesni_intel,ablk_helper
iTCO_wdt                5447  0 
iTCO_vendor_support     1929  1 iTCO_wdt
applesmc               12114  0 
input_polldev           2914  1 applesmc
snd_hda_codec_hdmi     27848  1 
snd_hda_codec_cirrus    17344  1 
microcode              14465  0 
uvcvideo               73877  0 
i915                  558806  2 
videobuf2_vmalloc       3400  1 uvcvideo
videobuf2_memops        2335  1 videobuf2_vmalloc
videobuf2_core         27873  1 uvcvideo
snd_hda_intel          34194  3 
pcspkr                  1995  0 
videodev              105111  2 uvcvideo,videobuf2_core
snd_hda_codec         102453  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_cirrus
tg3                   147876  0 
i2c_i801               11077  0 
intel_agp              10872  1 i915
snd_hwdep               6428  1 snd_hda_codec
ptp                     8452  1 tg3
intel_gtt              12566  2 i915,intel_agp
snd_pcm                78146  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
media                  10437  2 uvcvideo,videodev
pps_core                8977  1 ptp
snd_page_alloc          7426  2 snd_pcm,snd_hda_intel
drm_kms_helper         35517  1 i915
snd_timer              18934  1 snd_pcm
libphy                 20526  1 tg3
snd                    60156  13 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel,snd_hda_codec_cirrus
drm                   226103  3 i915,drm_kms_helper
lpc_ich                11601  0 
soundcore               5442  1 snd
mei                    59991  0 
i2c_algo_bit            5391  1 i915
i2c_core               23171  6 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,videodev
acpi_cpufreq           10630  0 
apple_gmux              6113  0 
mperf                   1267  1 acpi_cpufreq
video                  11363  2 i915,apple_gmux
ac                      2568  0 
battery                 7098  0 
apple_bl                3776  1 apple_gmux
button                  4701  1 i915
processor              27431  1 acpi_cpufreq
evdev                  10136  13 
joydev                  9727  0 
hid_apple               5578  0 
usbhid                 41357  0 
hid                    87118  3 hid_generic,usbhid,hid_apple
bcm5974                 9018  0 
firewire_ohci          32357  0 
firewire_core          53301  1 firewire_ohci
crc_itu_t               1363  1 firewire_core
sdhci_pci              11412  0 
sdhci                  28375  1 sdhci_pci
mmc_core               91956  4 b43,ssb,sdhci,sdhci_pci
ehci_pci                4120  0 
vfat                   10247  1 
fat                    49247  1 vfat
ext4                  478274  3 
crc16                   1359  2 ext4,bluetooth
jbd2                   77917  1 ext4
mbcache                 6026  1 ext4
ehci_hcd               47423  1 ehci_pci
sr_mod                 14823  0 
xhci_hcd               89405  0 
cdrom                  35520  1 sr_mod
usbcore               175061  7 btusb,uvcvideo,ehci_hcd,ehci_pci,usbhid,bcm5974,xhci_hcd
usb_common               954  1 usbcore
sd_mod                 31258  6 
ahci                   22160  5 
libahci                20906  1 ahci
libata                168683  2 ahci,libahci
scsi_mod              130797  3 libata,sd_mod,sr_mod
-----> sudo dhcpcd wlan0
dhcpcd[744]: version 5.6.7 starting
dhcpcd[744]: wlan0: carrier acquired
dhcpcd[744]: wlan0: carrier lost
dhcpcd[744]: wlan0: waiting for carrier
dhcpcd[744]: timed out
-----> sudo systemctl status dhcpcd@wlan0.service
dhcpcd@wlan0.service - dhcpcd on wlan0
	  Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; enabled)
	  Active: failed (Result: exit-code) since Thu 2013-03-28 23:37:32 MDT; 3min 27s ago
	 Process: 1196 ExecStart=/usr/sbin/dhcpcd -q -w %I (code=exited, status=1/FAILURE)

Mar 28 23:37:02 ARCH_MAC systemd[1]: Starting dhcpcd on wlan0...
Mar 28 23:37:02 ARCH_MAC dhcpcd[1196]: version 5.6.7 starting
Mar 28 23:37:02 ARCH_MAC dhcpcd[1196]: wlan0: waiting for carrier
Mar 28 23:37:32 ARCH_MAC systemd[1]: dhcpcd@wlan0.service: control process exited, code=exited status=1
Mar 28 23:37:32 ARCH_MAC systemd[1]: Failed to start dhcpcd on wlan0.
Mar 28 23:37:32 ARCH_MAC systemd[1]: Unit dhcpcd@wlan0.service entered failed state
-----> ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.21  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::aa20:66ff:fe4c:6c94  prefixlen 64  scopeid 0x20<link>
        ether a8:20:66:4c:6c:94  txqueuelen 1000  (Ethernet)
        RX packets 953  bytes 69563 (67.9 KiB)
        RX errors 0  dropped 1  overruns 0  frame 0
        TX packets 195  bytes 17120 (16.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 5c:96:9d:8e:66:23  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Last edited by jasonwryan (2013-03-29 06:12:57)

Offline

#2 2013-03-29 06:14:37

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Unable to get wireless working on a mac with Broadcom 4331 wireless

Welcome to the boards.

I have edited your post for you, in future please use code tags when posting to the boards:
https://wiki.archlinux.org/index.php/Fo … s_and_Code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-03-29 06:23:08

Jnels124
Member
Registered: 2013-03-29
Posts: 8

Re: Unable to get wireless working on a mac with Broadcom 4331 wireless

Thanks for letting me know. This my first time posting to a forum like this.

Offline

#4 2013-03-29 06:24:39

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Unable to get wireless working on a mac with Broadcom 4331 wireless

The network you are trying to connect to, is it secured? Also, is there anything in your logs after the failed association attempt?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2013-03-29 06:26:39

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Unable to get wireless working on a mac with Broadcom 4331 wireless

So how is it you are trying to connect?  Are you trying to use just the dhcpcd@.service on wlan0?  Because that is surely not going to work.  A wireless interface has to associate with a wireless access point before dhcp can issue an IP address.  Have you tried netcfg and friends?

Offline

#6 2013-03-29 06:31:59

Jnels124
Member
Registered: 2013-03-29
Posts: 8

Re: Unable to get wireless working on a mac with Broadcom 4331 wireless

Yes it is secured with WPA-PSK.

Here is the status report of the service:

-----> sudo systemctl status dhcpcd@wlan0
dhcpcd@wlan0.service - dhcpcd on wlan0
      Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; enabled)
      Active: failed (Result: exit-code) since Thu 2013-03-28 23:37:32 MDT; 51min ago

Mar 28 23:37:02 ARCH_MAC systemd[1]: Starting dhcpcd on wlan0...
Mar 28 23:37:02 ARCH_MAC dhcpcd[1196]: version 5.6.7 starting
Mar 28 23:37:02 ARCH_MAC dhcpcd[1196]: wlan0: waiting for carrier
Mar 28 23:37:32 ARCH_MAC systemd[1]: dhcpcd@wlan0.service: control process exited, code=exited status=1
Mar 28 23:37:32 ARCH_MAC systemd[1]: Failed to start dhcpcd on wlan0.
Mar 28 23:37:32 ARCH_MAC systemd[1]: Unit dhcpcd@wlan0.service entered failed state

Here is the output from journalctl:

-----> sudo journalctl -xn
-- Logs begin at Wed 2013-03-27 05:44:09 MDT, end at Fri 2013-03-29 00:31:15 MDT. --
Mar 29 00:30:27 ARCH_MAC dhcpcd[2218]: version 5.6.7 starting
Mar 29 00:30:27 ARCH_MAC dhcpcd[2218]: wlan0: up_interface: Operation not possible due to RF-kill
Mar 29 00:30:27 ARCH_MAC dhcpcd[2218]: wlan0: waiting for carrier
Mar 29 00:30:57 ARCH_MAC dhcpcd[2218]: timed out
Mar 29 00:30:57 ARCH_MAC systemd[1]: dhcpcd@wlan0.service: control process exited, code=exited status=1
Mar 29 00:30:57 ARCH_MAC systemd[1]: Failed to start dhcpcd on wlan0.
-- Subject: Unit dhcpcd@wlan0.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li … temd-devel
-- Documentation: http://www.freedesktop.org/wiki/Softwar … e9d022f03d
--
-- Unit dhcpcd@wlan0.service has failed.
--
-- The result is failed.
Mar 29 00:30:57 ARCH_MAC systemd[1]: Unit dhcpcd@wlan0.service entered failed state
Mar 29 00:30:57 ARCH_MAC sudo[2215]: pam_unix(sudo:session): session closed for user root
Mar 29 00:31:15 ARCH_MAC sudo[2277]: jesse : TTY=pts/0 ; PWD=/home/jesse ; USER=root ; COMMAND=/usr/bin/journalctl -xn
Mar 29 00:31:15 ARCH_MAC sudo[2277]: pam_unix(sudo:session): session opened for user root by jesse(uid=0)

Offline

#7 2013-03-29 06:34:57

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Unable to get wireless working on a mac with Broadcom 4331 wireless

You didn't really understand the code tags did you? 

Press the quote button on this post to see how this sentence ends up in this box.

Also, I will say again, that dhcpcd@wlan0.service is not going to do the trick.  You need something that associates first.  dhcpcd@.service is meant for wired connections.

Offline

#8 2013-03-29 06:36:37

Jnels124
Member
Registered: 2013-03-29
Posts: 8

Re: Unable to get wireless working on a mac with Broadcom 4331 wireless

WonderWoofy wrote:

So how is it you are trying to connect?  Are you trying to use just the dhcpcd@.service on wlan0?  Because that is surely not going to work.  A wireless interface has to associate with a wireless access point before dhcp can issue an IP address.  Have you tried netcfg and friends?

Yes, I have tried both netcfg and netctl and I can't get it to find the network. I also tried using wpa_supplicant but have had no success. Any suggestions on how to associate the device with an access point? I am new to Linux and I have hit a brick wall in researching the issue.

Offline

#9 2013-03-29 06:38:23

Jnels124
Member
Registered: 2013-03-29
Posts: 8

Re: Unable to get wireless working on a mac with Broadcom 4331 wireless

WonderWoofy wrote:

You didn't really understand the code tags did you? 

Press the quote button on this post to see how this sentence ends up in this box.

Also, I will say again, that dhcpcd@wlan0.service is not going to do the trick.  You need something that associates first.  dhcpcd@.service is meant for wired connections.

No, I am new to Linux and don't know how to make anything meaningful out of them or even know enough about them to google arround.

Offline

#10 2013-03-29 06:39:56

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Unable to get wireless working on a mac with Broadcom 4331 wireless

Unless you indicate what you actually did, then it is pretty impossible to help you.  "I have tried with both netcfg and netctl" doesn't really tell very much.  Did you make config files for your network?  Did you use wifi-menu?  What steps did you take to use wpa_supplicant directly?  Did you find the wireless wiki page?

When I was just starting with Linux, I always chose wicd.  It is stoopid simple and works pretty well.  If you are interested in it, please see the wiki page.

Offline

#11 2013-03-29 06:42:11

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Unable to get wireless working on a mac with Broadcom 4331 wireless

Okay did you see this in your logs? 

Logs wrote:

Mar 29 00:30:27 ARCH_MAC dhcpcd[2218]: wlan0: up_interface: Operation not possible due to RF-kill

It would seem that your wireless interface is being blocked by rfkill.  Install the rfkill package and unblock it.

Offline

#12 2013-03-29 06:42:17

Jnels124
Member
Registered: 2013-03-29
Posts: 8

Re: Unable to get wireless working on a mac with Broadcom 4331 wireless

Jnels124 wrote:
WonderWoofy wrote:

So how is it you are trying to connect?  Are you trying to use just the dhcpcd@.service on wlan0?  Because that is surely not going to work.  A wireless interface has to associate with a wireless access point before dhcp can issue an IP address.  Have you tried netcfg and friends?

Yes, I have tried both netcfg and netctl and I can't get it to find the network. I also tried using wpa_supplicant but have had no success. Any suggestions on how to associate the device with an access point? I am new to Linux and I have hit a brick wall in researching the issue.


Sorry, I am now trying to connect with wicd.

Offline

#13 2013-03-29 06:42:57

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Unable to get wireless working on a mac with Broadcom 4331 wireless

You don't have to hit quote everytime you know.


Edit: also see my post above your last one.

Last edited by WonderWoofy (2013-03-29 06:43:20)

Offline

#14 2013-03-29 06:53:57

Jnels124
Member
Registered: 2013-03-29
Posts: 8

Re: Unable to get wireless working on a mac with Broadcom 4331 wireless

Haha. Sorry I am sure you can tell this is my first time on a support forum. I also apologize for the bad grammar, I am falling asleep at my keyboard. I did see that line but I couldn't make since of it. I thought because my wireless interface was detected I should be able to request an IP. I am new to the computer world and ignorant to many things of this nature. Thanks for the help!

Offline

#15 2013-03-29 07:07:48

Jnels124
Member
Registered: 2013-03-29
Posts: 8

Re: Unable to get wireless working on a mac with Broadcom 4331 wireless

I apologize for the vague response, I should of told you I followed the wiki page on each of the mentioned items and did exactly what was listed. I completed the whole thing without any errors but still there is no wireless. I did the best I could at removing all of the components installed after I wasn't able to get them working but maybe a conflicting driver or something is hanging around.

I did rfkill to unblock but I still can't detect anything inside of wicd. I know you said dhcpcd@wlan0.service doesn't work but how else am I supposed to request an IP address? I don't understand why this doesn't work if the interface is showing up, is valid, and I have the correct drivers installed.

Here is my journal after trying to request an IP when wlan0 was unblocked with rfkill.

-----> sudo journalctl -xn
-- Logs begin at Wed 2013-03-27 05:44:09 MDT, end at Fri 2013-03-29 01:01:50 MDT. --
Mar 29 01:01:14 ARCH_MAC dhcpcd[2441]: timed out
Mar 29 01:01:14 ARCH_MAC systemd[1]: dhcpcd@wlan0.service: control process exited, code=exited status=1
Mar 29 01:01:14 ARCH_MAC systemd[1]: Failed to start dhcpcd on wlan0.
-- Subject: Unit dhcpcd@wlan0.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li … temd-devel
-- Documentation: http://www.freedesktop.org/wiki/Softwar … e9d022f03d
--
-- Unit dhcpcd@wlan0.service has failed.
--
-- The result is failed.
Mar 29 01:01:14 ARCH_MAC systemd[1]: Unit dhcpcd@wlan0.service entered failed state
Mar 29 01:01:14 ARCH_MAC sudo[2438]: pam_unix(sudo:session): session closed for user root
Mar 29 01:01:34 ARCH_MAC sudo[2500]: jesse : TTY=pts/0 ; PWD=/home/jesse ; USER=root ; COMMAND=/usr/bin/systemctl status dhcpcd
Mar 29 01:01:34 ARCH_MAC sudo[2500]: pam_unix(sudo:session): session opened for user root by jesse(uid=0)
Mar 29 01:01:34 ARCH_MAC sudo[2500]: pam_unix(sudo:session): session closed for user root
Mar 29 01:01:50 ARCH_MAC sudo[2503]: jesse : TTY=pts/0 ; PWD=/home/jesse ; USER=root ; COMMAND=/usr/bin/journalctl -xn
Mar 29 01:01:50 ARCH_MAC sudo[2503]: pam_unix(sudo:session): session opened for user root by jesse(uid=0)

Offline

#16 2013-03-29 15:18:02

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Unable to get wireless working on a mac with Broadcom 4331 wireless

dhcpcd is a tool that requests an IP address from a dhcp server.  So trying to use dhcpcd@.service does only that.  It works for a wired interface because there is no required association of the local hardware to the AP.  But the other tools mentioned also use dhcpcd, though they also do a lot more.

Try using wifi-menu (probably need superuser access for this).  This should scan for your wireless, and give you a nice ncurses list of available access points.  So select the one you need, give it the passphrase, and it should make a configuration file for you in /etc/network.d.  It should then connect for you.

If that works, then you should be able to use netcfg@<SSID>.service, where <SSID> is the access point you are trying to connect to.

There is the possibility that your wireless interface isn't being put up either.  I have seen some instances where it is not put up as it should be by netcfg (though this seems to be pretty rare).  To do this you need to use the "ip" command.

# ip link set wlan0 up 

Also, are you sure that your wireless interface is staying as wlan0?  With the recent systemd versions there is a persistent network naming system in place that uses the actual hardware address to name things.  So for instance, my ethernet interface on my server used to be eth0, but is now enp2s5.

Offline

Board footer

Powered by FluxBB