WLAN WPA2 configuration ignored

  • Banned

    I think someone mentioned similar stuff recently. Among snapshot upgrades, I noticed that a WLAN configured like below is OPEN. Did no changes to it for ages, and trying to do any changes there was completely futile, even across reboots. Had to totally remove the interface, assign again and reconfigure. The "broken" (NFC what's broken there] config snippet below:


    Now, comparing that to the recreated, reconfigured and properly working interface, the only difference there seems to be a couple of "short" tags like <authmode>instead of <authmode></authmode>.

    What's up here?  :o ???</authmode>

  • Rebel Alliance Developer Netgate

    I still have not seen that happen to me and I update my ALIX regularly (or I did, before it was kicked out of its case in favor of an APU board)

    If you can replicate it, compare the ifconfig output for the wireless interface and the contents of /tmp/ath0_wlan0_setup.sh and /var/etc/hostapd_ath0_wlan0.conf  (adjust to match your actual interface name)

  • Banned

    Hmmm, yeah… reproducing it is the problem... :D Regarding the /tmp stuff, I can recall some syslog message about failing to delete /tmp/* apparently due to some syntax error, so that'd explain why this problem persisted even across reboots.

  • Rebel Alliance Developer Netgate

    Was this NanoBSD or a full install? NanoBSD's /tmp is a RAM disk no way for that to persist across reboots.

    I'm running a full install on my APU at the moment so if it's specific to NanoBSD I wouldn't see it right now.

  • Banned

    This one was full install. NFC really…

  • Rebel Alliance Developer Netgate

    If the config is practically identical (empty tags are the same if they are in either format) then it must have been something generated differently in the scripts I mentioned. I can't imagine what, but it's the most likely explanation. Would be interesting to see if the other files were different and maybe check if there were any errors in the wireless log tab

  • Maybe because "ieee8021x=1" always in /var/etc/hostapd_ath0_wlan0.conf now?

  • Michael,

    thanks that was it.
    Fixed on 2.1.1

Log in to reply