I have a Proxmox node at home and I set the country code of a wireless card to my country using:
The problem is that on reboot of the proxmox node the country gets back to undefined.
How can I set the country code so it stays permanent? If iw is the way and it does not stay permanent, what would be the best way to run a small script setting the country on boot? It needs to be somewhere in the host, not in the container that will get the wifi card because iw only can set the country code in the host, not in the container, and ideally before the container gets started.
It works, when I test with:iw reg set XX
the country has been changed to mine.iw reg get
The problem is that on reboot of the proxmox node the country gets back to undefined.
How can I set the country code so it stays permanent? If iw is the way and it does not stay permanent, what would be the best way to run a small script setting the country on boot? It needs to be somewhere in the host, not in the container that will get the wifi card because iw only can set the country code in the host, not in the container, and ideally before the container gets started.