Macworld - At one time, a typical Mac user would no more have connected a couple of computers to the Internet via a local network than they would have extracted their own kidney. If you just mentioned the word networking (outside the context of calling former business associates to seek a better job), those around you shook with fear.
Blessedly, those days are almost entirely over. Now, just about anyone can configure and join a network. Let's see how it's done.
A little background
I'm going to assume that you already have some variety of Internet service--along with a broadband modem (the box that brings broadband Internet service into your home or office) that includes or is connected to a router (a device that distributes network addresses to computers and mobile devices connected to it). When you signed up for that service, either someone installed it for you or you were sent the gear you needed and you followed the instructions necessary to connect to the Internet.
In most cases, the modem/router relationship works this way: Your Internet service provider assigns something called an IP address to your Internet account. This address is selected from a range of addresses that the ISP owns, and it can change depending on the kind of account you've signed up for. (If you have a static account, you'll always have the same IP address;A if you have a dynamic account--which is most common--your IP address can change.) This IP address is your main thoroughfare to the Internet.
The router, as its name implies, routes devices connected to it (either with a wire or via Wi-Fi) so that they can access your Internet connection. The router creates a number of internal IP addresses--private addresses used only within your local network. When you log on to your network with your Mac or an iOS device, it's assigned one of these addresses. An easy way to think of a local IP address is as the device's network name--like Shane, Courtney, Anastasia, or Gub-Gub--only in this case, the name is represented by a string of numbers separated by periods (192.168.0.22 or 10.0.1.29, for instance).
I don't want to burden you with a load of technical terms, so perhaps an analogy will help you understand how they all fit together. Imagine that the IP address assigned by your ISP is a road in front of your house. The modem is your home's driveway. The router is the home itself. And the router's IP addresses are the many doors you use to enter and exit your home.
Configuring the Network preference
Now that the theory portion of the lesson is over, let's move to its practical application by choosing System Preferences from the Apple menu and selecting the Network preference.
Along the left side of the Network window, you'll see any network avenues available to you. Exactly what you see here depends on the Mac you're using. A Mac that sports an ethernet port and carries Wi-Fi circuitry will, at the very least, display ethernet and Wi-Fi entries. A green dot next to any entry indicates that the connection is active and available to use. A yellow dot means that the connection could be active, but it's not yet configured. And a red dot tells you that there is no connection (a FireWire entry will show the red dot if there's no FireWire cable attached to your Mac, and the Wi-Fi item will have its own red dot if you've turned Wi-Fi off). You may also see listings for Thunderbolt Ethernet, USB Ethernet, FireWire, Thunderbolt FireWire, and Bluetooth PAN. We'll concern ourselves with ethernet and Wi-Fi, as they're the most commonly used connections.
Select one of these active connections (again, one with a green dot). If you've selected Wi-Fi, you'll see a Status entry to the right, which should read Connected. To its right is a Turn Wi-Fi Off button. To disable Wi-Fi, just click this button. Below the button you'll see the name of the network you're connected to as well as the IP address assigned to your Mac.
If you choose an active ethernet connection, you'll spy the same Connected entry with an IP address below. (Note that if you have both an ethernet and a Wi-Fi connection active, this IP address will be different than the Wi-Fi address because each connection gets its own internal IP address). In most cases, you should then see Using DHCP in the Configure IPv4 pop-up menu, along with your Mac's IP address, subnet mask, router, DNS server, and search-domain information. You can ignore the bulk of this information.
Troubleshooting your network
There are, however, two items I want to draw your attention to. The first is the Advanced button. Click it and a sheet appears that is sure to set the new Mac user's teeth on edge (so many numbers and acronyms!). Don't panic--we're going to look at one entry only.
If you find that you're unable to make an Internet connection and that the dot next to your normally active connection has turned yellow, it may be because your Mac has become confused about its IP address. In such cases it can help to renew that address. To do this, in the Advanced sheet, click the TCP/IP tab and click the Renew DHCP Lease button. This sends your router a "We need to reestablish our normally cozy relationship--could you make sure we're on the same page?" message. With a little luck, renewing that lease will restore your connection. When you're finished, clickA OK.
This method is hardly a cure-all, however, and that's why I direct you next to the Assist Me button at the bottom of the window. Click it and a sheet appears. Within this sheet, clickA Diagnostics. This launches the Network Diagnostics application that helps you determine the health of your network.
The left side of the window displays a series of entries. For an ethernet connection, you'll see Ethernet, Network Settings, ISP, Internet, and Server. For a Wi-Fi connection, you'll see Wi-Fi, Wi-Fi Settings, Network Settings, ISP, Internet, and Server. When you have a solid Internet connection, a green dot will appear next to each item. If something's wrong, you'll see red dots. If Ethernet, Network Settings, and ISP bear the green dot, but the Internet entry has a red dot next to it, the problem is on your IPS's end and not yours. Wait it out or contact your ISP to find out when the issue will be fixed. If the red dots appear next to Ethernet and Network Settings, there's something wrong with your network configuration.
If the problem appears to be on your end, you may be able to fix it by simply choosing the kind of connection you're using and clicking through a series of Continue buttons. Network Diagnostics can repair a handful of local network issues, so clickA Continue a few times to see what it can do.
About the Wi-Fi menu
If you're using a Wi-Fi network, it's worth your while to enable the Show Wi-Fi Status in Menu Bar option in the NetworkA system preference. Do this and you can easily turn off Wi-Fi by choosing the Turn Wi-Fi Off command. Also, a helpful fan icon appears in the Mac's menu bar. The number of black bars in that fan indicates the wireless network's signal strength. If you see just one or two black bars, try moving closer to the wireless hotspot to increase the signal strength, as a poor signal can mean a slower connection.
But the Turn Wi-Fi Off command and the fan icon aren't the only reasons to enable the Wi-Fi menu-bar option. You'll also see many nearby wireless networks. Those that bear just a fan are open and those with a lock icon next to them require that you know the password to join the network.
Note: Not all open networks truly are. If you've spent time with a laptop or iOS device in an airport, convention center, or hotel, you've likely seen entries for Free Public Wi-Fi networks. These aren't real open networks. Rather, they're the result of a bug in Windows XP. When a computer running XP can't find a recognized Wi-Fi network, it creates an ad-hoc network of its own and broadcasts itself as Free Public Wi-Fi. If you try to connect to it, you'll discover that no Internet connection results. It's not dangerous to do this--your Mac won't get cooties--but in terms of actually getting on the Internet, it does you no good whatsoever.
Speaking of creating an ad-hoc (or computer-to-computer) network, this is something you can also do via the Wi-Fi menu. Click on this menu, and you'll see a Create Network command. This command allows you to turn your Mac into a wireless hotspot, which you can share with others. Back in the days when most hotels had only wired ethernet Internet available, you'd use this so you could connect other nearby wireless devices to the hotel network (without having to pay for an additional connection or because your other devices didn't support ethernet).
Creating an ad-hoc network is still a good solution in that increasingly rare situation, but there are other reasons to do it, too: for instance, when you want to create a secure network that only those who know the network's password can log in to.
To create a computer-to-computer network, just choose the Create Network command and, in the sheet that appears, create a network name ('Super Secret Network', for example) and choose a channel to broadcast over. (Channel 11 is the default, but if there's a lot of wireless traffic where you are--which can degrade the signal--choose another channel such as 1 or 6.) And if you want a secure network, click the Security pop-up menu and choose 40-bit or 128-bit WEP (Wired Equivalent Privacy)--128-bit is more secure. If you choose either WEP setting, you must enter and confirm a password--exactly five characters for 40-bit WEP and 13 characters for 128-bit WEP.
More? Okay. Some nearby Wi-Fi networks don't appear in the Wi-Fi menu because they've been set up as private networks--networks you can access only if you know their name and password. If you're aware of such a network (because the boss sidled up to you and hissed "Not only have you earned the key to the executive washroom, but you can now use our private network. Its name is 'Perk' and the password is 'ent1tled.'") just choose Join Other Network from the Wi-Fi menu and in the window that appears enter the network name, choose the kind of security the network uses, enter the network's password, and click Join.
Where this leads
Configuring a Mac to join a network is a necessary but unenthralling chore. But now that you have established a network, the good stuff can begin: You can now share printers and scanners, swap files, and remotely control another Mac on your network. We'll look at these tasks next week.
Next week: All about sharing
- Troubleshooting Common Issues in VoIP Learn more about Voice over Internet Protocol (VoIP), including common VoIP metrics used, best practices in VoIP management and tips and tricks for...
- IDG Research Survey: Are you Paying Too Much for Your NMS? Feel like you're paying too much for network monitoring? You're not alone. This survey brief summarizes findings from research recently fielded by IDG...
- 2013 Network Management Software (NMS) Buyers Guide This white paper contains an independent comparison study of six different network management solutions and provides guidance on how you can choose the...
- Rightsizing Your Network Performance Management Solution: 4 Case Studies This white paper discusses challenges encountered as organizations search for the most cost-effective network performance management solution.
- Live Webcast 5 Steps to Assuring Quality of Experience In order to align monitoring and management practices with the true demands of the business, IT professionals must expand beyond traditional comfort zones...
- Live Webcast Master the Changing SAP Landscape with Performance Management SAP landscapes are not getting simpler. Gradually, business processes that used to be contained on a single SAP system now involve a range...
- E-Signature RFP Checklist Webcast If your organization is looking to adopt e-signatures, you may be overwhelmed by the number of providers that offer seemingly similar solutions. How...
- Navigating the New Wireless Landscape Thriving in the new wireless landscape View Now>> All Networking White Papers | Webcasts
Our new bimonthly Internet of Things newsletter helps you keep pace with the rapidly evolving technologies, trends and developments related to the IoT. Subscribe now and stay up to date!