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

  

转载于:https://www.cnblogs.com/spch2008/p/4356970.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值