[Bug 208505] ifconfig name changes behavior of wireless interface
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Apr 4 11:49:33 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208505
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 at FreeBSD.org
Reporter: matthias+freebsd+bugzilla at harz.de
I want to create an Wireless Interface with a Spezial MAC ans same bssid ind
hostapmode:
If I do
/sbin/ifconfig wlan0 create wlandev urtwn0 wlanaddr 00:24:b2:0e:15:cd -bssid
wlanmode hostap ssid "NZ at McD1" authmode open country DE descr nintendo
/sbin/ifconfig wlan0 up
I get the following:
/sbin/ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: nintendo
ether 00:24:b2:0e:15:cd
groups: wlan
ssid NZ at 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=29<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 at McD1" authmode open country DE descr nintendo
/sbin/ifconfig wlan0 nintendo
/sbin/ifconfig nintendo up
I get the following:
/sbin/ifconfig nintendo
nintendo: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: nintendo
ether 00:24:b2:0e:15:cd
groups: wlan
ssid NZ at 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=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
as you can see bssid ist not the expected one.
tested wither urtwn0 and run0
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-wireless
mailing list