Date: Tue, 22 Jun 2010 11:18:04 +0000 From: Paul B Mahol <onemda@gmail.com> To: Quentin Stievenart <acieroid@awesom.eu> Cc: freebsd-stable@freebsd.org Subject: Re: bwn(4) on 8.1-RC1: connection problems Message-ID: <AANLkTinYZZzg80a7Ymm7Q7OnBQynETm8Kjphzw65Tm8o@mail.gmail.com> In-Reply-To: <20100620142328.GA92472@awesom.eu> References: <20100620142328.GA92472@awesom.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 20, 2010 at 2:23 PM, Quentin Stievenart <acieroid@awesom.eu> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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: <Broadcom BCM4318 802.11b/g Wireless> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinYZZzg80a7Ymm7Q7OnBQynETm8Kjphzw65Tm8o>