From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id F23BA13838B for ; Fri, 3 Oct 2014 17:24:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47EADE08A2; Fri, 3 Oct 2014 17:24:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2E9BAE0876 for ; Fri, 3 Oct 2014 17:24:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id DEB103403B8 for ; Fri, 3 Oct 2014 17:24:48 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.958 X-Spam-Level: X-Spam-Status: No, score=-1.958 tagged_above=-999 required=5.5 tests=[AWL=-0.248, BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PZDZ3LXiWBmr for ; Fri, 3 Oct 2014 17:24:43 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 63DF53403B6 for ; Fri, 3 Oct 2014 17:24:43 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xa6au-0000vr-2g for gentoo-user@gentoo.org; Fri, 03 Oct 2014 19:24:40 +0200 Received: from 108-77-76-244.lightspeed.irvnca.sbcglobal.net ([108.77.76.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Oct 2014 19:24:40 +0200 Received: from w41ter by 108-77-76-244.lightspeed.irvnca.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Oct 2014 19:24:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: Noob WiFi question (yes-or-no answer will suffice) [SOLVED] Date: Fri, 03 Oct 2014 10:24:26 -0700 Message-ID: References: <542E08F3.8080602@alectenharmsel.com> <2480371.OdIyU8vMPH@andromeda> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 108-77-76-244.lightspeed.irvnca.sbcglobal.net User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 In-Reply-To: X-Archives-Salt: 10eddb7c-cfbc-41d3-8bf2-2f11e47d67cd X-Archives-Hash: b3ad6d52262dec0792643a25fdefc2b4 On 10/03/2014 07:21 AM, walt wrote: > On 10/02/2014 09:39 PM, J. Roeleveld wrote: >> Did you try "dhcpcd wlan0" to see if it gets an IP-address? > > That doesn't work (yet). An error message said that /etc/wpa_supplicant.conf > was missing, so I copied this example from a man page: > > #cat /etc/wpa_supplicant.conf > ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel > > network={ > ssid="myhomewireless" > scan_ssid=1 > key_mgmt=WPA-PSK > psk="mypsk" > } > > #dhcpcd wlan0 > dhcpcd[1415]: version 6.4.7 starting > dhcpcd[1415]: wlan0: adding address fe80::f45c:642e:a392:f47c > dhcpcd[1415]: if_addaddress6: Permission denied > dhcpcd[1423]: wlan0: starting wpa_supplicant > dhcpcd[1415]: wlan0: waiting for carrier > dhcpcd[1415]: timed out > dhcpcd[1415]: allowing 8 seconds for IPv4LL timeout > dhcpcd[1415]: timed out > dhcpcd[1415]: exited > > NetworkManager gets wlan0 working normally, but the problem is the > network doesn't come up until I log in and use the NetworkManager > panel applet to enter the psk manually. Ugh. The Arch wiki was very helpful once I knew where to start looking: The solution was to disable NetworkManager (per Alan's oft-posted advice) and enable wpa_supplicant.service and dhcpcd.service. I suppose my earlier wpa_supplicant problem was caused by a conflict with NetworkManager. Many thanks to everyone who replied. Very helpful as always.