From owner-freebsd-mobile@FreeBSD.ORG Sun Oct 12 00:10:45 2003 Return-Path: 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 C62A016A4B3 for ; Sun, 12 Oct 2003 00:10:45 -0700 (PDT) Received: from luftpost.plosh.net (luftpost.plosh.net [204.152.186.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F8F543F75 for ; Sun, 12 Oct 2003 00:10:45 -0700 (PDT) (envelope-from plosher-keyword-freebsd.a36e57@plosh.net) Received: by luftpost.plosh.net (Postfix, from userid 1001) id 93CC732606; Sun, 12 Oct 2003 00:11:08 -0700 (PDT) Received: from dhcp-4.sql1.plosh.net (tardis-nat.plosh.net [64.139.14.228]) by luftpost.plosh.net (tmda-ofmipd) with ESMTP; Sun, 12 Oct 2003 00:11:07 -0700 (PDT) Organization: Plosh Networking To: freebsd-mobile@freebsd.org Date: Sun, 12 Oct 2003 00:10:40 -0700 User-Agent: KMail/1.5.3 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200310120010.40759.plosher@plosh.net> From: Peter Losher X-Delivery-Agent: TMDA/0.86 (Venetian Way) Subject: /etc/rc.d/location script issues... (location.sh) X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Oct 2003 07:10:45 -0000 So I have been using Lars Eggert's location.sh (v1.25) script (seen at http://www.isi.edu/larse/etc.html), and it's just what I am looking for as I am usually at several sites, with a mix of wireless and wired net access. (esp. now that I can use the Broadcom NIC on my Inspiron 5100 in -current - Yay!) However I have some issues, and I wondered whether anyone has come across them, and if they got around them. First - is there any way to specify what interfaces get probed by the script? With my wireless card, I have three possible NIC's - the wireless card (wi0), the on-board Broadcom BCM4401 (bfe0), and the support for a Firewire NIC (fwe0). Now I don't ever see myself plugging in a Firewire NIC anytime soon, so I would rather not have that interface probed. I have tried setting "network_interfaces="wi0 bfe0 lo0"" in rc.conf, but it looks like location.sh doesn't honor it. Second - Anyone get this around 10 times when each interface doesn't get a response to a ping? Can't grep /var/run/dhclient.leases : No such file or directory (another reason why I don't want fwe0 probed, it's another delay) Third - How do you find out what IP should be probed?. I have been able to detect wireless hubs/AP's just fine, but esp. on wired nets, I have tried probing switches, default route, etc. and I get no ping response. Also - does anyone have a setup for using T-Mobile Hotspot? (do they keep their AP's on the same RFC1918 address?) Thanks in advance with any tips you can provide - Peter -- [ http://www.plosh.net/ ] - "Have you violated the DMCA today?"