From owner-freebsd-mobile@FreeBSD.ORG Mon Mar 29 07:02:37 2004 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 4DE9216A4CE for ; Mon, 29 Mar 2004 07:02:37 -0800 (PST) Received: from mailhub01.unibe.ch (mailhub01-skge0.unibe.ch [130.92.9.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A10743D31 for ; Mon, 29 Mar 2004 07:02:36 -0800 (PST) (envelope-from roth@speedy.unibe.ch) Received: from localhost (scanhub02-eth0.unibe.ch [130.92.254.66]) by mailhub01.unibe.ch (Postfix) with ESMTP id B415525BA5B; Mon, 29 Mar 2004 17:02:34 +0200 (MEST) Received: from mailhub01.unibe.ch ([130.92.9.52]) by localhost (scanhub02 [130.92.254.66]) (amavisd-new, port 10024) with LMTP id 21633-12-38; Mon, 29 Mar 2004 17:02:35 +0200 (CEST) Received: from asterix.unibe.ch (asterix.unibe.ch [130.92.64.4]) by mailhub01.unibe.ch (Postfix) with ESMTP id AEACC25BA4C; Mon, 29 Mar 2004 17:02:31 +0200 (MEST) Received: from speedy.unibe.ch (speedy [130.92.64.35]) by asterix.unibe.ch (8.11.7p1+Sun/8.11.7) with ESMTP id i2TF2Vb12021; Mon, 29 Mar 2004 17:02:31 +0200 (MET DST) Received: (from roth@localhost) by speedy.unibe.ch (8.12.10+Sun/8.12.9/Submit) id i2TF2UqQ020550; Mon, 29 Mar 2004 17:02:30 +0200 (MEST) Date: Mon, 29 Mar 2004 17:02:30 +0200 From: Tobias Roth To: Anton Nikiforov Message-ID: <20040329150230.GA20492@speedy.unibe.ch> Mail-Followup-To: Anton Nikiforov , freebsd-mobile@freebsd.org References: <406835B5.2020301@nikiforov.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <406835B5.2020301@nikiforov.ru> User-Agent: Mutt/1.4i X-message-flag: Warning! Using Outlook is insecure and promotes virus distribution. Please use a different email client. X-Virus-checked: by University of Berne cc: freebsd-mobile@freebsd.org Subject: Re: AP Scanning 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: Mon, 29 Mar 2004 15:02:37 -0000 On Mon, Mar 29, 2004 at 06:41:57PM +0400, Anton Nikiforov wrote: > I'm traveling between a few locations with differn APs configuration and > differen options to access internet (dhcp, proxys etc). > In addition some offices have no WiFi APs installed, so i use ethernet > cable or ppp over GPRS connection there. > And i wold like my noteook to swith profiles automaticaly (i want to > test radio environment in case no ethernet cable is attached and i know > how to do it). And if no ethernet nor radio available - it should > connect over ppp (if usb cable is attached). http://lists.freebsd.org/pipermail/freebsd-mobile/2003-November/002284.html i didn't consider ppp when i made this, maybe i will some day. but as you want to use ppp as a 'last resort', this will definitely work without problems with my patch. > I understand that there is a simple way to test the radio invironment by > setting up ssid and other parameters and check if the interface become > assotiated, but i do not like this idea. > Maybe there is something that i coud use as a key to start interfase in > one of the predefined configurations (like before setting a ssid to read > AP's serial or whatever unique location ID)? Maybe even scan an air for > APs that i do not know? :) you can use the MAC address for that if hat is what you meant. not really secure, but it might do. > And additional questions - is how to change Mozilla/gaim configuration > "on the fly" to correspnd to each location. (but this question is not > FreeBSD related, so it could be considered as OFFTOPIC, but maye someone > solved already this problem?) you can do this very easily with my patch plus a small shell script. basically, everything that is not configured from within /etc needs to be configured through a custom shell script. you can have mine, but it is not very sophisticated. cheers, t.