
                                Wireless HOWTO

@: Roberto Arcomano berto@fatamorgana.com
Ķ: ӼC expns@yahoo.com
     _________________________________________________________________

   Lu Wireless O@s޳N,֦stv(̰11 Mbps),
   oɴyzpbLinux@~tΤW]wLu, ѨMݮeD,HΧh
   T.
     _________________________________________________________________

1. 

     * 1.1 v
     * 1.2 Translations 
     * 1.3 Credits 

2. I

     * 2.1 Wireless O?
     * 2.2 radio cards ̻ǿZOh?
     * 2.3 uMLuϧOO?
     * 2.4 ]w@ӵLuڻݭnDǤ?
     * 2.5 ڬn]w@ӵLu, ΥӰ?
     * 2.6 bHOWTO̳FǵLud?
     * 2.7 ̭Ȧhֿ?

3. LusT.

     * 3.1 zh
     * 3.2 ]w
     * 3.3 ݮe
     * 3.4 ڸӨϥAdhoc ٬O Infrastructure?
     * 3.5 LinuxDणI(Access Point)Өϥ?

4. uc

     * 4.1 w
     * 4.2 n

5. Lu]w

     * 5.1 򥻨BJ
     * 5.2 h֤߳]w
     * 5.3 ƾڳsh]w
     * 5.4 IP ]w

6. ҳ]w

     * 6.1 General setup info 
     * 6.2 Proxim Symphony (ù̥T)
     * 6.3 Webgear Aviator 2.4 and AviatorPro (, ̥[j)
     * 6.4 Lucent Wavelan I, II, Orinoco products and Cabletron(԰Ti,
       ̿լ M dǴ) 
     * 6.5 YDI

7. LuhT

     * 7.1 Wireless Linux o檩

8. uWT

     * 8.1 Open software link
     * 8.2 ӷ~s

9. FAQ - Frequently asked questions 

10. Appendix A - Netmask 255.255.255.255, proxy arp and bridging 

11.  B - Siemens DECT Radio Modem (l--wSLumodem)
     _________________________________________________________________

1. 

   @̭NOd^廡.

   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 [1]Jean Tourrilhes Wireless
   Howto

   For any suggestion and feedback write to [2]my email address

1.1 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 [3]here

1.2 Translations

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

   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 [4]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!

1.3 Credits

   Thanks to [5]Fatamorgana Computers for hardware equipment and
   experimental opportunity.

   Thanks to [6]Linux Documentation Project for publishing and uploading
   my document in a very quickly fashion.

2. I

2.1 Wireless O?

   Wireless O@A໷Zsqs޳N. ϥWirelessog/
   (2.4 GHz)d,nɭHӺd. C@Wirelessd֦yߤ@
   wa}. 嫬ǿ\v 10-20 mW  100mW(ѷӼз IEEE 802.11 M
   FCC/CEPT \i).

2.2 radio cards ̻ǿZOh?

   LuqṰn@INO line of sight clear: Aݯݨt@ݪ
   ѽu, ݤ\sbֳ\. ZO̾ڤѽu(\vj)MΪk:2
   300̨ϥΥѽu. 1d̨ϥΩwVѽu, 23d̨ϥΥHj
   u(200mW), 󻷤@IϥparabolicΤѽu. 5060d̨ϥΩΩΩwVH
   jѽu(some Watts).

   nDϥΥ\vjOXk,]Ai|HFCC/CEPTWw(Ҧb
   apөw).

2.3 uMLuϧOO?

   ]wu²(at least at low level), ]wLuD`,޲z,
   ո...̨嫬Ow骺w, n骺]w/ոյLuӻOD`
   䪺:
     * AݿܨϥΦXALud:\hӤPdΨϥΥ
       P. pGAnإߤ@ӤpLu, A̦nέݮeIEEE
       802.11LudM@ӰI(Access Point).
     * ǥdO PCMCIAd.ҥHAnwˤPCMCIALinux֤.
     * AiHΨӹB۪tΨӶi,Ĥ@Z@, MNiH
       i滷@I.
     * bԤUi(嫬UB).
     * a.

   pGA]w@o(\hLuMLudLinux), bZ
   i]w|@ǳ·.

