Files
proxmox/scripts/lookup-mac-vendor.sh
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

31 lines
816 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
# MAC Vendor Lookup Script
MAC="bc:24:11:ee:a6:ec"
OUI=$(echo $MAC | tr '[:lower:]' '[:upper:]' | sed 's/[:-]//g' | cut -c1-6)
echo "MAC Address: $MAC"
echo "OUI: $OUI"
echo ""
echo "Looking up vendor..."
# Try online lookup (if curl available)
if command -v curl > /dev/null 2>&1; then
VENDOR=$(curl -s "https://api.macvendors.com/$OUI" 2>/dev/null)
if [ -n "$VENDOR" ] && [ "$VENDOR" != "Not Found" ]; then
echo "Vendor: $VENDOR"
else
echo "Vendor: Not found in online database"
fi
else
echo "curl not available for online lookup"
fi
echo ""
echo "Note: bc:24:11 pattern suggests this might be:"
echo "- A virtual MAC address (LXC containers often use bc:24:11)"
echo "- A Proxmox-generated MAC address"
echo "- A specific vendor's MAC range"