# Day 23-28 #90DaysOfDevops

For days 23-28, i learnt about wireless networks. As a newbie learning wireless hacking on Linux, I spent four days grappling with WiFi and Bluetooth scanning, and it was tough due to configuration issues:

**WiFi Basics**: I learned key terms like AP (router), SSID (network name), BSSID (AP’s MAC address), channels (1–11 in the US), and security protocols (WEP, WPA, WPA2-PSK). WiFi modes include managed (connect), master (act as AP), and monitor (sniff traffic). Using *ifconfig* showed my WiFi card (wlan0), *iwconfig* gave its status, and *iwlist wlan0 scan* listed nearby APs with details like BSSID and channel. *nmcli dev wifi* showed similar info.

For hacking, I used *aircrack-ng*. I put my card in monitor mode with *airmon-ng start wlan0* (renaming it wlan0mon), scanned with *airodump-ng wlan0mon*, and used three terminals to capture and crack a password: \*airodump-ng\* for packets, *aireplay-ng* to deauth clients, and *aircrack-ng* to crack the hash.

**Bluetooth Basics**: Bluetooth operates at 2.4–2.485GHz, and devices pair in discoverable mode. I used BlueZ tools: *hciconfig* to check my adapter (hci0), *hcitool scan* to find devices like “ANDROID BT,” *hcitool inq* for MACs and classes, sdptool browse MACaddress for services, and *l2ping MACaddress* to check reachability.

**Why It Took Four Days**: Different configurations made it brutal. My WiFi card didn’t always support monitor mode, requiring airmon-ng check kill to stop interfering processes. Command syntax (e.g., airodump-ng flags) was confusing, and my setup differed from the text’s, with varying network manager outputs and weak antenna range. Bluetooth required a USB dongle and bluez updates. The flood of terms and coordinating multi-terminal hacking steps was overwhelming, but after trial and error, I cracked a test WiFi password and scanned my phone via Bluetooth.

**Takeaway**: It was a steep climb, but practicing commands and troubleshooting configs got me there. Persistence paid off!

Cheers to many more days!
