I have installed the Atheros driver but ...

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
debata
帖子: 1
注册时间: 2009-03-30 20:11

I have installed the Atheros driver but ...

#1

帖子 debata » 2009-03-30 20:44

root@ubuntu:~# lshw -C network
*-network DISABLED
description: Wireless interface
product: AR242x 802.11abg Wireless PCI Express Adapter
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wifi0
version: 01
serial: 00:21:63:92:79:1c
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=ath_pci latency=0 module=ath_pci multicast=yes wireless=IEEE 802.11b
*-network
description: Ethernet interface
product: 88E8040 PCI-E Fast Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth0
version: 13
serial: 00:13:77:ae:73:df
size: 100MB/s
capacity: 100MB/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.22 duplex=full firmware=N/A ip=192.168.1.103 latency=0 link=yes module=sky2 multicast=yes port=twisted pair speed=100MB/s
*-network DISABLED
description: Ethernet interface
physical id: 2
logical name: pan0
serial: d2:74:d4:de:75:86
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes
why network of wireless is disable?? :em20
头像
qi_w2006
帖子: 61
注册时间: 2009-02-23 23:00

Re: I have installed the Atheros driver but ...

#2

帖子 qi_w2006 » 2009-04-02 15:12

电脑:惠普 V3239AU

原文如下:
系统:红旗Linux桌面版 6.0sp1——1cd
网卡:Boardcom_BG(4312) 笔记本电脑自带的无线网卡通常都是这款。

1:准备好Boardcom_BG(4312)无线网卡的windowsxp下的驱动程序,找到Driver文件夹,复制到Linux桌面备用。

2:访问http://ndiswrapper.sourceforge.net ,下载ndiswrapper 1.53软件。此软件是用来使Linux运行windows无线网卡驱动,从而达到驱动无线的目的。

3:解压下载的ndiswrapper 1.53软件,右键即可解压,
或者在当前窗口打开终端,输入命令:tar -xzvf ndiswrapper-1.53.tar.gz也可解压。

4:进入解压后的文件夹,如上图。在当前窗口打开终端(F4键,或者文件夹菜单“工具——打开终端”)
输入命令:make 进行文件编译
在输入命令:make install 进行安装(需要使用管理员root身份,如果不是可以使用su命令进行用户切换)

5:进入第一步备份的无线网卡驱动Driver目录,
打开终端运行命令:ndiswrapper -i bcmwl5.inf,安装驱动。
依次执行终端命令,写入配置文件:
ndiswrapper -m
ndiswrapper -ma
ndiswrapper -mi

再运行命令,启动后模块自动加载:modprobe ndiswrapper

6:加载无线网卡电源,终端命令:iwconfig wlan0 txpower on ,回车后网卡的灯就会亮了,这样基本成功了。如果不亮,请检查前面步骤并重启系统。

7:点击右下角的无线网卡图标,选“属性”,点击“刷新”获取无线路由器列表,选择你要连接的那个,如果需要密码(注意:只支持WEP方式密码),则需要点击“安全”,输入密码和SID。



如果是使用终端来配置,使用如下命令:

列出区域内的无线网络
iwlist wlan0 scan

假设要连接到网络MyHome(即essid为MyHome的网络),那么输入命令
iwconfig wlan0 essid "MyHome"

如果网络是加密的,密码是0123456789,那么就输入命令
iwconfig wlan0 essid "MyHome" key 0123-4567-89

如果正常的话,输入
iwconfig wlan0

就可以看到连接正常的各项参数了。

启用无线网卡
ifconfig wlan0 up

如果是用DHCP获取IP的,那么用dhclient或dhcpcd获取ip
dhclient wlan0或 dhcpcd wlan0

8. 现在无线网卡应该可以正常使用了
LINUX,拒绝盗版
回复