π₯οΈ 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)
- Open Settings
- Go to Network & Internet
You can immediately see:
- Connected / Not connected
- Connection type (Wi-Fi or Ethernet)
Click Properties (Wi-Fi or Ethernet) to view:
- IPv4 address
- Subnet mask
- Default gateway
- DNS servers
- Network profile (Public / Private)
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
- Subnet mask
- Default gateway
IPv4 Address . . . : 192.168.1.10
Subnet Mask . . . : 255.255.255.0
Default Gateway . : 192.168.1.1
PC received an IP address and DHCP is working.
π΄ Special Case: 169.254.x.x
IPv4 Address : 169.254.12.45
Meaning:
- APIPA address
- DHCP server not reachable
- No Internet
- No default gateway
2οΈβ£ ping google.com
ping google.com
What it checks:
- Internet connectivity
- DNS resolution
- Packet delivery
Successful result:
Reply from xxx.xxx.xxx.xxx
If it fails:
- No Internet
- DNS issue
- Gateway unreachable
3οΈβ£ tracert google.com
tracert google.com
What it shows:
- Path taken by packets
- Routers between PC and destination
PC β Router β ISP β Internet β Google
π§ Common Windows Network Problems (Exam Gold)
β Problem 1: No IP Address
ipconfig β No IPv4 address
Possible causes:
- DHCP server down
- Ethernet cable unplugged
- Wi-Fi not connected
β Problem 2: 169.254.x.x
Meaning:
- DHCP request failed
- System self-assigned IP
Fix:
ipconfig /release
ipconfig /renew
β Problem 3: Ping Fails
ping google.com β Request timed out
Possible reasons:
- Default gateway missing
- DNS issue
- Firewall blocking
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
π 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)
- ipconfig β IP & DHCP check
- ping β Connectivity test
- tracert β Path analysis
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
- Turn Wi-Fi ON
- Select the SSID (network name)
- Enter the password
- Tap Connect
After connection, check:
- Status β Connected
- Signal strength (πΆ)
- βConnected, internet availableβ
Tap the connected network to view:
- IP address
- Gateway
- DNS
- Link speed
πΉ Mobile Data Check (Cellular Internet)
Path: Settings β Network & Internet β Mobile Network
Verify:
- Mobile Data = ON
- Signal bars visible
- Network type: 4G / LTE / 5G
πΉ Android Troubleshooting (VERY IMPORTANT)
β 1οΈβ£ Toggle Airplane Mode
Turn ON β wait 10 seconds β Turn OFF
Fixes:
- Network refresh
- Signal re-registration
β 2οΈβ£ Forget & Reconnect Wi-Fi
Settings β Wi-Fi β Tap Network β Forget
Reconnect by entering the password again.
Fixes:
- Wrong password issues
- Cached network errors
β 3οΈβ£ Reset Network Settings (Last Option)
Settings β System β Reset Options β Reset Wi-Fi, Mobile & Bluetooth
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
- Turn Wi-Fi ON
- Select the network
- Enter the password
Tap the (i) icon to view:
- IP address
- Router
- DNS
πΉ Cellular (Mobile Data) Check
Path: Settings β Mobile Data β ON
Verify:
- Mobile Data enabled
- Signal bars visible
- 4G / 5G indicator near signal
πΉ Common iOS Fix (MOST IMPORTANT)
Reset Network Settings
Settings β General
β Transfer or Reset iPhone
β Reset
β Reset Network Settings
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 |
π οΈ 3οΈβ£ Networking Utilities
Networking utilities are basic diagnostic tools used to identify where a network problem existsβdevice, gateway, DNS, route, or service.
πΉ 1οΈβ£ ping β Reachability Test
What ping does:
- Checks if a destination is reachable
- Tests basic connectivity
- Measures latency (delay)
ping 8.8.8.8
What it confirms:
- Network path exists
- Packets can travel and return
- Round-trip time in milliseconds
How it works:
- Sends ICMP Echo Request
- Receives ICMP Echo Reply
π΄ If ping fails
| Result | Meaning |
|---|---|
| Request timed out | Destination unreachable |
| Destination host unreachable | Gateway or routing issue |
| High time (ms) | Network congestion |
ping 8.8.8.8 β ping google.com
πΉ 2οΈβ£ tracert / traceroute β Path Discovery
What it does:
- Shows each router (hop) packets pass through
- Helps find where the connection breaks
Commands:
Windows:
tracert google.com
Linux / macOS:
traceroute google.com
What it shows:
PC β Router β ISP β Internet β Destination
- Each line represents one hop
When to use:
- Slow internet
- Ping works but site not loading
- To identify ISP or routing problems
πΉ 3οΈβ£ nslookup β DNS Troubleshooting
What nslookup does:
- Converts domain name to IP address
- Verifies DNS server functionality
nslookup google.com
Successful output shows:
- DNS server address
- Resolved IP address
π΄ 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 |
ping 8.8.8.8 β
ping google.com β
Conclusion: DNS problem
πΉ 4οΈβ£ ipconfig / ifconfig β IP Configuration
What it shows:
- IP address
- Subnet mask
- Default gateway
- DNS servers
Windows:
ipconfig
Linux / macOS:
ifconfig
or
ip a
π΄ Special Case (Exam Favorite)
169.254.x.x
Meaning:
- DHCP failed
- Self-assigned APIPA address
DHCP renew (Windows):
ipconfig /release
ipconfig /renew
πΉ 5οΈβ£ netstat β Connections & Ports
What netstat does:
- Shows active network connections
- Displays listening ports
- Identifies protocols (TCP / UDP)
netstat
Common useful option:
netstat -an
Helps identify:
- Running services
- Open ports (security checks)
- Suspicious connections
π§ 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
πΆ 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:
- Home_WiFi
- Office_5G
- Campus_WLAN
πΉ Hidden SSID
What is a Hidden SSID?
- Wi-Fi name is not broadcast
- Network does not appear in Wi-Fi list
- User must manually enter SSID and password
Used in:
- Offices
- Labs
- Small security setups
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.
πΉ 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.
- Corporates
- Universities
π C) WPA Modes (VERY IMPORTANT)
πΉ WPA (Old)
- Weak encryption
- Easily crackable
- Not recommended
πΉ WPA2 (Most Common)
- Uses AES encryption
- Secure and stable
- Still widely used
πΉ WPA3 (Best & Modern)
- Strongest encryption
- Protection against brute-force attacks
- Safer on public Wi-Fi
π 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 |