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 EC289DC03FF for ; Fri, 25 Sep 2015 04:08:46 +0000 (UTC) Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id B3D39DC0367 for ; Fri, 25 Sep 2015 04:08:45 +0000 (UTC) Received: by pacex6 with SMTP id ex6so93029959pac.0 for ; Thu, 24 Sep 2015 21:08:44 -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=tdsXDhRxtiKR69KMrDYXPAq+jAksrtu9t1bYHZXDKlI=; b=TnoPhyu7Z1RxAcstwakEqFN9AKNrP87uBluDqjnoW322aDtIr/jFeJ4H2ZPwg2f705 csGSQPuj2GZucHGN7RLlv7yGa7bAEHcqmiDIlWEcErYhPdZtsfXhrDv0KAZ5bsrjQdBg amrslJsxiNhOD22CUeeS1Fh3fWl21mHk/aGM8BlcLtdHUagUn+Db3Xjno3xzluC0+8CK Yf3V/3E3CBxZoTlHFl+/SuCRyV9eM2gELVx8pUj4JN+ETDW3JrtUFDX+Gptgk4MeWnIr 4rImWJaz2kwYiT6EBHay6KBEvHYYRMRvwsS6r5T3SO8aBFf2lCJjcXBDsNTqHE9l4QhU iX3Q== X-Received: by 10.68.103.5 with SMTP id fs5mr4321560pbb.55.1443154124438; Thu, 24 Sep 2015 21:08:44 -0700 (PDT) Received: from newbook ([50.0.225.136]) by smtp.gmail.com with ESMTPSA id dz7sm1236789pab.16.2015.09.24.21.08.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Sep 2015 21:08:43 -0700 (PDT) Date: Thu, 24 Sep 2015 21:08:41 -0700 From: Isaac Dunham To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] Best place to send howtos? Message-ID: <20150925040840.GA2408@newbook> 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 User-Agent: Mutt/1.5.24 (2015-08-30) X-Virus-Scanned: ClamAV using ClamSMTP Hello, I've configured an Alpine Linux system as a wireless router. The approach I followed is rather different from what the wiki page [0] seems to be meant for, and I also notice that the wiki page is marked as a work-in-progress. I've written up the steps that it took to make it consistently reproducible (as in "comes back up on boot"), with a bit of comments on the config files involved; this might make a decent HOWTO/wiki guide. Is the wiki the only place for such things? (If so, could someone else post it there, or should I ask for access?) The basis for what I did is the RPI-Wireless-Hotspot page [1]; I've adjusted it to fit Alpine better. A quick overview of what I did: - add iptables, udhcpd, and hostapd - configure hostapd - configure udhcpd - configure iptables for NAT/masquerading - configure the wireless card, and make it all start in proper order [0] http://wiki.alpinelinux.org/wiki/How_to_setup_a_wireless_access_point [1] http://elinux.org/RPI-Wireless-Hotspot Side notes: - udhcpd works right, it seems - it would be nice to see ACS (Automatic Channel Selection) enabled in hostapd, though not necessarily enabled in the config file by default. - for reasons unknown to me, if I configure iptables masquerading to forward packets from wlan0, it results in ifup claiming that wlan0 is already up - for reasons unknown to me, the code in the iptables init script that's supposed to enable forwarding seems not to do so. Thanks, Isaac Dunham --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---