\documentclass[letterpaper,english]{article}
\nonstopmode
\akai
\usepackage{linuxdoc-sgml}
\usepackage{qwertz}
\usepackage{url}
\usepackage[latin1]{inputenc}
\usepackage{t1enc}
\usepackage[english]{babel}
\usepackage{epsfig}
\usepackage{null}
\def\addbibtoc{
\addcontentsline{toc}{section}{\numberline{\mbox{}}\relax\bibname}
}%end-preamble
\setcounter{page}{1}
\title{Wireless HOWTO}
\author{§@ªÌ: Roberto Arcomano  {\ttfamily berto@fatamorgana.com}\\ 
Ä¶ªÌ: ³¯±Ó¼C    {\ttfamily expns@yahoo.com}}
\date{}
\abstract{µL½uºô¸ô Wireless ¬O¤@¶µ·sªº§Þ³N,¥¦¾Ö¦³¤ñ¸û°ªªº³s±µ³t²v(³Ì°ª11 Mbps), ³o¥÷¤åÀÉ´y­z¦p¦ó¦bLinux§@·~¨t²Î¤W³]©wµL½uºô¸ô, ¸Ñ¨M­Ý®e°ÝÃD,¥H¤Î§ó¦hªº¸ê°T.}


\begin{document}
\maketitle
\tableofcontents

\section{¤¶²Ð}

«ö§@ªÌ­ì·N«O¯d­^¤å»¡©ú.

This document explains something about Wireless networking, how to setup it, 
problems with it. Unliked wired network, Wireless requires some additional trick to work well. 
You should know something about antennas, pointing it, 
roaming info and so on. Feedback are welcome. 
You can found more interesting help at
\onlynameurl{Jean Tourrilhes Wireless Howto}

For any suggestion and feedback write to 
\onlynameurl{my email address}






\subsection{ª©Åv}

Copyright (C) 2000,2001 Roberto Arcomano. 

This document is free; you can redistribute it and/or modify it under the terms of the 
GNU General Public License as published by the Free Software Foundation; 
either version 2 of the License, or (at your option) any later version. 

This document is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. 
You can get a copy of the GNU GPL 
\onlynameurl{here}


\subsection{Translations }

If you want to translate this document you are free, you only have to: 
\begin{itemize}
\item Check that another version of it doesn't already exist at your local LDP 
\item Maintain all 'Introduction' section (including 'Introduction', 'Copyright', 
'Translations', 'Credits'). 
\end{itemize}


Warning! You don't have to translate TXT or HTML file, you have to modify LYX file,
so that it is possible to convert it all other formats (TXT, HTML, RIFF, etc.):
to do that you can use "LyX" application you download from 
\onlynameurl{http://www.lyx.org}  

No need to ask me to translate! You just have to let me know (if you want) about your translation. 

Thank you for your translation! 






\subsection{Credits }

Thanks to 
\onlynameurl{Fatamorgana Computers} for hardware equipment and experimental opportunity. 

Thanks to 
\onlynameurl{Linux Documentation Project} for publishing and uploading my document in a very quickly fashion.




\section{­I´ºª¾ÃÑ}


\subsection{Wireless ¬O¤°»ò?}

Wireless ¬O¤@ºØÅý§A¯à»·¶ZÂ÷³s±µ¹q¸£ªº·s§Þ³N. ¥¦¨Ï¥ÎWirelessµo®g/±µ¦¬(2.4 GHz)¥d,¨ä³nÅé¬É­±Ãþ¦ü©ó¥H¤Óºô¥d.
¨C¤@¶ôWireless¥d¾Ö¦³¥þ²y°ß¤@ªºµwÅé¦a§}. 
¨å«¬ªº¶Ç¿é¥\²v¬° 10-20 mW ª½¨ì 100mW(°Ñ·Ó¼Ð·Ç IEEE 802.11 ©M FCC/CEPT ³\¥i). 




\subsection{radio cards ªº³Ì»·¶Ç¿é¶ZÂ÷¬O¦h¤Ö?}

µL½u³q°T³Ì­«­nªº¤@ÂI´N¬O line of sight clearµø³¥: §A¥²»Ý¯à¬Ý¨£¥t¤@ºÝªº¤Ñ½u, ¨âºÝ¤§¶¡¤¹³\¦s¦b¤Ö³\¾ð¤ì.
¶ZÂ÷¬O¨Ì¾Ú¤Ñ½u(¥\²v©ñ¤j¾¹)©M¥Îªk:2¨ì300¦Ì¨Ï¥Î¥þ¤è¦ì¤Ñ½u. 1¤d¦Ì¨Ï¥Î©w¦V¤Ñ½u,
2¨ì3¤d¦Ì¨Ï¥Î¥þ¤è¦ì«H¸¹©ñ¤j¤Ñ½u(200mW), §ó»·¤@ÂIªº¨Ï¥Îparabolic©·§Î¤Ñ½u. 
50¨ì60¤d¦Ì¨Ï¥Î©·§Î©Î©w¦V«H¸¹©ñ¤j¤Ñ½u(some Watts).



­nª¾¹D¨Ï¥Î¥\²v©ñ¤j¾¹¤£¬O¦Xªkªº,¦]¦¹§A¥i¯à·|¹H¤ÏFCC/CEPTªº³W©w(µø©Ò¦b°ê®aªº±¡ªp¦Ó©w).




\subsection{¦³½uºô¸ô©MµL½uºô¸ô¤§¶¡ªº°Ï§O¬O¤°»ò?}

³]©w¦³½uºô¸ô¤ñ¸ûÂ²³æ(at least at low level), 
³]©wµL½uºô¸ô«D±`Ãø,ºÞ²z,½Õ¸Õ...³Ì¨å«¬ªº¬OµwÅéªº¦w¸Ë,
³nÅéªº³]©w/½Õ¸Õµ¥µ¥¹ïµL½uºô¸ô¨Ó»¡³£¬O«D±`ÃöÁäªº:
\begin{itemize}
\item §A¥²»Ý¿ï¾Ü¨Ï¥Î¦X¾AªºµL½uºô¥d:¦³³\¦hªº²£°Ó¤£¦P«¬¸¹ªººô¥d¤Î¨Ï¥Î¥¦­Ìªº¤£¦P±ø¥ó.
¦pªG§A­n«Ø¥ß¤@­Ó¤p«¬ªºµL½uºô¸ô, §A³Ì¦n¿ï¥Î­Ý®eIEEE 802.11ªºµL½uºô¥d©M¤@­Ó°òÂI(Access Point).
\item ¦³¨Ç¥d¬O PCMCIA¥d.©Ò¥H§A­n¥ý¦w¸Ë¤ä«ùPCMCIAªºLinux®Ö¤ß.
\item §A¥i¥H¥Î¨â­Ó¹B¦æµÛªº¨t²Î¨Ó¶i¦æ´ú¸Õ,²Ä¤@¦¸ªº¶ZÂ÷ªñ¤@¨Ç, µM«á´N¥i¥H¶i¦æ»·¤@ÂIªº´ú¸Õ.
\item ¦b¥ô¦ó®ð­Ô¤U¶i¦æ´ú¸Õ(¨å«¬ªº¤U«B¤Ñ).
\item °ª°ª¿³¿³¦a§¹¦¨´ú¸Õ.
\end{itemize}
  

¦pªG§A³]©w¤@­ÓÂàµo¾¹(¦³³\¦hµL½uºô¸ô©MµL½uºô¥dªºLinux¾÷¾¹), ¦b»·¶ZÂ÷¹ï¥¦¶i¦æ³]©w·|¦³¤@¨Ç³Â·Ð.




\subsection{³]©w¤@­ÓµL½uºô¸ô§Ú»Ý­nª¾¹D¨Ç¤°»ò?}

³]©w¤@­ÓµL½uºô¸ôªº´X­Ó±ø¥ó:

