Great, I also have a Pixel4a. I'm looking forward for your experience, even though I believe here the issue is that the phone doesn't get detected at all, and in fact @m33ts4k0z said he tested the script with no success.
I don't have an ASUS router but I'm evaluating buying one once tethering in modern Android12 smartphones is confirmed working. Are there updates on the issue reported by the OP (@m33ts4k0z )? @ray2301's one seems to be a different one.