I had on my MAC Mini a problem with network connection.
I couldn’t ping from Terminal to the machine IP address.
I asked the AI (chatGPT) and he gave me a cool support or answer.
The second to last command was:
log show --predicate ‘eventMessage contains “Ethernet” OR eventMessage contains “Network” OR eventMessage contains “en0”’ --info --last 10m > ethernet_diagnostic.txt
AI read the log or output (ethernet_diagnostic.txt)
and in my case replied:
DHCP Issue on en0 interface.
Manually set the IP address on interface en0
and the last one command was:
sudo ifconfig en0 10.0.0.2 netmask 255.255.255.0
and network works
Maybe this example with AI will inspire someone