³nÅé±ø¥ó:
\begin{itemize}
\item ¤@¯ëªººô¸ôª¾ÃÑ,¥]¬AIP¦a§}, ºô¸ô¾B¸n,¸ô¥Ñ... ²[»\¤FLinux NET3-4-HOWTOªº©Ò¦³¤º®e.
\item ¦a§}¸ÑªR¥N²z,ºô¾ô proc ¤å¥ó¨t²Î.¥]¬A Proxy-ARP-Subnet, Bridge Mini-Howto and in Linux Kernel Source 
(2.2.x or 2.4.x) under Documentation/networking/ ip-sysctl.txt) * 
\item µL½uºô¸ôª¾ÃÑ, ¥]¬A³X°Ý¼Ò¦¡(ADHOC, INFRASTRUCTURE and ACCESS POINT), ÀW¹Dªº·§©À,
¤á¥~©M¤á¤ºªº©w¸qµ¥µ¥,§A¥i¥HÁA¸Ñ¦³Ãö©óµL½uºô¸ôªº¤åÀÉ: IEEE standard 802.11, CEPT, µ¥µ¥.
\end{itemize}


¥t¥~ªº:
\begin{itemize}
\item ¤@ÂI³]©w¤Ñ½uªº¸gÅç,¸Ë³Æ,©w¦V.
\item Pc µwÅé³]©wªº¸gÅç¤Î±Æ°£µL½uºô¥d¦P¨ä¥¦µwÅéªº½Ä¬ð.
\end{itemize}


³Ì«á, ¾Ö¦³¤@­Ó·¥¨Îªº¹B®ð.

*©Ò¦³³o´£¨ìªº¤åÀÉ³£¥i¥H¦b\onlynameurl{www.linuxdoc.org} §ä¨ì.


\subsection{§Ú¬°¤°»ò­n³]©w¤@­ÓµL½uºô¸ô, ¥Î¥¦¨Ó°µ¤°»ò?}

¬°¤°»ò? ¦]¬°§A¹ï¦³½uºô¸ô¤£º¡·N.

¦³¤FµL½uºô¥d,§A¥i¥H¬ï¹L¤½¶é,°±¨®³õ,©Ð«Î(­n¬Ý±o¨£¥t¤@ºÝ¤~¦æ)

µL½uºô¥d¨Ï¥Îªº°ª¼h¨óÄ³¦P¥H¤Óºô¥d¤@¼Ë:¦bµL½uºô¸ô¤W¨Ï¥ÎTCP/IP, ¦ý­nª`·N¦PWindow
ªº¦@¨É³nÅé,¦]¬°§A¨Ï¥ÎLinux forwardÂà±H, ip forwarder ¤£·|Åý¼s¼½«H®§³q¹L(°Ñ¦ÒNetBIOS¨óÄ³).
¦b³oºØ±¡ªp¤U´N­n¨Ï¥ÎWINSªA°È¨Ó¤ä«ùºô¸ô¬yÄý.(°Ñ·Ó Samba ¤åÀÉ).

µL½u¯à¨Ï§A«Ø¥ß¤@­Ó¤p«¬ªº LAN/WAN ¤¤¤ß(¥i¥H´£¨ÑInternet±µ¤J),¥i¥HÅý¥ô¦ó¤H±qªÅ¤¤¹ï¥¦¶i¦æ³X°Ý!

·Q¹³¤@¤U,¤@­Ó§¹¥þ¥ÑµL½uºô¸ô²Õ¦¨ªº°ê®a!

·Q¹³¤@¤U,¤@­Ó¥i¥H±N¤£¦P°ê®aªº¤H­Ì»E¦b¤@°_,¤À¨É­µ¼Ö,¤å¥ó,³nÅé,µø«Ìªººô¸ô.

©Ò¦³ªº³£¥i¥H°µ¨ì(¦b¤@¨Ç°ê®a¤v¸g°µ¨ì¤F).¨Ï¥ÎµL½uºô¥d©MµL½u°òÂI(Access Point),¥R·íÂàµo¾¹ªºµL½uLinux¾÷¾¹
(at IP level such as router or, if you want, at data-link level,
with bridge driver, see more at
\onlynameurl{Bridge Http} Link or 
\onlynameurl{Bridge Ftp Link} )


\subsection{¦bHOWTO¸Ì³£´£¨ì¤F­þ¨ÇµL½uºô¥d?}

¦bHOWTO¸Ì§Ú±q¤@¯ëªº³]©w¥Xµo(¤¶²ÐµL½uºô¸ô),§Úª½±µ¨Ï¥Î§ÚÁA¸ÑªºµL½uºô¥d°µ¨Ò¤l.§ÚÁÙ¦³¤@¨Ç³ZÂ¬¥i¥HÅý¥¦­Ì´£°ª©Ê¯à.

Wirelessºô¥d¦C¦L:
\begin{itemize}
\item Proxim Symphony -  \onlynameurl{http://www.proxim.com}
\item Webgear AviatorPRO 2.4 (pcmcia support needed) - 
\onlynameurl{http://www.webgear.com}
\item Lucent Wavelan I, II, Orinoco -
\onlynameurl{www.lucent.com} and 
\onlynameurl{www.orinocowirelless.com}
\item Cabletron -        \onlynameurl{http://www.cabletron.com}
\item YDI am930\_isa -    \onlynameurl{http://www.ydi.com}
\item  Siemens Radio Modem (Dect) -
\onlynameurl{http://www.siemens.com}
\item RadioLan (5 GHZ) - \onlynameurl{http://www.radiolan.com}
\end{itemize}


¤@­Ó§¹¾ãªº²M³æ:        \onlynameurl{Jean Tourrilhes Wireless Howto}

Siemens Radio Modem is not a really 802.11 Wireless card, they are modems that you can attach to
serial and they act as modem (at 1800 MHz, so DECT technology). Appendix B describe their use. 



RadioLan cards work at 5.4GHz in a 
Windows 9x environment and with a RadioLan Access Point that bridges
between Wired and Wireless networks (¦b§Úªº¦L¶H·í¤¤¨S¦³LinuxªºÅX°Ê). 


\subsection{¥¦­Ì­È¦h¤Ö¿ú?}

¤W­±´£¨ìªº¤£¤Ó¶Q:±q´X¦Ê¬ü¤¸¦Ü¤W¤d¬ü¤¸(LucentªºµL½uºô¥d,¤@­Ó°òÂI(Access Point)¥~¥[¨â­ÓµL½uºô¥d,¥i¥R·íºô¾ô¨Ï¥Î).




\section{¦³ÃöµL½u³sµ²ªº¸ê°T.}

³o¸Ì§ÚÁ`µ²¤@­Ó³Ì°ò¥»ªºµL½uºô¸ôÀô¹Ò.


\subsection{ª«²z¼h}

²Ä¤@¼h ISO/OSI ¦³¤TºØ»¡©ú:
\begin{itemize}
\item FHSS, Frequency Hopping Spread Spectrum 
\item DSSS, Direct Sequence Spread Spectrum 
\item Infrared connections, not covered by this howto 
\end{itemize}





\subsection{³]©w}

