From owner-freebsd-stable@FreeBSD.ORG Thu Jun 29 20:38:40 2006 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D93B16A40F for ; Thu, 29 Jun 2006 20:38:40 +0000 (UTC) (envelope-from valqk@lozenetz.org) Received: from logos.webreality.org (logos.webreality.org [80.72.64.124]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3941244D4B for ; Thu, 29 Jun 2006 20:38:37 +0000 (GMT) (envelope-from valqk@lozenetz.org) Received: by logos.webreality.org (Postfix, from userid 80) id 29B35C973F; Thu, 29 Jun 2006 23:38:51 +0300 (EEST) Received: from client-82-199-193-86.speedy.sellinet.net (client-82-199-193-86.speedy.sellinet.net [82.199.193.86]) by mail.webreality.org (Horde MIME library) with HTTP for ; Thu, 29 Jun 2006 23:38:51 +0300 Message-ID: <20060629233851.yjsoklj0004o4g80@mail.webreality.org> Date: Thu, 29 Jun 2006 23:38:51 +0300 From: valqk@lozenetz.org To: stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.4) / FreeBSD-5.4 X-webreality-MailScanner-Information: Please contact the ISP for more information X-webreality-MailScanner: Found to be clean X-webreality-MailScanner-From: valqk@lozenetz.org Cc: Subject: If_ndis with marvel strange problem. 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: Thu, 29 Jun 2006 20:38:40 -0000 Ok, so... I have asus wl108g a marvell chipset. I'm running: FreeBSD silentbox 5.5-RELEASE FreeBSD 5.5-RELEASE #0: Tue May 23 14:58:27 UTC 2006 root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 The card can't accosiate with APs, only with Ad-Hoc modes cards!????? I've found a drivers for 'client' mode card at asus site and compiled it with ndisgen. the driver loads ok after kldload: --------------- no match for ObfReferenceObject no match for _except_handler3 no match for MmProbeAndLockPages no match for MmUnlockPages ndis0: mem 0xd3110000-0xd311ffff,0xd3100000-0xd310ffff irq 5 at device 8.0 on pci1 ndis0: NDIS API version: 5.0 ndis0: Ethernet address: 00:11:d8:85:ca:0f ndis0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 1Mbps 2Mbps 5.5Mbps 11Mbps --------------- the card is in ifconfig ndis0: #>ifconfig ndis0 ndis0: flags=8802 mtu 1500 ether 00:11:d8:85:ca:0f media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid "" channel -1 authmode OPEN powersavemode OFF powersavesleep 100 rtsthreshold 2312 protmode CTS wepmode OFF weptxkey 1 ok, so here we go... on one computer (a linux box) I set: #>iwconfig wlan0 essid test channel 1 enc 12345678901234567890123456 mode Ad-Hoc on the fbsd box I do: #>ifconfig ndis0 ssid test channel 1 weptxkey 1 wepkey 1:0x12345678901234567890123456 wepmode on mediaopt adhoc up and I get the ndis0 card associated with test ssid to the other linux box card! Even running encryption. but when I do: #>ifconfig ndis0 ssid myap channel 9 weptxkey 1 wepkey 1:0x3974d8d297cc86284ca4e4251f wepmode on up well... nothing happens, the card blinks a few times for transmission and nothing, stays in status no carrier and an empty ssid! I can't get the point? I've tested setting other mediaopt than Adhoc but the driver returns error.... Please HELP! Thank you very much! Any ideas are welcome! ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.