Summary: | [regression] "ifconfig wlan0 ether ..." broken after r297592 | ||
---|---|---|---|
Product: | Base System | Reporter: | Fabian Keil <fk> |
Component: | wireless | Assignee: | freebsd-wireless (Nobody) <wireless> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | avos, ish, ronald-lists |
Priority: | --- | Keywords: | regression |
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213207 |
Description
Fabian Keil
2016-04-20 13:44:51 UTC
A commit references this bug: Author: avos Date: Mon May 2 20:46:05 UTC 2016 New revision: 298941 URL: https://svnweb.freebsd.org/changeset/base/298941 Log: net80211: fix MAC address change via SIOCSIFLLADDR ioctl. Recheck MAC address on SIOCSIFFLAGS; as a result, 'ifconfig wlan0 ether <addr>' can be used after interface startup. PR: 208933 Changes: head/sys/net80211/ieee80211_ioctl.c I'm still seeing this problem. FreeBSD sjakie.klop.ws 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r299063M: Fri May 6 10:39:44 CEST 2016 root@sjakie.klop.ws:/usr/obj/usr/src/sys/GENERIC-NODEBUG amd64 iwn0: <Intel Centrino Advanced 6235> mem 0xf8000000-0xf8001fff irq 17 at device 0.0 on pci3 WLAN works when booting normal: ifconfig_wlan0="country NL WPA SYNCDHCP" But when I use if_lagg (or only the ether xx:xx option) it does not associate. ifconfig_bge0="up" wlans_iwn0="wlan0" ifconfig_wlan0="ether 00:26:b9:**:**:** country NL WPA" cloned_interfaces="lagg0" ifconfig_lagg0="laggproto failover laggport bge0 laggport wlan0 SYNCDHCP" I added -d to wpa_supplicant, so can provide debugging info if needed. Regards, Ronald. (In reply to Ronald Klop from comment #2) Just a note: you can use 'wlanaddr' instead of 'ether'. r298941 seems to fix the issue for me as advertised. Thanks, Andriy. (In reply to Andriy Voskoboinyk from comment #3) Took some time to figure out wlanaddr must be used in create_args_wlan0="wlanaddr 00:26:b9:**:**:**" instead of an ifconfig_wlan0 line. But my WLAN works again now. Thanks. (In reply to Andriy Voskoboinyk from comment #3) Thank you for good information. My PC (r298976) (dell studio1558 with re0(realtek 8111DL) and iwn0(N-6300 with iwn6000g2bfw.ko)) can work with lagg0 when create_args_wlan0="wlanaddr ..." instead of ifconfig_iwn0="ether ...". A commit references this bug: Author: avos Date: Fri May 6 11:41:50 UTC 2016 New revision: 299171 URL: https://svnweb.freebsd.org/changeset/base/299171 Log: net80211: restore 'iflladdr_event' event handler. Now 'ether' argument to ifconfig can be used as an alias to 'wlanaddr'. PR: 208933 Changes: head/sys/net80211/ieee80211_freebsd.c Should be fixed now. |