bin/140571: [patch] ifconfig(8) does not set country DE

Dirk Meyer dirk.meyer at dinoex.sub.org
Mon Nov 16 08:00:13 UTC 2009


The following reply was made to PR bin/140571; it has been noted by GNATS.

From: dirk.meyer at dinoex.sub.org (Dirk Meyer)
To: FreeBSD-gnats-submit at FreeBSD.org
Cc:  
Subject: Re: bin/140571: [patch] ifconfig(8) does not set country
	DE
Date: Mon, 16 Nov 2009 08:54:35 +0100

 The patch at http://people.freebsd.org/~gavin/PRs/140571.diff
 does fix the problem.
 
 DEB does match DEBUG
 DE can now selected and metahces the country
 D does match the first entry found (DEBUG), which is okay.
 
 # ifconfig wlan0 country DEB
 # ifconfig wlan0
 wlan0: flags=8c02<BROADCAST,OACTIVE,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 OFF txpower 30
         bmiss 10 scanvalid 60 wme
 # ifconfig wlan0 country DE
 # ifconfig wlan0
 wlan0: flags=8c02<BROADCAST,OACTIVE,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 DE authmode WPA1+WPA2/802.11i privacy OFF
         txpower 30 bmiss 10 scanvalid 60 wme
 # ifconfig wlan0 country D
 # ifconfig wlan0
 wlan0: flags=8c02<BROADCAST,OACTIVE,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 OFF txpower 30
         bmiss 10 scanvalid 60 wme
 
 Thanks for the quick response.
 
 kind regards
 
 - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
 - [dirk.meyer at dinoex.sub.org],[dirk.meyer at guug.de],[dinoex at FreeBSD.org]


More information about the freebsd-net mailing list