OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: DrWily on September 24, 2019, 10:29:31 PM

Title: [Solved] WiFi Windows clients can't connect
Post by: DrWily on September 24, 2019, 10:29:31 PM
Hello!

Tried searching but found nothing similar.

I have a very strange problem, when I try to connect windows computers to the Ubiquiti AP connected to the APU2 OPNSense router, they can't connect. They can see the AP and try to connect but they just hang.

Ipad, Androids and Linux laptops are working, even one of the windows laptops can connect to the wifi when booting Linux on it.

I'cant seem to find any information in the OPNSense logs and I'm not a windows user so I had a hard time finding data in the Windows logs.
Has anyone else encountered anything similar?? I would greatly appreciate some hints, thinking about installing pfSense and trying if it works but would rather use OPNSense. (Everything worked fine when using the Ubiquiti AP connected to an ASUS Router)
Title: Re: WiFi Windows clients can't connect
Post by: LouieLouie on September 25, 2019, 02:22:28 AM
I had a DHCP problem a few weeks ago that sounds a bit like what you're describing.  I use opnsense's DHCP service exclusively.  As lame as this sounds, I think that rebooting multiple times is what cleared it up. 

If you're allowing Ubiquity to serve the DHCP, I don't know how to diagnose.  If you're using opnsense DHCP:  In the Windows machines networking config, make sure that they're receiving an ip from the DHCP.  If they're not, either a rule (or lack of) is preventing DHCP access, or the DHCP service is acting up.  If there's anything else possible, that's beyond my feeble efforts.

Best wishes!  Let us know how it goes.
Title: Re: [Solved] WiFi Windows clients can't connect
Post by: DrWily on September 25, 2019, 09:43:34 PM
Thanks for the quick reply!

I managed to find the problem but it took a while.

WPA2 passwords can only use 7bit ASCII letters, since I used a swedish åäö character everything failed (When using windows). The question is why Linux and IOS worked... Perhaps the hashing algorithm is different or something..

Well the answer to my problem is there in case someone else stumbles upon the same error.
Title: Re: [Solved] WiFi Windows clients can't connect
Post by: fabian on September 25, 2019, 09:48:26 PM
As far as I know Linux based systems are using a different default encoding in some cases which very likely fits the character encoding in use.
Title: Re: [Solved] WiFi Windows clients can't connect
Post by: banym on September 25, 2019, 10:04:02 PM
Good to know, thanks for posting the solution!