zoukankan      html  css  js  c++  java
  • install Wireless driver on OpenSuse 12.2

    Step A: download driver source and README from http://zh-cn.broadcom.com/support/802.11/linux_sta.php

    Step B: There will be problem which is like below:

    asm/system.h , no such error or directory.

    Then you need this guide

    Replying to myself, but perhaps this can be useful for someone else.

    I got the compilation from source working, in fact I'm posting this through the wireless interface. The modifications to the source file are really really simple.

    If you want to try, it goes more or less like this:

    1) get the source files from broadcom -- http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_64-v5_100_82_112.tar.gz

    2) make a new directory and extract the source files
    # mkdir hybrid-wl
    # cd hydrid-wl
    # tar -xvzf ../hybrid-portsrc_x86_64-v5_100_82_112.tar.gz

    3) change to the problematic file directory
    # cd src/wl/sys

    4) fix the source file wl_linux.c (of course use your favourite editor):
    # vi wl_linux.c
    around line 43, remove the line
    #include <asm/system.h>

    search for the string
    .ndo_set_multicast_list
    and replace it with
    .ndo_set_rx_mode

    save the file, and try to compile

    5) # cd http://www.cnblogs.com/..
    # make

    If you are lucky things should work, and you'll have a file called "wl.ko" in the current directory. (I got these patches from the internet, not my own work.)

    I then did

    # mkdir -p /lib/modules/3.4.0-1.fc17.x86_64/extra/wl
    # cp wl.ko /lib/modules/3.4.0-1.fc17.x86_64/extra/wl
    # depmod -a
    # modprobe wl

    and I had to reconfigure the interface, inserting the network password again, but after that it's working.

    Ramiro.

  • 相关阅读:
    POJ 3071 概率DP
    BZOJ 2427 /HAOI 2010 软件安装 tarjan缩点+树形DP
    POJ 1155 树形DP
    POJ 3252 组合数学?
    POJ 3641 快速幂
    POJ 3180 Tarjan
    POJ 3185 DFS
    POJ 3260 DP
    POJ 2392 DP
    99. Recover Binary Search Tree
  • 原文地址:https://www.cnblogs.com/lifesting/p/2857238.html
Copyright © 2011-2022 走看看