X-Original-To: alpine-devel@mail.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 7CE28DC1CD5 for ; Sat, 28 Nov 2015 03:08:54 +0000 (UTC) Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 3323ADC06E8 for ; Sat, 28 Nov 2015 03:08:53 +0000 (UTC) Received: by pacdm15 with SMTP id dm15so128504272pac.3 for ; Fri, 27 Nov 2015 19:08:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=RA+j8EllJWiaWFPTUdnTHFbY0I+CbOjKnt9l99jdHQ0=; b=t3E3mkS1eU1ngt2WBkowYAUcR5UuZ6HvmG6Dk0pRXB57ZadloE96Oh+/OJe1VCs0ji Si+mZlEOtoHJODsKSSwR0jee7n1hc1McHYdbkW48rFNjJVsENwy6VDU0Zy6hWLBxtm2V 9AW99wDngnJ7D4m0fcYU5/igbe0BIaKXLDf37/CyQi+7xFx9nVLBTFaifKzMb55BmgGp 2shVHTOeBA6wNPnG9bjIcor8X9paH2vWipeCxHMSxeynbVYy6n6jgAAI6tBhXLurcPuw Mfq0fbT8znWyHlQ0AxwMr5F4q98LUt6bKUQYLQQ64OPi4ldp8FVkaBYyVpU7E9rzNezb epEg== X-Received: by 10.98.73.137 with SMTP id r9mr53503006pfi.104.1448680132899; Fri, 27 Nov 2015 19:08:52 -0800 (PST) Received: from newbook ([50.0.225.136]) by smtp.gmail.com with ESMTPSA id wh10sm37263673pab.2.2015.11.27.19.08.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Nov 2015 19:08:52 -0800 (PST) Date: Fri, 27 Nov 2015 19:08:47 -0800 From: Isaac Dunham To: Natanael Copa Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] alpine 3.3.0 rc1 released Message-ID: <20151128030846.GA2529@newbook> References: <20151126171801.32e233ba@ncopa-desktop.alpinelinux.org> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151126171801.32e233ba@ncopa-desktop.alpinelinux.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Virus-Scanned: ClamAV using ClamSMTP On Thu, Nov 26, 2015 at 05:18:01PM +0100, Natanael Copa wrote: > Hi, > > I am happy to announce that Alpine 3.3.0 first release candidate is released. Glad to hear it! [snip] > Any other testing is also appreciated. Specially on different kind of > hardware. Well, I'd like to mention an issue I discovered on an Alpine Linux edge system I'm using as a wireless router. dmesg contains a lot of messages like these: [ 10.453071] cfg80211: Calling CRDA to update world regulatory domain [ 13.593462] cfg80211: Calling CRDA to update world regulatory domain [ 16.736817] cfg80211: Calling CRDA to update world regulatory domain [ 19.880084] cfg80211: Calling CRDA to update world regulatory domain [ 23.023427] cfg80211: Calling CRDA to update world regulatory domain [ 26.166723] cfg80211: Calling CRDA to update world regulatory domain [ 29.310142] cfg80211: Calling CRDA to update world regulatory domain [ 32.453458] cfg80211: Calling CRDA to update world regulatory domain [ 35.596777] cfg80211: Calling CRDA to update world regulatory domain [ 38.740183] cfg80211: Calling CRDA to update world regulatory domain [ 41.883462] cfg80211: Calling CRDA to update world regulatory domain [ 45.026808] cfg80211: Exceeded CRDA call max attempts. Not calling CRDA Poking at it, I've found out the following: * the 'regulatory domain' specifies the max power and channels for wireless. * by default, it's the 'world regulatory domain': you are limited to the channels and power usage which are allowed everywhere in the world. * US regulatory domain (what I'd use) allows a bit more power. * to properly set this, there are two ways: - install wireless-regdb and crda (neither packaged!), then set things up so that /sbin/crda is automatically run from your hotplug helper with COUNTRY=.. in your environment when cfg80211 triggers the proper uevent. Contrary to the lack of documentation, you can just run it from mdev whenever $COUNTRY is set, $ACTION=change, and $MODALIAS=platform:regulatory. I used this line in mdev.conf (above $MODALIAS=...), but it may be overly generic: $COUNTRY=.. root:root 0660 */sbin/crda - fetch db.txt from wireless-regdb, drop it in net/wireless/db.txt in the linux source tree, and build the kernel with CONFIG_CFG80211_INTERNAL_REGDB=y then add the proper module options to cfg80211. Note that crda has a lot of confusion in the build system; refer to Gentoo's ebuild for fixes. Thanks, --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---