2.4 ]w@ӵLuڻݭnDǤ?

   ]w@ӵLuXӱ:

   n:
     * @몺,]AIPa}, Bn,... [\FLinux
       NET3-4-HOWTOҦe.
     * a}ѪRNz, 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) *
     * Lu, ]AXݼҦ(ADHOC, INFRASTRUCTURE and ACCESS
       POINT), WD, ~M᤺wq,AiHAѦLu
       : IEEE standard 802.11, CEPT, .

   t~:
     * @I]wѽug,˳,wV.
     * Pc w]wgαưLudP䥦w骺Ĭ.

   ̫, ֦@ӷΪB.

   *Ҧo쪺ɳiHb [7]www.linuxdoc.org .

2.5 ڬn]w@ӵLu, ΥӰ?

   ? ]A靈uN.

   FLud,AiHL,,Ы(nݱot@ݤ~)

   LudϥΪhĳPHӺd@:bLuWϥTCP/IP, n`N
   PWindow @ɳn,]AϥLinux forwardH, ip forwarder |s
   HqL(ѦNetBIOSĳ). boرpUNnϥWINSAȨӤy
   .(ѷ Samba ).

   LuϧAإߤ@Ӥp LAN/WAN (iHInternetJ),iH
   HqŤ復iX!

   Q@U,@ӧѵLuզa!

   Q@U,@ӥiHNPaH̻Eb@_,ɭ,,n,̪
   .

   ҦiH(b@ǰavgF).ϥεLudMLuI(Access
   Point),RoLuLinux (at IP level such as router or, if
   you want, at data-link level, with bridge driver, see more at [8]
   Bridge Http Link or [9]Bridge Ftp Link )

2.6 bHOWTO̳FǵLud?

   bHOWTO̧ڱq@몺]wXo(еLu),ڪϥΧAѪLud
   Ҥl.٦@ǳZ¬iH̴ʯ.

   WirelessdCL:
     * Proxim Symphony - [10]http://www.proxim.com
     * Webgear AviatorPRO 2.4 (pcmcia support needed) - [11]
       http://www.webgear.com
     * Lucent Wavelan I, II, Orinoco - [12]www.lucent.com and [13]
       www.orinocowirelless.com
     * Cabletron - [14]http://www.cabletron.com
     * YDI am930_isa - [15]http://www.ydi.com
     * Siemens Radio Modem (Dect) - [16]http://www.siemens.com
     * RadioLan (5 GHZ) - [17]http://www.radiolan.com

   @ӧ㪺M: [18]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ڪLHSLinuxX).

2.7 ̭Ȧhֿ?

   W쪺ӶQ:qXʬܤWd(LucentLud,@ӰI(Access
   Point)~[ӵLud,iRϥ).

3. LusT.

   o̧`@ӳ̰򥻪Lu.

3.1 zh

   Ĥ@h ISO/OSI Tػ:
     * FHSS, Frequency Hopping Spread Spectrum
     * DSSS, Direct Sequence Spread Spectrum
     * Infrared connections, not covered by this howto

3.2 ]w

   س]w:
     * AdHocҦ(]ٿW߼Ҧ(Adhoc mode) ),CӿWߪ֦@
       BSS(Basic Service Set 򥻪Aȳ]w)CӰ򯸦ۦPBSS.
     * Infrastructure modeβռҦ,XӨϥΰI(Access Point)ۤqT
       (CӺ@ BSS ), զ@ӪAXiESS (Extended Service
       Set).]C\,pɥX@Ӥl[J̪񪺰I(Access Point).

   AdHocO²檺k(and the also the less scalableʤ֤ɯŪla),
   \hDiqT. ʪO: CӥDݥHiΦ[J
   (at least Ideally, because this problem could be solved at
   IP level! For more see Par 5.4).

            Adhoc mode

                               A - - - - - C
                                 \       /
                               |   \   /   |
                                     /\
                               |   /    \  |
                                 /       \
                               B - - - - - D

   bβռҦU,AϥΰI(Access Point)P䥦Dɺ.

Infrastructure mode
                                    ESS

          A - - - | - Access Point - -  Access Point - | - - - D

          B - - - |   BSS1                   BSS2      | - - - E

          C - - - |                                    | - - - F

   BMCӻ D,E,FOi. ]̨ϥάۦPESSҥHܦnaiqT.
   A , B , C TӤ]Oi.

   b@ӹ~M᤺NuZdMZdϤ}.

