Network Connectivity Setup & Checks

Learn how to configure and verify network connectivity across Windows, Linux, macOS, Android, and iOS using networking utilities and wireless settings.

πŸ–₯️ 1️⃣ Network Setup & Checks on Computers

Network setup and checks are extremely important for troubleshooting, labs, and exams such as CCST and basic networking. This section starts with Windows and then maps the same concepts to Linux and macOS.

πŸͺŸ A) Windows

πŸ”Ή How to Check Network Connection (GUI Method)

  1. Open Settings
  2. Go to Network & Internet

You can immediately see:

Click Properties (Wi-Fi or Ethernet) to view:

Use GUI when:
You want a quick overview, are a beginner, or don’t have command-line access.

πŸ”Ή Command-Line Checks (VERY IMPORTANT)

Exams and real troubleshooting mostly use the command line.

Open Command Prompt:
Win + R β†’ cmd β†’ Enter

1️⃣ ipconfig

    ipconfig
      

What it shows:

    IPv4 Address . . . : 192.168.1.10
    Subnet Mask  . . . : 255.255.255.0
    Default Gateway . : 192.168.1.1
      
This confirms:
PC received an IP address and DHCP is working.

πŸ”΄ Special Case: 169.254.x.x

    IPv4 Address : 169.254.12.45
      

Meaning:

2️⃣ ping google.com

    ping google.com
      

What it checks:

Successful result:

    Reply from xxx.xxx.xxx.xxx
      

If it fails:

3️⃣ tracert google.com

    tracert google.com
      

What it shows:

    PC β†’ Router β†’ ISP β†’ Internet β†’ Google
      
Used to detect where the connection breaks or where delay occurs.

πŸ”§ Common Windows Network Problems (Exam Gold)

❌ Problem 1: No IP Address

    ipconfig β†’ No IPv4 address
      

Possible causes:

❌ Problem 2: 169.254.x.x

Meaning:

Fix:

    ipconfig /release
    ipconfig /renew
      

❌ Problem 3: Ping Fails

    ping google.com β†’ Request timed out
      

Possible reasons:

Test gateway:

    ping 192.168.1.1
      

🧠 Windows Troubleshooting Flow (Exam Ready)

    Check cable / Wi-Fi
            ↓
    ipconfig
            ↓
    Valid IP?
      Yes β†’ ping gateway
      No  β†’ DHCP issue
            ↓
    ping google.com
            ↓
    Internet OK / Not OK
      

🐧 B) Linux (Quick Mapping)

πŸ”Ή Check IP Address

    ip a
      
    ifconfig
      

πŸ”Ή Check Internet

    ping google.com
      

πŸ”Ή Check Route

    traceroute google.com
      
Same logic as Windows, different commands.

🍎 C) macOS (Quick Mapping)

πŸ”Ή GUI Method

System Settings β†’ Network β†’ Wi-Fi / Ethernet

πŸ”Ή Terminal Commands

    ifconfig
    ping google.com
    traceroute google.com
      

🧠 FINAL EXAM TIPS (VERY IMPORTANT)

Golden Rules:
No IP β†’ DHCP problem
169.254 β†’ DHCP failed
Ping fails β†’ Gateway or DNS issue

πŸ“± 2️⃣ Network Setup & Checks on Mobile Devices

Mobile devices are wireless-first endpoint devices. Unlike computers, they rely heavily on Wi-Fi and cellular networks, so checks are simpler but extremely important for troubleshooting and exams.

πŸ€– A) Android

πŸ”Ή Wi-Fi Setup (Step-by-Step)

Path: Settings β†’ Wi-Fi

  1. Turn Wi-Fi ON
  2. Select the SSID (network name)
  3. Enter the password
  4. Tap Connect

After connection, check:

Tap the connected network to view:

πŸ”Ή Mobile Data Check (Cellular Internet)

Path: Settings β†’ Network & Internet β†’ Mobile Network

Verify:

If signal bars are empty, possible reasons include weak coverage, SIM issues, or Airplane mode enabled.

πŸ”Ή Android Troubleshooting (VERY IMPORTANT)

βœ” 1️⃣ Toggle Airplane Mode

    Turn ON β†’ wait 10 seconds β†’ Turn OFF
      

Fixes:

βœ” 2️⃣ Forget & Reconnect Wi-Fi

Settings β†’ Wi-Fi β†’ Tap Network β†’ Forget
Reconnect by entering the password again.

Fixes:

βœ” 3️⃣ Reset Network Settings (Last Option)

Settings β†’ System β†’ Reset Options β†’ Reset Wi-Fi, Mobile & Bluetooth

This resets Wi-Fi, Mobile data, and Bluetooth settings.
Personal data is NOT deleted.

πŸ”΄ Common Android Network Issues (Exam Gold)

Problem Likely Cause
Connected but no internet Router or ISP issue
Wi-Fi keeps disconnecting Weak signal
Mobile data not working APN or SIM issue
No signal bars Coverage issue or Airplane mode

🍏 B) iOS (iPhone / iPad)

πŸ”Ή Wi-Fi Setup

Path: Settings β†’ Wi-Fi

  1. Turn Wi-Fi ON
  2. Select the network
  3. Enter the password
Blue checkmark (βœ“) indicates the device is connected.

Tap the (i) icon to view:

πŸ”Ή Cellular (Mobile Data) Check

Path: Settings β†’ Mobile Data β†’ ON

Verify:

If roaming, enable Data Roaming.

πŸ”Ή Common iOS Fix (MOST IMPORTANT)

Reset Network Settings

    Settings β†’ General
    β†’ Transfer or Reset iPhone
    β†’ Reset
    β†’ Reset Network Settings
      
