• ubuntu server 14.04 无线网卡配置


    1. 网卡类型

    root@spch2008-server:~# lspci -vnn -d 14e4:
    04:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)

    2. 工具下载

    http://bues.ch/b43/fwcutter/b43-fwcutter-018.tar.bz2

    make

    make install

    3. 驱动下载

    http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2

    4. 安装驱动

    b43-fwcutter -w /lib/firmware broadcom-wl-5.100.138/linux/wl_apsta.o

    5. 加载驱动

    modprobe b43

    6. wifi链接

       配置无线网卡 /etc/network/interface

       auto wlan0
       iface wlan0 inet dhcp
       dns-namservers 192.168.1.1 8.8.8.8   #192.168.1.1 为无线路由器网关,8.8.8.8为谷歌dns

    链接路由器

    root@spch2008-server:~# wpa_passphrase ssid passwd > passwd
    root@spch2008-server:~# wpa_supplicant -B -i wlan0 -Dwext -c ./passwd
    root@spch2008-server:~# iwconfig wlan0
    root@spch2008-server:~# dhclient wlan0

    验证链接情况

    root@spch2008-server:~# iwconfig
    wlan0     IEEE 802.11abg  ESSID:"TJing"  
              Mode:Managed  Frequency:2.437 GHz  Access Point: 08:10:79:4A:72:B6   
              Bit Rate=54 Mb/s   Tx-Power=200 dBm   
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
              Link Quality=70/70  Signal level=-38 dBm  
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0

    测试网络

    root@spch2008-server:~# ping www.baidu.com
    PING www.a.shifen.com (119.75.218.70) 56(84) bytes of data.
    64 bytes from 119.75.218.70: icmp_seq=1 ttl=57 time=4.17 ms
    64 bytes from 119.75.218.70: icmp_seq=2 ttl=57 time=3.35 ms

    参考:

    http://www.linuxidc.com/Linux/2014-04/100115.htm

    http://blog.csdn.net/judwenwen2009/article/details/17026389

      

  • 相关阅读:
    vector与iterator的一些用法
    动态规划 hdu 1024
    dfs bfs hdu 1045
    hdu 2795
    poj 2828
    线段树染色
    线段树比大小
    A
    ?线程局部变量
    JRE、JDK、JVM 及 JIT
  • 原文地址:https://www.cnblogs.com/spch2008/p/4356970.html
Copyright © 2020-2023  润新知