3.3 ݮe

   Ъ`N,@ɦܦhLud,ëDCӵLudi}nqT.
   Fnaݮe,̦nUҤkϥ:
     * ۦP]wҦ:uϥAdhocESS
     * ۦPzh:uϥDSSS  all FHSS
     * ۦPĳ:(for example Proxim has its particular proprietary
       protocol OpenAir that cannot talk with other FHSS cards).

3.4 ڸӨϥAdhoc ٬O Infrastructure?

   ϥΰI(Access Point)OD̦nk,OQ.zQ,
   AݭnϥInfrastructureβռҦ. uֶqDɿAdhoc. why
   to spend much money for few hosts? nDhIiH٥h֪·.
   Anyway be aware that if you spend much money probably all works well
   while spending less you could have some trouble.

3.5 LinuxDणI(Access Point)Өϥ?

   ݱon! ̪񦳤@صwiH: Prism2 AiHboAѧԺɪp:
   [19]people.ssh.com/jkm/Prism2

4. uc

4.1 w

   Aݭn@xLinuxD(486 Χn a Pentium 100+ with 16MB+ ram), Lu
   d,@Ӥѽu(ݲĤG), ]nqT,ҥHbt@ݤ]ݭno.(with
   Win9x or WinNT, if you prefer...),

4.2 n

   Aݭn:
     * ̪,íw֤(2.2.x)
     * pGARpcmciad ̷síw pcmcia NX (pcmcia-cs)
     * LuXʵ{:pGS, AiHbӪWebxU,pGAS
       , iHj [20]Jean Tourrilhes Wireless Howto.
       pG٬OS,ݨӧAݭnF,αNWindows Xഫ Linux X. (
       AnB)
       bFoǤ,A٭nssĶ֤, ssĶpcmciaNX(pGAO
       pcmciaLud), ̫᭫ssĶLuXʵ{,oO@몺L{,
       ǯSOLudun3BΪ̲ 1 BM 3 B.

5. Lu]w

5.1 򥻨BJ

   AƤFҦ󤧫,AݭnӥHUBJi]w:
     * ֤ߪh]w,pI/Oݤf,_, DMA ...),Ab}ɭԬ
       o, ܵLudQLinuxTѧO.
     * Lud]wsh,p"rl2cfg"]wProxim Symphony Lud,
       ACӵLud]wH̯i楿`qT.
     * ϥ ifconfig M route IP]w.
     * ̨ιB檺M¬,ѨM귽Ĭ. o˧ALuHg򥻹B_:
       proxy-arp, icmp echo redirect, bridging, channel change oǤ譱
       n@ǲӸ`]w, uƺ,`.

   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. ƹW32bitBnHϤF ISO/OSI з,]j
   άۦPa}藍sbMa}is.

   ǤHiϹo[I,OpGA ISO/OSI зǳ]wLu,|h
   hӤl]w. CӤlq`2IP(Network and broadcast),å
   hIPtF(geographically kind). AiHb즳yz.
   You could notice that step 2 is not present in Wired cards ]̨S
   ԲӪ]wn.

5.2 h֤߳]w

   ޲z`|ӰD : ֤(or in general)ѧOAw.

   Lud, ]̳q`OPcmcia plug, ҥHoA֤ѧOA
   Pcmcia adapter card , ],AiHյ۬Ludw˯SOwXʵ{
   .

   ҥHbPcmcia ]wA:
     * wˮ֤߷NX q [21]http://www.kernel.org /usr/src/linux (see
       tar and gzip utilities)
     * wPcmciaNX [22]ftp://projects.sourceforge.net/pub/pcmcia-cs
       /usr/src/pcmcia (see tar and gzip utilities)
     * ]wíssĶ֤:read file README in your linux directory
       (/usr/src/linux)
     * ]wíssĶ Pcmcia NX: b /usr/src/pcmcia ̨ϥ configure
       M make. TwAXʵ{b t~A٭nܦw˥(usually a
       tar zxvf driver.tgz under pcmcia dir is sufficient). M "make
       all" isĶ̫ "make install".
     * AiHb/etc/pcmcia̧즳Ϊ]w{().

   bDPcmcia Ҧ:

     * pGLudXʵ{OHLinuxNXΦX{(99%O), AݱN
       w˨@ӥؿ,sĶ. ٭nDӼҲ: ϥpcmcia]wA
       unBpcmciaͪA{(/etc/rc.d/init.d/pcmcia start for RedHat),
       䥦ϥ"modprobe module_name options".bﶵXLuw骺I/O
       ݤf,IRQM data-link ]w (see Par 5.3)
     * pGX{귽Ĭ,iHϥΥHUu:
          + "tail /var/log/messages" CLx.
          + ϥ"dmesg"ohT.
          + /proc dir: ioports, devices, irq files and driver specific
            sub-directories

5.3 ƾڳsh]w

   O?

   Luuݭnۤs,ӧAun]wѼ.

   LuAnis]w:
     * ݩ@صLu(WߩΧβռҦ)
     * ϥέ@WD
     * ݩ@Ӥl(BSSID),ESS IDOh.
     * sL[K,[K{.

   pW,\h]wݭnվ. ]Luc:ib񪺬Y@
   H,unǤѽu,ϥΩMA@˪ĳM@˪TCP/IP]wNiHݨAǿ骺
   ƾڥ].

   [, CӤliۤͽĬ,

   ҥHo:
     * ҦpbҲժɭԳo: "modprobe ray_cs essid='LINUX'" Ϊ
     * bB檺ɭԨϥγ]wu: "rl2cfg eth1 master".

5.4 IP ]w

   oOANn諸ĤTӰD.X{AEXjɭ.

   Remember Wireless IP Networking doesn't stress you if you don't stress
   it! pGAǥ,N|ǧA.

  @²檺c:

ҦDOۤi.

                               A - - - - - C
                                 \       /
                               |   \   /   |
                                     /\
                               |   /    \  |
                                 /       \
                               B - - - - - D

   oӳ]wD`²,ݭnSO]w(IPh),unCӥDtIPa},]w
   BnۦPNiHF.

  @Ӹ:

