Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Apr 2016 11:49:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-wireless@FreeBSD.org
Subject:   [Bug 208505] ifconfig name changes behavior of wireless interface
Message-ID:  <bug-208505-21060@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208505

            Bug ID: 208505
           Summary: ifconfig name changes behavior of wireless interface
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: wireless
          Assignee: freebsd-wireless@FreeBSD.org
          Reporter: matthias+freebsd+bugzilla@harz.de

I want to create an Wireless Interface with a Spezial MAC ans same bssid ind
hostapmode:

If I do=20

/sbin/ifconfig wlan0 create wlandev urtwn0 wlanaddr 00:24:b2:0e:15:cd -bssid
wlanmode hostap ssid "NZ@McD1" authmode open country DE descr nintendo
/sbin/ifconfig wlan0 up

I get the following:

/sbin/ifconfig wlan0
wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15=
00
        description: nintendo
        ether 00:24:b2:0e:15:cd
        groups: wlan
        ssid NZ@McD1 channel 9 (2452 MHz 11g) bssid 00:24:b2:0e:15:cd
        regdomain ETSI country DE authmode OPEN privacy OFF txpower 30
        scanvalid 60 protmode CTS wme dtimperiod 1 -dfs
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
        status: running
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

Works as expected.

But if i rename the Interface after cretaion:

/sbin/ifconfig wlan0 create wlandev urtwn0 wlanaddr 00:24:b2:0e:15:cd -bssid
wlanmode hostap ssid "NZ@McD1" authmode open country DE descr nintendo
/sbin/ifconfig wlan0 nintendo
/sbin/ifconfig nintendo up

I get the following:

/sbin/ifconfig nintendo
nintendo: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu=
 1500
        description: nintendo
        ether 00:24:b2:0e:15:cd
        groups: wlan
        ssid NZ@McD1 channel 9 (2452 MHz 11g) bssid 6e:64:6f:00:24:b2
        regdomain ETSI country DE authmode OPEN privacy OFF txpower 30
        scanvalid 60 protmode CTS wme dtimperiod 1 -dfs
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
        status: running
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

as you can see bssid ist not the expected one.

tested wither urtwn0 and run0

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208505-21060>