Fixes Wi-Fi, cellular, and Bluetooth issues.
Apps and files are NOT deleted, but Wi-Fi passwords are removed.

🧠 Mobile Networking Characteristics (Extra Knowledge)

Feature Mobile Devices
Connection Wireless only
IP Address Dynamic
Switching Auto Wi-Fi ↔ Mobile Data
Power Battery dependent
Usage User-operated endpoints
Exam Tip: Mobile devices automatically switch between Wi-Fi and cellular networks to maintain the best connectivity.

πŸ› οΈ 3️⃣ Networking Utilities

Networking utilities are basic diagnostic tools used to identify where a network problem existsβ€”device, gateway, DNS, route, or service.

Think of networking utilities as medical tests for networks 🩺.

πŸ”Ή 1️⃣ ping β€” Reachability Test

What ping does:

    ping 8.8.8.8
      

What it confirms:

How it works:

Ping Command Output

πŸ”΄ If ping fails

Result Meaning
Request timed out Destination unreachable
Destination host unreachable Gateway or routing issue
High time (ms) Network congestion
Always ping an IP first, then a domain:
ping 8.8.8.8 β†’ ping google.com

πŸ”Ή 2️⃣ tracert / traceroute β€” Path Discovery

What it does:

Commands:

    Windows:
    tracert google.com
      
    Linux / macOS:
    traceroute google.com
      

What it shows:

    PC β†’ Router β†’ ISP β†’ Internet β†’ Destination
      

When to use:

Uses TTL (Time To Live) to discover hops.

πŸ”Ή 3️⃣ nslookup β€” DNS Troubleshooting

What nslookup does:

    nslookup google.com
      

Successful output shows:

πŸ”΄ If it fails

Problem Meaning
DNS request timed out DNS server unreachable
Non-existent domain Wrong or invalid domain
Ping IP works but domain fails DNS issue
Classic exam case:
ping 8.8.8.8 βœ…
ping google.com ❌
Conclusion: DNS problem

πŸ”Ή 4️⃣ ipconfig / ifconfig β€” IP Configuration

What it shows:

    Windows:
    ipconfig
      
    Linux / macOS:
    ifconfig
    or
    ip a
      

πŸ”΄ Special Case (Exam Favorite)

    169.254.x.x
      

Meaning:

DHCP renew (Windows):

    ipconfig /release
    ipconfig /renew
      

πŸ”Ή 5️⃣ netstat β€” Connections & Ports

What netstat does:

    netstat
      

Common useful option:

    netstat -an
      

Helps identify:

Widely used by network administrators and security teams.

🧠 How to Use Utilities Together (Real Troubleshooting Flow)

    ipconfig        β†’ Check IP
         ↓
    ping gateway    β†’ Local network
         ↓
    ping 8.8.8.8   β†’ Internet reachability
         ↓
    nslookup site   β†’ DNS check
         ↓
    tracert site    β†’ Path issue
      
Exam Tip: Always troubleshoot step-by-step. Never jump directly to DNS or traceroute without checking IP and ping first.

πŸ“Ά 4️⃣ Wireless Settings (SSID, Authentication, WPA)

Wireless settings decide who can connect, how securely, and how well a Wi-Fi network performs. This topic is very important for exams and real-world networks.

πŸ“‘ A) SSID (Service Set Identifier)

πŸ”Ή What is SSID?

An SSID is simply the name of a Wi-Fi network. It is what you see when your phone or laptop scans for available Wi-Fi.

Examples:

Each SSID identifies one unique wireless network.
Wi-Fi SSID Example

πŸ”Ή Hidden SSID

What is a Hidden SSID?

Used in:

Reality Check:
Hidden SSID provides only slight security. Skilled attackers can still detect it. It is NOT a replacement for strong encryption.

πŸ” B) Authentication

πŸ”Ή What is Authentication?

Authentication is the process of verifying who is allowed to connect to a Wi-Fi network.

It answers the question: β€œAre you allowed to join this network?”

πŸ”Ή Common Authentication Types (Exam Ready)

Type Security Level Explanation
Open ❌ None Anyone can connect
WPA2-PSK βœ… Good Password-based authentication
WPA3-PSK βœ… Best Strong password protection
Enterprise (802.1X) πŸ”’ Very High Username + password or certificate

πŸ”Ή WPA-PSK (Personal)

WPA-PSK uses a shared password and is commonly used in homes and small offices.

πŸ”Ή Enterprise Authentication

Enterprise authentication uses a username and password (or certificates) along with a RADIUS server.

Enterprise authentication is the most secure authentication type.

πŸ”’ C) WPA Modes (VERY IMPORTANT)

πŸ”Ή WPA (Old)

πŸ”Ή WPA2 (Most Common)

Minimum recommended standard today.

πŸ”Ή WPA3 (Best & Modern)

Default on modern routers and devices.
WEP vs WPA vs WPA2 vs WPA3 Comparison

πŸ“Š WPA Comparison (Exam Ready)

WPA Mode Security Status
WPA ❌ Weak Obsolete
WPA2 βœ… Strong Standard
WPA3 πŸ”’ Very Strong Best

⚑ Common Wireless Problems & Fixes

Problem Likely Cause Best Fix
Slow Wi-Fi Congestion Use 5 GHz
Frequent disconnects Channel overlap Change channel
Weak signal Distance / walls Move router
Can’t connect Wrong password Re-enter key
Connected but no internet DNS / gateway issue Check DNS
Exam Tip: SSID identifies the network, authentication verifies the user, and WPA determines the encryption strength.