From owner-freebsd-net@FreeBSD.ORG Wed Mar 29 04:06:11 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33C5116A400 for ; Wed, 29 Mar 2006 04:06:11 +0000 (UTC) (envelope-from jono@mail2Juggler.com) Received: from mail2world.com (mw12.mail2world.com [66.28.189.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E37A43D45 for ; Wed, 29 Mar 2006 04:06:10 +0000 (GMT) (envelope-from jono@mail2Juggler.com) Received: from mail pickup service by mail2world.com with Microsoft SMTPSVC; Tue, 28 Mar 2006 19:54:26 -0800 auth-sender: jono@mail2Juggler.com Received: from 10.1.202.100 unverified ([10.1.202.100]) by mwde08la.mail2world.com with Mail2World SMTP Server, Tue 28 Mar 2006 19:54:24 -08:00 Received: from [69.109.171.146] by mail2Juggler.com with HTTP; 3/28/2006 7:54:24 PM PST Thread-Index: AcZS5Hg4KDTBwmIVSwKYUKy33vF1qw== Thread-Topic: wireless connect script From: "Jono Juggler" To: Date: Tue, 28 Mar 2006 19:54:24 -0800 Message-ID: <4f7f01c652e4$78399aa0$64ca010a@mail2world.com> MIME-Version: 1.0 X-Mailer: Microsoft CDO for Exchange 2000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 content-class: urn:content-classes:message Importance: normal Priority: normal X-OriginalArrivalTime: 29 Mar 2006 03:54:26.0549 (UTC) FILETIME=[792A8A50:01C652E4] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: wireless connect script X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2006 04:06:11 -0000 Hello, I am setting up FreeBSD6 on my thinkpad, and I am trying to find an easy way to connect to an available network. I was hoping there was a Gnome applet or anything in X11 that would allow this, but I have found that there is not. Note that I have been able to connect to an access point using ifconfig commands. So I am looking for a script or anything that will do the connecting for me at the terminal level, but I have not found one either. So now I am reduced to just looking for something that will display the available networks. I installed both bsd_airtools/dstumbler and wistumbler2. Both programs run, but do not work. dstumbler gives and ioctl error and wistumbler2 prints nothing. So does anyone have a script that will show the available networks and then allows you to choose one to connect to. Maybe I will look into a way of writting my own program in Tcl or something. I can just parse the output from: ifconfig iwi0 last ap Even the output is not very nice as it is and I dont know what all the fields stand for. If the SSID is too long, it cuts it off. Is there some documentation on this table, or a way to change the formatting? The man page does not get into it? Are people working on this sort of thing?

_______________________________________________________________
Get the FREE email that has everyone talking at http://www.mail2world.com
Unlimited Email Storage – POP3 – Calendar – SMS – Translator – Much More!