⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wpahowto - ubuntu中文.htm

📁 802.1x认证的认证服务器freeradius的howto文档
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0064)http://wiki.ubuntu.org.cn/index.php?title=WPAHowto&variant=zh-tw -->
<HTML lang=zh dir=ltr xml:lang="zh" 
xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>WPAHowto - Ubuntu中文</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.5659" name=GENERATOR>
<META content="WPAHowto,Anchor(anthony),Anthony see Anthony's" 
name=keywords><LINK href="/favicon.ico" rel="shortcut icon"><LINK 
title="Ubuntu中文 (zh)" href="/opensearch_desc.php" 
type=application/opensearchdescription+xml rel=search><LINK 
title="訂閱 Ubuntu中文 的 RSS 資料來源" 
href="http://wiki.ubuntu.org.cn/index.php?title=Special:RecentChanges&amp;feed=rss" 
type=application/rss+xml rel=alternate><LINK title="訂閱 Ubuntu中文 的 Atom 資料來源" 
href="http://wiki.ubuntu.org.cn/index.php?title=Special:RecentChanges&amp;feed=atom" 
type=application/atom+xml rel=alternate>
<STYLE type=text/css media=screen,projection>@import url( /skins/ubuntuchina/main.css?164 );
</STYLE>
<LINK media=print href="WPAHowto - Ubuntu中文.files/commonPrint.css" type=text/css 
rel=stylesheet><LINK media=handheld href="/skins/ubuntuchina/handheld.css?164" 
type=text/css rel=stylesheet><!--[if lt IE 5.5000]><style type="text/css">@import "/skins/ubuntuchina/IE50Fixes.css?164";</style><![endif]--><!--[if IE 5.5000]><style type="text/css">@import "/skins/ubuntuchina/IE55Fixes.css?164";</style><![endif]--><!--[if IE 6]>
<STYLE type=text/css>@import url( /skins/ubuntuchina/IE60Fixes.css?164 );
</STYLE>
<![endif]--><!--[if IE 7]><style type="text/css">@import "/skins/ubuntuchina/IE70Fixes.css?164";</style><![endif]--><!--[if lt IE 7]>
<SCRIPT src="WPAHowto - Ubuntu中文.files/IEFixes.js" 
type=text/javascript></SCRIPT>

<META http-equiv=imagetoolbar content=no><![endif]-->
<SCRIPT type=text/javascript>/*<![CDATA[*/var skin = "ubuntuchina";var stylepath = "/skins";var wgArticlePath = "/$1";var wgScriptPath = "";var wgScript = "/index.php";var wgVariantArticlePath = false;var wgActionPaths = [];var wgServer = "http://wiki.ubuntu.org.cn";var wgCanonicalNamespace = "";var wgCanonicalSpecialPageName = false;var wgNamespaceNumber = 0;var wgPageName = "WPAHowto";var wgTitle = "WPAHowto";var wgAction = "view";var wgArticleId = "13451";var wgIsArticle = true;var wgUserName = null;var wgUserGroups = null;var wgUserLanguage = "zh-tw";var wgContentLanguage = "zh";var wgBreakFrames = false;var wgCurRevisionId = "21105";var wgVersion = "1.13.2";var wgEnableAPI = true;var wgEnableWriteAPI = false;var wgRestrictionEdit = [];var wgRestrictionMove = [];/*]]>*/</SCRIPT>

<SCRIPT src="WPAHowto - Ubuntu中文.files/wikibits.js" type=text/javascript><!-- wikibits js --></SCRIPT>

<SCRIPT src="WPAHowto - Ubuntu中文.files/index.php" type=text/javascript><!-- site js --></SCRIPT>

<STYLE type=text/css>@import url( /index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000 );
@import url( /index.php?title=MediaWiki:Ubuntuchina.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=18000 );
@import url( /index.php?title=-&action=raw&gen=css&maxage=18000&useskin=ubuntuchina );
</STYLE>
<!-- Head Scripts -->
<SCRIPT src="WPAHowto - Ubuntu中文.files/ajax.js" type=text/javascript></SCRIPT>
</HEAD>
<BODY>
<DIV id=container>
<DIV id=mastWrapper>
<DIV id=masthead>
<DIV id=nav1>
<UL>
  <LI><A href="http://linux.ubuntu.org.cn/">Linux</A> </LI>
  <LI><A href="http://irc.ubuntu.org.cn/">ChatIRC</A> </LI>
  <LI><A href="http://blog.ubuntu.org.cn/">Blog</A> </LI>
  <LI><A href="http://paste.ubuntu.org.cn/">Paste</A> </LI>
  <LI id=current><A href="http://wiki.ubuntu.org.cn/">Wiki</A> </LI>
  <LI><A href="http://forum.ubuntu.org.cn/">Forum</A> </LI>
  <LI><A href="http://www.ubuntu.org.cn/">Ubuntu</A> </LI></UL></DIV>
