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.

  • 相关阅读:
    Linux-线程同步(day14续)
    Linux之线程(day14)
    Linux-网络编程-UDP网络编程(day13续2)
    ES6 模块加载
    let与var声明区别
    vue 常用指令v-if v-else v-show v-for
    动态路由的意义,以及路由重定向
    前端路由的理解
    socpe 与 包的引入
    VUE 组件注册(全局、局部)
  • 原文地址:https://www.cnblogs.com/lifesting/p/2857238.html
Copyright © 2011-2022 走看看