<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lost HIT - Zealot&#039;s Blog &#187; ath5k</title>
	<atom:link href="http://blog.losthit.com/archives/tag/ath5k/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.losthit.com</link>
	<description>关注 linux/c/c++/python/web开发,互联网数据抓取与挖掘</description>
	<lastBuildDate>Tue, 31 Jan 2012 09:27:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>R61在linux/debian下安装madwifi无线驱动</title>
		<link>http://blog.losthit.com/archives/tp-r61i-madwifi-wireless-in-debian-linux/</link>
		<comments>http://blog.losthit.com/archives/tp-r61i-madwifi-wireless-in-debian-linux/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 16:06:07 +0000</pubDate>
		<dc:creator>Zealot</dc:creator>
				<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ath5k]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[madwifi]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://blog.losthit.com/?p=313</guid>
		<description><![CDATA[本文记录Thinkpad R61i在debian lenny下安装madwifi驱动程序，替代ath5k，实现无线上网。 主要参考：http://forum.ubuntu.org.cn/viewtopic.php?f=116&#38;t=169205。 仅作为tp安装linux的备忘，欢迎评论。 1. 下载 Download ... ]]></description>
			<content:encoded><![CDATA[<p>本文记录Thinkpad R61i在debian lenny下安装madwifi驱动程序，替代ath5k，实现无线上网。<br />
主要参考：http://forum.ubuntu.org.cn/viewtopic.php?f=116&amp;t=169205。<br />
仅作为tp安装linux的备忘，欢迎评论。</p>
<pre>
1. 下载
   Download the latest madwifi snapshot. // Google it

2. 解压
   $ tar zxvf madwifi-hal-0.10.5.6-current.tar.gz

3. 编译安装madwifi // 首先通过apt安装编译环境
   $ sudo aptitude install build-essential linux-headers-$(uname -r)
   $ make
   $ sudo make install

4. 安装module
   $ sudo modprobe ath_pci

5. 使网卡每次开机时都加载, make it load every time you boot
   $ sudo vi /etc/modules
   添加一行，如下
     ath_pci

6. 重新启动机器
   $ sudo reboot

注释 &#038;&#038; 备忘
1. 为保证生效，重启前确认已屏蔽ath5k（默认驱动程序有可能是这个）
   检查是否已安装ath5k
   $ lsmod |grep ath5k
   有，则添加到blacklist
   $ cat /etc/modprobe.d/blacklist.conf
     blacklist ath5k
2. 确认安装驱动是否成功
   $ lsmod | grep ath_pci
     ath_pci               201176  0
     wlan                  193392  5 wlan_wep,wlan_scan_sta,ath_rate_sample,ath_pci
     ath_hal               300768  3 ath_rate_sample,ath_pci
3. 硬件型号查看
   $ lspci |grep Ethernet
     00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03)
     03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
4. ath5k是madwifi替代品，除非ath5k下无法连接无线，不建议使用madwifi
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.losthit.com/archives/tp-r61i-madwifi-wireless-in-debian-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

