Differences between revisions 154 and 155
Revision 154 as of 2005-04-10 12:20:08
Size: 25925
Comment:
Revision 155 as of 2005-04-11 11:45:32
Size: 25980
Comment:
Deletions are marked like this. Additions are marked like this.
Line 150: Line 150:
 And as far as getting monitor mode to work using this method, you're SOL. Have fun.  And as far as getting monitor mode to work using this method, you're [http://www.linuxant.com/driverloader/wlan/faq.php#23 SOL]. Have fun.

1. Introduction

Welcome to the irc.freenode.net/#wireless Frequently Asked Questions page. Look here first for resources and tips on doing your Wifi magic.

Other websites you should look at for help are:

Community Wireless Networks who hang out here.

The Questions!

TableOfContents

2. General IRC Channel Questions

2.1. Who runs the channel

  • The #wireless channel is maintained by people from various wireless groups and walks of life. The rule of the channel is largely egalitarian in reflection of the openness of unlicensed radio spectrum and the spirit of many community wireless networks.

2.2. I asked a question but no one is answering me!!

  • Most of us have jobs away from chatting in IRC. If you asked a question but no one answered, it's likely because no one knows, or has the time to answer. Hang around for a while and someone might have an answer for you. Don't repost your question over and over though, it'll only serve to annoy other people in the channel.

2.3. I'm a profiteering wisp and I hate you non-profit idiots

  • Maybe you should use #wisp instead.

2.4. Some asshole named 'aml' banned or kicked me. Wtf?

  • As part of a new initiative to return the signal to noise ratio of #wireless to something endurable, jackasses will now be kickbanned whenever 'aml' notices them. The criteria for jackassery include, but are certainly not limited to: describing your commercial activity with such vigor and repetitiousness it becomes a shill so shrill only dogs can hear it, answering questions pedantically and then immediately transitioning into shilling, asking stuff in the FAQ over and over again like a moron, etc. etc. In general, don't be stupid.

    - AndrewWoods

2.5. Why am I op'd?

  • Short answer: No particular reason.

    Long answer: Some of us (notably matthewa) observes that privillege is more or less irrelevent. Some people think that having "ops" is a symbol for having higher privellege, or stature, but in the real-world of license-exempt wireless networking there is no such thing. Consider being a victim of mass-oping a sign of the times, no one has more obvious privilleges than the other.

    Some people, like grumpydog, view +o as an issue of . They believe that no one but those few who individuals who contribute in some way (often in the form of monetary investment to the host network, FreeNode) to give them an absolute right at having control over others. Ignore these people, they're full of shit.

    If you think it's dumb that everyone has ops, that's fine. If you think everyone having ops is asking for trouble, you could be right, but maybe you should read [http://c2.com/cgi/wiki?WhyWikiWorks WhyWikiWorks] to get an idea of why it doesn't *really* matter. If you still don't get it, don't fret, no one will bother explaining it to you. The concept may simply be too obvious for you to "get".

2.6. Who is WifiFred?

  • WifiFred is our IRC Bot, he maintains a database of various Wireless and Internet related things like Cable types and Internet Standards. He also does simple calculations on Fresnel zones and Path Loss. For brief help, use  !help .

    See WifiFred for a complete command reference and additional information.

2.7. Are there channel archives?

3. Community Wireless Issues

3.1. Where can I find a Community Wireless Group to hook up with?

3.2. Where can I find peering agreements for Community Wireless networks?

3.3. Where can I find an acceptable use policy for my community wireless hotspot?

4. Commercial (for-profit) Wireless Issues

4.1. How can I make money?

4.2. Why are WISPs so hostile to community wireless?

  • Not all are, but occasionally we run into the odd WISP who will spew fud about Community|Open Wireless Networks.

    Just ignore them, they're nothing more than PissAnts.

5. General Linux Stuff

5.1. How do I install <blah> package?

5.2. Are there any small linux distros with wireless?

6. Wireless Network Card Questions

6.1. What is the best 802.11b wireless card?

  • This is a highly subjective question. It all really depends on what you are going to do with it.

    Some say the best all around wireless card is an old Lucent/Orinoco Silver or a Gold card. They have good OS support, an internal as well as an external MC-Card antenna jack, and have one of the [http://wiki.freenetworks.org/index.cgi/ReceiveSensitivity highest receive sensitivities] on the cards in the 30mw-50mw range.

    If you are looking for a high powered PCMCIA card, you may want to get a [http://metrix.net/metrix/products/radios/pcmcia 200mw Senao Card]. There are two models of card, one with an Internal Antenna only, or a card with 2 diversity (both listen to the wireless signal, and the antenna with the most signal wins) external MMCX antenna jacks. Senao cards are less flexible since there are two models, but the added power and excellent receive sensitivity make them a good choice for outdoor links as well as wardriving and monitoring applications.

    If you are looking to make a machine act as an access point under linux, you really only have two options. HostAP and MadWifi. HostAP has been around longer and is considered stable, but because it is based around the Prism2 chipset, it lacks 802.11g and 802.11a support. Old hermes based chipsets (the old Orinoco cards) cannot act as an AP under linux without HermesAP which may get you in [http://hacks.oreilly.com/pub/h/860 hot water], and also you will miss out on a lot of the new stuff.

    If you are going the HostAP route, you might want to look into the Zcomax Prism2Card or the Senao 200mW cards. An unofficial support page for [http://www.seattlewireless.net/index.cgi/SenaoCard SenaoCards] is maintained by SeattleWireless.

    MadWifi is a relatively new driver (grab the CVS version), it works with Atheros based cards, allows you to act as an AP, do WDS as well as tap some of the more advanced parts of the wireless card. It seems to be the driver to get if you are into trying new things. You can get Orinoco branded PCMCIA cards as well as [http://metrix.net/metrix/products/radios/minipci MiniPCI Atheros Cards]

  • Yes. There's the ACX100 project available at http://acx100.sourceforge.net , which managed to write an OSS driver despite

    • not getting any chipset specs from TI, D-Link or USRobotics. Please tell TI, D-link et al. that real Linux support would be greatly appreciated. Note that similarly named cards usually will NOT work with this driver, due to D-Link's highly idiotic product naming policy.

6.3. What about driverloader / ndiswrapper?

6.4. Will my Broadcom chipset wireless card work in Linux or *BSD? (Linksys wmp11v2.7 and Dell Truemobile 1180 for example)

6.5. Will my Atmel chipset wireless card work in Linux or OS X? (SMC2632W)

6.6. I'd like to try doing ___________ with 802.11b. Will it work?

  • Dunno, maybe. Wireless networking depends on so many different factors that it's impossible to say for sure. Try it and let us know.

6.7. Do 802.11a cards work under Linux or *BSD?

6.8. Do 802.11g cards work under Linux?

  • Apparently, some of them do. There is the [http://prism54.org/ prism54 project] and the [http://sourceforge.net/projects/madwifi/ madwifi project].

    [http://returntonature.com/pipermail/linux-sony/2003-September/005565.html Here] is a mini-howto for getting a linksys dual band card to work using the madwifi driver.

    If you are using the MadWiFi drivers and the card won't seem to associate with your Access Point, like my (solarce at fallingsnow.net) Netgear WG311 (a good buy, $60 shipped at newegg.com) was.

    • Then just follow these easy step for Linux powered 802.11g bliss.
    • 1.) (Assuming you've installed the madwifi drivers from cvs and loaded the 'ath_pci' driver) ifconfig ath0 up 2.) iwconfig ath0 ap xx:xx:xx:xx:xx:xx (this is the mac addy of your ap, you can probably find it with 'iwlist ath0 scan') 3.) iwconfig ath0 channel XX (1-11, whatever your wap is set to) 4.) iwconfig ath0 essid your_essid_here 5.) iwconfig ath0 rate XXMB (your rate here, i.e. 11MB, 54MB) 6.) ifconfig ath0 x.x.x.x OR dhcpcd/dhclient/pump ath0 (for dhcp goodness) 7.) Let Cool and Sprinkle with Powdered Sugar (ok not really)

      And now you have 802.11g under Linux, me, I am using the card in my shiny new xp 2700+ powered MythTV machine, (http://www.mythtv.org) Enjoy!

6.9. I'm trying to use my ________ (prism2 chipset card) under linux, and I can't figure out wlan-ng, help!

  • You might want to try using HostAp ( http://hostap.epitest.fi/ ), it is a driver that supports ad-hoc, infastructure and master modes, and uses the linux wireless extensions, so you can configure it with iwconfig, unlike wlan-ng.

6.10. What driver should I use for Linux?

6.11. How do I get my Linksys WPC11 to work under Linux?

  • See http://tldp.org/HOWTO/mini/Wireless-Link-sys-WPC11/

    I do not recommend following these directions, as the drivers are not totally compatible with the linux wireless extensions, which are a standard all the other drivers follow. If you choose to use wlan-ng, please don't expect any support what so ever from #wireless. The WPC11 is a prism2 chipset card, try following directions for other prism2 based cards, orinoco_cs and hostap will also work, and both support the linux wireless extensions. --ForrestEnglish

6.12. How can I find out what chipset my network card uses?

6.13. I want a wireless network scanner under Linux, or help configuring one, please?

6.14. How do I enable monitor mode with this Orinoco?

6.15. Will my USB wireless adapter work under Linux?

  • Maybe, support is iffy at best right now. If you are using a prism2 usb adapter, I wish you luck with wlan-ng. If you are using somthing else... I wish you a short trip back to the store.

6.16. How can I find what version of Firmware my Wireless Network card has?

  • You can find out what firmware you are using by checking /var/log/syslog or /var/log/messages (depending on your distro) when you insert the card. This may or may not work I'm afraid, but you should definitly look.

6.17. I want to install some kind of authentication software for my wireless network, can I do that?

  • Most access points have mac address limiting options, and also you could enable WEP. Mac addresses can be faked however, and WEP can be broken fairly easily. If you just want to keep causual users off your network, WEP would be your easist solution, just check out the manual of your access point for instructions on enabling this. A better solution might be to use real authentication software like NoCatAuth.

    You'll probably want to be comfortable with linux to do this, and use a linux machine as the router either using HostAp or with the access point hooked up directly to the machine. Then you'll want to checkout http://nocat.net for authentication gateway software called NoCatAuth.

7. Antennas and stuff

7.1. dB, dBm, dBi, mW, W.... What is all this stuff?

  • mW stands for miliwatt, W for watt. Sometimes we talk about watts, but usually we talk about dBm, dB and dBi. Simply put, dBm is the amount of power your radio transmits. dBi is usually the amount of gain your antenna has. You can add dBm and dBi together to find out a rough idea of how much "power" the card and antenna will put out.

    For an explanation on the dB stuff, check out the DeciBels page.

7.2. How can I calculate the distance my antenna will have?

  • It depends what you're transmitting through. First you need to know what your FreeSpaceLoss is. Assuming you have perfect LineOfSight, the FSL at 5 miles is 118.36 dB. At ten miles it's 124.38 dB. Then you do this:

     ( txdB + txdbi ) - fsl + ( rxdbi )
    
      where:
        txdB is the amount of power your radio transmits at (in dBm)
        txdBi is the amount of gain your antenna has
        fsl is the amount of loss in dB between the two sides of the link
        rxdbi is the amount of gain the ''recieving'' antenna has.
    If you do have trees, buildings, bad coax cable or anything else that can impede the radio signal

    (besides the open air between the antennas), try and figure out what the loss is in dB and add it to the fsl value. This'll come up with a number, probably negative. This number is the amount of radio energy that receiving side will be able to "hear" (under ideal circumstances that is!). The object of the game is to get the receiving side

    hearing a signal of at least 10 dB more than what the receiving radio's http://wiki.freenetworks.org/moin/index.cgi/ReceiveSensitivity is.

    You can also use the commands  !range, !fsl and !rxsl  in the IRC channel to do the math for you.

7.3. What is the best antenna?

  • There is no right answer to this, please look up the radiation patterns of antennas you are interested in and see if they will fit your needs. Parabolics are good for long distance links, Helicals, Waveguides and Yagis are generally good for medium distance links, Sector antennas are good for medium distance links or large area coverage, and Omni antennas are good for large area coverage.

7.4. How can I hack an antenna onto my wireless card?

  • If your card doesn't already have an antenna connector, you should return it and buy one that does (ORiNOCO, Cisco, EnGenius/Senao and a few D-Link's have proper connectors). Seriously.

7.5. I want to build my own antenna, where are instructions to do that?

  • The cantenna is really the only antenna that is even worth building yourself anymore as antenna prices drop slowly, and we realize what a PITA and a time sink it is to build a quality antenna yourself. But, we do understand the desire to build your own when you first get into this wireless stuff, hell, we did. The cantenna is a waveguide antenna made from a tin can, with a copper wire and an N connector, it can be built in 20 minutes and $5 worth of parts, and will give between 8 and 16 dB of gain have been reported.

    Here are instructions for the cantenna: http://www.turnpoint.net/wireless/cantennahowto.html

    The [http://martybugs.net/wireless/biquad/ biquad] is also an easily constructed antenna, providing about 11dBi gain. A slightly larger variation, the [http://martybugs.net/wireless/biquad/double.cgi double biquad], provides about 13dBi gain. The biquad has a wider beamwidth (~40 degrees) than a cantenna, making it very suitable for wireless stumbling.

    For detailed information on constructing a biquad, refer to this page: http://martybugs.net/wireless/biquad/

7.6. What's the deal with reverse polarity (RP) connectors?

  • "Reverse polarity connectors have the normal "male" and "female" inner connector parts swapped over so that female contacts are used in the plug connector and male contacts in the jack. Their purpose is to prevent the user from inadvertently plugging in equipment (such as a radio antenna) that differs from the type specified by the manufacturer."

8. Connecting to Networks

8.1. How do I find wireless networks around me?

8.2. How do I connect to a wireless network?

  • This is different in each operating system, see AssociationWithNetworks and find your operating system's instructions.

8.3. How do I hack into my neighbors Wireless Network?

  • Knock on his door and ask if you can use his network. He'll be able to help you get on.

8.4. How do I crack WEP?

  • see above.

8.5. What system do I need for 902.10 Wireless on my TV

  • You need what we call a "DMCA Take Down Notice" operating system. Email piracy@mpaa.org with the subject line of "dvd decss movies for free" and give them your full mailing address, as well as a list of what programs and movies you want to get for free over your wireless connection.

9. Network Configuration help

9.1. How do I setup my network to automatically get an IP address?

9.2. What commands do I need to use?

  • The NetworkCommands page lists commands used to configure IP address information once you have your radio associated with the access point.

10. Building A HotSpot or Network

10.1. What is a captive portal?

10.2. What captive portal/gateway software is available?

11. Security Concerns

11.1. How broken is WEP, anyway?

  • WEP isn't secure, period, if you're interesting enough for someone to devote a lot of time to hack you. if you just want to keep people off your network, it should be fine. But it's not a alternative to using real encryption and authentication software.

11.2. So what could I use, then?

  • You could examine the various device level standards supported by your vendor, such as WPA/802.11i and 802.1x. Also, you might want to consider IPSEC, PPTP, or another VPN solution. These would allow you to secure your own traffic from eavesdroppers, while still allowing open access (without using a seperate AP for a secure channel).

    You don't really need any device level encryption however. Using [http://www.gnupg.org/ GPG for email] and https for secure browsing and such would protect you much beter then any device level encryption ever could. It would also offer much more features (like authentication for you email) which are imposible with device level encryption. So don't be fooled in to believing that you are secure and safe with only device level encryption. You're not.


Help with windows specific stuff in NetworkCommands and AssociationWithNetworks would be greatly appreciated. I have pictures and commands for the orinoco software under windows that I can take care of, but anything else is fair game. Further wikiizing this page (like the lucent cards), and any further FAQ's would also be welcome :) --ForrestEnglish


[CategoryDocumentation]

WirelessFaq (last edited 2010-12-16 09:44:53 by agsb-4d049b94)