X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 18D7FDC15B4 for ; Sun, 12 Jul 2015 23:20:03 +0000 (UTC) Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id D6CD7DC009B for ; Sun, 12 Jul 2015 23:20:02 +0000 (UTC) Received: by pdrg1 with SMTP id g1so81272720pdr.2 for ; Sun, 12 Jul 2015 16:20:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=ic/vZbH9/C+kb5Z1muOv7Dws8ZqWGH61+WylgIoMNhU=; b=Vv/9GvcySUlXuOEDwT2XCfLWMdncFL0Oe9lwHjmyWVzLAzYbeUq7XQ+NQAEO0KZtmg 7ntnxiyXb4pBpvfDicQOg2+9YjcXev7+vjkcm8VciCBW/QsDfqcrLFF0KGZY3T3PfpF/ Y3H0EJFC937vU4CfuNcjdoTUjXlabB7TJ864ofOH2o25Uzuzzknr33+Y1KpI80KpWF71 BGWHc/2+MBKo678VDh15Eeh6pXr8LEiTrVj0+7YVuUbTgkV7BgFaJSfSG1CQoNLTnXc+ sTYwt2vfivjDxNvRuiUG5Q7KtzueSUQyxjbNoEl4DiRil4aeKNyRAvpldf+AInRjTsrB 4KfA== X-Received: by 10.70.98.170 with SMTP id ej10mr25978776pdb.12.1436743201878; Sun, 12 Jul 2015 16:20:01 -0700 (PDT) Received: from newbook ([50.0.227.100]) by smtp.gmail.com with ESMTPSA id pq3sm16238133pbb.24.2015.07.12.16.20.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Jul 2015 16:20:01 -0700 (PDT) Date: Sun, 12 Jul 2015 16:20:19 -0700 From: Isaac Dunham To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] Some annoyances with the livecd (wireless, firmware...) Message-ID: <20150712232018.GA1876@newbook> X-Mailinglist: alpine-aports 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 User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: ClamAV using ClamSMTP Hello, I've recently tried testing the x86_64 livecd, and gave up temporarily due to some annoyances--most related to wireless. Alpine version is 3.2.1. Short version: -I think ath9k_htc might be buggy -Please add zd1211rw firmware to the sfs with firmware! -It would really be nice if we set up a union or overlay mount atop /.modloop/, so it's possible to install modules and firmware without manually copying/unmounting/replacing /.modloop/. -Speaking of union mounts, it seems that -o union is not supported in the busybox build we have. I don't know if it's supported in Busybox off the top of my head; if it is, could you please turn it on? Long version: I installed wpa_supplicant, ran ifconfig wlan0 up ifconfig wpa_passphrase ssid secret >> /etc/wpa_supplicant/wpa_supplicant.conf service wpa_supplicant start wpa_cli status wpa_cli scan wpa_cli scan_results (ssid and secret are not the actual values used, for obvious reasons), and found that wlan0 stayed stuck in DISCONNECTED state, and did not detect any networks. The driver for the wireless adapter is ath9k_htc. This seems to indicate that there is a bug in ath9k_htc, grsec/x86_64 kernel (assuming that grsec is the default on the full CD). I then figured I might be able to fall back to a zd1211rw-supported adapter I have, so I ran modinfo zd1211rw ls /lib/firmware/zd12* Result: there is the driver, but the firmware is missing. At this point I tried apk add linux-firmware and get a long series of complaints about apk not being able to extract various firmware. I thought about a union mount so as to allow writing to /.modloop, but that requires mount to support -o union; busybox mount --help suggests it doesn't. At this point I tried using overlayfs, but had no success: mount -t overlay -o rw,lowerdir=/.modloop,upperdir=/.module/real overlay \ /.module/merge Now, I see that I need to do thusly: mkdir /.module mount -t tmpfs writemods /.module mkdir -m 0755 -p /.module/dummy /.module/write mount -t overlay -o \ rw,lowerdir=/.modloop,workdir=/.module/dummy,upperdir=/.module/write \ modoverlay /.modloop If something like that last bit could get stuck in the livecd scripts, it would really make things work nicer. Thanks, Isaac Dunham --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---