<?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>【知行合一】-Poople&#039;s Blog &#187; Wireless</title>
	<atom:link href="http://99dev.net/archives/tag/wireless/feed" rel="self" type="application/rss+xml" />
	<link>http://99dev.net</link>
	<description>智巧终归庸俗，雄谋只余虚话</description>
	<lastBuildDate>Mon, 30 Aug 2010 02:16:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>[Collection]Ubuntu安装Ralink wireless驱动</title>
		<link>http://99dev.net/archives/560</link>
		<comments>http://99dev.net/archives/560#comments</comments>
		<pubDate>Wed, 15 Apr 2009 02:37:58 +0000</pubDate>
		<dc:creator>蒼</dc:creator>
				<category><![CDATA[其他Linux技术]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://99dev.net/archives/560</guid>
		<description><![CDATA[Get these packages , compiler &#38; linux-kernel headers for the curent running version 
sudo apt-get install build-essential linux-headers-`uname -r` 

Get the RA-2700E source 
<span class="readmore"><a href="http://99dev.net/archives/560" title="[Collection]Ubuntu安装Ralink wireless驱动" target="_blank">阅读全文——共1974字</a></span>]]></description>
			<content:encoded><![CDATA[<p>Get these packages , compiler &amp; linux-kernel headers for the curent running version </p>
<blockquote><p>sudo apt-get install build-essential linux-headers-`uname -r` </p>
</blockquote>
<p>Get the RA-2700E source </p>
<blockquote><p>wget      <br /><a href="http://www.ralinktech.com.tw/data/drivers/2008_0918_RT2860_Linux_STA_v1.8.0.0.tar.bz2">http://www.ralinktech.com.tw/data/drivers/2008_0918_RT2860_Linux_STA_v1.8.0.0        <br />.tar.bz2</a></p>
</blockquote>
<p> <span id="more-560"></span>
<p>Extract the source </p>
<blockquote><p>tar xvjf 2008_0918_RT2860_Linux_STA_v1.8.0.0.tar.bz2 </p>
</blockquote>
<p>&quot;cd&quot; to source dir (now called SRC) </p>
<blockquote><p>cd 2008_0918_RT2860_Linux_STA_v1.8.0.0 </p>
</blockquote>
<p>You have to change 2 parameters in the subdir file os/linux/config.mk </p>
<blockquote><p>gedit os/linux/config.mk </p>
</blockquote>
<p>This will enable WPA , and use Ubuntu&#8217;s native supplicant. </p>
<p>This is the original contents </p>
<blockquote><p># Support Wpa_Supplicant      <br />HAS_WPA_SUPPLICANT=n </p>
<p># Support Native WpaSupplicant for Network Maganger      <br />HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n </p>
</blockquote>
<p>This is the changed contents </p>
<blockquote><p># Support Wpa_Supplicant      <br />HAS_WPA_SUPPLICANT=y </p>
<p># Support Native WpaSupplicant for Network Maganger      <br />HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y </p>
</blockquote>
<p>Save the new contents.    <br />Now you are done , configuring. </p>
<p>do a : </p>
<blockquote><p>sudo make </p>
</blockquote>
<p>Now the driver is build. </p>
<p>Now the kernel 2.6.x driver called rt2860sta.ko is ready to be    <br />installed. </p>
<p>do a : </p>
<blockquote><p>sudo cp os/linux/rt2860sta.ko /lib/modules/`uname      <br />-r`/kernel/drivers/net/wireless/ </p>
</blockquote>
<p>then </p>
<blockquote><p>sudo depmod -a      <br />sudo modprobe rt2860sta </p>
</blockquote>
<p>Reboot , and the wireless is now known and handled by the gnome    <br />Networkmanager. </p>
<p>Ohh keep the roaming on the interface , if you want to be able to select    <br />wireless lans , that are awailable &quot;in the air&quot;. </p>
<p>I have experienced once or twice that i had to do a : ifdown ra0 and    <br />then a ifup ra0 . in order to get a dhcp address , after booting.</p>
<p><strong>注：</strong></p>
<blockquote><p>depmod(depend module) </p>
<p>功能说明：分析可载入模块的相依性。     <br />语 法：depmod [-adeisvV][-m &lt;文件&gt;][--help][模块名称]      <br />补充说明：depmod可检测模块的相依性，供modprobe在安装模块时使用。      <br />参 数：      <br /> -a或&#8211;all 分析所有可用的模块。       <br /> -d或debug 执行排错模式。       <br /> -e 输出无法参照的符号。       <br /> -i 不检查符号表的版本。       <br /> -m&lt;文件&gt;或system-map&lt;文件&gt; 使用指定的符号表文件。       <br /> -s或&#8211;system-log 在系统记录中记录错误。       <br /> -v或&#8211;verbose 执行时显示详细的信息。       <br /> -V或&#8211;version 显示版本信息。       <br /> &#8211;help 显示帮助。 </p>
</blockquote>
<blockquote><p>modprobe(module probe)     <br />功能说明：自动处理可载入模块。      <br />语 法：modprobe [-acdlrtvV][--help][模块文件][符号名称 = 符号值]      <br />补充说明：modprobe可载入指定的个别模块，或是载入一组相依的模块。modprobe会根据depmod所产生的相依关系，决定要载入哪些模块。若在载入过程中发生错误，在modprobe会卸载整组的模块。      <br />参 数：      <br />&#160; -a或&#8211;all 载入全部的模块。       <br />&#160; -c或&#8211;show-conf 显示所有模块的设置信息。       <br />&#160; -d或&#8211;debug 使用排错模式。       <br />&#160; -l或&#8211;list 显示可用的模块。       <br />&#160; -r或&#8211;remove 模块闲置不用时，即自动卸载模块。       <br />&#160; -t或&#8211;type 指定模块类型。       <br />&#160; -v或&#8211;verbose 执行时显示详细的信息。       <br />&#160; -V或&#8211;version 显示版本信息。       <br />&#160; -help 显示帮助。</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://99dev.net/archives/560/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Original]利用ndiswapper巧妙解决Linux未知驱动</title>
		<link>http://99dev.net/archives/551</link>
		<comments>http://99dev.net/archives/551#comments</comments>
		<pubDate>Tue, 14 Apr 2009 18:13:54 +0000</pubDate>
		<dc:creator>蒼</dc:creator>
				<category><![CDATA[其他Linux技术]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://99dev.net/?p=551</guid>
		<description><![CDATA[决心把工作平台切换到 Linux上，工作用的笔记本是Acer的Aspire 4730Z。在笔记本上安装Linux，由于本本往往有很多普通PC不常见的硬件，会驱动不上。
此次遇到的是常见的问题-无线网卡驱动上不去。
 
初步检测芯片型号
<span class="readmore"><a href="http://99dev.net/archives/551" title="[Original]利用ndiswapper巧妙解决Linux未知驱动" target="_blank">阅读全文——共1419字</a></span>]]></description>
			<content:encoded><![CDATA[<p>决心把工作平台切换到 Linux上，工作用的笔记本是Acer的Aspire 4730Z。在笔记本上安装Linux，由于本本往往有很多普通PC不常见的硬件，会驱动不上。</p>
<p>此次遇到的是常见的问题-无线网卡驱动上不去。</p>
<p> <span id="more-551"></span>
<p><strong>初步检测芯片型号</strong></p>
<p>在Window PE下使用Eveerest检测工具，得到如下信息</p>
</p>
<blockquote><p>网络适配器</td>
<td>Ralink 802.11n Wireless LAN Card</p>
</blockquote>
<p>得知是Ralink推出的无线网卡，又支持802.11n。查询ralink的手册，可以得知只有2700系列和2800系列符合条件。   </p>
<p>该网卡是miniPCI接口，在Linux下运行poople@poople-laptop:~$ lspci |grep RaLink    <br />输出信息    <br />04:00.0 Network controller: RaLink Device 0781    </p>
<p>输出的信息google之，可以搜寻到ndiswrapper的解决方案</p>
<blockquote><p>NdisWrapper实际上是一个开源的驱动(从技术上讲,是内核的一个模块),它能够让Linux使用标准的Windows XP下的无线网络驱动.你可以认为NdisWrapper是Linux内核和Windows驱动之间的一个翻译层.Windows驱动可以通过 NdisWrapper的配置工具进行安装.</p>
<p>有下面两种情况之一时,使用NdisWrapper:</p>
<ol style="list-style-type: decimal">
<li>你的无线网络硬件没有被Ubuntu识别出来.也就是说,在网络环境设置对话框中的网络设备列表里没有发现你的无线网络硬件. </li>
<li>你的无线网络硬件被Ubuntu识别出来了,但是当你配置它的时候,它不能正常工作.比如,它不能连接到无线基站.如果发生这种情况,除了要安装NdisWrapper,你还要进行另外的一步来把现在的Ubuntu驱动放入黑名单.这个后面再讲. </li>
</ol>
</blockquote>
<p><strong>具体步骤</strong></p>
<p>1.安装ndiswrapper套件</p>
<p>sudo apt-get install ndiswrapper-*</p>
<p>2.安装windows驱动</p>
<p>sudo ndiswrapper -i rt2860.inf</p>
<p>该驱动可从Windows版本的驱动安装包中得到</p>
<p>3.查看安装情况</p>
<p>ndiswrapper -l</p>
<p>提示:   <br />rt2860 : driver installed    <br />device (1814:0781) present</p>
<p>4.加载</p>
<p>sudo ndiswrapper -m</p>
<p>提示：   <br />module configuration already contains alias directive</p>
<p>执行一次   <br />sudo modprobe ndiswrapper</p>
<p>5.搜索AP</p>
<p>sudo iwlist ath0 scanning</p>
<p>6.安装设置wicd   <br />在sourcelist中添加以下条目    <br />deb http://apt.wicd.net gutsy extras</p>
<p>安装 wicd   <br />apt-get install wicd</p>
<p>注：安装Wicd会自动卸载network－manager和network－manager－gnome两个包</p>
<p>7.在wicd里设置无线网卡   <br />首选项&gt;Perferences    <br />WPA Supplicant Driver我选的ndiswrapper    <br />Wireless Interface我的是 wlan0    <br />Wired Interface我的是 eth0</p>
<p>8.对无线接入点进行必要的设置</p>
<p style="text-align: center"><a href="http://99dev.net/wp-content/uploads/2009/04/screenshot_0032.png"><img class="size-medium wp-image-554 aligncenter" title="screenshot_0032" height="203" alt="screenshot_0032" src="http://99dev.net/wp-content/uploads/2009/04/screenshot_0032-300x203.png" width="300" /></a></p>
<p>9.运行成功</p>
<p><a href="http://99dev.net/wp-content/uploads/2009/04/screenshot_004.png"><img class="aligncenter size-medium wp-image-555" title="screenshot_004" height="203" alt="screenshot_004" src="http://99dev.net/wp-content/uploads/2009/04/screenshot_004-300x203.png" width="300" /></a></p>
<p>此方法亦可用于其他Linux未知驱动，只要有Windows的驱动版本，许多都是行得通的</p>
<p><strong>相关文章</strong>    <br />ndiswrapper <a href="http://blog.chinaunix.net/u1/35100/showart_279408.html" target="_blank">http://blog.chinaunix.net/u1/35100/showart_279408.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://99dev.net/archives/551/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
