pfatt
pfatt copied to clipboard
OPNSense 21.7.8 & 22.1 support & WPA_supplicant configuration file
Updated code for using a wpa_supplicant configuration file and support for OPNsense 21.7.3.
Notable change is the addition of spoofing the $ONT_IF mac address BEFORE bringing the interface up.
Thanks for this. I was thinking of implementing pfatt like this. Will test this later and report on this comment. Much more clearer with separate files for supplicant and bridge methods. Edit: There seems to be some issue with the latest firmware opnsense 22.1 with my intel and broadcom nic. Stuck on wpa authentication. Made sure to check all files and locations and they are correct.
+1 would love to see this merged.
This current version worked for me on 21.7.8 as well. Thanks!
@zombielinux confirmed this works on a fresh install of 22.1.2_2. What's interesting is that I did not have to assign ngeth0 to WAN. Its working with the previously assign physical interface (in my case igb0, on an Intel I350-AM4).
Am in the middle of upgrading to 22.1.4 but don't expect any issues.
Thanks so much for this! Would love to buy you a coffee.
UPDATE after upgrading from 22.1.2_2 -> 22.1.4: The physical IF was still able to acquire its ip address but there was no route out. On a whim, rather than manually assigning the route (which might change without notice) I switched over and assigned WAN to ngeth0 which made things start working again. It's not entirely clear if this was due to the upgrade or something to do with surviving a reboot, but I can confirm everything works after assigning WAN to ngeth0 and it does survive reboots.