AઽXB

                                A <- - - -
                              NO\        |
                            TALK\        C
                                \        |
                                B <- - - -

   AMBuqLC~ۤX.

   pGOβռҦ,åBCOI(Access Point),NSD. bW߼
   (Adhoc mode) ̧A]iH]w@hostmaster (I know the term is
   not so formal!), 䥦D[JHmasterߪLu.

   ҦsFFIPh: A M B ɭP C ۦP,̳PCiqT, o,
   pGAյۥA ping B, AN\hӦCICMPwVƾڥ], ]CiDA,
   ҭnDHwgsJ. ѨMk: type a "echo 0 >
   /proc/sys/net/ipv4/conf/ethx/send_redirects" ( ethx O C P A s
   ) to null all that.

   t@ӰD:ӵAMCtBn? pGAt@ӾBn]tAMC,̱Nu
   @,]AϥιhD(C) SHMACa}ӵoe ARP ШD.

   AiQLARPNz,OS.]NzARPubؼлPШDӷϥΤP
   ɭԹӷi^: this is not the case!!

   ҥHAn]w@ӤjۦPfn (Win9x let it be 255.255.255.254, WinNT
   at least 255.255.255.248) ëOAMC֦ۦPa}.

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 reques
ts to B with C MAC address) for B.

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

   oO TCP/IP @,]Oߤ@o̰Fʪk.

   `N:pGAϥΰI(Access Point)(ϥΧβռҦ)N|wV
   D, ]Db data-link level ѨMF (XGҦI(Access Point)
   t...). OI(Access Point)ܩQ(b 1000 Χh)
   JKOϥΦhӵLud[W@x P133 32MB Ram ӥNI(Access Point)
   ٬OܦEoӪ.

  Internet J

                               A - - - - - C - - Internet
                                 \       /
                               |   \   /   |
                                     /\
                               |   /    \  |
                                 /       \
                               B - - - - - D

   hرp:
     * C Oߤ@Public IP a}. unbLu]wprivate IP a
       }(192.168.x.y for example), bCW forwarding M IP . A, B
       M D N C @ʬ٪hD.
     * 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 @LuInternetq{hD.
       unbCW forwarding , A, B M D  C.
     * 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.

  uPLuVX

                                Internet
                                       \
                                        \        E
                                         \     /
                                          \  /       Wireless
                               A - - - - - C - - F
                                 \       /   \
                               |   \   /   |   \
                        Wired        /\          G
                               |   /    \  |
                                 /       \
                               B - - - - - D

   {b C [JF2Ӻ: Ou Wire kOLu Wiredless .

   [WInternetJ,A`@nbCWˤTӺd.

   ӦptIPa},Aӿ:

               1.Ӥl:p 192.168.1.0/24 M 192.168.2.0/24.
                 oؤkܧ֦pGAϥInternet IPa}NhFF.
                 ]AnᱼܦhIP.

               2. Enable Proxy Arp feature to C for all 2 interfaces.