¨âºØ³]©w:
\begin{itemize}
\item AdHoc¼Ò¦¡(¤]ºÙ¿W¥ß¼Ò¦¡(Adhoc mode) ),¨C­Ó¿W¥ßªººô¸ô¾Ö¦³¤@­ÓBSS(Basic Service Set
°ò¥»ªA°È³]©w)¨C­Ó°ò¯¸¦³¬Û¦PªºBSS.
\item Infrastructure mode§Î²Õ¼Ò¦¡,´X­Ó¨Ï¥Î°òÂI(Access Point)¬Û¤¬³q°Tªººô¸ô(¨C­Óºô¸ô³£¦³¤@­Ó BSS ),
²Õ¦¨¤@­ÓªA°ÈÂX®iESS (Extended Service Set).·í¤¤¤]¦³º©¹C¥\¯à,¦p­É¥X¤@­Ó¤l¯¸¥[¤J³Ìªñªº°òÂI(Access Point).
\end{itemize}


AdHoc¬O³ÌÂ²³æªº¤èªk(and the also the less scalable¯Ê¤Ö¤É¯Åªº¾l¦a),¯à¨Ï³\¦h¥D¾÷ª½±µ¶i¦æ³q°T.
­­¨î©Êªº±ø¥ó¬O: ¨C­Ó¥D¾÷¥²»Ý¥H¥i¨£ªº§Î¦¡ª½±µ¥[¤J¨ìºô¸ô·í¤¤(at least Ideally,
because this problem could be solved at IP level! For more see Par 5.4).
\begin{tscreen}
\begin{verbatim}
            Adhoc mode 

                               A - - - - - C
                                 \       /
                               |   \   /   |
                                     /\
                               |   /    \  |
                                 /       \
                               B - - - - - D
\end{verbatim}
\end{tscreen}
 

¦b§Î²Õ¼Ò¦¡¤U,§A¨Ï¥Î°òÂI(Access Point)»P¨ä¥¦¥D¾÷¤À¨Éºô¸ô.
\begin{tscreen}
\begin{verbatim}
Infrastructure mode 
                                    ESS
 
          A - - - | - Access Point - -  Access Point - | - - - D
 
          B - - - |   BSS1                   BSS2      | - - - E
 
          C - - - |                                    | - - - F
\end{verbatim}
\end{tscreen}
 

¹ï©óB©MC¨Ó»¡ D,E,F¬O¤£¥i¨£. ¦]¬°¥¦­Ì¨Ï¥Î¬Û¦PªºESS©Ò¥H¯à«Ü¦n¦a¶i¦æ³q°T.
A , B , C ¤T­Ó¤§¶¡¤]¬O¤£¥i¨£ªº.



¦b¤@­Ó¹³¦ü¤á¥~©M¤á¤º±Nµu¶ZÂ÷½d³ò©Mªø¶ZÂ÷½d³ò°Ï¤À¶}ªº±¡§Î.




\subsection{­Ý®e©Ê}

½Ðª`·N,¥þ¥@¬É¦³«Ü¦hªºµL½uºô¥d,¨Ã«D¨C­ÓµL½uºô¥d¤§¶¡³£¯à¶i¦æ¨}¦nªº³q°T.
¬°¤F§ó¦n¦a­Ý®e,³Ì¦n«ö¤U¨Ò¤èªk¨Ï¥Î:
\begin{itemize}
\item ¬Û¦Pªº³]©w¼Ò¦¡:¥u¨Ï¥ÎAdhoc©ÎESS
\item ¬Û¦Pªºª«²z¼h:¥u¨Ï¥ÎDSSS ©Î all FHSS 
\item ¬Û¦Pªº¨óÄ³:(for example Proxim has its particular proprietary protocol 
OpenAir that cannot talk with other FHSS cards). 
\end{itemize}



\subsection{§Ú¸Ó¨Ï¥ÎAdhoc ÁÙ¬O Infrastructure?}

¨Ï¥Î°òÂI(Access Point)¬O®ø·À°ÝÃDªº³Ì¦n¤èªk,¦ý¬O»ù®æ©ù¶Q.²z·Q·í¤¤,§ó¶°¤¤ªººô¸ô§A»Ý­n¨Ï¥ÎInfrastructure§Î²Õ¼Ò¦¡.
¥u¦³¤Ö¶q¥D¾÷®É¿ï¥ÎAdhoc. why to spend much money for few hosts? 
­nª¾¹D¦hªáÂI¿ú¥i¥H¬Ù¥h¤£¤Öªº³Â·Ð.
Anyway be aware that if you spend much money probably all works well while spending less you could have some trouble. 




\subsection{Linux¥D¾÷¯à¤£¯à·í¦¨°òÂI(Access Point)¨Ó¨Ï¥Î?}

°Ý±o¦n!
³Ìªñ¦³¤@ºØµwÅé¥i¥H°µ¨ì: Prism2 
§A¥i¥H¦b³o¸ÌÁA¸Ñ§ó¸ÔºÉªº±¡ªp:\onlynameurl{people.ssh.com/jkm/Prism2}




\section{¤u¨ã½c}


\subsection{µwÅé±ø¥ó}

§A»Ý­n¤@¥xLinux¥D¾÷(486 ©Î§ó¦n a Pentium 100+ with 16MB+ ram), µL½uºô¥d,¤@­Ó¤Ñ½u(¬Ý²Ä¤G³¡¥÷),
¦]¬°­n¼ÒÀÀ³q°T,©Ò¥H¦b¥t¤@ºÝ¤]»Ý­n³o¨Ç.(with Win9x or WinNT, if you prefer...),




\subsection{³nÅé±ø¥ó}

§A»Ý­n:
\begin{itemize}
\item ³Ìªñªº,Ã­©wªº®Ö¤ß(2.2.x) 
\item ¦pªG§A¶Rpcmcia¥d ³Ì·s³ÌÃ­©wªº pcmcia ¥N½X (pcmcia-cs)
\item µL½uºô¸ôÅX°Êµ{¦¡:¦pªG¨S¦³, §A¥i¥H¦b²£°ÓªºWeb¯¸¥x¤U¸ü,¦pªG§A¨S¦³§ä¨ì,
¥i¥H·j¯Á                   \onlynameurl{ Jean Tourrilhes Wireless Howto}.
¦pªGÁÙ¬O¨S¦³,¬Ý¨Ó§A»Ý­nµ¥¤F,©Î±NWindows ÅX°ÊÂà´«¦¨ Linux ÅX°Ê. (¯¬§A¦n¹B)

¦b¦³¤F³o¨Ç¤§«á,§AÁÙ­n­«·s½sÄ¶®Ö¤ß, ­«·s½sÄ¶pcmcia¥N½X(¦pªG§A¬O¥Î pcmciaµL½uºô¥dªº¸Ü),
³Ì«á­«·s½sÄ¶µL½uºô¸ôÅX°Êµ{¦¡,³o¬O¤@¯ëªº¹Lµ{, ¦³¨Ç¯S§OªºµL½uºô¥d¥u­n°õ¦æ²Ä3¨B©ÎªÌ²Ä 1 ¨B©M²Ä 3 ¨B.



\end{itemize}





\section{µL½uºô¸ô³]©w}


\subsection{°ò¥»¨BÆJ}

·í§A¨ã³Æ¤F©Ò¦³ªº±ø¥ó¤§«á,§A»Ý­n«ö·Ó¥H¤U¨BÆJ¶i¦æ³]©w:
\begin{itemize}
\item ®Ö¤ßªº©³¼h³]©w,¦pI/OºÝ¤f,¤¤Â_, DMA ...)§¹¦¨«á,§AÀ³·í¦b¶}¾÷ªº®É­Ô¬Ý¨ì³o¨Ç,
ªí¥ÜµL½uºô¥d³QLinux¥¿½TÃÑ§O. 
\item ¬°µL½uºô¥d³]©w³s±µ¼h,¤ñ¦p¥Î"rl2cfg"³]©wProxim Symphony 
µL½uºô¥d, §AÀ³·í¬°¨C­ÓµL½uºô¥d³]©w¥HÅý¥¦­Ì¯à¶i¦æ¥¿±`³q°T.
\item ¨Ï¥Î ifconfig ©M route §ó§ïIP³]©w.
\item §ä¨ì³Ì¨Î¹B¦æªº¨MÂ¬,¸Ñ¨M¸ê·½½Ä¬ð. ³o¼Ë§AªºµL½uºô¸ô¥H¸g°ò¥»¹B¦æ°_¨Ó:
proxy-arp, icmp echo redirect, bridging, channel change ³o¨Ç¤è­±ÁÙ­n°µ¤@¨Ç²Ó¸`ªº³]©w,
Àu¤Æºô¸ô,¨¾¤î²§±`. 
\end{itemize}


