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 2DF5B13838B for ; Fri, 3 Oct 2014 14:22:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FD13E0899; Fri, 3 Oct 2014 14:22:25 +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 DA09EE083A for ; Fri, 3 Oct 2014 14:22:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 645E0340385 for ; Fri, 3 Oct 2014 14:22:22 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -2.205 X-Spam-Level: X-Spam-Status: No, score=-2.205 tagged_above=-999 required=5.5 tests=[AWL=-0.495, 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 kOTzU9kZMELJ for ; Fri, 3 Oct 2014 14:22:16 +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 74C4734031D for ; Fri, 3 Oct 2014 14:22:15 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xa3kJ-0003zf-Jg for gentoo-user@gentoo.org; Fri, 03 Oct 2014 16:22:11 +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 16:22:11 +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 16:22:11 +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) Date: Fri, 03 Oct 2014 07:21:58 -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: <2480371.OdIyU8vMPH@andromeda> X-Archives-Salt: 82d3ba82-b2e3-4a16-a914-fff7af27f304 X-Archives-Hash: 25dff266e8130ada3b18f871982edc11 On 10/02/2014 09:39 PM, J. Roeleveld wrote: > > On Thursday, October 02, 2014 10:24:51 PM Alec Ten Harmsel wrote: >> On 10/02/2014 10:05 PM, walt wrote: >>> I did some googling and enabled the "appropriate" kernel drivers, then >>> rebooted and now the output from ifconfig includes this interface: >>> >>> wlan0: flags=4099 mtu 1500 >>> >>> ether b8:a3:86:99:a8:d8 txqueuelen 1000 (Ethernet) >>> RX packets 0 bytes 0 (0.0 B) >>> RX errors 0 dropped 0 overruns 0 frame 0 >>> TX packets 0 bytes 0 (0.0 B) >>> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 >>> >>> My yes-or-no question: does the appearance of "wlan0" imply that >>> my new kernel drivers are the right ones for this particular D-Link >>> WiFi adapter? >> >> It's certainly a great sign, but it may or may not be enough. I'm by no >> means an expert, but I believe I have to install some extra firmware >> (b43-firmware) to use on my laptop as it's not in the kernel (unless I'm >> clueless with kernel config). Without b43-firmware, the interface shows >> up and is recognized, but can't be used iirc. > > In my experience, when it shows in "ifconfig", it is loaded. > You might want to check the "dmesg" output to see if it is missing firmware > somewhere. > 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. So, the hardware works but I need to configure the network properly. Anyone have an idea how I can get the connection working automatically during boot? Thanks. BTW, this is ifconfig after NetworkManager brings wlan0 up: wlan0: flags=4163 mtu 1500 inet 192.168.1.75 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::baa3:86ff:fe99:a8d8 prefixlen 64 scopeid 0x20 inet6 2602:306:c4d4:cf40:baa3:86ff:fe99:a8d8 prefixlen 128 scopeid 0x0 ether b8:a3:86:99:a8:d8 txqueuelen 1000 (Ethernet) RX packets 317 bytes 18320 (17.8 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 82 bytes 38743 (37.8 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0