Lu M u Ѽ(net address and netmask) ۦP,
Oϥ proxy-arp,ڥiHܭ@IPtuM@ӤtLu.

  {bڭ̨ˬd@U2Ӥ:

   Ҥl:{bA@ Internet public l x.y.z.0/24.

̪ɭ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)

beth2WϥRA

route add IPGW dev eth2
route add default gw IPGW

   oӸѨϩҦXInternetШDohD:A`N쪺, Ĥ@,i
   DLinuxѾb,MШDoѾ.

beth0WϥRA
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

beth0WϥRA
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

   DE,F MG sJLu.

   `N: Fʬ۷n,OAnu]wC@ӥD.

6. ҳ]w

   o̧ڴѤ@ǳ]wLu(Ʊ榳!),åBΤ@몺Ludi@
   ǧ]w.

6.1 General setup info

   LudɭHӺd,ҥHAnb /etc/conf.modules ̶iҲժ
   :
     * "alias ethx module", ethx OAntLudɭó]wҲժW
       .
     * "options module io=0xAAA irq=I ...", 0xAAA OLudI/Oa}, I
       O IRQ ,٦䥦@ǰѼ.

   M,AiHifconfig M route bIPhi]w.

6.2 Proxim Symphony (ù̥T)

  : FHSS, W߼Ҧ(Adhoc mode), ϥOpenAirpĳ.

   AiHU]wɩMXʵ{(Linux,Win9X), O: [23]
   http://www.proxim.com

   sĶXʵ{NX:

1. untar it in a empty directory
2. type make for help.
3. sĶҲ: make modules_install wXʵ{ rlmod.o M ]wu rl2cfg.
3. nBXʵ{AunifconfigNɭE(after modified /etc/conf.modules: s
ee Par.6.1.).

   ϥ rl2cfg ]wƾڳsh(for help type man rl2cfg once done c step):

"rl2cfg dev ethx sta" ]wstation (Slave)
"rl2cfg dev ethx msta" ]w master station (Master)
"rl2cfg dev ethx alt" ]w۰ʼҦ.

   Ҧ]wbWF.

6.3 Webgear Aviator 2.4 and AviatorPro (, ̥[j)

  : FHSS, 2.4ϥοW߼Ҧ(Adhoc mode), AviatorPro ϥΧβռҦ.

   ̪]wW,̨ϥPcmciaf,ݭnsĶPcmciaNX.

   : [24]http://www.webgear.com

   ]w:

