From owner-freebsd-mobile@FreeBSD.ORG Sun Sep 14 13:54:55 2008 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 539CD1065671 for ; Sun, 14 Sep 2008 13:54:55 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.233]) by mx1.freebsd.org (Postfix) with ESMTP id 1473F8FC08 for ; Sun, 14 Sep 2008 13:54:54 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so279420wra.27 for ; Sun, 14 Sep 2008 06:54:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=WnZf1XLyinVG1Ue8p4yyU9nVZ6GBzbjPzMrFd/5a4F0=; b=mlAiFIEKVZYW3cOOVUvQOFL7SPchZVohZAwPyZow8/LtTH3L/8+P5s/h0QTxIPlj+d S+aY+L4lrIr8ODKUzlTH7FennucS4vitg8tqLWm6nV3TP5DukjMViE4q7V0wKJXPQSLO GEi4k92AN+xsIlb152VjfbvV3FzrtViwjS6+Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=An4zrro7jcMho8dcRuj07LB5m+KplCseElVFkYbIGzePAtE1Qu6wn8+a3PdB9pPgUB mRZwhzQaIzPWShf17l8PxeN3scsESicXJPD80jnMdubHwxV6Gz286fJ47U/v28f0jzyU jBdlKqqTZyvnEJcyQCPdRB5R3//3U+uFIJcFQ= Received: by 10.90.69.7 with SMTP id r7mr8244174aga.36.1221400493954; Sun, 14 Sep 2008 06:54:53 -0700 (PDT) Received: from ?10.0.3.231? ( [70.111.10.128]) by mx.google.com with ESMTPS id i12sm16315054wxd.35.2008.09.14.06.54.52 (version=SSLv3 cipher=RC4-MD5); Sun, 14 Sep 2008 06:54:53 -0700 (PDT) From: "Alexandre \"Sunny\" Kovalenko" To: freebsd_user@guice.ath.cx In-Reply-To: <20080914080421.GA1668@6281.guice.ath.cx> References: <20080913234149.GA2420@6281.guice.ath.cx> <20080914133429.B439@sola.nimnet.asn.au> <20080914065050.GA16724@WORKSTATION.guice.ath.cx> <20080914071603.GA2463@sysmon.tcworks.net> <20080914080421.GA1668@6281.guice.ath.cx> Content-Type: text/plain; charset=utf-8 Date: Sun, 14 Sep 2008 09:53:08 -0400 Message-Id: <1221400388.1305.40.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-mobile@freebsd.org Subject: Re: ATHEROS -- 802.11a/b/g Wireless Lan Mini PCI Express -- 6459-CTO 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 Sep 2008 13:54:55 -0000 On Sun, 2008-09-14 at 04:04 -0400, freebsd_user@guice.ath.cx wrote: > > > > > MACHINE: THINKPAD T61P > > > > > MACHINE TYPE: 6459-CTO > > > > > NETWORK ADAPTER: 11a/b/g Wireless Lan Mini PCI Express (windows) > > > > > - > > > > > FreeBSD 7.0-RELEASE i386 <== fresh install > > > > > - > > > > > ==> pciconf -l -v |grep -i atheros > > > > > vendor = 'Atheros Communications Inc.' > > > > > device = 'AR5212 Atheros AR5212 802.11abg wireless' > > > > > > > > > > > > > > I was doing so while my em0 was connected to > > > the same LAN with an ip of: 192.168.1.6 netmask > > > 255.255.255.0 <== this is not the way I planned > > > on using the devices. I only want to use the > > > 'ath0' unless the situation calls for cable. > > > > > > I'm also not sure what to read about setting up > > > 'WPA' and/or 'WEP' or, if the device/driver > > > will auto-detect. > > > > > > You don't say that you set the default route once you disconnected the > > LAN cable. That will be necessary for access beyond the LAN. > > What I post below was currently done without disconnecting the LAN cable. > > FreeBSD 7.0-RELEASE-p4 i386 GENERIC > == > /etc/rc.conf | grep route > defaultrouter="192.168.1.1" > == > > Not configured > ath0: flags=8802 metric 0 mtu 1500 > ether 00:1f:3a:4d:45:d1 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid "" channel 1 (2412 Mhz 11b) > authmode OPEN privacy OFF txpower 50 bmiss 7 scanvalid 60 bgscan > bgscanintvl 300 bgscanidle 250 roam:rssi11b 7 roam:rate11b 1 burst > bintval 0 > > ifconfig ath0 "DHCP" <== assigned my external IP to the ath0 :-\ > ath0: flags=8843 > metric 0 mtu 1500 > ether 00:1f:3a:4d:45:d1 > inet 72.225.169.69 netmask 0xff000000 broadcast > 72.255.255.255 > media: IEEE 802.11 Wireless Ethernet autoselect > (OFDM/36Mbps) > status: no carrier > ssid SORRY channel 42 (5210 Mhz 11a) > authmode OPEN privacy OFF txpower 31.5 bmiss 7 > scanvalid 60 bgscan > bgscanintvl 300 bgscanidle 250 roam:rssi11a 7 > roam:rate11a 12 burst > > With regard to the above IP being set to 72.225.169.69; > the routers' DHCP server appears to be working fine with other > machines using cable and one (1) windows machine (another T61p > Atheros 5212) on the same network. Its only this one, > topic of discuss machine, that gets the external IP > assigned to it when in fact the outside world see's > this 72.225.169.69. > > ifconfig ath0 inet 192.168.1.111 netmask 255.255.255.0 ssid SORRY > ath0: flags=8843 metric 0 mtu 1500 > ether 00:1f:3a:4d:45:d1 > inet 192.168.1.111 netmask 0xffffff00 broadcast 192.168.1.255 > media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps) > status: no carrier What does 'ifconfig ath0 list scan' say? Do you know parameters of the base station you are trying to associate with? Few notes: -- on my ThinkPad X60, I have not seen wireless led lit up yet, which never prevented wireless from working ;) -- there is a setting for Fn-F5 (only available through Windows), I always keep it as "Turn all radios on or of" or some such thing. -- there is a slider switch located at the front of my X60 which does kill all radios, I do not know whether T61 has one or not. If it does, you might want to check its position. -- Alexandre "Sunny" Kovalenko (Олександр Коваленко)