OPNSense 21.7.8 & 22.1 support & WPA_supplicant configuration file #60

Merged
zombielinux merged 5 commits from zombielinux/supplicant into supplicant 2024-10-11 18:37:00 +05:30
zombielinux commented 2021-11-11 21:01:36 +05:30 (Migrated from github.com)

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.

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.
Hou-dev commented 2022-02-06 04:54:01 +05:30 (Migrated from github.com)

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.
original_a9086da7-f6e2-44af-a781-3837bd64f106_PXL_20220206_084810558

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. ![original_a9086da7-f6e2-44af-a781-3837bd64f106_PXL_20220206_084810558](https://user-images.githubusercontent.com/59487209/152865542-cdba1f69-254c-48d0-99f4-bc1ec290c2c0.jpg)
owenthewizard commented 2022-02-07 01:37:40 +05:30 (Migrated from github.com)

+1 would love to see this merged.

+1 would love to see this merged.
MrCaturdayNight commented 2022-02-14 03:51:12 +05:30 (Migrated from github.com)

This current version worked for me on 21.7.8 as well. Thanks!

This current version worked for me on 21.7.8 as well. Thanks!
johnburbridge commented 2022-03-29 23:45:28 +05:30 (Migrated from github.com)

@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.

@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.
hhf merged commit 0fb7045d54 into supplicant 2024-10-11 18:37:00 +05:30
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hhf/pfatt#60
No description provided.