<FORM id=search name=searchform 
action=/index.php?title=Special:Search&amp;amp;variant=zh-tw>
<DIV style="TEXT-ALIGN: right"><LABEL for=q>搜尋</LABEL> <INPUT id=q accessKey=f 
name=search> <INPUT class=searchButton id=searchGoButton type=submit value=進入 name=go>&nbsp;<INPUT class=searchButton type=submit value=搜尋 name=fulltext> 
</DIV></FORM></DIV>
<DIV id=bar>
<UL>
  <LI class=selected><A 
  href="http://wiki.ubuntu.org.cn/index.php?title=WPAHowto&amp;variant=zh-tw">頁面</A></LI>
  <LI class=new><A 
  href="http://wiki.ubuntu.org.cn/index.php?title=Talk:WPAHowto&amp;action=edit">討論</A></LI>
  <LI><A 
  href="http://wiki.ubuntu.org.cn/index.php?title=WPAHowto&amp;action=edit">編輯</A></LI>
  <LI><A 
  href="http://wiki.ubuntu.org.cn/index.php?title=WPAHowto&amp;action=history">歷史</A></LI>
  <LI><A 
  href="http://wiki.ubuntu.org.cn/index.php?title=WPAHowto&amp;variant=zh-hans">简体</A></LI>
  <LI><A 
  href="http://wiki.ubuntu.org.cn/index.php?title=WPAHowto&amp;variant=zh-hant">繁體</A> 
  </LI></UL></DIV></DIV>
<P>&nbsp;</P>
<DIV id=mBody>
<DIV id=side>
<UL id=nav>
  <LI><SPAN>導航</SPAN> 
  <UL>
    <LI id=n-mainpage-description><A 
    href="http://wiki.ubuntu.org.cn/index.php?title=%E9%A6%96%E9%A1%B5&amp;variant=zh-tw">首頁</A> 

    <LI id=n-portal><A 
    href="http://wiki.ubuntu.org.cn/index.php?title=Ubuntu%E4%B8%AD%E6%96%87:%E7%A4%BE%E5%8C%BA&amp;variant=zh-tw">社群入口</A> 

    <LI id=n-currentevents><A 
    href="http://wiki.ubuntu.org.cn/index.php?title=Ubuntu%E4%B8%AD%E6%96%87:%E5%BD%93%E5%89%8D%E4%BA%8B%E4%BB%B6&amp;variant=zh-tw">現時事件</A> 

    <LI id=n-recentchanges><A 
    href="http://wiki.ubuntu.org.cn/index.php?title=Special:RecentChanges&amp;variant=zh-tw">近期變動</A> 

    <LI id=n-randompage><A 
    href="http://wiki.ubuntu.org.cn/index.php?title=Special:Random&amp;variant=zh-tw">隨機頁面</A> 

    <LI id=n-help><A 
    href="http://wiki.ubuntu.org.cn/index.php?title=Help:%E7%9B%AE%E5%BD%95&amp;variant=zh-tw">使用說明</A> 
    </LI></UL>
  <LI><SPAN>工具箱</SPAN> 
  <UL>
    <LI id=t-whatlinkshere><A 
    href="http://wiki.ubuntu.org.cn/index.php?title=Special:WhatLinksHere/WPAHowto&amp;variant=zh-tw">鏈入頁面</A> 

    <LI id=t-recentchangeslinked><A 
    href="http://wiki.ubuntu.org.cn/index.php?title=Special:RecentChangesLinked/WPAHowto&amp;variant=zh-tw">相關頁面修訂記錄</A> 

    <LI id=t-upload><A 
    href="http://wiki.ubuntu.org.cn/index.php?title=Special:Upload&amp;variant=zh-tw">上傳檔案</A> 

    <LI id=t-specialpages><A 
    href="http://wiki.ubuntu.org.cn/index.php?title=Special:SpecialPages&amp;variant=zh-tw">特殊頁面</A> 
    </LI></UL>
  <LI><SPAN>個人工具</SPAN> 
  <UL>
    <LI id=pt-login><A 
    href="http://wiki.ubuntu.org.cn/index.php?title=Special:UserLogin&amp;returnto=WPAHowto">登入</A> 
    </LI></UL></LI></UL></DIV><!-- end of SIDE div -->
<DIV id=mainContent>
<H1>WPAHowto</H1>
<H3 id=siteSub>出自Ubuntu中文</H3>
<DIV id=contentSub></DIV><!-- start content -->
<TABLE class=toc id=toc summary=目錄>
  <TBODY>
  <TR>
    <TD>
      <DIV id=toctitle>
      <H2>目錄</H2></DIV>
      <UL>
        <LI class=toclevel-1><A 
        href="http://wiki.ubuntu.org.cn/index.php?title=WPAHowto&amp;variant=zh-tw#WPA_setup"><SPAN 
        class=tocnumber>1</SPAN> <SPAN class=toctext>WPA setup</SPAN></A> 
        <LI class=toclevel-1><A 
        href="http://wiki.ubuntu.org.cn/index.php?title=WPAHowto&amp;variant=zh-tw#Brief_WPA_Introduction"><SPAN 
        class=tocnumber>2</SPAN> <SPAN class=toctext>Brief WPA 
        Introduction</SPAN></A> 
        <UL>
          <LI class=toclevel-2><A 
          href="http://wiki.ubuntu.org.cn/index.php?title=WPAHowto&amp;variant=zh-tw#Assumptions"><SPAN 
          class=tocnumber>2.1</SPAN> <SPAN class=toctext>Assumptions</SPAN></A> 
          <LI class=toclevel-2><A 
          href="http://wiki.ubuntu.org.cn/index.php?title=WPAHowto&amp;variant=zh-tw#The_procedure"><SPAN 
          class=tocnumber>2.2</SPAN> <SPAN class=toctext>The 
          procedure</SPAN></A> 
          <LI class=toclevel-2><A 
          href="http://wiki.ubuntu.org.cn/index.php?title=WPAHowto&amp;variant=zh-tw#If_your_router_does_not_broadcast_the_SSID"><SPAN 
          class=tocnumber>2.3</SPAN> <SPAN class=toctext>If your router does not 
          broadcast the SSID</SPAN></A> </LI></UL>
        <LI class=toclevel-1><A 
        href="http://wiki.ubuntu.org.cn/index.php?title=WPAHowto&amp;variant=zh-tw#Other_Information_-_Can_someone_check_this_and_delete_it_if_it_is_irrelevant.3F"><SPAN 
        class=tocnumber>3</SPAN> <SPAN class=toctext>Other Information - Can 
        someone check this and delete it if it is irrelevant?</SPAN></A> 
        <LI class=toclevel-1><A 
        href="http://wiki.ubuntu.org.cn/index.php?title=WPAHowto&amp;variant=zh-tw#Integration_with_DHCP"><SPAN 
        class=tocnumber>4</SPAN> <SPAN class=toctext>Integration with 
        DHCP</SPAN></A> 
        <LI class=toclevel-1><A 
        href="http://wiki.ubuntu.org.cn/index.php?title=WPAHowto&amp;variant=zh-tw#Links_and_Resources"><SPAN 
        class=tocnumber>5</SPAN> <SPAN class=toctext>Links and 
        Resources</SPAN></A> </LI></UL></TD></TR></TBODY></TABLE>