N.B.: step 1, 2 and 3 correspond to level 1,
2 ©M 3 °ò©ó ISO/OSI, 
while step 4 is an addendum to solve situation generated by netmask 255.255.255.255.
¨Æ¹ê¤W32bitºô¸ô¾B¸n¹H¤Ï¤F ISO/OSI ¼Ð·Ç,¦]¬°ºô¸ô±j¨î¨Ï¥Î¬Û¦Pªº¦a§}¹ï¤£¦s¦bªº¾÷¾¹©M¦a§}¶i¦æ¼s¼½. 

¦³¨Ç¤H¥i¯à¤Ï¹ï³oºØÆ[ÂI,¦ý¬O¦pªG§A¥Î ISO/OSI ¼Ð·Ç³]©wµL½uºô¸ô,·|¥¢¥h«Ü¦h­Ó¤lºô¸ôªº³]©w.
¨C­Ó¤lºô³q±`¥á±ó2­ÓIP¸¹(Network and broadcast),¨Ã¥¢¥hIP¤À°tªºÆF¬¡©Ê(geographically kind). 
§A¥i¥H¦bªþ¿ý¤¤§ä¨ì¦³Ãöªº´y­z.
You could notice that step 2 is not present 
in Wired cards ¦]¬°¨º¸Ì¨S¦³¤°»ò¸Ô²Óªº³]©w­n°µ. 




\subsection{©³¼h®Ö¤ß³]©w}

ºÞ²z¾÷¾¹Á`·|¦³­Ó°ÝÃD : Åý®Ö¤ß(or in general)ÃÑ§O§AªºµwÅé.

µL½uºô¥d§ó½ÆÂø, ¦]¬°¥¦­Ì³q±`¬OPcmcia plug, ©Ò¥H­º¥ý±oÅý§Aªº®Ö¤ßÃÑ§O§AªºPcmcia adapter card
, ¦]¦¹,§A¥i¥H¸ÕµÛ¬°µL½uºô¥d¦w¸Ë¯S§OªºµwÅéÅX°Êµ{¦¡.



 ©Ò¥H¦bPcmcia ³]©w¤¤§A¥²»Ý:
\begin{itemize}
\item ¦w¸Ë®Ö¤ß·½¥N½X ±q\onlynameurl{http://www.kernel.org } ¨ì/usr/src/linux (see tar and gzip utilities) 
\item ¦w¸ËPcmcia·½¥N½X \onlynameurl{ftp://projects.sourceforge.net/pub/pcmcia-cs} 
¨ì/usr/src/pcmcia (see tar and gzip utilities) 
\item ³]©w¨Ã­«·s½sÄ¶®Ö¤ß:read file README in your linux directory (/usr/src/linux) 
\item ³]©w¨Ã­«·s½sÄ¶ Pcmcia ·½¥N½X: ¦b /usr/src/pcmcia ¸Ì¨Ï¥Î configure ©M make.
½T©w§AªºÅX°Êµ{¦¡¦b¨º¸Ì ¥t¥~§AÁÙ­n«ö«ü¥Ü¦w¸Ë¥¦(usually a tar zxvf driver.tgz under pcmcia dir is sufficient).
µM«á "make all" ¶i¦æ½sÄ¶³Ì«á "make install".  
\item §¹¦¨¤§«á§A¥i¥H¦b/etc/pcmcia¸Ì§ä¨ì¦³¥Îªº³]©wµ{¦¡(¤åÀÉ). 
\end{itemize}
 



¦b«DPcmcia ¼Ò¦¡¤¤:

\begin{itemize}
\item ¦pªGµL½uºô¥dªºÅX°Êµ{¦¡¬O¥HLinux·½¥N½Xªº§Î¦¡¥X²{(99\%¤£¬O),
§A¥²»Ý±N¥¦¦w¸Ë¨ì¤@­Ó¥Ø¿ý·í¤¤,½sÄ¶¥¦.
ÁÙ­nª¾¹D±¾­þ­Ó¼Ò²Õ: ¨Ï¥Îpcmcia³]©w§A¥u­n¹B¦æpcmcia¨ÍªAµ{¦¡(/etc/rc.d/init.d/pcmcia start for RedHat),
¨ä¥¦ªº¨Ï¥Î"modprobe module\_name options".¦b¿ï¶µ¤¤µ¹¥XµL½uµwÅéªºI/OºÝ¤f,IRQ©M data-link ³]©w (see Par 5.3)
\item ¦pªG¥X²{¸ê·½½Ä¬ð,¥i¥H¨Ï¥Î¥H¤U¤u¨ã:
\begin{itemize}
\item "tail /var/log/messages" ¦C¦L¤é»x.
\item ¨Ï¥Î"dmesg"±o¨ì§ó¦hªº¸ê°T. 
\item /proc dir: ioports, devices, irq files and driver 
specific sub-directories
\end{itemize}
\end{itemize}





\subsection{¼Æ¾Ú³s±µ¼hªº³]©w}

¨º¬O¤°»ò?

µL½uºô¸ô¥u»Ý­n¬Û¤¬³s±µ,¦Ó§A¥u­n³]©wºô¸ô°Ñ¼Æ.

¹ï©óµL½uºô¸ô§A¥ý­n¶i¦æ³s±µªº³]©w:
\begin{itemize}
\item ¥¦ÄÝ©ó­þ¤@ºØµL½uºô¸ô(¿W¥ß©Î§Î²Õ¼Ò¦¡)
\item ¨Ï¥Î­þ¤@­ÓÀW¹D
\item ¥¦ÄÝ©ó­þ¤@­Ó¤lºô¸ô(BSSID),¥¦ªºESS ID¬O¦h¤Ö.
\item ¥¦ªº³s±µ¦³µL¥[±K,¥[±Kªºµ{«×.
\end{itemize}


¥¿¦p¤W­±¨º¼Ë,³\¦h³]©w»Ý­n½Õ¾ã.
¦]¬°µL½uºô¸ôªºµ²ºc:¥i¯à¦bªþªñªº¬Y¤@­Ó¤H,¥u­n¹ï·Ç¤Ñ½u,¨Ï¥Î©M§A¤@¼Ëªº¨óÄ³©M¤@¼ËªºTCP/IP³]©w´N¥i¥H¬Ý¨ì§A¶Ç¿éªº¼Æ¾Ú¥].

¥[¤§, ¨C­Ó¤lºô¸ô¤§¶¡¥i¯à¬Û¤¬²£¥Í½Ä¬ð,

©Ò¥H³o¸Ì:
\begin{itemize}
\item ¨Ò¦p¦b±¾¼Ò²Õªº®É­Ô³o¼Ë: "modprobe ray\_cs essid='LINUX'" ©ÎªÌ 
\item ¦b¹B¦æªº®É­Ô¨Ï¥Î³]©w¤u¨ã: "rl2cfg eth1 master". 
\end{itemize}



\subsection{IP ³]©w}

³o¬O§A±N­n­±¹ïªº²Ä¤T­Ó°ÝÃD.¥X²{·í§Aªººô¸ô¹Eº¥ÂX¤jªº®É­Ô.

Remember Wireless IP Networking doesn't stress you if you don't stress it!
¦pªG§A¤£¥Ç¥¦,¥¦´N¤£·|¥Ç§A.




\subsubsection{¤@­ÓÂ²³æªººc«Ø:}

\begin{tscreen}
\begin{verbatim}
©Ò¦³ªº¥D¾÷¤§¶¡¬O¬Û¤¬¥i¨£ªº.
 
                               A - - - - - C
                                 \       /
                               |   \   /   |
                                     /\
                               |   /    \  |
                                 /       \
                               B - - - - - D
\end{verbatim}
\end{tscreen}


³o­Ó³]©w«D±`Â²³æ,¤£»Ý­n¯S§Oªº³]©w(IP¼h),¥u­nµ¹¨C­Ó¥D¾÷¤À°tIP¦a§},³]©wºô¸ô¾B¸n¬Û¦P´N¥i¥H¤F.




\subsubsection{¤@­Ó¸û¬°½ÆÂøªººô¸ô:}

