From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 23 02:43:25 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87682106566C for ; Mon, 23 Nov 2009 02:43:25 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id EAB018FC08 for ; Mon, 23 Nov 2009 02:43:24 +0000 (UTC) Received: by ewy26 with SMTP id 26so1571068ewy.3 for ; Sun, 22 Nov 2009 18:43:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=VhIJOTkw3Gjp50aRIzfWxKay+NWp1lr4pyAq29gknck=; b=ZvLot2TvJGUE1wqH8jfvoW9fYyz4MhTxmphhvcXM14MXLE0y7ishzHxLldf0hWsJKD oH/NB1KozOq2aV00zlGNevnWnBCA3ifgvWB6k1IsbGB1lgUUxwBu5lxaXlx0BQEVAte1 OovQ3N1+SzXfwN6Vf3puKhWyJQk9ZGMyCIgZs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=SDStQmi+YRyK67TfDlWeOaIxnA+yKjOTBvxn8iwxiW3vmtmDBqL0C5hXvxs91kcG04 WmwAppAdGuzwzwRi8Aw2MtBrheYci4iFBWb9Ys+QdraeymIpu9slCWtHxeEjG38HbuAi gncmKM0EmuBwgP0EuoPdRaCmcHP8b52MV2KuE= Received: by 10.213.23.201 with SMTP id s9mr3052853ebb.15.1258944203799; Sun, 22 Nov 2009 18:43:23 -0800 (PST) Received: from mac-mini.lan (bl6-152-101.dsl.telepac.pt [82.155.152.101]) by mx.google.com with ESMTPS id 14sm1840733ewy.3.2009.11.22.18.43.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 22 Nov 2009 18:43:23 -0800 (PST) Sender: Rui Paulo Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Rui Paulo In-Reply-To: Date: Mon, 23 Nov 2009 02:43:21 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: michael brindle X-Mailer: Apple Mail (2.1077) Cc: freebsd-mobile@freebsd.org Subject: Re: iwi connect problems in 9.0-CURRENT 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, 23 Nov 2009 02:43:25 -0000 On 22 Nov 2009, at 23:39, michael brindle wrote: > Hey all. > I recently upgraded to 9.0-CURRENT from 7.2-RELEASE, to help test and = debug > it. > The only problem I've encountered so far that I've not yet been able = to fix > is that I have yet to get my wireless card (Intel IPW 2200 b/g) to = connect > to my wireless network (which has an Apple Airport as the wireless = router). >=20 > my /etc/rc.conf file (with unrelated parts deleted): > wlans_iwi0=3D"wlan0" > defaultroute=3D192.168.1.1 > ifconfig_wlan0=3D"up" > ifconfig_wlan0=3D"DHCP" >=20 > my /etc/start_if.wlan0 file: > ifconfig wlan0 ssid BrinNet channel 1 authmode shared wepmode on = wepkey PASS > weptxkey 1 >=20 > with the license agreed to, as stated in the iwi(4) man page. >=20 > dhclient will discover my network. However, it won't get any offers = from it. > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10 > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11 > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15 > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13 > No DHCPOFFERS received. > No working leases in persistent database - sleeping >=20 > Another thing I noticed, the output of ifconfig wlan0 > wlan0: flags=3D8843 metric 0 = mtu 1500 > ether 00:0e:35:20:37:0a > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11b > status: associated > ssid BrinNet channel 1 (2412 Mhz 11b) bssid 00:60:1d:f1:51:1b > country US authmode OPEN privacy ON deftxkey 1 wepkey 1:40-bit > txpower 0 bmiss 24 scanvalid 60 wme >=20 > most importantly, the txpower being set to 0, because I cannot change = it at > all, or even reconfirm that it's at 0: > younata# ifconfig wlan0 txpower 1 > ifconfig: SIOCS80211: Operation not supported > younata# ifconfig wlan0 txpower 0 > ifconfig: SIOCS80211: Operation not supported >=20 > So, my questions are: > Why is txpower set to 0, what does that mean? That it can't transmit = at all? No, it could just be that the driver is providing wrong tx power = information. > Why can I not manually change it? > Which leads to the ultimate question of: > How do I get it to connect? Try without WEP and see if the problem still persists. You could also = try WPA. -- Rui Paulo