bin/140571: ifconfig does not set country DE
dirk.meyer at dinoex.sub.org
dirk.meyer at dinoex.sub.org
Sun Nov 15 15:50:02 UTC 2009
>Number: 140571
>Category: bin
>Synopsis: ifconfig does not set country DE
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Nov 15 15:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Dirk Meyer
>Release: FreeBSD 8.0-PRERELEASE
>Organization:
privat
>Environment:
FreeBSD 8.0-PRERELEASE #1: Sun Nov 15 13:01:02 CET 2009
>Description:
ifconfig is unable to set country DE
as DE" will match short for "DEBUG" instead of exact country "DE".
>How-To-Repeat:
$ ifconfig wlan0 list countries
Country codes:
DEBUG Debug ZW Zimbabwe YE Yemen VN Viet Nam
VE Venezuela UZ Uzbekistan UY Uruguay US United States
GB United Kingdom AE United Arab Emi UA Ukraine TR Turkey
TN Tunisia TT Tobago TH Thailand TW Taiwan
SY Syria CH Switzerland SE Sweden LK Sri Lanka
ES Spain ZA South Africa SI Slovenia SK Slovak Republic
SG Singapore SA Saudi Arabia RU Rusia RO Romania
QA Quatar PR Puerto Rico PT Portugal PL Poland
PH Phillipines PE Peru PA Panama PK Pakistan
OM Oman NO Norway NZ New Zealand NL Netherlands
NP Nepal MA Morocco MC Monaco MX Mexico
MT Malta MY Malaysia MK Macedonia MO Macau
LU Luxemborg LT Lithuania LI Liechtenstein LB Lebanon
LV Latvia KW Kuwait K2 Korea Republic2 KR Korea Republic
KP North Korea KZ Kazakhstan JO Jordan J5 Japan5
J4 Japan4 J3 Japan3 J2 Japan2 J1 Japan1
JP Japan JM Jamaica IT Italy IL Israel
IE Ireland IR Iran ID Indonesia IN India
IS Iceland HU Hungary HK Hong Kong HN Honduras
GT Guatemala GR Greece DE Germany GE Georgia
F2 France2 FR France FI Finland EE Estonia
SV El Salvador EG Egypt EC Ecuador DO Dominican Repub
DK Denmark CZ Czech Republic CY Cyprus HR Croatia
CR Costa Rica CO Colombia CN China CL Chile
CA Canada BG Bulgaria BN Brunei BR Brazil
BO Bolivia BZ Belize BE Belgium BY Belarus
BD Bangladesh BH Bahrain AZ Azerbaijan AT Austria
AU Australia AM Armenia AR Argentina DZ Algeria
AL Albania
Regulatory domains:
GZ901 XR9 SR9 NONE
ROW KOREA APAC3 APAC2
APAC ETSI3 ETSI2 ETSI
JAPAN FCC4 FCC3 FCC
DEBUG
$ ifconfig wlan0 country DE
$ ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:21:6b:a9:e4:22
inet6 fe80::221:6bff:fea9:e422%wlan0 prefixlen 64 scopeid 0x6
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid "" channel 1 (2412 Mhz 11b)
regdomain DEBUG authmode WPA1+WPA2/802.11i privacy ON deftxkey UNDEF
txpower 30 bmiss 10 scanvalid 60 wme roaming MANUAL bintval 0
If the country DE is renamed to DEX in /etc/regdomain.xml
then ifconfig can set the correct regdomain.
$ ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:21:6b:a9:e4:22
inet6 fe80::221:6bff:fea9:e422%wlan0 prefixlen 64 scopeid 0x6
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid "" channel 1 (2412 Mhz 11b)
regdomain ETSI country DEX authmode WPA1+WPA2/802.11i privacy ON
deftxkey UNDEF txpower 30 bmiss 10 scanvalid 60 wme roaming MANUAL
bintval 0
>Fix:
The xml parser should not select the first "debug" entry
when extact match is in the table.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list