\begin{tscreen}
\begin{verbatim}
A¤£¯àª½±µ³X°ÝB
 
                                A <- - - -
                              NO\        |
                            TALK\        C
                                \        |
                                B <- - - -
\end{verbatim}
\end{tscreen}


A©MB¥u¦³³q¹LC¤~¯à¬Û¤¬³X°Ý.

¦pªGºô¸ô¬O§Î²Õ¼Ò¦¡,¨Ã¥BC¬O°òÂI(Access Point),¨º»ò´N¨S¦³°ÝÃD.
¦b¿W¥ß¼Ò¦¡(Adhoc mode) ¸Ì§A¤]¥i¥H³]©w¤@­Óhost°µ¬°master (I know the term is not so formal!), 
¨ä¥¦¥D¾÷³£¥[¤J¥Hmaster¬°¤¤¤ßªºµL½uºô¸ô·í¤¤. 

©Ò¦³ªº³s±µ¹F¨ì¤FIP¼h: A ©M B ªº¬É­±»P C ¬Û¦P,¥¦­Ì³£»PC¶i¦æ³q°T,
³o¼Ë,¦pªG§A¸ÕµÛ¥ÎA ping B, §A±N¦¬¨ì³\¦h¨Ó¦ÛCªºICMP­«©w¦V¼Æ¾Ú¥], 
¦]¬°C§i¶DA,¥¦©Ò­n¨Dªº¹ï¶H¦­¤w¸g³s¤Jºô¸ô.
¸Ñ¨M¤èªk: type a "echo 0 {$>$} /proc/sys/net/ipv4/conf/ethx/send\_redirects" 
( ethx ¬O C ¦P A ³s±µªº¬É­±) to null all that. 



¥t¤@­Ó°ÝÃD:¸Óµ¹A©MC«ç»ò¤À°t¾B¸n? ¦pªG§A¤À°t¤@­Ó¾B¸n¥]§tA©MC,¥¦­Ì±N¤£¤u§@,¦]¬°A¤£¨Ï¥Î¹h¹D(C)
¦ý¤S¥H¥¼ª¾ªºMAC¦a§}¨Óµo°e ARP ½Ð¨D. 



§A¥i¯à·Q¹LARP¥N²z,¦ý¬O¨S¦³¥Î.¦]¬°¥N²zARP¥u¦b¥Ø¼Ð»P½Ð¨Dªº¨Ó·½¨Ï¥Î¤£¦P¬É­±ªº®É­Ô¹ï¨Ó·½¶i¦æ¦^À³:
this is not the case!! 

©Ò¥H§A­n³]©w¤@­Ó¤£¤j¬Û¦Pªº±f¸n (Win9x let it be 255.255.255.254, WinNT at least 255.255.255.248)
¨Ã«OÃÒA©MC¾Ö¦³¤£¬Û¦Pªººô¸ô¦a§}.
\begin{tscreen}
\begin{verbatim}
Examples: 


IP(A) = x.y.z.2/31, IP(B) = x.y.z.3/31. 
This doesn't work cause A asks for B in its network (ARP request) and C doesn't answer cause,
 for it, A and B belong to the same interface (so, no proxy arp). 
IP(A) = x.y.z.1/31, IP(B)= x.y.z.2/31. This works cause A ask to C (send requests to B with C MAC address) for B. 
\end{verbatim}
\end{tscreen}


In general with a netmask 255.255.255.254 system works with 2 IP changing only for the final bit. 



³o³£¬O TCP/IP ªº§@¥Î,¤]¬O°ß¤@Àò±o³Ì°ªÆF¬¡©Êªº¤èªk. 

ª`·N:¦pªG§A¨Ï¥Î°òÂI(Access Point)(ºô¸ô¨Ï¥Î§Î²Õ¼Ò¦¡)´N¤£·|¦³­«©w¦Vªº°ÝÃD,
¦]¬°°ÝÃD³£¦b data-link level ¸Ñ¨M¤F (´X¥G©Ò¦³ªº°òÂI(Access Point)³£§êºtºô¾ôªº¨¤¦â...). 
¦ý¬O°òÂI(Access Point)«Ü©ù¶Q(¦b 1000 ¬ü¤¸©Î§ó¦h)
¬J«K¬O¨Ï¥Î¦h­ÓµL½uºô¥d¥[¤W¤@¥x P133 32MB Ram ¨Ó¥N´À°òÂI(Access Point)ÁÙ¬O«Ü¦E±o¨Óªº. 




\subsubsection{Internet ±µ¤J}

\begin{tscreen}
\begin{verbatim}
                               A - - - - - C - - Internet
                                 \       /
                               |   \   /   |
                                     /\
                               |   /    \  |
                                 /       \
                               B - - - - - D
                
\end{verbatim}
\end{tscreen}




¥¦¦³¦hºØ±¡ªp:
\begin{itemize}
\item C ¬O°ß¤@ªºPublic IP ¦a§}. ¥u­n¦bµL½uºô¸ô³]©wprivate IP ¦a§}(192.168.x.y for example), ¦bC¤W°õ¦æ forwarding ©M IP°°¸Ë .
A, B ©M D ±N C §@¬°¯Ê¬Ùªº¹h¹D. 
\item You have a public netmask visible from Internet and C is your default GW to Internet for the network.
You only need to enable forwarding on C, setting up default GW on A, B and D to point to C.
§A¾Ö¦³Internetªº¤@³¡¤Àºô¬q.  C §@¬°µL½uºô¸ô¨ìInternetªºÀq»{¹h¹D.
¥u­n¦bC¤W°õ¦æ forwarding , A, B ©M D ¹ï·Ç C. 
\item You have a public netmask visible from Internet and C is not the default GW to Internet. You have 2 possible solutions: Modify your default GW to let it point to C for your network. Symmetrically you have to let C point to default GW to go to Internet. You could, instead, enable proxy arp feature to C (echo 1 {$>$} /proc/sys/net/ipv4/conf/ethx/proxy\_arp where ethx is the interface towards the default GW) and set your default GW on C to point to the default GW. Proxy arp is a TCP/IP forcing but works well. 
\end{itemize}





\subsubsection{¦³½uºô¸ô»PµL½uºô¸ôªº²V¦X}

\begin{tscreen}
\begin{verbatim}
                                Internet         
                                       \      
                                        \        E
                                         \     /
                                          \  /       Wireless
                               A - - - - - C - - F
                                 \       /   \
                               |   \   /   |   \
                        Wired        /\          G
                               |   /    \  |
                                 /       \
                               B - - - - - D
 
\end{verbatim}
\end{tscreen}




²{¦b C ¥[¤J¤F2­Óºô¸ô: ¥ªÃä¬O¦³½uºô¸ô Wire ¥kÃä¬OµL½uºô¸ô Wiredless .

¥[¤WInternet±µ¤J,§AÁ`¦@­n¦bC¤W¸Ë¤T­Óºô¥d.

À³¸Ó¦p¦ó¤À°tIP¦a§},§A¦³¨â­Ó¿ï¾Ü:
\begin{tscreen}
\begin{verbatim}
               1.¹º¤À¦¨¨â­Ó¤lºô¸ô:¦p 192.168.1.0/24 ©M 192.168.2.0/24. 
                 ³oºØ¤èªk«Ü§Ö¦ý¦pªG§A¨Ï¥ÎInternet IP¦a§}´N¥¢¥h¤FÆF¬¡©Ê.
                 ¦]¬°§A­n¥á±¼«Ü¦hªºIP.
 
               2. Enable Proxy Arp feature to C for all 2 interfaces. 
µL½uºô¸ô ©M ¦³½uºô¸ôªº ºô¸ô°Ñ¼Æ(net address and netmask) ¬Û¦P, 
¦ý¬O¨Ï¥Î proxy-arp,§Ú¥i¥H¿ï¾Ü­þ¤@­ÓIP¤À°tµ¹¦³½u©M­þ¤@­Ó¤À°tµ¹µL½u. 
\end{verbatim}
\end{tscreen}



