From owner-freebsd-wireless@FreeBSD.ORG Mon Jan 27 19:17:51 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6F4CDE5C for ; Mon, 27 Jan 2014 19:17:51 +0000 (UTC) Received: from mail-ee0-x22c.google.com (mail-ee0-x22c.google.com [IPv6:2a00:1450:4013:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 067AB17AC for ; Mon, 27 Jan 2014 19:17:50 +0000 (UTC) Received: by mail-ee0-f44.google.com with SMTP id c13so2463480eek.3 for ; Mon, 27 Jan 2014 11:17:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=H0awnsYw3Kxz7MmZmmyhlir8q0E6SbJjKpZvp87WKRs=; b=J5kOZara8harIi7wTn6xlm8TARtA6vk+rmg4RMX3o7GaaFJmqTp00mju6fnv9YNVv+ xnOuf8UMMGYLi83crdgbqCnJpg0nqdDdzdTSjdA5n3xmQxANfl9AYcT03Q3BsmeOS+zH FY1v7nrpex9F3yBxAWtTznIweP9fyP+0+79hTIBoNWqnd3XKXff/0rkG3QKsa9hTU+rq VDcUTh782DMgrdNTvaFbTjGQJpkHdrKQ5jL3//Xc3m1Kt6XDd4rvXbe+oJlwUy1OkhbC iSaQw+AbQhFhS7c9N2XmBTFpJVox9RvVu3/BcGd8Aq3onccRzSq6Dn83azpdYYOW15i5 p7kA== MIME-Version: 1.0 X-Received: by 10.14.209.129 with SMTP id s1mr26660878eeo.21.1390850269505; Mon, 27 Jan 2014 11:17:49 -0800 (PST) Received: by 10.14.2.66 with HTTP; Mon, 27 Jan 2014 11:17:49 -0800 (PST) In-Reply-To: References: Date: Mon, 27 Jan 2014 11:17:49 -0800 Message-ID: Subject: Re: Cannot get wireless to work From: hiren panchasara To: Harshad D Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jan 2014 19:17:51 -0000 On Fri, Jan 24, 2014 at 10:09 PM, Harshad D wrote: > hello! > > Hi all, first post here. > Installed FreeBSD for the first time on my laptop. Have followed the > Handbook and got most things like X, XFCE, X config etc working. > > However, I am really having trouble trying to get wireless working. I have > tried the following till now: > > This is an extract about the wireless hardware from [cmd]pciconf[/cmd]: > > vendor = 'Broadcom Corporation' > device = 'BCM4312 802.11b/g LP-PHY' > class = network > > > So, as per the Handbook, I should use the bwn (4) driver. > > i have done the following till now: > > > Installed [file]bwn-firmware-kmod[/file] from ports > Added the following to [file]/boot/loader.conf[/file] > if_bwn_load="YES" > bwn_v4__lp_ucode_load="YES" Is this just a typo in email? (the double underscores) Should be bwn_v4_lp_ucode_load="YES" Also, once you boot up, what do you see when you do "kldstat"? cheers, Hiren > # if_bwi_load="YES" > wlan_scan_ap_load="YES" > wlan_scan_sta_load="YES" > wlan_wep_load="YES" > wlan_ccmp_load="YES" > wlan_tkip_load="YES"[/code] > > added this to rc.conf > wlans_bwn0="wlan0" > ifconfig_wlan0="ssid HSD DHCP" > > ****I am not sure about the DHCP part here. just something I have tried. > > And tried all that's shown here [url] > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html[/url] > . > > But still it doesn't work. ifconfig wlan0 up scan gives nothing: > root@BSDbox:~ # ifconfig wlan0 scan > root@BSDbox:~ # > > > dmesg output is: > > root@BSDbox:~ # dmesg|tail > bwn0: the fw file(bwn_v4_lp_ucode15) not found > bwn-open_v4_lp_ucode15: could not load firmware image, error 2 > bwn0: the fw file(bwn-open_v4_lp_ucode15) not found > ubt0: 2> on usbus0 > WARNING: attempt to domain_add(bluetooth) after domainfinalize() > WARNING: attempt to domain_add(netgraph) after domainfinalize() > bwn_v4_lp_ucode15: could not load firmware image, error 2 > bwn0: the fw file(bwn_v4_lp_ucode15) not found > bwn-open_v4_lp_ucode15: could not load firmware image, error 2 > bwn0: the fw file(bwn-open_v4_lp_ucode15) not found > > > ifconfig output: > > root@BSDbox:~ # ifconfig > bwn0: flags=8803 metric 0 mtu 2290 > ether 00:26:5e:46:3e:ba > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > re0: flags=8843 metric 0 mtu 1500 > options=8209b > ether 00:23:5a:c6:da:5b > inet6 fe80::223:5aff:fec6:da5b%re0 prefixlen 64 scopeid 0x2 > inet 192.168.0.104 netmask 0xffffff00 broadcast 192.168.0.255 > nd6 options=23 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=8049 metric 0 mtu 16384 > options=600003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet 127.0.0.1 netmask 0xff000000 > nd6 options=21 > wlan0: flags=8802 metric 0 mtu 1500 > ether 00:26:5e:46:3e:ba > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid HSD channel 1 (2412 MHz 11b) > country US authmode WPA1+WPA2/802.11i privacy OFF txpower 30 bmiss 7 > scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 > roam:rate 1 wme bintval 0 > > > I can see that the firmware file is not being loaded. How do I get it to > load? I checked the /boot/firmware folder and it's empty. So I manually > copied.fw files from the bwn ports directory, but that didn't work either. > I tried renaming the module files (.ko) in /boot/modules to what the OS is > looking for, but that failed too. I am almost at my wit's end now, and > don't know how to go on from here. What do I need to do? > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"