I’ve some ghost/orphan community interfaces on my 2020 Mac Mini M1 (macOS 15.1) that I want to clear up. They seem in varied locations, corresponding to Web Sharing System configuration panel in addition to in terminal output networksetup -listallhardwareports
.
Operating the next command reveals these community interfaces, a number of of which now not bodily exist:
networksetup -listallhardwareports | awk '
/^{Hardware}/{sub("{Hardware} Port: ","",$0); n=$0}
/^Machine/{sub("Machine: ","",$0); d=$0}
/^Ethernet/{sub("Ethernet Deal with: ","",$0); m=$0}
/^$/ && n!="" && m!="" && d!="" {
printf "%stpercentstpercentsn",d,m,n
n=m=d=""
}' | kind
Manufacturing
en0 14:98:77:64:11:0d Ethernet
en1 14:98:77:5a:8b:1b Wi-Fi
en2 36:32:32:20:15:00 Thunderbolt 1
en3 36:32:32:20:15:04 Thunderbolt 2
en4 82:03:9a:33:94:72 Ethernet Adapter (en4)
en5 82:03:9a:33:94:73 Ethernet Adapter (en5)
en9 00:e0:4c:68:13:10 USB 10/100/1000 LAN
In my case, en2
, en3
, en4
, en5
and en9
They do not exist. I want to purge them. I’ve tried to take away the NetworkInterfaces.plist checklist utilizing
sudo rm /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
Nevertheless, that doesn’t make them disappear. Associated unanswered query: How do I do away with previous and orphaned community {hardware} ports on macOS?