Scroll to turn the page
Networking · AP Networking
one device: fixing it, connecting it, securing it
You open your laptop to finish a project and stream a show. Apps are slow and the video keeps buffering. Where do you start?
Not by guessing. The figure checks the laptop’s readings one at a time: CPU 46%, RAM 93%, free storage 24%, Wi-Fi 3 of 4 bars (hypothetical). Only RAM is out of range. Closing the apps that are not needed brings it to 58%, and the video plays.
That is the shape of this chapter: find the root cause with diagnostic tools, fix it with the simplest solution that works, and confirm the fix.
This is Unit 1 of AP Networking, Managing My Connections, the first of four. Each unit widens the scale: one device here, then a small office or home network that several people share (Unit 2), a network of many connections (Unit 3), and the global connections between networks (Unit 4). Each unit troubleshoots, configures and secures at its own scale.
Unit 1 has four topics: troubleshooting a device (1.1), connecting it to a wireless network and getting the most out of it (1.2), what can go wrong with its security (1.3), and locking it down (1.4).
gather, theorize, rank, implement, verify
Users often run into devices and networks that are slow or will not connect. The cause is rarely obvious, because a computer and its network are many layers of hardware and software that depend on each other.
Quick fixes first. Many problems go away with simple, well-known fixes such as restarting or checking physical connections. Try them before launching the full process: it saves time, effort and resources.
1. Gather information to identify the issue: what users report, what stopped working, and the circumstances under which it happens.
2. Establish a theory of probable cause with diagnostic tools and techniques. Narrowing the cause narrows the solutions. Many devices have built-in troubleshooting tools that check settings.
3. Rank the potential solutions by time, difficulty and expense, and test simple, nondisruptive ones first:
| solution | time | difficulty | expense |
|---|---|---|---|
| move closer to the access point | minutes | easy | free |
| switch to a wired Ethernet connection | an hour | moderate | a cable |
| replace the router | a day | hard | a new router |
4. Implement the chosen solution, then 5. verify that the device or system is functioning normally.
If it is not, there may be more than one issue, or the root cause was misidentified. Keep going: implement the next solution, document each step, verify again. In the figure, moving closer to the access point is not enough; a console’s large update was also eating the bandwidth.
helpful, and always checked
AI tools can make troubleshooting faster, but they work alongside traditional diagnostic methods and human judgment, not instead of them.
An AI tool can be used to:
In the figure (hypothetical) a photo editor freezes, and the readings show the drive has 6% free (15 GB of 256 GB). The AI tool reads the error messages and readings and suggests low storage as the cause, with a fix: delete temporary files and move photos to cloud storage.
A suggestion is not a fix until it is verified by hand. After freeing 21 GB of temporary files and moving 44 GB of photos, the drive has 80 GB free, 31%, and the person confirms that the editor opens files normally.
reading a task manager
Common issues on endpoint devices: slow or no network connectivity, files slow to open, and applications that are slow to respond, freeze or crash.
Common solutions often fix them: restart the device, close unnecessary applications, or disconnect and reconnect to the network. If not, gather diagnostic information.
High CPU (central processing unit, the processor) or RAM (random access memory, short-term memory) use can make applications slow or unresponsive. A task manager shows how much each process uses:
In the figure (a hypothetical laptop with 8 GB of RAM) a video editor has stopped responding:
| process | CPU | RAM |
|---|---|---|
| VideoEdit (not responding) | 61% | 3.1 GB |
| Browser (31 tabs) | 22% | 2.6 GB |
| Game launcher | 6% | 0.8 GB |
| System | 4% | 0.6 GB |
| Music | 2% | 0.3 GB |
Together: CPU 95%, RAM 7.4 GB of 8 GB, 92.5%. The fix for high CPU is to end high-usage or unresponsive tasks. Ending the editor leaves CPU 34% and RAM 4.3 GB, 54%.
Solutions for high RAM use include deleting temporary files, and installing more RAM if the problem persists.
three more causes, and their fixes
Not every slowdown is the processor. Three more readings to check, each with its own fixes.
Storage. Too little free storage slows file access and degrades applications. System storage below 10% free means the device may not have enough space to perform reliably. Fixes: delete temporary and unused files and applications; move files to external or cloud storage; install more storage if the problem persists.
Wireless signal. A weak signal, or a dropped connection to the access point, makes apps fail to load content or sync data. The network icon in the notification bar shows signal strength and connection status. Fixes: verify the network name and password; move closer to the wireless access point. In the figure the bars fall as the laptop moves away (distances hypothetical).
Heat. An overheating device can slow down, shut down unexpectedly or lose connectivity to protect itself. Causes: poor ventilation, a processor overloaded for a long time, a hot or sunny place. Many devices warn about temperature or reduce performance to cool down. Fixes: check for proper ventilation, end high-usage tasks, move the device somewhere cooler or out of direct sunlight.
After any fix, verify: applications respond normally, and the internet and network resources are reachable.
adapter, SSID, password, check
Four steps take a device onto a wireless network, and the last one is a check.
1. Enable wireless. Turn Wi-Fi on, or make sure the wireless adapter is active.
2. Find the network. You need its name, the service set identifier (SSID), and its password if it has one. The available networks are listed in the device’s network settings, often opened from the notification area or the settings menu. Connect only to trusted networks: unknown or unprotected ones may let others reach your data or device.
3. Connect. Select the SSID from the list. If the network is protected, the device asks for its password. Passwords are case-sensitive: in the figure “maple-kite-42!” is refused and “Maple-Kite-42!” is accepted.
4. Verify. Check the network icon for errors, and confirm that you can reach the internet and network resources.
bandwidth, signal strength, device performance
Working, streaming and gaming ask different things of a device and a network. Users can take steps to improve all three of the things that limit them.
Bandwidth is the amount of data that can move through a network at a given time; it sets how fast a connection is. Users can free up bandwidth by disconnecting other devices and pausing large updates or downloads. In the figure (hypothetical, and simplified to an even split) a 100 Mbps connection shared by 4 devices gives each 25 Mbps; with the update paused and the phone off, the laptop gets 50 Mbps.
Connection strength matters for reliability: a low signal causes lag. Improve it by moving closer to the router or wireless access point, reducing interference from solid objects such as walls, or switching to a wired Ethernet connection when one is available.
Device processing and storage matter during high-usage tasks. Improve them by closing unused applications and browser tabs, and deleting unused or temporary files and applications.
data, money, reputation, the device itself
Digital and physical attacks aim at one thing: unauthorized access to accounts, data or devices.
Unauthorized access can expose sensitive or personal information: financial records, health data and personally identifiable information (PII). Exposed data may be leaked or sold.
Information from compromised accounts or exposed credentials can be used to commit fraud, make purchases or apply for loans. Victims may suffer credit score damage, debt they did not take on, or long-term misuse of their identity.
For a small business or organization, unauthorized access can damage its reputation and disrupt operations. Leaked client information, unprofessional messages sent from its accounts, or service interruptions lead to lost trust, bad publicity and lost customers.
Malware can make a device behave abnormally, slow down, crash or become unusable. It can let attackers reach files, monitor activity or take remote control of the device. An infected device can also spread malware to other systems, as in the figure.
a control for each vulnerability
Security controls are put in place to mitigate vulnerabilities. Choosing one means knowing the device’s specific vulnerability and what it could lead to.
| vulnerability | controls |
|---|---|
| weak authentication | strong passwords that are harder to guess; multifactor authentication (MFA), which adds layers beyond the password; biometrics, such as fingerprint scans and facial recognition, which use unique physical characteristics |
| phishing | email filtering to block malicious messages; training users to detect and report phishing |
| shoulder surfing | privacy screens that make a display visible only from directly in front; screens positioned away from high-traffic areas |
| malware | antivirus and antimalware software, installed and regularly updated; operating systems and applications kept updated to patch known vulnerabilities |
Phishing is an adversary sending deceptive communications, such as spoofed emails, fake websites or urgent messages, to trick users into revealing credentials or downloading malware.
Shoulder surfing is someone without authorization watching or recording a user’s screen or keyboard to gather information.
In the figure, without controls every threat reaches the laptop. With one control in place for each, each threat is stopped.
complexity and length
A complex password uses at least one character from each of the four character sets often required: uppercase letters (A–Z, 26), lowercase letters (a–z, 26), digits (0–9, 10) and special characters (!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~, 32).
Passwords with characters from every set are far harder to guess than ones from only one or two sets. A minimum length means every password has at least a certain number of characters. The longer and more complex a password, the longer an automated tool takes to find it.
The figure counts it. A password of length n drawn from s possible characters has sn combinations. Against a hypothetical tool trying 1.0 × 10¹⁰ guesses a second, the worst case:
| password | length | combinations | worst case |
|---|---|---|---|
sunshine | 8 | 26⁸ ≈ 2.1 × 10¹¹ | 21 seconds |
Sunshine | 8 | 52⁸ ≈ 5.3 × 10¹³ | 89 minutes |
Sun5hine | 8 | 62⁸ ≈ 2.2 × 10¹⁴ | 6.1 hours |
Sun5h!ne | 8 | 94⁸ ≈ 6.1 × 10¹⁵ | 7.1 days |
Sun5h!ne-Tr7k | 13 | 94¹³ ≈ 4.5 × 10²⁵ | 1.4 × 10⁸ years |
purple tractor sings at noon | 28 | 27²⁸ ≈ 1.2 × 10⁴⁰ | 3.8 × 10²² years |
One more rule: strong passwords do not include common or easily guessed words or personal information such as birth dates, pet names or usernames. “sunshine” is a common word, so a tool guessing from word lists finds it at once, long before the 21 seconds its letters allow.
slowing the guesser down
A lockout period after a certain number of invalid login attempts stops an adversary from guessing passwords continuously.
Many organizations lock an account after 3–5 invalid attempts. The lockout duration varies. In the figure (hypothetical) the account locks after 5 misses for 15 minutes, so a guesser gets at most 5 × 96 = 480 guesses a day. Trying all 10,000 four-digit PINs would take up to 20.8 days, instead of seconds.
The tool in the figure tries common passwords and the user’s own name first, which is why passwords must not contain them.
A passphrase is a sequence of words, or a sentence, that is easy for the user to remember but hard for an adversary to guess, such as “purple tractor sings at noon”. Passphrases are usually longer than passwords, which increases the total number of possible combinations and makes them more resistant to automated attacks (the last row of the previous page’s table).
phishing, networks, updates, reuse, defaults, settings
Device- and account-level habits that prevent phishing, credential compromise and data loss.
Phishing. Verify message sources and be careful with emails or messages, especially ones asking for sensitive information: check the sender’s email address, hover over links to see where they go before clicking, and contact organizations directly through their official websites or phone numbers.
Untrusted networks. Use secure connections for sensitive data: connect through secure networks such as a virtual private network (VPN), avoid unknown public networks, and make sure websites use HTTPS, which encrypts traffic.
Updates. Keep software (applications and operating systems) and firmware (embedded software that controls hardware components) current, and enable automatic updates, so known vulnerabilities are patched.
Reuse. Use a strong, unique password for each account, so one compromised set of credentials opens nothing else. In the figure the game site is breached: with the same password everywhere, its leaked password opens the email and the bank too.
Defaults. Change default usernames and passwords during setup, on routers and cameras especially. Internet of Things (IoT) devices, such as smart speakers and thermostats, often ship with insecure default settings.
Settings. Enable MFA; enable a screen lock with a strong PIN, password or biometric; turn off automatic connection to open or public wireless networks; turn off application permissions when they are not in use.
encryption, WPS, SSID, password
Wireless networks are convenient, but anyone in range can try to join them or capture what they carry: unauthorized access and data interception.
Encrypting data before it is sent makes captured data much harder for an adversary to read. Configure the router or wireless access point for the highest level of encryption available:
| security mode | use it? |
|---|---|
| open (no encryption) | no: insecure |
| WEP | no: insecure |
| WPA | no: insecure |
| WPA2 | the minimum requirement |
| WPA3 | recommended |
Wi-Fi Protected Setup (WPS) should be disabled.
A unique SSID and strong authentication keep unauthorized users from getting in by compromising passwords, and a password-protected network should have a long, complex and unique password.
In the figure an eavesdropper captures a copy of the same traffic under each mode in turn. With no encryption, or with WEP or WPA, the login inside can be read; with WPA2 or WPA3 the copy is noise.