Bug#721865: [pkg-wpa-devel] Bug#721865: hostapd: regdomain updated after channel setting is performed

2013-09-04 Thread Stefan Lippers-Hollmann
Control: tags -1 + moreinfo

Hi

On Wednesday 04 September 2013, Martin Hodges wrote:
[…]
> Dear Maintainer,
> Stumbled across while migrating the home server from lenny to Wheezy.
> 
> I live in Norway and few people use channel 13, so I do.
> 
> Only listing modules in /etc/modules did not help.
> In addition: Calling 'iw set reg NO' in /etc/network/interfaces under section 
> for wlan0 helped.
> 
> when the error is present:
> The call to CRDA seems to comes after the channel setting is performed.
> Trying to set to CH13 before changing the country to Norway will not work
[…]

I haven't quite understood how, and in which order, you're calling 
(explicitly or implicity be system events) crda, could you please 
clarify that a bit?

What you'd usually do, is configuring CRDA:
/etc/default/crda:
REGDOMAIN=NO

In addition you'd configure hostapd:
$DEAMON_CONF (hostapd.conf):
country_code=NO

Keep in mind that your kernel also receives external hints to update 
and intersect the active regulatory domain, be it by your device's 
EEPROM/ OTP (this is particularly valid for Atheros devices[1]) or that
is might even receive country IEs (IEEE 802.11d) from access points 
nearby. So it is a bit hard to guess what goes wrong on your system,
without further information. Fortunately dmesg usually tells a pretty 
good story about all regulatory hints received and how they arrived.

Useful information to debug this:
- full dmesg output since the system booted
- /sbin/iw reg get
- /sbin/iw list

Regards
Stefan Lippers-Hollmann

[1] http://wireless.kernel.org/en/users/Drivers/ath#Regulatory


signature.asc
Description: This is a digitally signed message part.


Bug#721865: hostapd: regdomain updated after channel setting is performed

2013-09-04 Thread Martin Hodges
Package: hostapd
Version: 1:1.0-3+b1
Severity: normal
Tags: l10n

Dear Maintainer,
Stumbled across while migrating the home server from lenny to Wheezy.

I live in Norway and few people use channel 13, so I do.

Only listing modules in /etc/modules did not help.
In addition: Calling 'iw set reg NO' in /etc/network/interfaces under section 
for wlan0 helped.

when the error is present:
The call to CRDA seems to comes after the channel setting is performed.
Trying to set to CH13 before changing the country to Norway will not work

-- System Information:
Debian Release: 7.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/3 CPU cores)
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hostapd depends on:
ii  initscripts   2.88dsf-41
ii  libc6 2.13-38
ii  libnl-3-200   3.2.7-4
ii  libnl-genl-3-200  3.2.7-4
ii  libssl1.0.0   1.0.1e-2
ii  lsb-base  4.1+Debian8+deb7u1

hostapd recommends no packages.

hostapd suggests no packages.

-- Configuration Files:
/etc/default/hostapd changed:
DAEMON_CONF="/etc/hostapd/hostapd.conf"


-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org