Files
proxmox/scripts/find-device-192.168.11.14.sh.bak
defiQUG fbda1b4beb
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
docs: Ledger Live integration, contract deploy learnings, NEXT_STEPS updates
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands
- CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround
- CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check
- NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere
- MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates
- LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 15:46:57 -08:00

43 lines
1.6 KiB
Bash
Executable File

#!/bin/bash
set -euo pipefail
# Comprehensive search for device using 192.168.11.14
IP="192.168.11.14"
MAC="bc:24:11:ee:a6:ec"
echo "=== Comprehensive Device Search for $IP ==="
echo "MAC Address: $MAC"
echo ""
echo "1. Checking Proxmox cluster containers..."
for host in 192.168.11.10 192.168.11.11 192.168.11.12; do
echo " Checking $host..."
ssh -o ConnectTimeout=3 root@$host "pct list --all 2>/dev/null | while read line; do
vmid=\$(echo \$line | awk '{print \$1}')
[ -n \"\$vmid\" ] && [ \"\$vmid\" != \"VMID\" ] && pct config \$vmid 2>/dev/null | grep -q '$IP\|$MAC' && echo \" Found in VMID \$vmid\" && pct config \$vmid 2>/dev/null | grep -E 'name=|net0=' | head -2
done" 2>/dev/null
done
echo ""
echo "2. Checking network interfaces..."
for host in "${PROXMOX_HOST_ML110:-192.168.11.10}" "${PROXMOX_HOST_R630_01:-192.168.11.11}" "${PROXMOX_HOST_R630_02:-192.168.11.12}"; do
echo " Checking $host..."
ssh -o ConnectTimeout=3 root@$host "ip addr show | grep -A 2 '$IP' && echo ' Found interface with $IP'" 2>/dev/null || echo " No interface found"
done
echo ""
echo "3. Checking ARP/neighbor tables..."
for host in "${PROXMOX_HOST_ML110:-192.168.11.10}" "${PROXMOX_HOST_R630_01:-192.168.11.11}" "${PROXMOX_HOST_R630_02:-192.168.11.12}"; do
echo " Checking $host..."
ssh -o ConnectTimeout=3 root@$host "ip neigh show $IP 2>/dev/null || arp -n $IP 2>/dev/null || echo ' No ARP entry'" 2>/dev/null
done
echo ""
echo "4. Omada Controller (192.168.11.20:8043)"
echo " Note: Requires web interface or API access to query devices"
echo " Access: https://192.168.11.20:8043"
echo ""
echo "=== Search Complete ==="