Yes, attempting to crack a WPA2 Wi-Fi password without authorization is illegal and unethical. It constitutes unauthorized access to a network, which is a violation of laws in many countries. Additionally, as you mentioned, the router could log your MAC address and other identifying information, which can lead to consequences such as being banned from the network or legal action.
If you're having trouble with your Wi-Fi connection, it's better