\subsubsection{²{¦b§Ú­Ì¨ÓÀË¬d¤@¤U²Ä2­Ó¤è®×:}

¨Ò¤l:²{¦b§A¦³¤@­Ó Internet public ¤lºô¸ô x.y.z.0/24.
\begin{tscreen}
\begin{verbatim}
¥¦­Ìªº¬É­±¬O:

1. ifconfig eth0 x.y.z.C netmask 255.255.255.255 (Wired) 
2. ifconfig eth1 x.y.z.C netmask 255.255.255.255 (Wireless) 
3. ifconfig eth2 x.y.z.C netmask 255.255.255.255 (to Internet) 
\end{verbatim}
\end{tscreen}


\begin{tscreen}
\begin{verbatim}
¦beth2¤W¨Ï¥ÎÀRºA¸ô¥Ñ

route add IPGW dev eth2 
route add default gw IPGW 
\end{verbatim}
\end{tscreen}


³o­Ó¸ô¥Ñ¨Ï©Ò¦³³X°ÝInternetªº½Ð¨Dµo©¹¹h¹D:¹³§Aª`·N¨ìªº¨º¼Ë, 
²Ä¤@,§i¶DLinux¸ô¥Ñ¾¹¦b­þ¸Ì,µM«áÅý½Ð¨Dµo©¹¸ô¥Ñ¾¹. 

\begin{tscreen}
\begin{verbatim}
¦beth0¤W¨Ï¥ÎÀRºA¸ô¥Ñ
Static routes on eth0:
route add x.y.z.A dev eth0 
route add x.y.z.B dev eth0 
route add x.y.z.D dev eth0 
\end{verbatim}
\end{tscreen}


\begin{tscreen}
\begin{verbatim}
¦beth0¤W¨Ï¥ÎÀRºA¸ô¥Ñ
Static routes on eth1:
route add x.y.z.E dev eth1 
route add x.y.z.F dev eth1 
route add x.y.z.G dev eth1 
\end{verbatim}
\end{tscreen}




¥D¾÷E,F ©MG ³s¤JµL½uºô¸ô.





ª`·N: ÆF¬¡©Ê¬Û·í¦n,¦ý¬O§A­n¤â¤u³]©w¨C¤@­Ó¥D¾÷.




\section{¹ê¨Ò³]©w}

³o¸Ì§Ú´£¨Ñ¤@¨Ç³]©wµL½uºô¸ôªº¹ê¨Ò(§Æ±æ¦³¥Î!),¨Ã¥B¥Î¤@¯ëªºµL½uºô¥d¶i¦æ¤@¨Ç§ó½ÆÂøªº³]©w.


\subsection{General setup info }

µL½uºô¥d¬É­±Ãþ¦ü©ó¥H¤Óºô¥d,©Ò¥H§A­n¦b /etc/conf.modules ¸Ì¶i¦æ¼Ò²Õªº±¾±µ:
\begin{itemize}
\item "alias ethx module", ethx ¬O§A­n¤À°tµ¹µL½uºô¥dªº¬É­±¨Ã³]©w¼Ò²Õªº¦WºÙ. 
\item "options module io=0xAAA irq=I ...", 0xAAA ¬OµL½uºô¥dªºI/O¦a§}, I ¬O IRQ µ¥µ¥,ÁÙ¦³¨ä¥¦ªº¤@¨Ç°Ñ¼Æ. 
\end{itemize}
 

µM«á,§A¥i¥H¥Îifconfig ©M route ¦bIP¼h¶i¦æ³]©w. 


\subsection{Proxim Symphony (´¶Ã¹¦è¦Ì¥æÅT¦±)}


\subsubsection{ºô¸ôÃþ«¬: FHSS, ¿W¥ß¼Ò¦¡(Adhoc mode), ¨Ï¥ÎOpenAir¨p¦³¨óÄ³.}

§A¥i¥H¤U¸ü³]©w¤åÀÉ©MÅX°Êµ{¦¡(Linux,Win9X), ¥¦ªº­º­¶¬O:
\onlynameurl{ http://www.proxim.com}

½sÄ¶ÅX°Êµ{¦¡ªº·½¥N½X:
\begin{tscreen}
\begin{verbatim}
1. untar it in a empty directory 
2. type make for help. 
3. ½sÄ¶¼Ò²Õ: make modules_install ¦w¸ËÅX°Êµ{¦¡ rlmod.o ©M ³]©w¤u¨ã rl2cfg. 
3. ­n¹B¦æÅX°Êµ{¦¡§A¥u­n¥Îifconfig±N¬É­±¿E¬¡(after modified /etc/conf.modules: see Par.6.1.). 
\end{verbatim}
\end{tscreen}


¨Ï¥Î rl2cfg ³]©w¼Æ¾Ú³s±µ¼h(for help type man rl2cfg once done c step): 
\begin{tscreen}
\begin{verbatim}
"rl2cfg dev ethx sta" ³]©w¬°station (Slave) 
"rl2cfg dev ethx msta" ³]©w¬° master station (Master) 
"rl2cfg dev ethx alt" ³]©w¬°¦Û°Ê¼Ò¦¡. 
\end{verbatim}
\end{tscreen}


©Ò¦³ªº³]©w³£¦b¤W­±¤F. 


\subsection{Webgear Aviator 2.4 and AviatorPro (ºô¸ô¦æªÌ, ºô¸ô¦æªÌ¥[±jª©)}


\subsubsection{ºô¸ôÃþ«¬: FHSS, 2.4¨Ï¥Î¿W¥ß¼Ò¦¡(Adhoc mode), AviatorPro ¨Ï¥Î§Î²Õ¼Ò¦¡.}

¥¦­Ìªº³]©w¤ñ¤W­±ªº½ÆÂø,¥¦­Ì¨Ï¥ÎPcmcia±µ¤f,»Ý­n½sÄ¶Pcmcia·½¥N½X.

­º­¶:                          \onlynameurl{http://www.webgear.com}

³]©w:

