Summary: | [rtwn] Lenovo T430, unable to connect - reason=CONN_FAILED loop | ||
---|---|---|---|
Product: | Base System | Reporter: | Stefan Hagen <sh+freebsd-bugzilla> |
Component: | wireless | Assignee: | freebsd-wireless (Nobody) <wireless> |
Status: | Closed Not A Bug | ||
Severity: | Affects Only Me | CC: | amd64, avos, sh+freebsd-bugzilla |
Priority: | --- | ||
Version: | 11.0-RELEASE | ||
Hardware: | amd64 | ||
OS: | Any | ||
URL: | https://forums.freebsd.org/threads/58416/ | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217367 |
Description
Stefan Hagen
2016-11-06 12:42:28 UTC
> URL: https://forums.freebsd.org/threads/58416/ > The requested thread could not be found. Sorry, the forum post is still in moderation. The post contains the same text as the bug report. > ifconfig_rtwn0="ether 00:21:cc:d3:e7:1b regdomain ETSI country DE"
> wlans_rtwn0="wlan0"
> ifconfig_wlan0="WPA"
This config looks wrong; I think it should look like:
wlans_rtwn0="wlan0"
create_args_wlan0="wlanaddr 00:21:cc:d3:e7:1b regdomain ETSI country DE"
ifconfig_wlan0="WPA"
or
wlans_rtwn0="wlan0"
ifconfig_wlan0="WPA ether 00:21:cc:d3:e7:1b regdomain ETSI country DE"
Thank you for your suggestions. Unfortunately both didn't work. I tripped out the failover configuration and got the wifi to connect by only leaving this in rc.conf: wlans_rtwn0="wlan0" ifconfig_wlan0="WPA SYNCDHCP" This works! Once I add the ether command, the device can not connect anymore and I see the same error loop I posted initially. Did not work: wlans_rtwn0="wlan0" create_args_wlan0="wlanaddr 00:21:cc:d3:e7:1b" ifconfig_wlan0="WPA" Also did not work: wlans_rtwn0="wlan0" ifconfig_wlan0="WPA ether 00:21:cc:d3:e7:1b" Can you reproduce this? I have a configuration that works for me now. Changing the ethernet address on em0 works as well as changing it on the lagg0 device as long as it is the same mac address the wlan adapter originally had. ifconfig_em0="up" wlans_rtwn0="wlan0" ifconfig_wlan0="WPA" cloned_interfaces="lagg0" ifconfig_lagg0="ether 20:68:9d:48:81:cd laggproto failover laggport em0 laggport wlan0 DHCP" This configuration works. 20:68:9d:48:81:cd is the address the wifi adapter was shipped with. So there is no change on the wlan0 interface happening. If you want to follow on the issue about not being able to change the mac address on the wlan adapter, I'm happy to test. > ifconfig_wlan0="WPA ether 00:21:cc:d3:e7:1b" this should be 'ifconfig_wlan0="ether 00:21:cc:d3:e7:1b WPA" as for me, both work fine (but with a newer version - see https://svnweb.freebsd.org/base?view=revision&revision=307529 ) There may be a problem with wireless MAC address filter; is it enabled on your router? Wow. This configuration works for me too. So I really spent a lot of time avoiding the one correct setting. I've now switched back from the open network to the WPA2 configuration and the 11abn network (n was disabled). It still works. Slow, but works. Thank you very much! I'll update the forum with the findings so other people can find it. |