Can't setup wifi (Broadcom Corporation BCM4313)

sheldon's picture

Forums: 

Hi,

I am new in the forum, apologies if this is not the correct place to put this question.

I have just installed Wheezy in my Dell Inspiron laptop. It shares a dual boot with Windows 7, where the wifi works fine, but I am having problems in the setup in Debian.

Information on the system that I am using:

# uname -a
Linux rajej 3.2.0-4-686-pae #1 SMP Debian 3.2.46-1 i686 GNU/Linux

The wifi chip is a Broadcom BCM4313:

# lspci | grep -i wireless
12:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)

I have installed the non-free firmware necessary to use the wifi (I have another laptop with Debian where I can download any package I need):

# dpkg -i firmware-brcm80211_0.36+wheezy.1_all.deb

The installation went fine and as far as I know, the firmware driver that I need is the bcm43xx-0.fw, and everything looks fine here:

#dpkg -L firmware-brcm80211
/.
/usr
/usr/share
/usr/share/bug
/usr/share/bug/firmware-brcm80211
/usr/share/bug/firmware-brcm80211/presubj
/usr/share/doc
/usr/share/doc/firmware-brcm80211
/usr/share/doc/firmware-brcm80211/changelog.gz
/usr/share/doc/firmware-brcm80211/copyright
/lib
/lib/firmware
/lib/firmware/brcm
/lib/firmware/brcm/bcm43xx_hdr-0.fw
/lib/firmware/brcm/bcm43xx-0.fw

However the wlan0 is not up:

#ifconfig
eth0      Link encap:Ethernet  HWaddr b8:ac:6f:e7:8c:e1 
          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 Dirol  TX bytes:0 (0.0 Dirol
          Interrupt:44 Base address:0xe000

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:16436  Metric:1
          RX packets:184 errors:0 dropped:0 overruns:0 frame:0
          TX packets:184 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11384 (11.1 KiB)  TX bytes:11384 (11.1 KiB)

It only appears with the -a option:

#ifconfig -a
eth0      Link encap:Ethernet  HWaddr b8:ac:6f:e7:8c:e1 
          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 Dirol  TX bytes:0 (0.0 Dirol
          Interrupt:44 Base address:0xe000

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:16436  Metric:1
          RX packets:184 errors:0 dropped:0 overruns:0 frame:0
          TX packets:184 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:11384 (11.1 KiB)  TX bytes:11384 (11.1 KiB)

wlan0     Link encap:Ethernet  HWaddr 1c:65:9d:66:0c:95 
          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 Dirol  TX bytes:0 (0.0 Dirol

Ok, so I tried to bring wlan0 up, but it didn't work:

#ifconfig -v wlan0 up
SIOCSIFFLAGS: Operation not possible due to RF-kill
WARNING: at least one error occured. (-1)

This is the rfkill list:

#rfkill list
0: dell-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: yes
1: dell-bluetooth: Bluetooth
Soft blocked: yes
Hard blocked: yes
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes

Apparently the wlan0 is blocked, so what I tried next was to press the wifi on/off button of the laptop to unblock it. After pressing the button this is what the rfkill list looked like:

#rfkill list
0: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
1: dell-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
5: hci0: Bluetooth
Soft blocked: no
Hard blocked: no

Ok, so nothing is blocked now. I tried to bring wlan0 up again, but still didn't work:

#ifconfig -v wlan0 up
IFFLAGS: No such device
WARNING: at least one error occured. (-1)

I am not sure what is going on. I will still play around and see if can correctly set up the wifi, but any help from this forum will be much appreciated!

Regards

Sheldon