\begin{tscreen}
\begin{verbatim}
1.¤U¸üpcmcia ·½¥N½X, ®i¶}¦Ü /usr/src/pcmcia (see Par 5.2) 
2.±qhttp://www.webgear.com ¤U¸üÅX°Êµ{¦¡¦b/usr/src/pcmcia ¥Ø¿ý ¥Î "tar zxvf driver.tgz" ¸Ñ¶}
3.­«·s³]©w pcmcia (see Par 5.2) 
4.«ö«ü¥Ü±N"source ./ray_cs.opts"¥[¤J¦Ü /etc/pcmcia/config.opts ¤åÀÉ¤¤ . 
5.ª`·N¦b /etc/pcmcia/ray_cs.opts ¤åÀÉ¤¤¦³¤@¦æ¹³³o¼Ë: "module "ray_cs" opts "...". 
ngs at data-link level present in "opts"«á­±¬O data-link levelªº³]©w. 
optsªº°Ñ¼Æ:
pc_debug=x , where x is the log level. 
net_type=x, x=0 ªí¥Ü¨Ï¥Î¿W¥ß¼Ò¦¡(Adhoc mode) , x=1 ªí¥Ü¨Ï¥Î§Î²Õ¼Ò¦¡. 
essid=x, x is the ESSID 
\end{verbatim}
\end{tscreen}


³Ì«á¥Îpc\_debug {$>$} 0 ÀË¬d³]©w.§A±N¬Ý¨ì data-link ªº¸ê°T: "network started" ·s Wireless network «Ø¥ß©M "network joined" ¥[¤J·sªºWireless network. 


\subsection{Lucent Wavelan I, II, Orinoco products and Cabletron(®Ô°Tºôªi,¶ø¸Ì¿Õ¬ì ©M ¥d¥¬°Ç´Ë) }


\subsubsection{ºô¸ôÃþ«¬: DSSS, ¨Ï¥Î¿W¥ß¼Ò¦¡(Adhoc mode) ©M§Î²Õ¼Ò¦¡. }

®Ô°Tªº²£«~¬O³Ì±M·~¤Æªº¤@ºØ.

­º­¶:            \onlynameurl{http://www.lucent.com}
\onlynameurl{http://www.orinoco.net}

³]©w¦³ÂI¹³ WebGear: ¨BÆJ1,2,3¬Û¹³.

¦b /etc/pcmcia/config.opts·í¤¤: ²K¥[ module "wavelan\_cs" opts " ..." ªí¥Ü¨Ï¥Î Lucent Wavelan I ¼Ò²Õ
"wavelan2\_cs" opts " ...", ªí¥Ü¨Ï¥Î Lucent Wavelan II ©ÎªÌ Orinoco. 
\begin{tscreen}
\begin{verbatim}
optsªº°Ñ¼Æ:
          port_type=x, ªí¥Ü¨Ï¥Î¿W¥ß¼Ò¦¡Adhoc(3) ©ÎªÌ §Î²Õ¼Ò¦¡Infrastructure(1) 
          channel=x, x=ÀW¹D, ¥u¾A¥Î©ó AdHoc ¿W¥ß¼Ò¦¡(Adhoc mode) . 
          transmit_rate=x, ©T©w³t²v: ¥Î¨Ó¦PCabletron ¨ó½Õ­Ý®e©Ê.
ª`·N: Ideally,¦³¥i¯à¦bLinux¥D¾÷¤W¦³2­Ó Lucent Wavelanx µL½uºô¥d,
¤@­Ó¨Ï¥Î Adhoc¿W¥ß¼Ò¦¡(Adhoc mode),¥t¤@­Ó¨Ï¥Î Infrastructure §Î²Õ¼Ò¦¡.
¦ý¨ä¤¤¥i¯à¥u¦³¤@­Ó¯à¥¿±`¤u§@,¦]¬°¹B¦æ pcmcia service,¨â­Ó¥d³£¨Ï¥Î¬Û¦Pªº opts ³]©w (so in Adhoc or Infrastructure mode).
©Ò¥H§Ú­Ì­n³Ð«Ø¤@­Ó¼Ò²Õ(or maybe a user mode program)Åý¥¦¦b¹B¦æªº®É­Ô¥i¥H§ïÅÜ
data_link °Ñ¼Æ:¤ñ¦p access mode ©MAdhoc¿W¥ß¼Ò¦¡(Adhoc mode) ¤¤ªº channel ³]©w! 
\end{verbatim}
\end{tscreen}


channel °Ñ¼Æ³q±`¥Î¨ÓÁ×§K¨â­Ó¾Fªñªº Wireless µo®g/±µ¦¬ªº½Ä¬ð.

Lucent ªºÅX°Êµ{¦¡¤]¥i¥H¥Î¦b Cabletron ¤W
\onlynameurl{http://www.cabletron.com}


\subsection{YDI}

ºô¸ôÃþ«¬: DSSS, Adhoc¿W¥ß¼Ò¦¡(Adhoc mode)  ©M Infrastructure§Î²Õ¼Ò¦¡.

YDI ¥X°â«D±`±M·~ªºµL½uºô¥d©M¤Ñ½u,¥\²v©ñ¤j¾¹µ¥µ¥. 

­º­¶:
\onlynameurl{http://www.ydi.com}

³]©w:
\begin{tscreen}
\begin{verbatim}
1. ±N¤åÀÉ¸Ñ¶}¦ÜªÅªº¥Ø¿ý¤¤.
2. make ¶i¦æ½sÄ¶. 
3. make install ¦w¸Ë am930_isa ÅX°Êµ{¦¡©M wlanctl³]©wµ{¦¡.

§¹¦¨¥H«á, ¥i¥H¨Ï¥Îwlanctl ¤â°Ê³]©w, ¤]¥i¥H±Ä¥Î scripts/wlan ¦Û°Ê³]©w. 
\end{verbatim}
\end{tscreen}




¤â¤u³]©w:
\begin{tscreen}
\begin{verbatim}
"wlanctl scan ..." ¬d§ä¦s¦bªº BSSs . 
"wlanctl netlist" ¦C¦L"wlanctl scan ..." ªºªí³æ. 
"wlanctl bsscreate ... ssid" ¨Ï¥Îssid°Ñ¼Æ³]©w·sªººô¸ô. 
"wlanctl bssjoin bssid" ¨Ï¥Îbssid ¸¹ ¥[¤Jºô¸ô. 
"wlanctl authen" and "wlanctl assoc" »{ÃÒªA°È. 
\end{verbatim}
\end{tscreen}



\section{Ãö©óµL½uºô¸ôªº§ó¦h¸ê°T}


\subsection{Wireless Linux µo¦æª©}

FlyingLinux ©l©ó 1999¦~10¤ë ¦bTeleinformatics KTH ªºTelecommunication Systems ¹êÅç«Ç¥¹¥Í.
¥Øªº¬O¬ã¨s²¾°ÊIPv4©M¼Ð·ÇDHCPµL½u±µ¤J.
¹êÅçµ²ªG: FlyingLinux Àô¹Ò¥i¥H¬°¦b2000¦~3¤ë¦Ü5¤ëªº 2G1303 ­p¹º·í¤¤¬°100­Ó¾Ç¥Í©M¦Ñ®v´£¨ÑµL½u±µ¤JªA°È. 



FlyingLinux ¬O²Ä¤@­Ó±Mªù°w¹ï²¾°ÊªA°Èªºµo¦æª©.
¥¦¨ã³Æ¤FKerberos©MOpenSSH,¨Ï³q°T§ó¥[¦w¥þ. 



FlyingLinux ¬O¶}©ñ·½¥N½X¹B°Êªº¤@³¡¥÷.
KTHªºµ{¦¡¶}µo¬O¦b GPL licence ¤U¶i¦æªº. 
Wireless Linux ªº­º­¶:
\onlynameurl{http://www.flyinglinux.net/} 





ºûÅ@ªÌ:Mantainer: Alberto Escudero Email:aep@it.kth.se,
­º­¶                    \onlynameurl{http://www.it.kth.se/\~{}aep}




\section{½u¤W¸ê°T}


\subsection{Open software link}

\begin{itemize}
\item                  \onlynameurl{Linux-wlan project}
\item                  \onlynameurl{Jean Tourrilhes Wireless Howto}
\end{itemize}



\subsection{°Ó·~³s±µ}

\begin{itemize}
\item                  \onlynameurl{Fatamorgana Computers}
\item                  \onlynameurl{Lucent web site}
\item                  \onlynameurl{YDI web site }
\item                  \onlynameurl{Siemens web site }

\end{itemize}





\section{FAQ - Frequently asked questions }

Q1:BSSID ©M ESSID ¤§¶¡¦³¤°»ò°Ï§O, ¤°»ò±¡ªp¤U¨Ï¥Î ESSID? 

A1:BSSID ¬O 48 bit ¼Æ­È,¥Î¨Ó¹ï¸û¤p BSS °Ï°ì¶i¦æ¼ÐÃÑ,
¨C­Ó¥D¾÷¦b³o­Ó¸û¤pªº°Ï°ì¸Ì¶i¦æ³q°T.(eventually with an Access Point) 
ESSID ¥i¥HÅý¤£¦Pªº BSS ÂX®i¦Ü Extended Service Set (ESS). 
¨C­ÓBSS¦³¤@­Ó°òÂI(Access Point),¦pªGESSID¬Û¦P´N¥i¥H¬Û¤¬³q°T.
¦pªG§Aªººô¸ô¸û¤j,³Ì¤Ö¾Ö¦³¨â­Ó°òÂI(Access Point),¨º»ò§A¯uªº»Ý­n¥Î¨ìESSID. 

Q2:§Ú¸Ó¶R¤°»ò¼Ëªº°òÂI(Access Point)?

A2:¤ñ¸û«K©yªº:
­«­nªº¬O°òÂI(Access Point)©MµL½uºô¥d¦³¬Û¦Pªº¯S©Ê: ­Ý®e FHSS ©Î­Ý®e DSSS .
ª`·N Proxim RangeLan2 ¤£¯à¦P¨ä¥¦°ò©ó FHSS ¼Ð·Çªººô¥d³q°T, ¦]¬°¥¦¨Ï¥Î¨p¦³ªº OpenAir ¨óÄ³. 

Q3: §ÚÀ³·í¨Ï¥Î¤°»ò¼Ëªº channel ³]©w? 

