From owner-freebsd-mobile@FreeBSD.ORG Sun May 14 14:31:31 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 6B5CD16A407 for ; Sun, 14 May 2006 14:31:31 +0000 (UTC) (envelope-from james@netinertia.co.uk) Received: from starbug.netinertia.co.uk (starbug.netinertia.co.uk [217.147.82.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A4F343D49 for ; Sun, 14 May 2006 14:31:30 +0000 (GMT) (envelope-from james@netinertia.co.uk) Received: from croydon.netinertia.co.uk ([82.69.247.45] helo=[10.1.0.82]) by starbug.netinertia.co.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FfHeZ-000Pr5-Lk for freebsd-mobile@freebsd.org; Sun, 14 May 2006 15:33:05 +0100 Message-ID: <44673F12.1020003@netinertia.co.uk> Date: Sun, 14 May 2006 15:30:42 +0100 From: James O'Gorman User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: FreeBSD Mobile List References: <4460DC22.6060803@netinertia.co.uk> In-Reply-To: <4460DC22.6060803@netinertia.co.uk> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-NetI-Spam-Score: 0.4 (/) Subject: Re: FreeBSD 6.1 on the ThinkPad X60s 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: Sun, 14 May 2006 14:31:31 -0000 Thought I'd give a quick update on the wireless situation. James O'Gorman wrote: > Wireless does not, of course, work, as it's the Intel 3945ABG chip. > Can't even get it working using if_ndis at the moment :-( Been playing around with the ndisulator, and have at least managed to get it to recognise an ndis0 device now, but still can't use it properly. I used the ndisgen(8) script to create the .ko - it only seems to work properly when you link in w39ncpa.dll as a firmware file (what that file actually is I have no idea!). When I kldload ndis and then w39n51_sys, I get the following on the console: no match for NdisIMCopySendPerPacketInfo no match for strncat no match for KeQueryTickCount ndis0: mem 0xedf00000-0xedf00fff irq 17 at device 0:0 on pci3 ndis0: NDIS API version: 5.1 ntoskrnl dummy called... That last "ntoskrnl dummy called..." repeats about a dozen times, followed by: ndis0: Ehternet address: [my MAC address] ntoskrnl dummy called... (another dozen times) ndis0: NDIS ERROR: c0001389 (unknown error) ntoskrnl dummy called... (again, another dozen) ndis0: NDIS ERROR: c0001389 (unknown error) I created an /etc/wpa_supplicant.conf containing: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel network={ ssid="myssid" scan_ssid=1 proto=WPA key_mgmt=WPA-PSK psk="mysecretkey" group=TKIP pairwise=TKIP } (which may or may not be correct, I'm not sure) Apparently I have to kldload wlan_xauth before I can do much with ifconfig ndis0 (like set authmode to wpa). When I run /etc/rc.d/netif start, I get: Starting wpa_supplicant. Failed to initialize driver interface DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 3 send_packet: Network is down (I have to ^C that as dhclient keeps retrying) ifconfig then prints out all interfaces and ndis0 still doesn't work... Ultimately when I try and kldunload all the wlan and ndis stuff, the system crashes. Maybe I should forward this on to -net@ to see if anyone has any idea? James