From owner-freebsd-stable@FreeBSD.ORG Tue Jan 17 17:31:45 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id 78DF416A420; Tue, 17 Jan 2006 17:31:45 +0000 (GMT) In-Reply-To: <20060117150024.45318963@localhost> from Fabian Keil at "Jan 17, 2006 03:00:24 pm" To: freebsd-listen@fabiankeil.de (Fabian Keil) Date: Tue, 17 Jan 2006 17:31:45 +0000 (GMT) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20060117173145.78DF416A420@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) Cc: freebsd-stable@freebsd.org Subject: Re: ndis0 does not associate since update to RELENG_6 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, 17 Jan 2006 17:31:45 -0000 > I fail to get the following device working since my update > from RELENG_5 to RELENG_6 a few days ago: > > ndis0@pci2:2:0: class=0x028000 card=0x27128086 chip=0x42208086 rev=0x05 > hdr=0x00 vendor = 'Intel Corporation' > device = 'PRO/Wireless 2200BG Network Connection' > class = network > > It worked fine with 5.4 and was recognised as > > ndis0: mem > 0xc0214000-0xc0214fff irq 11 at device 2.0 on pci > ndis0: NDIS API version: 5.0 > ndis0: Ethernet address: 00: ... :00 > ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 5.5Mbps 11Mbps > ndis0: 11g rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps > > On 6.0 it is still recognised, but the last two lines are missing. That's normal. > I'm using GENERIC, the driver module was generated with ndisgen > out of w22n51.inf and w22n50.sys. This is the combination I alway used. > > ndis0 can scan for access points, but can't associate with or without > WEP encryption. What command do you type to try to get it to associate? > fk@TP51 ~ $ifconfig ndis0 list scan > SSID BSSID CHAN RATE S:N INT CAPS > ec60bfg3b4 00: ... :a8 11 54M 149:0 100 > EP ??? ??? ??? ??? ??? ??? WME > > fk@TP51 ~ $ifconfig ndis0 > ndis0: flags=8843 mtu 1500 > inet 192.168.0.32 netmask 0xffffff00 broadcast 192.168.0.255 > inet6 fe80: ... :7500%ndis0 prefixlen 64 scopeid 0x5 > ether 00: ... :00 > media: IEEE 802.11 Wireless Ethernet autoselect > status: no carrier > ssid "" channel 1 > authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit txpowmax > 100 protmode CTS > > I found a similar problem which should be fixed in current, > but I don't know if the changes already hit stable. > http://freebsd.rambler.ru/bsdmail/freebsd-current_2005/msg11802.html > > My problem is not exactly the same though, I have no trouble setting > the bssid. You should be able to do: # ifconfig ndis0 ssid ec60bfg3b4 wepmode on wepkey "0123456789123" up You don't state what command you actually use. You should have specified it in your e-mail. Note that usually the WEP key has to be either 5 or 13 characters. > Additionally I can't set the mode to 11g: You don't have to do that. It'll associate with 11g automatically. > Is anybody else using this device with FreeBSD 6.0? I've tested the 2200BG myself with the NDISulator 6.0 and I've been able to get it to associate with 11g networks. I don't know what's wrong in your case. -Bill -- ============================================================================= -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu wpaul@windriver.com | Wind River Systems ============================================================================= you're just BEGGING to face the moose =============================================================================