wifi-diagnostics
Diagnose Wi-Fi issues with signal analysis, channel scanning, speed tests, and DNS checks.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- description
- Diagnose Wi-Fi issues with signal analysis, channel scanning, speed tests, and DNS checks.
02 资源文件 2
- 参考文档_meta.json284 B
- 参考文档README.md387 B
03 SKILL.md 正文
Wi-Fi Diagnostics
Diagnose Wi-Fi connectivity issues with signal analysis, channel scanning, and speed tests.
Requirements
- Linux with
nmcli,iwconfig, oriw curlfor speed tests- Optional:
digfor DNS diagnostics - Some commands require
sudofor wireless scanning
Instructions
Connection info
# Current network details
nmcli -t -f active,ssid,signal,chan,freq,bssid dev wifi | grep '^yes'
# Interface details
iwconfig 2>/dev/null | grep -E 'ESSID|Quality|Bit Rate'
# IP and gateway
ip route | grep default
ip addr show | grep 'inet '
Channel scan
# Nearby networks (may need sudo)
nmcli dev wifi list
# Channel utilization summary
nmcli -t -f chan,signal dev wifi list | sort -t: -k1 -n | \
awk -F: '{ch[$1]++; sig[$1]+=$2} END{for(c in ch) printf "Ch %s: %d networks, avg signal %d%%\n", c, ch[c], sig[c]/ch[c]}'
Speed test (no dependencies)
# Download test (~10MB)
curl -o /dev/null -s -w "Download: %{speed_download} bytes/sec (%{time_total}s)\n" https://speed.cloudflare.com/__down?bytes=10000000
# Upload test (~10MB)
dd if=/dev/zero bs=1M count=10 2>/dev/null | curl -X POST -d @- -s -w "Upload: %{speed_upload} bytes/sec\n" https://speed.cloudflare.com/__up
DNS diagnostics
dig google.com | grep "Query time"
ping -c 5 8.8.8.8 | tail -1
ping -c 5 1.1.1.1 | tail -1
Output format
## ? Wi-Fi Diagnostics — <timestamp>
**Network**: MyWiFi | **Channel**: 6 (2.4GHz) | **Signal**: 72%
| Test | Result | Status |
|------|--------|--------|
| Signal | -45 dBm (72%) | ? Good |
| Download | 48.2 Mbps | ? Good |
| Upload | 12.1 Mbps | ? Fair |
| DNS Latency | 15ms | ? Good |
| Ping (8.8.8.8) | 22ms avg | ? Good |
**Channel Congestion**: Ch 6 has 8 networks. Consider switching to Ch 1 or 11.
**Thresholds**: Signal: ?>60% ?30-60% ?<30% | Speed: ?>25Mbps ?>5Mbps ?<5Mbps
Edge Cases
- No Wi-Fi adapter: Detect with
iw dev. Report if no wireless interface found. - Ethernet only: Note that diagnostics apply to Wi-Fi only — ethernet has different tools.
- 5GHz vs 2.4GHz: Report which band is in use. Channel recommendations differ per band.
- VPN active: Speed tests may be affected by VPN. Note if a VPN interface is detected.
- nmcli unavailable: Fall back to
iwconfigandiw.
Security
- Speed tests send data to external servers (Cloudflare) — fine for diagnostics.
- Wi-Fi scan reveals nearby network names — don't share in public contexts.
- Never expose Wi-Fi passwords in diagnostic output.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.