A3: ·í§A¦³¦h­Ó¤£¦PªºBSSºô¸ô(¤£¦PªºµL½u²£«~¨ÑÀ³°Ó),
·í§A¹J¨ì½Ä¬ð®É: 
¦b°òÂI(Access Point)©Î¿W¥ß¼Ò¦¡(Adhoc mode)  ¤U§ïÅÜ channel ¦³§U©óÁ×§K³o¨Ç½Ä¬ð.

Q4:¬°¤°»ò§Ú¤£¯à¦b§Î²Õ¼Ò¦¡ªº¥D¾÷¸Ì³]©w channel? 

A4:¦]¬° channel ¨ú¨M©ó°òÂI(Access Point). 




\section{Appendix A - Netmask 255.255.255.255, proxy arp and bridging }

³o¸Ì§Ú­Ì¥i¥H¬Ý¨ìLinux¦bµL½uInternet±µ¤J¤è­±ªºÀu¶Õ.

Linux ¨Ï§A¯àµ¹¥ô·N¤@­Ó¬É­±«ü©w IP/ºô¸ô¾B¸n 255.255.255.255 ,example one in eth0, another in eth1 and so on... 

This has not particularly side-effects. 

In addition §A¥i¥H³q¹L/proc/sys/net/ipv4/conf/ethx/proxy\_arp ³]©w proxy arp (ethx¬Oºô¸ô¬É­±). 

"echo 1 {$>$} proxy\_arp" ¶}±Ò ethx¤Wªºproxy\_arp , "echo 0 {$>$} proxy\_arp" Ãö³¬ ethx¤Wªºproxy\_arp. 

¤°»ò¬Oproxy\_arp?
¦pªG¥Ø¼Ð¦a§}³q¹LLinux¸ô¥Ñ¾¹ªº¥t¥~¤@­Ó¬É­±±µ¤J,§Ö³tproxy arp ¨Ï¸ô¥Ñ¾¹¦^À³³o¼Ëªº ARP ½Ð¨D.

¨Ò¤l: 



192.168.1.1 ---- 192.168.1.2 Linux¸ô¥Ñ¾¹ 192.168.2.2 ----192.168.2.1 



­n¨Ï³o­Ó¨Ò¤l¹B¦æ§A±N­n¥Î¥H¤U¨âºØ¤è¦¡:
\begin{tscreen}
\begin{verbatim}
Without proxy-arp 


In 192.168.1.1 host to set 192.168.1.2 as gateway 
In 192.168.2.1 host to set 192.168.2.2 as gateway 
±q¥ô¦ó¤@ºÝpinging³£·|¦¨¥\. 
\end{verbatim}
\end{tscreen}

\begin{tscreen}
\begin{verbatim}
With proxy-arp 


In 192.168.1.1 host to set 192.168.1.2 as gateway 
¹ïIP¦a§}¬°192.168.2.1 ªº¥D¾÷¤£³]¸m¹h¹D,¦ý¦b¸ô¥Ñ¾¹¬ÛÀ³ªº¬É­±¤W³]©w¬ÛÀ³ªº proxy_arp. 
±q¥ô¦ó¤@ºÝpinging³£·|¦¨¥\. 
\end{verbatim}
\end{tscreen}


¦b²Ä¤G­Ó¤è®×¤¤·í§A±q192.168.2.1ping ¦V192.168.1.1®É Proxy-arp Åý linux¸ô¥Ñ¾¹°µ¥X¥¿½Tªº¦^À³. 

\\  µM«á,·í192.168.2.1µo°e ICMP ¼Æ¾Ú¥], Linux ¸ô¥Ñ¾¹ª¾¹D±N¥¦­«©w¦V¦Ü host 192.168.1.1 \\ 
 ©Ò¥H¦pªG§Aªººô¸ô·í¤¤¦³Linux¥D¾÷´£¨Ñ IP Forwarders, §A´N¤£¥²¬°©Ò¦³ªº¥D¾÷³]¸mÀRºA¸ô¥Ñ.

§A·íµM¥i¥H¥ÎµL½uºô¸ô¸ÕÅçLinuxºô¾ô: 

1.¦w¸Ë³Ì·s³ÌÃ­©wªº®Ö¤ß.

2.¤U¸üºô¾ô³]©wµ{¦¡ \onlynameurl{http://openrock.net/bridge} ©ÎªÌ
\onlynameurl{ftp://openrock.net/bridge}


\section{ªþ¿ý B - Siemens DECT Radio Modem (¦èªù¤l--¼w¯SµL½umodem)}

¦èªù¤lªº­º­¶       \onlynameurl{http://www.siemens.com}

¨º¬O¤°»ò? 
³o¨â­Ó²Õ¦¨³¡¤À¤£¬O¯uªºPC¥d, ¦³ÂI¹³¥~³]ªºmodem.

Host1-serial - RadioModem1 - - - - - RadioModem2 - serial-Host2 

§Ú«ç»ò³s±µ¥¦?

¦pªG§A§â¥¦­Ì©â¹³¤Æ, §A¥i¥H±o¨ì¤U­±³oºØ¼Ò«¬:\\ 
Host1-serial - - NULL MODEM CABLE - - serial-Host2 



§A¥i¥H¦b¨â­Ó¥D¾÷ªº¦ê¦æ¤f¤§¶¡¶i¦æµL½uªº³s±µ,¤jÅé¤W¦³¨âºØ³]©w¤èªk:
\begin{tscreen}
\begin{verbatim}
1. Linux©MWindows, Linux ¹B¦æ¤@­Ódaemon¨ÍªAµ{¦¡¦^À³Windowsªº»·µ{PPP©Þ¤J.
2. Linux ©M Linux, ¦b¥¦­Ì¤§¶¡¨Ï¥Î¤£¦PªºIP¦a§}¶i¦æPPP³s±µ.  
\end{verbatim}
\end{tscreen}


²Ä1­Ó¤èªk¥i¥H¦bLinux¥D¾÷¤W¨Ï¥Î³o­ÓÂ²³æªº script:
"/usr/sbin/pppd -detach lock idle 300 crtscts connect "/usr/sbin/chat -v TIMEOUT 5 AT OK AT OK AT OK AT OK" IPLINUX:IPWINDOWS /dev/ttySx 115200 disconnect "/usr/sbin/chat -v AT OK" ms-dns IPDNS" 





¨º¨à:
\begin{tscreen}
\begin{verbatim}
/dev/ttySx ¬O§Aªº¦ê¦æºÝ¤f, 
IPDNS ¬ODNS¥D¾÷ªºIP¦a§}, 
IPLINUX ¬OLinux IP¦a§} , IPWINDOWS ¬O Windows IP¦a§}. 
\end{verbatim}
\end{tscreen}


¤W­±ªºscript¬OÅýWindows»{¬°Linux¤W¦³¤@­Ómodem.
¦bWindows §A»Ý­n¨Ï¥Îcrtscts,¨Ã³Ð«Ø¼·¸¹³s±µ.
speed at 115200 and with a stupid number to call (need by Remote Access but absolutely not used). 

¦b²Ä 2 ­Ó¤èªk¤¤§A¥u­n¦b¨C­Ó¥D¾÷¤¤¹B¦æ¤@­ÓÂ²³æªº script: 

"/usr/sbin/pppd passive local crtscts IPLINUX1:IPLINUX2 /dev/ttySx 115200 noauth persist" 

where you'll invert IPLINUX1 with IPLINUX2 at the other edge. 

Note that you can do authentication even Linux-Windows than in Linux-Linux if you want. 

\end{document}
