kern/174661: lost alias on wlan interface

Carsten Wiedmann carsten_sttgt at gmx.de
Sun Dec 23 19:00:00 UTC 2012


>Number:         174661
>Category:       kern
>Synopsis:       lost alias on wlan interface
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 23 19:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Carsten Wiedmann
>Release:        FreeBSD 9.0-RELEASE-p5
>Organization:
>Environment:
FreeBSD freebsd 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 01:47:53 UTC 2012     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Hello,

I have the problem, that the 1st defined alias is lost sometimes.

My WiFi card is a:
iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xe0204000-0xe0204fff irq 11 at device 6.0 on pci2

My IP configuration in /etc/rc.conf is:
ipv6_privacy="YES"
wlans_iwi0="wlan0"
ifconfig_wlan0="DHCP WPA country DE"
ifconfig_wlan0_ipv6="inet6 accept_rtadv"
ifconfig_wlan0_alias0="inet 192.168.0.201 netmask 255.255.255.255"
ifconfig_wlan0_alias1="inet 192.168.0.202 netmask 255.255.255.255"


After a reboot all is working as expected. Then, every ~ hour I have a message like this in /var/log/messages, which is IMHO ok:
Dec 21 18:43:30 freebsd wpa_supplicant[484]: WPA: Group rekeying completed with 0c:0c:0b:14:cd:98 [GTK=CCMP]

Of course, sometimes I have:
Dec 21 19:43:30 freebsd wpa_supplicant[8904]: CTRL-EVENT-DISCONNECTED bssid=0c:0c:0b:14:cd:98 reason=0
Dec 21 19:43:30 freebsd kernel: wlan0: link state changed to DOWN
Dec 21 19:43:32 freebsd wpa_supplicant[8904]: Trying to associate with 0c:0c:0b:14:cd:98 (SSID='WLAN' freq=2472 MHz)
Dec 21 19:43:32 freebsd wpa_supplicant[8904]: Associated with 0c:0c:0b:14:cd:98
Dec 21 19:43:32 freebsd kernel: wlan0: link state changed to UP
Dec 21 19:43:32 freebsd wpa_supplicant[8904]: WPA: Key negotiation completed with 00:1a:4f:93:4a:97 [PTK=CCMP GTK=CCMP]
Dec 21 19:43:32 freebsd wpa_supplicant[8904]: CTRL-EVENT-CONNECTED - Connection to 0c:0c:0b:14:cd:98 completed (reauth) [id=0 id_str=]

And the first time this occurs, my first alias (ifconfig_wlan0_alias0 192.168.0.201) is lost and not listed in "ifconfig wlan0" anymore.

If this occurs another time, nothing happens and my second alias  ifconfig_wlan0_alias1 is still alive.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list