From owner-freebsd-questions@FreeBSD.ORG Thu Feb 21 18:34:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE8A116A400 for ; Thu, 21 Feb 2008 18:34:12 +0000 (UTC) (envelope-from dangkm@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.177]) by mx1.freebsd.org (Postfix) with ESMTP id 8270713C447 for ; Thu, 21 Feb 2008 18:34:12 +0000 (UTC) (envelope-from dangkm@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so213685pyb.10 for ; Thu, 21 Feb 2008 10:34:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=gIbLCZdddJtohQSwHprvUEc/ii19tjrmvUyUbRJPXQg=; b=gyMAibWePdLlDd3QboGq+jFeRJpo3lHM15hZCXDx21lGWnde+RmCqgVgMZZUUrUFkVx7/1pkZ04+Cxck+cljRiY/Zk+UV/njuEzORgUdtCpU+xT6DaHjqY9haGOk767zAR4TX1F5N/vTUpevQ2cysM4WfcdZrOuV+7+MogIR+4A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UZngnDejbaN0ESsotUpVlJzlVVZsztl4vZctAN1Vrh10HAjS/2bl3gXCy2HHHkKTS2Sur6pgt7/NczJO9qKET9jQiaFdaLj3oZnQ8VsucDASrauF4ZZ0EvjYDgtHYbOy1O/+u9/RoysUp1xhkQGzu49TbXNwOYY2uDoIugIflgg= Received: by 10.65.192.19 with SMTP id u19mr20060354qbp.81.1203618851362; Thu, 21 Feb 2008 10:34:11 -0800 (PST) Received: by 10.64.209.16 with HTTP; Thu, 21 Feb 2008 10:34:11 -0800 (PST) Message-ID: <82f916c90802211034i39bb477cx68233c018bfabff1@mail.gmail.com> Date: Thu, 21 Feb 2008 18:34:11 +0000 From: "Kemian Dang" To: "Kemian Dang" , freebsd-questions@freebsd.org In-Reply-To: <20080221171106.GA3062@mech-aslap33.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080201111805.GA7580@mech-aslap33.men.bris.ac.uk> <20080219142254.GA77217@mech-aslap33.men.bris.ac.uk> <82f916c90802200421n2b22229alc9e40f64373c4b45@mail.gmail.com> <20080220154901.GA1674@mech-aslap33.men.bris.ac.uk> <82f916c90802200839j3580ca15i7ab59bedbd17f1d@mail.gmail.com> <20080221171106.GA3062@mech-aslap33.men.bris.ac.uk> Cc: Subject: Re: port net/acx100 for usr5410 pcmcia wireless FBSD 6.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2008 18:34:13 -0000 Is your wireless network a non-authentication one, if it is wpa, wep, you may want to try follow the handbook[1]. I am not using rc.conf to start my wireless, but I think give the ssid in rc.conf may help, because there may be more wireless network in your area if it is a non-authentication one. ifconfig_ath0="ssid your_ssid_here DHCP" After you give the ssid, what the ifconfig output? Does the status change to associate? If yes, you can try: #dhclient ndis0 to get the ip from DHCP. Kemian [1]http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html On 21/02/2008, Anton Shterenlikht wrote: > > > > > On 19/02/2008, Anton Shterenlikht wrote: > > > > > > Is anybody using usr5410? With what driver? And what version of FBSD? > > > > > > > > > > On Wed, Feb 20, 2008 at 12:21:22PM +0000, Kemian Dang wrote: > > > > Try ndis, it works for my broadcom wireless adapter. > > > > > > > On 20/02/2008, Anton Shterenlikht wrote: > > > > I added ndis to the kernel and built the kernel module using > > > http://www.linuxant.com/usr11gv40q.zip driver. > > > > > > However, when I load the module: > > > > I get errors. From dmesg: > > > > > > cardbus1: Expecting link target, got 0xed > > > cardbus1: Resource not specified in CIS: id=10, size=2000 > > > cardbus1: Resource not specified in CIS: id=14, size=20000 > > > ndis0: mem 0x88020000-0x88021fff,0x88000000-0x8801ffff irq 11 at device 0.0 on cardbus1 > > > ndis0: NDIS API version: 5.1 > > > ndis0: init handler failed > > > device_attach: ndis0 attach returned 6 > > > > > > What am I doing wrong? > > > > > On Wed, Feb 20, 2008 at 04:39:22PM +0000, Kemian Dang wrote: > > Try add it to the /boot/loader.conf and restart to see whether it works. > > My ndis0 can not get response from "ifconfig ndis0 scan", but I can > > give it the ssid manually and make it work. > > > thanks, it seems to be detected now, from dmesg: > > cardbus1: Expecting link target, got 0xfd > > cardbus1: Resource not specified in CIS: id=10, size=2000 > cardbus1: Resource not specified in CIS: id=14, size=20000 > ndis0: mem 0x88020000-0x88021fff, > 0x88000000-0x8801ffff irq 11 at device 0.0 on cardbus1 > ndis0: NDIS API version: 5.1 > > ndis0: Ethernet address: 00:c0:49:a9:22:59 > > I still cannot connect to the wireless network, but this > is probably another problem.. > > # ifconfig ndis0 up scan > SSID BSSID CHAN RATE S:N INT CAPS > UoB-Wireless 00:16:c7:71:9d:63 1 52M 18:0 100 E > # > > # tail /etc/rc.conf > ifconfig_ndis0="DHCP" > > # /etc/rc.d/netif start > ndis0: no link .............. giving up > ndis0: flags=8843 mtu 1500 > ether 00:c0:49:a9:22:59 > media: IEEE 802.11 Wireless Ethernet autoselect > status: no carrier > ssid "" channel 1 > authmode OPEN privacy OFF txpowmax 100 bmiss 7 > # > > I also tried > > # ifconfig ndis0 ssid UoB-Wireless > > but that didn't help. > > I'll try to update the driver version from 4.0q to 6.0b15, but > the latter is not working fine yet. I think it is because I mixed > different versions of inf, sys and firmware. > > many thanks > anton > > > -- > > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 928 8233 > Fax: +44 (0)117 929 4423 >