Troubleshoot your Mac's network problems
A process of elimination is often the best approach to solving issues
When a network problem strikes, it isn't always immediately obvious. It's rare to get a clear message on the screen and it's easy to imagine that your Facebook app has simply crashed or a website is offline.
A good first check is to open a new window in Safari and try pointing at google.com. The front page itself could be loading from Safari's internal cache, of course, so test your live connection to the internet by typing something random into the search box to query the server.
If you get a page of results, then you have an internet connection, at least. If you get a progress bar that goes nowhere, followed by a 'Safari can't find the server' page, you've got problems.
If you have a wireless connection to your broadband router, look at the menu bar on your Mac. The 'stripy slice of pie' icon on the right-hand side should be black. If it's greyed out, right-click it to see if you're connected to the right network.
You may see your Wi-Fi network listed in the 'available' section, but no tick against it to show it's selected. This is because the network briefly disappeared from the radar and OS X hasn't automatically reconnected when it came back up. Just click it on the list to reconnect.
If your Wi-Fi link looks fine but you still have no internet connection, take a look at the router. Broadband modem/routers are little computers running an embedded operating system, and they can crash just like any other computer.
If none of the lights on the front are flickering - either because they are all stuck on, or they are all switched off - turn the modem off at the wall. Actually, do this even if your modem lights look normal - different modems use different light sequences to indicate problems, and rebooting the modem is an easy and quick crash-fix.
Get the best Black Friday deals direct to your inbox, plus news, reviews, and more.
Sign up to be the first to know about unmissable Black Friday deals on top tech, plus get all your favorite TechRadar content.
When your modem starts up it will begin with a power-on self-test, which is normally indicated by the power light flashing steadily. After about five seconds of this, the power light will change to steady. Next to light up will be the LAN lights for any wired Ethernet connections that are active, closely followed by the wireless light, which should start blinking away.
After that there will be a pause as your modem logs in to your ISP and then the light labelled 'broadband', 'ADSL' or just 'DSL' will come on. After that, there should be another pause, before the internet light comes on to indicate that the router has been allocated an external IP address from your ISP.
If all the lights come on in more or less this sequence, then you can be confident that the broadband modem is working fine. If any of the lights are yellow or red, or if the broadband or internet lights don't come on at all, then it could be that your modem is damaged. This can happen if the modem isn't ventilated and has overheated, or if the phone lines near your house are struck by lightning, sending a power surge to the modem. Alternatively, your ISP may be having technical problems at your exchange - try calling their support hotline to check.
Assuming that your modem restarts correctly but your network problems remain, the next step is to take as much complexity out of your network as you can. This will help you identify which link in the chain is failing.
Does your iPod touch or iPad still connect through Wi-Fi? If so, it's a sign that the problem lies with your Mac. If none of them can connect, try a wired connection instead. There are lots of things that can cause Wi-Fi networks to suddenly break, but most of them boil down to either incompatibility with another network device or problems with wireless security.
If you have recently changed broadband provider your wireless security key will have changed, but the new modem/router might also be using a different wireless security protocol.
Some older network devices and computers have problems with the newer WPA2. Try temporarily turning security off and see if that makes a difference. It's possible you might need to fall back to the older WEP; this is less secure than WPA or WPA2, but it's still better than nothing. Wireless security is only to protect yourself from hackers within physical wireless range of your network, so depending on how likely your neighbours are to be nicking your broadband, you might not really need more than WEP.
Every device on your network must have a unique IP address. These take the form 192.168.1.n, where n is a number between 0 and 255. When you install a device, you can either choose a number for it yourself or you can leave the router to allocate one automatically, using a service called DHCP.
Using DHCP for all devices is usually the easiest option, but some devices don't support it or behave oddly with it. If you assign static IP addresses to some of your network devices, make sure you restrict the address range that the DHCP server on your router can use, and assign static IP addresses that don't lie in this range.
How to work network diagnostics
1. Traffic lights
Open System Preferences > Network and select the network connection you want to troubleshoot. Click Assist me… at the bottom and then click Diagnostics on the drop-down dialogue. Then click Continue. You'll see a column of green-going lights labelled 'Network Status'.
2. First point of failure
The first light (either yellow or red) indicates the most likely source of the problem. For example, if the phone cable to your router is loose, the 'AirPort', 'AirPort Settings' and 'Network Settings' lights will all show up as green. However, the 'ISP' light and those below it will be red.
3. Problem solved
Some solutions will be thrown up by the diagnostic utility itself, but don't expect too much at this point. If turning the modem off and on doesn't fix things then there won't be any more ideas. But you can start trying other things, such as swapping cables or checking your phone line microfilter.