From owner-freebsd-mobile@FreeBSD.ORG Mon Feb 6 15:59:47 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4569A16A420 for ; Mon, 6 Feb 2006 15:59:47 +0000 (GMT) (envelope-from dan@langille.org) Received: from m21.unixathome.org (m21.unixathome.org [205.150.199.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id B892E43D48 for ; Mon, 6 Feb 2006 15:59:46 +0000 (GMT) (envelope-from dan@langille.org) Received: from localhost (localhost [205.150.199.217]) by m21.unixathome.org (Postfix) with ESMTP id 1F571BFB4 for ; Mon, 6 Feb 2006 10:59:46 -0500 (EST) Received: from m21.unixathome.org ([205.150.199.217]) by localhost (m21.unixathome.org [205.150.199.217]) (amavisd-new, port 10024) with ESMTP id 06499-10 for ; Mon, 6 Feb 2006 10:59:42 -0500 (EST) Received: from bast.unixathome.org (bast.unixathome.org [70.26.229.230]) by m21.unixathome.org (Postfix) with ESMTP id 81FBCBF58 for ; Mon, 6 Feb 2006 10:59:42 -0500 (EST) Received: from [10.55.0.99] (wocker.unixathome.org [10.55.0.99]) by bast.unixathome.org (Postfix) with ESMTP id 053E3B81C for ; Mon, 6 Feb 2006 10:59:41 -0500 (EST) From: "Dan Langille" To: freebsd-mobile@freebsd.org Date: Mon, 06 Feb 2006 10:59:41 -0500 MIME-Version: 1.0 Message-ID: <43E72C1D.20522.271A72C@dan.langille.org> Priority: normal X-mailer: Pegasus Mail for Windows (4.31) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at unixathome.org Subject: ndis on 6.1-PRERELEASE X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2006 15:59:47 -0000 I'm trying, and failing so far, to get ndis running on 6.1-PRERELEASE (Sat Feb 4). I was using ipw but it frooze the system. I have an IBM ThinkPad T41. I grabbed the drivers from http://www- 307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-59438 After downloading and extracting the files from 1rwc88ww.exe, I used w70n501.inf and w70n51.sys as inputs to ndisgen. When asked for firmware, I supplied w70n51.sys the input. The result was w70n51_sys.ko and w70n51.sys.ko I loaded ndis.ko, if_ndis.ko, w70n51.sys.ko, and w70n51_sys.ko (in that order). dmesg showed: ndis0: mem 0xc0214000-0xc0214fff irq 11 at device 2.0 on pci2 ndis0: [GIANT-LOCKED] ndis0: NDIS API version: 5.1 ndis0: Ethernet address: 00:0c:f1:27:67:f5 ndis0 is unable to set/retain an SSID while it is UP. When DOWN, yes, it takes an SSID, but moving the card to UP loses the SSID: # ifconfig ndis0 ndis0: flags=8802 mtu 1500 inet6 fe80::20c:f1ff:fe27:67f5%ndis0 prefixlen 64 scopeid 0x4 inet 10.0.0.10 netmask 0xffffff00 broadcast 10.0.0.255 ether 00:0c:f1:27:67:f5 media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid foo channel 1 authmode OPEN privacy OFF txpowmax 100 # ifconfig ndis0 ndis0: flags=8802 mtu 1500 inet6 fe80::20c:f1ff:fe27:67f5%ndis0 prefixlen 64 scopeid 0x4 inet 10.0.0.10 netmask 0xffffff00 broadcast 10.0.0.255 ether 00:0c:f1:27:67:f5 media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid foo channel 1 authmode OPEN privacy OFF txpowmax 100 # ifconfig ndis0 up # ifconfig ndis0 ndis0: flags=8843 mtu 1500 inet6 fe80::20c:f1ff:fe27:67f5%ndis0 prefixlen 64 scopeid 0x4 inet 10.0.0.10 netmask 0xffffff00 broadcast 10.0.0.255 ether 00:0c:f1:27:67:f5 media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid "" channel 1 authmode OPEN privacy OFF txpowmax 100 # Ideas? Suggestions? -- Dan Langille : Software Developer looking for work my resume: http://www.freebsddiary.org/dan_langille.php