1.Upcmcia NX, i} /usr/src/pcmcia (see Par 5.2)
2.qhttp://www.webgear.com UXʵ{b/usr/src/pcmcia ؿ  "tar zxvf driv
er.tgz" Ѷ}
3.s]w pcmcia (see Par 5.2)
4.ܱN"source ./ray_cs.opts"[J /etc/pcmcia/config.opts ɤ .
5.`Nb /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

   ̫pc_debug > 0 ˬd]w.ANݨ data-link T: "network
   started" s Wireless network إߩM "network joined" [JsWireless
   network.

6.4 Lucent Wavelan I, II, Orinoco products and Cabletron(԰Ti,̿լ M
dǴ)

  : DSSS, ϥοW߼Ҧ(Adhoc mode) MβռҦ.

   ԰T~O̱M~ƪ@.

   : [25]http://www.lucent.com [26]http://www.orinoco.net

   ]wI WebGear: BJ1,2,3۹.

   b /etc/pcmcia/config.opts: K[ module "wavelan_cs" opts " ..."
   ܨϥ Lucent Wavelan I Ҳ "wavelan2_cs" opts " ...", ܨϥ
   Lucent Wavelan II Ϊ Orinoco.

optsѼ:
          port_type=x, ܨϥοW߼ҦAdhoc(3) Ϊ βռҦInfrastructure(1)
          channel=x, x=WD, uAΩ AdHoc W߼Ҧ(Adhoc mode) .
          transmit_rate=x, Twtv: ΨӦPCabletron խݮe.
`N: Ideally,ibLinuxDW2 Lucent Wavelanx Lud,
@Өϥ AdhocW߼Ҧ(Adhoc mode),t@Өϥ Infrastructure βռҦ.
䤤iu@ӯॿ`u@,]B pcmcia service,ӥdϥάۦP opts ]
w (so in Adhoc or Infrastructure mode).
ҥHڭ̭nЫؤ@ӼҲ(or maybe a user mode program)bB檺ɭԥiH
data_link Ѽ:p access mode MAdhocW߼Ҧ(Adhoc mode)  channel ]w!

   channel ѼƳq`ΨקKӾF Wireless og/Ĭ.

   Lucent Xʵ{]iHΦb Cabletron W [27]http://www.cabletron.com

6.5 YDI

   : DSSS, AdhocW߼Ҧ(Adhoc mode) M InfrastructureβռҦ.

   YDI XD`M~LudMѽu,\vj.

   : [28]http://www.ydi.com

   ]w:

1. NɸѶ}ܪŪؿ.
2. make isĶ.
3. make install w am930_isa Xʵ{M wlanctl]w{.

H, iHϥwlanctl ʳ]w, ]iHĥ scripts/wlan ۰ʳ]w.

   u]w:

"wlanctl scan ..." dsb BSSs .
"wlanctl netlist" CL"wlanctl scan ..." .
"wlanctl bsscreate ... ssid" ϥssidѼƳ]ws.
"wlanctl bssjoin bssid" ϥbssid  [J.
"wlanctl authen" and "wlanctl assoc" {ҪA.

7. LuhT

7.1 Wireless Linux o檩

   FlyingLinux l 1999~10 bTeleinformatics KTH Telecommunication
   Systems ǥ. تOsIPv4MзDHCPLuJ. 絲G:
   FlyingLinux ҥiHb2000~35몺 2G1303 p100ӾǥͩM
   ѮvѵLuJA.

   FlyingLinux OĤ@ӱMwﲾʪAȪo檩. ƤFKerberos
   MOpenSSH,ϳqT[w.

   FlyingLinux O}񷽥NXBʪ@. KTH{}oOb GPL licence U
   i檺. Wireless Linux : [29]http://www.flyinglinux.net/

   @:Mantainer: Alberto Escudero Email:aep@it.kth.se,  [30]
   http://www.it.kth.se/~aep

8. uWT

8.1 Open software link

     * [31]Linux-wlan project
     * [32]Jean Tourrilhes Wireless Howto

8.2 ӷ~s

     * [33]Fatamorgana Computers
     * [34]Lucent web site
     * [35]YDI web site 
     * [36]Siemens web site 

9. FAQ - Frequently asked questions

   Q1:BSSID M ESSID ϧO, 򱡪pUϥ ESSID?

   A1:BSSID O 48 bit ƭ,Ψӹp BSS ϰi, CӥDboӸ
   pϰ̶iqT.(eventually with an Access Point) ESSID iHP
    BSS Xi Extended Service Set (ESS). CBSS@ӰI(Access
   Point),pGESSIDۦPNiHۤqT. pGAj,̤־֦Ӱ
   I(Access Point),AuݭnΨESSID.

   Q2:ڸӶR˪I(Access Point)?

   A2:Ky: nOI(Access Point)MLudۦPS: ݮe
   FHSS έݮe DSSS . `N Proxim RangeLan2 P䥦 FHSS зǪ
   dqT, ]ϥΨp OpenAir ĳ.

   Q3: ϥΤ˪ channel ]w?

   A3: AhӤPBSS(PLu~), AJĬ: b
   I(Access Point)οW߼Ҧ(Adhoc mode) U channel UקKo
   Ĭ.

   Q4:ڤbβռҦD̳]w channel?

   A4:] channel MI(Access Point).