<SCRIPT type=text/javascript> if (window.showTocToggle) { var tocShowText = "顯示"; var tocHideText = "隱藏"; showTocToggle(); } </SCRIPT>
<A name=WPA_setup></A>
<H2><SPAN class=editsection>[<A title="編輯段落: WPA setup" 
href="http://wiki.ubuntu.org.cn/index.php?title=WPAHowto&amp;action=edit&amp;section=1">編輯</A>]</SPAN> 
<SPAN class=mw-headline>WPA setup </SPAN></H2>
<P>&lt;!&gt; This page is a combination of the original WPAHowto page, and the 
WPA information on the Ndiswrapper page. </P><A name=Brief_WPA_Introduction></A>
<H2><SPAN class=editsection>[<A title="編輯段落: Brief WPA Introduction" 
href="http://wiki.ubuntu.org.cn/index.php?title=WPAHowto&amp;action=edit&amp;section=2">編輯</A>]</SPAN> 
<SPAN class=mw-headline>Brief WPA Introduction </SPAN></H2>
<P>Wi-Fi Protected Access (WPA) is a family of encryption methods used when 
connecting to a wireless access point. It is based on the technology that is 
used in Wired Equivalent Privacy (WEP) but provides stronger security. For more 
information on the subject you can see the <A class="external text" 
title=http://en.wikipedia.org/wiki/Wi-Fi_Protected_Access 
href="http://en.wikipedia.org/wiki/Wi-Fi_Protected_Access" rel=nofollow>WPA</A> 
entry on Wikipedia. </P>
<P>&lt;!&gt; These instructions are targeted toward Ubuntu Dapper and newer. 
They are untested with Breezy, but should also work. </P><A 
name=Assumptions></A>
<H3><SPAN class=editsection>[<A title="編輯段落: Assumptions" 
href="http://wiki.ubuntu.org.cn/index.php?title=WPAHowto&amp;action=edit&amp;section=3">編輯</A>]</SPAN> 
<SPAN class=mw-headline>Assumptions </SPAN></H3>
<UL>
  <LI>
  <UL>
    <LI>You can already access the network/internet -without- WPA or other 
    encryption. 
    <LI>You're using an ndiswrapper-based driver (probably not essential, but 
    you'll have to modify a few of the commands if you're using madwifi or one 
    of the native drivers - YMMV). 
    <LI>Your wireless card comes up with an interface name of 'wlan0' (if not, 
    you'll need to modify my examples to suit). 
    <LI>You want to use WPA-PSK with either TKIP or AES/CCMP. 
    <LI>Your router (or whatever) provides IP address details via DHCP (not 
    essential, but you'll have to modify one of the files beyond my examples). 
    <LI>Your router or WAP broadcasts its SSID (if not, <A class=new 
    title="Anthony see Anthony's (尚未撰寫)" 
    href="http://wiki.ubuntu.org.cn/index.php?title=Anthony_see_Anthony%27s&amp;action=edit&amp;redlink=1">anthony 
    see Anthony's</A> notes at the bottom of this page). 
    <UL>
      <LI>
      <UL>
        <LI>You're comfortable editing files and working with badly-written 
        HOWTOs.&nbsp;:) </LI></UL></LI></UL></LI></UL></LI></UL>
<P><BR></P><A name=The_procedure></A>
<H3><SPAN class=editsection>[<A title="編輯段落: The procedure" 
href="http://wiki.ubuntu.org.cn/index.php?title=WPAHowto&amp;action=edit&amp;section=4">編輯</A>]</SPAN> 
<SPAN class=mw-headline>The procedure </SPAN></H3>
<P>First up, you'll need the wpasupplicant package. It's in the Universe 
repository, so you'll need to have that in your sources.list file. If you've 
already installed this package, I recommend that you reinstall; use these 
commands to get rid of it: </P><PRE>sudo killall wpasupplicant
sudo dpkg --purge wpasupplicant
</PRE>
<P>Now install a fresh copy: </P><PRE>sudo apt-get install wpasupplicant
</PRE>
<P>{i} ~- The libopensc-openssl has been superseded by libengine-pkcs11-openssl. 
BTW, what is this needed for? WPA-PSK with TKIP works fine without it. - 
20060107 DaniloPiazzalunga -~ </P>
<P>{i} ~- You don't need libengine-pkcs11-openssl at all in standard 
configurations. - 20060110 [<I>DanielTChen</I>] -~ </P>
<P>&lt;!&gt; If you compiled and installed a newer version of ndiswrapper then 
it's possible you will need to compile and install a newer version of 
wpasupplicant. </P>
<P>After you've got it installed, start by modifying the "default" file -- to 
enable wpa_supplicant and provide its command line options. For our example 
setup, this would be: </P><PRE>sudo nano /etc/default/wpasupplicant
</PRE>
<P>attachment:IconsPage/IconExample48.png Here's what mine looks like; modify 
yours to taste: </P><PRE># /etc/default/wpasupplicant
# WARNING! Make sure you have a configuration file!
ENABLED=1
OPTIONS="-iwlan0 -c/etc/wpa_supplicant.conf -Dndiswrapper -w"

# Useful flags:
#  -D &lt;driver&gt;          Wireless Driver
#  -i &lt;ifname&gt;          Interface (required, unless specified in config)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -