文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>mdk下用madwifi解决Atheros AR5005G 802.11b/g驱动

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

时间:2007-01-30  来源:shiyaowen

我的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
#make只是失败了两次,编译源码从来没有如此顺利过
#插入模块
[root@localhost madwifi-0.9.2]# modprobe ath_pci
#看看有没有加载
[root@localhost madwifi-0.9.2]# lsmod
#查看网卡,呵呵有耶,好久没有这么兴奋,上次在debian上编译个一个晚上才编译好,加载时却失败,最后放弃
[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
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          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
#把无线网卡up起来
[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 Scope:Link
          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:16:D4: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

相关阅读 更多 +
排行榜 更多 +
大武道最新版

大武道最新版

休闲益智 下载
宝宝巴士手机版(babybus)

宝宝巴士手机版(babybus)

休闲益智 下载
宝宝巴士快乐启蒙游戏

宝宝巴士快乐启蒙游戏

休闲益智 下载