10. Appendix A - Netmask 255.255.255.255, proxy arp and bridging

   o̧ڭ̥iHݨLinuxbLuInternetJ譱u.

   Linux ϧA൹N@Ӭɭw IP/Bn 255.255.255.255 ,example
   one in eth0, another in eth1 and so on...

   This has not particularly side-effects.

   In addition AiHqL/proc/sys/net/ipv4/conf/ethx/proxy_arp ]w
   proxy arp (ethxOɭ).

   "echo 1 > proxy_arp" } ethxWproxy_arp , "echo 0 > proxy_arp" 
    ethxWproxy_arp.

   Oproxy_arp? pGؼЦa}qLLinuxѾ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ӨҤlBANnΥHUؤ覡:

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|\.

With proxy-arp


In 192.168.1.1 host to set 192.168.1.2 as gateway
IPa}192.168.2.1 D]mhD,bѾɭW]w proxy_a
rp.
q@pinging|\.

   bĤGӤפAq192.168.2.1ping V192.168.1.1 Proxy-arp  linux
   ѾXT^.

   M,192.168.2.1oe ICMP ƾڥ], Linux ѾDNwV host
   192.168.1.1
   ҥHpGALinuxD IP Forwarders, ANҦD
   ]mRA.

   AMiHεLuLinux:

   1.w˳̷síw֤.

   2.U]w{ [37]http://openrock.net/bridge Ϊ [38]
   ftp://openrock.net/bridge

11.  B - Siemens DECT Radio Modem (l--wSLumodem)

   l [39]http://www.siemens.com

   O? oӲզOuPCd, I~]modem.

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

   ګs?

   pGA⥦̩⹳, AiHoUoؼҫ:
   Host1-serial - - NULL MODEM CABLE - - serial-Host2

   AiHbӥDfiLus,jWس]wk:

1. LinuxMWindows, Linux B@daemonͪA{^Windows{PPPޤJ.
2. Linux M Linux, b̤ϥΤPIPa}iPPPs.

   1ӤkiHbLinuxDWϥγ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"

   :

/dev/ttySx OAݤf,
IPDNS ODNSDIPa},
IPLINUX OLinux IPa} , IPWINDOWS O Windows IPa}.

   WscriptOWindows{LinuxW@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 ӤkAunbCӥDB@²檺 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.

References

   1. http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux
   2. mailto:berto@fatamorgana.com
   3. http://www.gnu.org/copyleft/gpl.html
   4. http://www.lyx.org/
   5. http://www.fatamorgana.com/
   6. http://www.linuxdoc.org/
   7. file://localhost/tmp/zh-sgmltools.30799/www.linuxdoc.org
   8. http://openrock.net/bridge
   9. ftp://openrock.net/bridge
  10. http://www.proxim.com/
  11. http://www.webgear.com/
  12. http://www.lucent.com/
  13. http://www.orinocowireless.com/
  14. http://www.cabletron.com/
  15. http://www.ydi.com/
  16. http://www.siemens.com/
  17. http://www.radiolan.com/
  18. http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux
  19. http://people.ssh.com/jkm/Prism2/
  20. http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux
  21. http://www.kernel.org/
  22. ftp://projects.sourceforge.net/pub/pcmcia-cs
  23. http://www.proxim.com/
  24. http://www.webgear.com/
  25. http://www.lucent.com/
  26. http://www.orinoco.net/
  27. http://www.cabletron.com/
  28. http://www.ydi.com/
  29. http://www.flyinglinux.net/
  30. http://www.it.kth.se/~aep
  31. http://www.linux-wlan.org/
  32. http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux
  33. http://www.fatamorgana.com/
  34. http://www.lucent.com/
  35. http://www.ydi.com/
  36. http://www.siemens.com/
  37. http://openrock.net/bridge
  38. ftp://openrock.net/bridge
  39. http://www.siemens.com/
