When Murphy's Law meets Wi-Fi don't panic. Here's how to troubleshoot your wireless connection.Murphy's Law (humour) Murphy's Law - (Or "Sod's Law") The correct, *original* Murphy's Law reads: "If there are two or more ways to do something, and one of those ways can result in a catastrophe, then someone will do it. tells us that if anything can go wrong, it will. The wonders of 802.11b technology (commonly referred to as Wi-Fi) may have revolutionized the way we work, but Murphy's Law is here to stay. What happens when the inevitable failure occurs (at the worst possible time)? At times like this the "remote" part of "remote user" takes on an ominous meaning: You might not have access to a system administrator to walk you through the process of connecting. Whether this is the case, or you just want to be more self sufficient on the road, this article will guide you through steps you can take to troubleshoot connection problems. Depending on the problem, you might not always be able to connect without the help of a system administrator, but at least you'll understand why you can't connect. Plus, understanding how the connection works will make that dreaded tech support call shorter and less painful. Meet your new best friend: ping This article details the flow chart shown in figure 1. The first step to diagnosing wireless problems is to figure out where the failure is occurring. The basic communication language for the Internet is TCP/IP TCP/IP in full Transmission Control Protocol/Internet Protocol Standard Internet communications protocols that allow digital computers to communicate over long distances. , so that's where you want to start. For basic TCP/IP troubleshooting, you use your trusty friend, the ping utility. [FIGURE 1 OMITTED] Ping is a neat program that can probe remote machines. According to according to prep. 1. As stated or indicated by; on the authority of: according to historians. 2. In keeping with: according to instructions. 3. legend, the tool is named after the sound that sonar makes when trying to detect other vessels in the ocean. As such, you use this tool to "ping" a remote host (this could be another client, a server, etc.) to understand if it is reachable (if your computer can "see" it) and how far away it is. Knowing how tar away the remote host is helps you understand why your connection might be slow. Using ping is like saying, "Is there anybody out there?" You send a packet and hope a reply comes back. The reply will include information to tell you how long the trip took. You can access the ping utility by opening a DOS prompt The message DOS displays when it is ready to accept user input. The default DOS prompt (C:\>, D:\>, etc.) displays the current drive and directory. Earlier versions of DOS did not display the directory name and required that the Prompt command be used with the following parameters . There are a couple of ways to do this, but the easiest is to click on your Start menu > Programs > MSDOS MSDOS Microsoft Disk Operating System Prompt. You can also try Start > Run and type cmd or command, depending on your version of Windows, and click on OK. When you have a DOS prompt open, type ping and press Enter to get information about the commands you can use with this useful tool. The first link you want to use ping to test is between the wireless client and the access point (AP). If you don't know Don't know (DK, DKed) "Don't know the trade." A Street expression used whenever one party lacks knowledge of a trade or receives conflicting instructions from the other party. the IP address of your AP, re-open the DOS prompt and type ipconfig and look for information on the default gateway. TIP: If you're using an older version of Windows (such as Windows 98 or 95) you can use the graphical interface See GUI. tool for ipconfig by clicking on Start > Run and typing winipcfg. You still have to go back to the DOS prompt to ping the access point though. Windows 95 only supports winipcfg. Windows 98 supports both ipconfig and winipcfg. Windows NT (Windows New Technology) A 32-bit operating system from Microsoft for Intel x86 CPUs. NT is the core technology in Windows 2000 and Windows XP (see Windows). Available in separate client and server versions, it includes built-in networking and preemptive multitasking. 4, 2000 and XP only support ipconfig. If you don't see a default gateway, your wireless card might not be associated with an Access Point. See the section wireless association for more information. In figure 2, you can see that my access point's IP address is 10.0.0.1. You can ping your access point by typing ping followed by your access point's IE In my case: ping 10.0.0.1 [FIGURE 2 OMITTED] When I ping my AP, I see the information shown in figure 3. [FIGURE 3 OMITTED] If you can ping your AP, you know the link between your client and the AP (i.e., your wireless link) is OK. See the section on wireless association to find out what to do if you can't ping your AP. Next, you want to check that the link between the AP and the Internet is working. You do this by pinging a destination beyond the AP. I recommend pinging an actual IP address first, and then trying to ping a hostname. For example, the hostname http://www.ucsd.edu resolves to the IP address: 132.239.50.184. So, try to ping 132.239.50.184 first. If that works, try to ping www.ucsd.edu. (You do not type in the the http:// portion of the URL URL in full Uniform Resource Locator Address of a resource on the Internet. The resource can be any type of file stored on a server, such as a Web page, a text file, a graphics file, or an application program. .) The point of pinging the IP address first is to isolate a domain name system (DNS (Domain Name System) A system for converting host names and domain names into IP addresses on the Internet or on local networks that use the TCP/IP protocol. For example, when a Web site address is given to the DNS either by typing a URL in a browser or behind the ) problem. DNS is the service that translates a hostname to an IP address. Therefore, if you can ping the IP address, but you can't ping the DNS name The name of a Web server or other resource on the Internet that is identified in the DNS system. It can be the main domain name of an organization, such as www.abc.com, or another address used by the company, such as abc.go.com. , the problem has nothing to do with your wireless link. It's probably related to your DNS service or configuration. Time to call a system administrator. If any of your ping tests say "Request timed out," the ping packet never came back and the destination host isn't responding. The problem could be anywhere between your machine and the host you're trying to ping. If you can ping a hostname (ping www.ucsd.edu), your connection is operating normally. Wireless association Now that you've preliminarily identified the failure, it's time It's Time was a successful political campaign run by the Australian Labor Party (ALP) under Gough Whitlam at the 1972 election in Australia. Campaigning on the perceived need for change after 23 years of conservative (Liberal Party of Australia) government, Labor put forward a to dig a little deeper to try and find its source. Keep in mind that if you can ping the AP, but you can't ping a Web site, your client is configured properly and the failure is probably beyond your control. If the AP can't "see" the Internet, it's time to contact your system administrator and notify them of the failure. On the other hand, if you can't ping your AP, the problem lies between you and the access point. It's possible the AP has failed or lost power, but more than likely, your client is configured incorrectly. For a wireless connection to work, a client must first associate with an AP, then obtain an IP address. To associate, a client and an AP must have the same Service Set ID (SSID (Service Set IDentifier) The name assigned to a wireless Wi-Fi network. All devices must use this same, case-sensitive name to communicate, which is a text string up to 32 bytes long. ) defined in their configuration screens. They must also have the same WEP (Wired Equivalent Privacy) An IEEE standard security protocol for wireless 802.11 networks. Introduced in 1997, WEP was found to be very inadequate and was superseded by WPA, WPA2 and 802.11i. key defined, if WEP is enabled. I won't get into the details of WEP here, other than to say it's a wireless security mechanism. (Wi-Fi Protected Access (networking, security) Wi-Fi Protected Access - (WPA) A security scheme for wireless networks, developed by the networking industry in response to the shortcomings of Wired Equivalent Privacy (WEP). (WPA WPA: see Work Projects Administration. WPA in full Works Progress Administration later (1939–43) Work Projects Administration U.S. work program for the unemployed. ) is emerging as a way to address these issues and is an alternative to WEP. You can find more information on WPA in John Eder's article on page 26.) Each wireless card manufacturer includes a different tool to set up configuration parameters; but, at the end of the day, they're all trying to help you achieve the same thing: Configure your settings (SSID, WEP, and other parameters) so you can connect. Also, each too] a]so displays information about the strength of the wireless signal. If no wireless signal is detected, you should contact a system administrator right away. If you changed your SSID settings (say, to connect your laptop at a Borders bookstore hot spot), you must remember to change your settings back to your company's SSID. Also, some APs will work with clients that have set their SSID to "any." In this case, the client connects to the AP with the strongest signal. For more information about configuring your particular card, review your user guide. The following section gives URLs to the users guides for some popular wireless cards. I realize there's a problem with giving you the URL for your card s instructions if you don t have a connection through which to download them. Therefore, I strongly suggest downloading the documentation and either printing it to carry with you when you travel, or storing it on your hard drive before you hit the road. If you have a Linksys PC Card: WPC WPC (in Britain) woman police constable WPC (Brit) n abbr (= woman police constable) → Polizistin f WPC n abbr (BRIT 11: ftp://ftp.linksys.com/pdf/wpc11ug.pdf WPC11, v2.5: ftp://ftp.linksys.com/pdf/wpc11V25ug.pdf WPC11, v3.0: ftp://ftp.linksys.com/pdf/wpc11v3ug.pdf If you have a D-Link PC Card: DWL DWL Deadweight Loss (microneconomics) DWL Doppler Wind Lidar DWL Dying with Laughter DWL Divided Word-Line DWL Double White Line DWL Downward Looking DWL Don't Write Letters! (Steven Den Beste blog) 650:ftp://frp2.dlink.com/Wireless/DWL650 /Manual/dw1650_manual_132.pdf If you have an SMC SMC Saint Mary's College SMC Santa Monica College SMC Solaris Management Console SMC Smooth Muscle Cell SMC Small Magellanic Cloud (also see LMC) SMC Safety Management Certificate (maritime shipping) PC Card: SMC2632W: http://www.smc.com/drivers_downloads/library /SMC2632Wv2_MN.pdf SMC2435W: http://www.smc.com/drivers_downloads/library /2435W_2402W_MN.pdf SMC2335W: http://www.smc.com/drivers_downloads/library /SMC2335W_MN.pdf If you have a Cisco PC Card: 340 Series: http://www.cisco.com/univercd/cc/td/doc/product /wireless/aironet/adapters/index.htm 350 Series: http://www.cisco.com/univercd/cc/td/doc/product /wireless/airo_350/350cards/index.htm Double-check the SSID Assuming the AP is working properly, you should use your client configuration tools to ensure the SSID is set properly. Some wireless cards will include tools to tell you about the SSIDs it detects in the area. You can then choose which SSID you wish to associate with. The WEP key should already be set. This information (which is kind of like an encryption "password") is generally known only by the system administrator who initially configured the wireless network. In Infrastructure mode, you don't have to define a "channel." The client will send out probe requests on all channels to find the AP with the SSID you've defined. You only have to worry about the channel setting in peer-to-peer mode, sometimes called "ad hoc networking." Windows XP The previous client version of Windows. XP was a major upgrade to the client version of Windows 2000 with numerous changes to the user interface. XP improved support for gaming, digital photography, instant messaging, wireless networking and sharing connections to the Internet. Microsoft Windows See Windows. (operating system) Microsoft Windows - Microsoft's proprietary window system and user interface software released in 1985 to run on top of MS-DOS. Widely criticised for being too slow (hence "Windoze", "Microsloth Windows") on the machines available then. XP is the first 802.11-aware operating system operating system (OS) Software that controls the operation of a computer, directs the input and output of data, keeps track of files, and controls the processing of computer programs. . As such, you can configure your wireless card through the operating system instead of using the proprietary tools that ships with each individual wireless card. In your system tray, right-click on your network icon (the icon that looks like two small monitors) and you will see a menu with options to disable, status, repair, etc. Click on View Available Wireless Networks option (figure 4). This gives you a list of available networks you can connect to (figure 5). [FIGURES 4-5 OMITTED] Get an IP address Now that you've established a wireless link by associating with an access point, the next step is to ensure you have an IP address. Most wireless (and wired) networks use a service called Dynamic Host Configuration Protocol (protocol) Dynamic Host Configuration Protocol - (DHCP) A protocol that provides a means to dynamically allocate IP addresses to computers on a local area network. The system administrator assigns a range of IP addresses to DHCP and each client computer on the LAN has its TCP/IP (DHCP (Dynamic Host Configuration Protocol) Software that automatically assigns temporary IP addresses to client stations logging into an IP network. It eliminates having to manually assign permanent "static" IP addresses. DHCP software runs in servers and routers. ) to dynamically assign an IP address. Because DHCP-assigned IP addresses are time limited, you will sometimes hear people say that you have "leased an IP using DHCP." You can release and renew DHCP leases, kind of like checking a book out of the library. This article assumes that DHCP is in place. (If your network uses static addressing then releasing and renewing does not apply.) If you're sure that your client is associated with an AP, but you still can t ping your AP, open a DOS prompt. If you reusing Windows NT4, 2000 or XP, type ipconfig/release and press Enter. Next, type ipconfig/renew and press Enter. If you're using Windows 98, the commands are slightly different: ipconfig/release_all and ipconfig/renew_all. For Windows 95, use the winipcfg tool and click the Release All and Renew All buttons. After your machine releases and renews your IP address, type ipconfig and press Enter and you should see your new IP information. Note that there will be an entry for each interface (ipconfig can release and renew interfaces individually, but to keep things simple, I suggest just releasing and renewing all of them), if you have multiple interfaces and want more information about each one, type the ipconfig /all command. If it scrolls by too fast, try: ipconfig/all | more When you release your DHCP lease, you get a screen that looks like figure 6. [FIGURE 6 OMITTED] Renewing your DHCP lease looks like the screen shown in figure 7 (my WLAN See wireless LAN. WLAN - wireless local area network card is on interface 2). [FIGURE 7 OMITTED] Ping! Pong (games) Pong - A computer game invented in 1972 by Atari's Nolan Bushnell. The game is a minimalist rendering of table tennis. Each of the two players are represented as a white slab, controllable by a knob, which deflects a bouncing ball. ! Windows arbitrarily assigns an IP address in the 169.254.x.x range if it's unsuccessful in trying to lease an IP address using DHCP. In the example shown in figure 7, DHCP successfully configured interface 2. After you have a valid IP address, try pinging your AP again. If that works, try to ping a valid IP address on the Internet (e.g., 132.239.50.184). Finally, if that works, try to ping a valid hostname on the Internet (e.g., http://www.ucsd.edu). If you can ping a host name on the Internet successfully, but if you can't get your browser or e-mail client to connect, you're probably dealing with an application-specific issue and not a wireless problem. If all else fails ... Wireless networks give workers a new sense of freedom and enable workflow productivity gains that aren't possible in a wired environment. However, sometimes wireless problems occur and we're forced to go back to the "old" ways of chaining ourselves to the network. Chances are that your laptop still has a standard Ethernet RJ-45 jack. Try plugging the laptop into a wired Ethernet port and see if this resolves your problem (if you can still find a cable). There are many conditions that could be temporarily affecting your network. For example, interference from other wireless networks, microwave ovens, cordless phones and even certain weather conditions can affect RF signals and Wi-Fi performance. The problem might even be as simple as too many users trying to connect at once. Poor site surveys and site' planning can result in temperamental wireless networks that fail intermittently. If necessary, you can always "go wired" for a while and try the wireless connection again later. Sure, it's a little like going back to the days before running water and indoor plumbing, but primitive as it may be, sometimes you just have to get your work done. On the other hand, maybe it's time for a Starbucks run? I hear they have a pretty good wireless network. MOBILE BUSINESS BENEFITS It used to be that business people only had to deal with business Issues. You know, things like tracking budget and sales figures, schmoozing clients, closing deals, working on your golf swing ... But, technology is no longer the sole domain of IT and you have one more title to add to your job description: propellerhead. Technology--In this case, an Internet connection--is a business tool. If you're a less then tech-savvy business user, you can easily find yourself stranded and frustrated trying to deal with wireless connection problems. This tutorial puts wireless networking in basic terms and will help you get connected. NETWORKING TUTORIAL It's important to understand that wireless communication happens in layers. Networking works in building blocks; one layer rests on top of another. The Open System Interconnection See OSI. (OSI (1) (Open System Interconnection) An ISO standard for worldwide communications that defines a framework for implementing protocols in seven layers. Control is passed from one layer to the next, starting at the application layer in one station, proceeding to the ) model is a framework that defines networking protocols in seven layers. Wi-Fi is defined on the boom two layers; however, when diagnosing Wi-Fi problems, you're also interested in the third layer. Layers 1, 2, and 3 are the Physical, Data Link, and Network layer, respectively. LAYER 1: Physical For wireless communication, this layer defines things like the radio frequency, power outputs, and modulation techniques. The 802.11 specification includes three physical layer protocol definitions; the one you're most interested in for Wi-Fi is the Direct Sequence Spread Sprectrum (DSSS (Direct Sequence Spread Spectrum) See spread spectrum. ). The other two supported protocols at the physical layer are Frequency Hopping Spread Spectrum (FHSS (Frequency Hopping Spread Spectrum) See spread spectrum. ) and Infrared (IR). LAYER 2: Data Link The second layer is concerned with everything on the local "wire" or network. It communicates using Media Access Control (MAC) addresses, which are 48-bit hardware addresses (usually represented by 12 hex characters printed on the back of the card). The MAC address breaks down into two parts. The first 24 bits represent the hardware vendor (e.g., Linksys, Cisco, or whoever made your network interface card). The second 24 bits are a unique number assigned by the hardware vendor. In theory, combining these two values gives you a globally unique value (i.e., the MAC address). Layer 2 defines the wireless topology modes. This includes details on how wireless "association" works. LAYER 3: Network This layer gets packets from one network to another and communicates using IP addresses. Layer 3 is beyond the scope of the 802.11 protocol; however, I include it in this article because it is an essential part of troubleshooting your wireless connection. Lee Barken, CISSP (Certified Information Systems Security Professional) The award for successful completion of an examination in computer security administered by the International Information Systems Security Certification Consortium (ISC)2. , CCNA See Cisco certification. , MCP (1) See Microsoft certification. (2) (MultiChip Package) A chip package that contains two or more chips. It is essentially a multichip module (MCM) that uses a laminated, printed-circuit-board-like substrate (MCM-L) rather than ceramic (MCM-C). , has been in the IT industry since 1987. Lee has worked as an IT consultant and network security specialist for Ernst & Young's Information Technology Risk Management (ITRM ITRM Information Technology Resource Management ITRM Institutional Training Resource Model ITRM Infostructure Technology Reference Model ITRM It Risk Management ITRM It Resource Management ) practice and KPMG's Risk and Advisory Services advisory services advisory services provided to the public, in their capacity as owners and managers of animals, are an important part of veterinary science. They may be provided by government bureaux, by commercial companies who deal in pharmaceuticals or animals or animal (RAS (1) See network access server. (2) (Remote Access Service) A Windows NT/2000 Server feature that allows remote users access to the network from their Windows laptops or desktops via modem. See RRAS and network access server. ) practice. Lee is the co-founder of the San Diego Wireless Users Group (http://www.sdwug.org) and writes and speaks on the topic of wireless LAN technology and security. He teaches the "WLAN Deployment and Security" class for University of California The University of California has a combined student body of more than 191,000 students, over 1,340,000 living alumni, and a combined systemwide and campus endowment of just over $7.3 billion (8th largest in the United States). at San Diego (UCSD) Extension and is writing a comprehensive book on wireless security. barken@mail.com. |
|
||||||||||||||||||||

Printer friendly
Cite/link
Email
Feedback
Reader Opinion