network-info
Gather network configuration and connectivity information including interfaces, routes, and DNS
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Network Information Skill
Use this skill to explore network configuration and connectivity on Linux systems.
Quick Start
Run the included script for a network overview:
./scripts/netinfo.sh
Manual Commands
Network Interfaces
-
ip addrorip a- Show all network interfaces and IP addresses -
ip link- Show interface status (up/down) -
cat /sys/class/net/*/address- MAC addresses
Routing
-
ip route- Show routing table -
ip route get 8.8.8.8- Show route to a specific destination
DNS Configuration
-
cat /etc/resolv.conf- DNS servers -
cat /etc/hosts- Local host mappings -
systemd-resolve --status- DNS status (systemd systems)
Active Connections
-
ss -tuln- Show listening TCP/UDP ports -
ss -tupn- Show established connections with process info -
cat /proc/net/tcp- Raw TCP connection data
Network Statistics
-
ip -s link- Interface statistics (bytes, packets, errors) -
cat /proc/net/dev- Network device statistics
Tips
- Use
ipcommands (modern) overifconfig/netstat(deprecated) - The
-nflag prevents DNS lookups for faster output - Check
ss -tulnto see what services are listening
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-30
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!