[Bug 277356] iwlwifi(4): unable to associate to AP if set `ether random`

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 Feb 2024 14:45:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277356

            Bug ID: 277356
           Summary: iwlwifi(4): unable to associate to AP if set `ether
                    random`
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: lwhsu@FreeBSD.org

I'm using following script to setup wifi:

```
ifconfig wlan create wlandev iwlwifi0
ifconfig wlan0 ether random
ifconfig wlan0 country TW
ifconfig wlan0 up

/usr/sbin/wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -Bs -Dbsd -ddd

/sbin/dhclient wlan0
```

It works with iwm(4) but cannot associate to AP with wilwifi(4).  After more
tests, it seems that if I comment out the `ether random` line then the
associating is fine.

I'll try to provide more information, but file a ticket as a placeholder.

-- 
You are receiving this mail because:
You are the assignee for the bug.