I'm trying to use a raspberry pi as an HTTP server from my home network. I have to do this via a USB wireless adapter instead of CAT5 for a number of reasons that I won't get into.
Problem is, I can't port-forward this device from my router consistently, because the DHCP reservation I have set up for it doesn't hold. I found out that my MAC address is different every time my pi reconnects.
Is there some way I can hardcode a specific MAC address into wpa_supplicant, or into some other script I can set to run at boot?
My solution was to replace the systemd init script for wpa_supplicant with one that uses ifconfig to set the MAC prior to starting wpa_supplicant. Not exactly the cleanest solution, but it works well enough that I don't need a different fix.