From owner-freebsd-stable@FreeBSD.ORG Tue Jun 22 11:18:26 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E600A106566C for ; Tue, 22 Jun 2010 11:18:25 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7D2958FC1E for ; Tue, 22 Jun 2010 11:18:25 +0000 (UTC) Received: by wwe15 with SMTP id 15so1100206wwe.13 for ; Tue, 22 Jun 2010 04:18:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=n3cRzvKnSiBLgVJe7KosBlS3ECXwJtCiCCcr6uXEm+A=; b=k0umYniSX/fuUYtmXs8sziuJv8H1g8xtHis4Zi/KE5UDNrXzS7uOqnU3QgGvWnqno7 Ms7871SE9dW2kVpCeAr5oP9pAL9myoGnQJzcgyNy4zcfhy/LcPKf+HcMWpvkiCAgwp10 /sfTEnOnC0ofzE3dG5hy6teVG2xaJWTaDfAuk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=NGXep0uPO2BYVNODkn5+OXkau1YGPBibJE2c+24nahatZlcKc4so6eCYG0ZDXRyB1d a8BeOnf9NDj+P6QY/Auhdg08V1oc8NhO504LlRfcXiKIujPSRAcVYvB+iFib5/3OPWua viRZW/0GvQGxcIpJSSVl5dguVasSDooqqYWBs= Received: by 10.216.171.73 with SMTP id q51mr1206626wel.29.1277205504221; Tue, 22 Jun 2010 04:18:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.54.135 with HTTP; Tue, 22 Jun 2010 04:18:04 -0700 (PDT) In-Reply-To: <20100620142328.GA92472@awesom.eu> References: <20100620142328.GA92472@awesom.eu> From: Paul B Mahol Date: Tue, 22 Jun 2010 11:18:04 +0000 Message-ID: To: Quentin Stievenart Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org Subject: Re: bwn(4) on 8.1-RC1: connection problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 11:18:26 -0000 On Sun, Jun 20, 2010 at 2:23 PM, Quentin Stievenart wr= ote: > Hi, > > I've some broadcom wireless cards to test here (two BCM4318 and a > BCM4312). This week I tried the BCM4318 one (the 4312 is on a netbook, > I'll try it later, if the 4318 works some day). > > First of all, I was able to use it with ndisgen on FreeBSD 7.1, but > since the 7.2, it doesn't work anymore. So, two day ago I installed a > 8.1-RC1 and tried bwi(4), but a `ifconfig wlan0 scan` wasn't detecting > anything. > > So I gave bwn(4) a try, and it detect perfectly my network, but I just > can't connect to it, neither with dhclient nor with a static IP. > Here's what I do to try to connect: > > # kldload if_bwn > # kldload bwn_v4_ucode > # ifconfig wlan0 create wlandev bwn0 > # ifconfig wlan0 up > # ifconfig wlan0 ssid myssid channel 6 wepmode on wepkey mywepkey > # ifconfig wlan0 > wlan0: flags=3D8843 metric 0 mtu > 1500 > =A0 =A0 =A0 =A0ether 00:11:50:d0:2f:6f > =A0 =A0 =A0 =A0media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11b > =A0 =A0 =A0 =A0status: associated > =A0 =A0 =A0 =A0ssid myssid channel 6 (2437 MHz 11b) bssid 00:60:b3:7a:5c:= 29 > =A0 =A0 =A0 =A0country US authmode OPEN privacy ON deftxkey UNDEF wepkey = 1:40-bit > =A0 =A0 =A0 =A0txpower 30 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgs= canidle 250 > =A0 =A0 =A0 =A0roam:rssi 7 roam:rate 1 wme > # ifconfig bwn0 > bwn0: flags=3D8843 metric 0 mtu 2= 290 > =A0 =A0 =A0 =A0ether 00:11:50:d0:2f:6f > =A0 =A0 =A0 =A0media: IEEE 802.11 Wireless Ethernet autoselect mode 11b > =A0 =A0 =A0 =A0status: associated > > Then, for the static IP: > # ifconfig wlan0 inet 192.168.1.30 netmask 255.255.255.0 Where is weptxkey. Read manual again. > # route add default 192.168.1.1 > # arp -a > ? (192.168.1.30) at 00:11:50:d0:2f:6f on wlan0 permanent [ethernet] > > And I can't ping anything (except localhost and 192.168.1.30) > Or, with dhcp: > # dhclient wlan0 > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14 > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21 > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 2 > No DHCPOFFERS received. > No working leases in persistent database - sleeping. > > Here's what pciconf -lv tells me about my card: > > siba_bwn0@pci0:2:2:0: class=3D0x028000 card=3D0x70011799 chip=3D0x431814e= 4 > rev=3D0x02 hdr=3D0x00 > =A0 =A0vendor =A0 =A0 =3D 'Broadcom Corporation' > =A0 =A0device =A0 =A0 =3D 'Broadcom 802.11b/g (BCM4318)' > =A0 =A0class =A0 =A0 =A0=3D network > > And a dmesg | egrep "(bwn|wlan)": > > siba_bwn0: mem 0xfdefc000-0xfdefdff= f irq 22 at device 2.0 on pci2 > bwn0 on siba_bwn0 > bwn0: WLAN (chipid 0x4318 rev 9) PHY (analog 3 type 2 rev 7) RADIO (manuf= 0x17f ver 0x2050 rev 8) > bwn0: DMA (32 bits) > bwn0: [FILTER] > wlan0: Ethernet address: 00:11:50:d0:2f:6f > bwn0: firmware version (rev 410 patch 2160 date 0x751a time 0x7c0a) > wlan0: ieee80211_new_state_locked: pending INIT -> SCAN transition lost > wlan0: link state changed to UP > bwn0: need multicast update callback > bwn0: RX decryption attempted (old 0 keyidx 0) > bwn0: RX decryption attempted (old 0 keyidx 0) > bwn0: RX decryption attempted (old 0 keyidx 0) > bwn0: RX decryption attempted (old 0 keyidx 0) > bwn0: RX decryption attempted (old 0 keyidx 0) > > Also, when I start tcpdump on wlan0, and try to ping this computer from > another one, I see all the ping requests and responses on FreeBSD, but > the other computer don't get any response. > > Does anyone knows what to do now ? > > Regards, > > Quentin Stievenart. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >