From owner-freebsd-questions@freebsd.org Tue Mar 15 17:32:36 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 631A0AD0B73 for ; Tue, 15 Mar 2016 17:32:36 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from lb1-smtp-cloud3.xs4all.net (lb1-smtp-cloud3.xs4all.net [194.109.24.22]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "*.xs4all.nl", Issuer "GlobalSign Domain Validation CA - SHA256 - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 01FF211A5 for ; Tue, 15 Mar 2016 17:32:35 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.erewhon.home ([83.162.243.5]) by smtp-cloud3.xs4all.net with ESMTP id WHXN1s00W07iGuj01HXPa8; Tue, 15 Mar 2016 18:31:23 +0100 Received: from rsmith (uid 1001) (envelope-from rsmith@xs4all.nl) id 12434 by slackbox.erewhon.home (DragonFly Mail Agent v0.11); Tue, 15 Mar 2016 18:31:22 +0100 Date: Tue, 15 Mar 2016 18:31:22 +0100 From: Roland Smith To: Carmel Cc: freebsd-questions@freebsd.org Subject: Re: Getting wireless network up and running Message-ID: <20160315173122.GB92613@slackbox.erewhon.home> Mail-Followup-To: Carmel , freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="/NkBOFFp2J2Af1nK" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2016 17:32:36 -0000 --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 15, 2016 at 07:37:43AM -0400, Carmel wrote: > On Tue, 15 Mar 2016 07:05:13 -0400, Carmel stated: >=20 > > On Mon, 14 Mar 2016 23:50:33 +0100, Ben Woods stated: > >=20 > > > On 14 March 2016 at 20:17, Carmel wrote: > > > =20 > > > > I cannot seem to get my wireless network up and running. > > > > > > > > /boot/loader.conf > > > > if_bwn_load=3D"YES" # Broadcom BCM43xx IEEE 802.11 wireless NICs You also need to load the firmware using the ports/net/bwn-firmware-kmod po= rt *before* calling ifconfig. See the manual page bwn(4). (Type =E2=80=98man 4= bwn=E2=80=99 in a terminal or on the console to view the manual page.) > > > > /etc/rc.conf > > > > ## Wireless > > > > wlans_bwn=3D"wlan0" > > > > ifconfig_wlan0=3D"WPA SYNCDHCP" > > > > > > > > /etc/wpa_supplicant.conf > > > > network=3D{ > > > > ssid=3D"Wireless-2g" > > > > psk=3D"Secret" > > > > key_mgmt=3DWPA-PSK > > > > } > > > > > > > > I have run "service netif restart", but the network never comes > > > > up. I tried rebooting, but still nothing. > > > > > > > > If I append a "0" to bwn; ie, wlans_bwn0=3D"wlan0", I get this > > > > output: > > > > > > > > dhclient[1485]: short write: wanted 20 go 0 bytes > > > > dhclient[1485]: exiting > > > > > > > > The system is then frozen solid, so I am forced to reboot into > > > > single user mode and remove the entry in "rc.conf". Nevertheless, it *should* be: wlans_bwn0=3D"wlan0", because =E2=80=98bwn0= =E2=80=99 is the interface name. Try ifconfig_wlan0=3D"WPA DHCP" > > > > Can anyone tell me what the problem is? At a guess I think you forgot to load the firmware. Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) --/NkBOFFp2J2Af1nK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAABCAAGBQJW6EbqAAoJEED21dyjijPgg8wP/jiChQv4Il5l0fcIThc4LDMy Tj5NqhoiwBROdKupZacvzHw0KqPbqwP7x3ejiUW90/NtVOhbb2bd5GW57idtDcTi z2zXZB4KmcadAP284+np4sgEO+7JR2zJGI+OMpUD8vDKq4sIREjfu6hEM5qcrI2D FCtQ6RVrALaoB3rl0VgZbc2qBdW6sDt+lzwxhUxS0h9u+rPiIOdo+zOjCeA3K5M2 Gv2miWovFEeX+O5TM6Yph9kyeRxozxSBs+72QnWvobk+rn/1RXXz/H4Dhq7AMip9 wT8R4OWpWxN0K2dVsqxxVws2Ja5a2O2QxRab3EVLyr/XrYnnPqzPNqALARwhgyLE o5S/6igJ6nIq266uiWdzWnyo8yFnKPU8+CYFyXUCh6XVD0/y5W9BLbfRjPajOYck ck23PitATwL75QKjBGBfgsB02EuspGFPzzg73wYsOLD0Y1qnLcJ6fcY0Q8tFmitL fE1pu8pJyNzEXhpuJDAWZ2ijKsh5f0PsuB+hOnah/jeWAfAKfQASNBEMC716jMVv 1OL2O9bSLnX2Wmrm4iDFT9sBYemzVbMv0dH/VT/V5s/FrW4KZcqzvT9akzIveXUq cwUVmVsnNbW2Tp269NvF1BVvigiAIqb9WCVSfLCHktahdfnH/8z/8P0u3Y/68E0i NxKqb0xjye4ghNe3ZXqA =z9PB -----END PGP SIGNATURE----- --/NkBOFFp2J2Af1nK--