Debian 7.4 - Wifi key disabled & how to set up the wifi card driver? [closed]

两盒软妹~` 提交于 2019-12-23 01:18:19

问题


I did hazardous changes after facing wifi problems on last debian 7.4 software update. My wifi keyboard key doesn't switch wifi on/off anymore. It keeps the off state.

Wifi key

After searching google I found that

$ sudo apt-get install rfkill
$ rfkill list
0: hp-wifi: Wireless LAN
    Soft blocked: yes
    Hard blocked: yes

states that in fact the wifi was "hard blocked" so I did

sudo rfkill unblock wifi

that gives now

$ rfkill list
0: hp-wifi: Wireless LAN
    Soft blocked: no
    Hard blocked: no

I can toggle the hard blocked state by pressing the wifi keyboard button. That solved the hardware problem.

Wifi driver

I remember having removed the previously associated lw driver with modprobe -r ... while following a post (that didn't succeed).

My previous configuration was : (I track updates)

lspci -nnk | grep -iA2 net
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)
    Subsystem: Hewlett-Packard Company Device [103c:143c]
    Kernel driver in use: r8169
03:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
    Subsystem: Hewlett-Packard Company Device [103c:145c]
    Kernel driver in use: wl

so a BCM4313 chipset associated with the wl kernel driver

Now I read

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)
    Subsystem: Hewlett-Packard Company Device [103c:143c]
    Kernel driver in use: r8169
03:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller [14e4:4727] (rev 01)
    Subsystem: Hewlett-Packard Company Device [103c:145c]

so no driver found anymore.

my questions are :

  • how to setup a driver for a wifi card ? modprob ... ?

  • Which driver to use : lw or B43 ?

Thanks for your help


回答1:


Wrong kernel module selected

Looking at a previous post where I faced a Network Unclaimed issue on my wireless card I missed to mention that the original problem was in fact this keyboard issue solved as described in this post by issuing

$ sudo rfill unblock wifi

As mentioned in the original post I installed the brcm80211 kernel module (Squeeze) instead of the brcmsmac (Wheezy) one as mentioned here

== Fix for Wheezy ==

remove the Squeeze wifi module

sudo modprobe -r brcm80211

Install the Whezzy one

sudo modprobe modprobe brcmsmac

Now everything works fine.

This also closed my previous post



来源:https://stackoverflow.com/questions/23033713/debian-7-4-wifi-key-disabled-how-to-set-up-the-wifi-card-driver

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!