Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Quasmo

#1
For those seeing this. I was able to solve my problem. I had to make sure that the interface was enabled before I could run the WPA supplicant code.

I went to the 8311 discord and found the code posted here by Adamrc. There is a line omitted in the /usr/local/etc/rc.syshook.d/early/04-wpa file.


#!/bin/sh
/sbin/ifconfig igb0 link FF:FF:FF:FF:FF:FF

env OPENSSL_CONF=/conf/wpa/openssl.conf /usr/local/sbin/wpa_supplicant -Dwired -i igb0 -B -C /var/run/wpa_supplicant -c /conf/wpa/wpa_supplicant.conf


Where igb0 is the interface, and FF:FF:FF:FF:FF:FF is the Gateway MAC
#2
Not sure what is causing the problem on my end...
I just switched from pfSense to OPNsense. I have setup the files similar to those set out by adamrc, but my Wan interface never connects on reboot. I can get the process to work, but it takes a couple steps...

I have to ...
login to the system console
kill all wpa_supplicant processes
delete /var/run/wpa_supplicant/igb0
run 04-wpa

refresh the interface in the GUI, after these steps it will load an external IP.
I'm beginning to wonder if there isn't a race condition causing the failure, but I thought the "04-" would keep that from happening.

The system hangs on Initializing WAN interface while booting.

Anyone have any ideas, or how to best troubleshoot?