LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 3281|回复: 3

mdk下用madwifi解决Atheros AR5005G 802.11b/g驱动

[复制链接]
发表于 2006-10-12 08:17:31 | 显示全部楼层 |阅读模式
http://hk.myblog.yahoo.com/jw!GC ... prev=38&next=36

我的acer的laptop用的是Atheros AR5005G 802.11b/g 无线网卡
用ndiswrapper加载winxp下的驱动失败,于是转用madwifi,用后感觉真的很mad
http://mdk.linux.org.tw/ftp/pub/mandrake-linux/official/
下载x86_64的内核源码kernel-source-2.6.17.5mdv-1-1mdv2007.0.x86_64.rpm
到sourceforge.net下载最新的madwifi-0.9.2.tar.gz
回到mandriva,安装源码,编译

[root@localhost madwifi-0.9.2]# make
[root@localhost madwifi-0.9.2]# make install
[root@localhost madwifi-0.9.2]# modprobe ath_pci
[root@localhost madwifi-0.9.2]# lsmod
[root@localhost madwifi-0.9.2]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11b  ESSID:""
          Mode:Managed  Channel:0  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:0 dBm   Sensitivity=0/3
          Retryff   RTS thrff   Fragment thrff
          Encryption keyff
          Power Managementff
          Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
#配置,其实加载模块后用mdk自带的工具配置更方便
[root@localhost madwifi-0.9.2]# iwconfig ath0 essid linksys
[root@localhost madwifi-0.9.2]# ifconfig ath0 192.168.1.122
[root@localhost madwifi-0.9.2]# route add default gw 192.168.1.1
[root@localhost madwifi-0.9.2]# ifconfig ath0 up
#看看网卡,正常,在打开浏览器,输入网址看看,确定是成功了
[root@localhost madwifi-0.9.2]# ifconfig
ath0      Link encap:Ethernet  HWaddr 00:16:CF:32:9B:1B
          inet addr:192.168.1.122  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::216:cfff:fe32:9b1b/64 Scopeink
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:82 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3617 (3.5 KiB)  TX bytes:756 (756.0 b)

eth0      Link encap:Ethernet  HWaddr 00:164:17:8D:9F
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:225 Base address:0xe000
发表于 2006-10-12 08:32:22 | 显示全部楼层
早就用過 madwifi, ndiswrapper 驅動過了
回复 支持 反对

使用道具 举报

发表于 2006-10-12 11:51:57 | 显示全部楼层
我还没弄成。
我的是TP-Link的TL-WN321G无线网卡,USB接口的。核心芯片应该是SiS163u,但SiS没有提供Linux驱动(以后切忌买SiS的产品!)。Mandriva能自动加载驱动,但搜索不到无线网络。
回复 支持 反对

使用道具 举报

发表于 2006-10-12 13:14:07 | 显示全部楼层
Post by ShiyuTang
我还没弄成。
我的是TP-Link的TL-WN321G无线网卡,USB接口的。核心芯片应该是SiS163u,但SiS没有提供Linux驱动(以后切忌买SiS的产品!)。Mandriva能自动加载驱动,但搜索不到无线网络。


http://ndiswrapper.sourceforge.net/mediawiki/index.php/List

因為沒有 linux 驅動, 所以要用 ndiswrapper 來加載 xp 的 driver

搜索網路請用 iwlist
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表