From owner-freebsd-gnome@FreeBSD.ORG Thu Aug 18 21:31:15 2005 Return-Path: X-Original-To: gnome@freebsd.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5748916A41F for ; Thu, 18 Aug 2005 21:31:15 +0000 (GMT) (envelope-from bob@sofsis.cl) Received: from mi.cl (mail-gw5.metropolis-inter.com [200.30.193.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7549643D45 for ; Thu, 18 Aug 2005 21:31:13 +0000 (GMT) (envelope-from bob@sofsis.cl) Received: from [200.30.193.20] (HELO mi.cl) by mail-gw5.mi.cl (CommuniGate Pro SMTP 4.3.7) with ESMTP id 1926058; Thu, 18 Aug 2005 17:30:11 -0400 X-ExtScanner: Niversoft's FindAttachments (free) X-VirusStatus: Scanned Received: by mail-gw3.mi.cl (CommuniGate Pro PIPE 4.3.7) with PIPE id 23195537; Thu, 18 Aug 2005 17:15:43 -0400 Received: from www.sofsis.cl (account asdasdasd@mi.cl [200.74.17.222] verified) by mail-gw3.mi.cl (CommuniGate Pro SMTP 4.3.7) with ESMTPA id 23195520; Thu, 18 Aug 2005 17:15:34 -0400 Received-SPF: none receiver=mail-gw3.mi.cl; client-ip=200.74.17.222; envelope-from=bob@sofsis.cl Received: from [10.0.0.102] ([10.0.0.240]) (authenticated bits=0) by www.sofsis.cl (8.13.4/8.13.1) with ESMTP id j7ILXJeq006772; Thu, 18 Aug 2005 17:33:20 -0400 (CLT) (envelope-from bob@sofsis.cl) From: Phillip Neumann To: Joe Marcus Clarke In-Reply-To: <1124351526.17824.19.camel@shumai.marcuscom.com> References: <1124326038.12095.16.camel@book.sofsis.cl> <1124351526.17824.19.camel@shumai.marcuscom.com> Content-Type: text/plain; charset=ISO-8859-1 Date: Thu, 18 Aug 2005 17:28:13 +0000 Message-Id: <1124386093.31980.11.camel@book.sofsis.cl> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on mail-gw3.metropolis-inter.com X-Spam-Level: X-Spam-Status: No, score=0.0 required=8.0 tests=DATE_IN_PAST_03_06 autolearn=unavailable version=3.0.3 X-TFF-CGPSA-Version: 1.4 X-TFF-CGPSA-Filter: Scanned Cc: FreeBSD GNOME Users Subject: Re: Wireless X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2005 21:31:15 -0000 El Thu, 18-08-2005 a las 03:52 -0400, Joe Marcus Clarke escribió: > On Thu, 2005-08-18 at 00:47 +0000, Phillip Neumann wrote: > > As i wanted to forget about playing with ifconfig to configure the > > wireless connection, and did not find something like wifi-radar for > > linux (the python program), > > did a similar thing wich speaks with ifconfig. > > > > It works most of the time here. It works over mono and gtk#2 > > > > > > anyone has a wireless card to test this there?.. > > what do you think? > > > > mine is a intel2100 card. > > > > the program works with > > "ifconfig ipw0" > > so if you have lets say the wi0 device, do this before > > "ifconfig wi0 name ipw0" > > > > (how do i list all wifi devices?) > > There's no good way to do it with ifconfig, but one way that will work > (and we've used similar methods in other apps) is to create an array or > hash of all known wireless interfaces. Basically: > > an > iwi > ipw > ndis > ath > wi > ral > ural > > Then, you can use ifconfig -l to list all available interfaces, and do > further processing on any that match your static list. > Greate. > > > > > > > > Problems i have found (do you get the same ones?): > > > > - The Process() class doesnt see to work fine, it leaves > > processes behind > > You need to cleanup after your process. In Java, this is done using the > Process.waitFor() method. I'm sure there is something similar in C#. > Right.. it was .WaitForExit() :-) > > - ifconfig ipw0 scan does not delete ssid's when the becomse offline > > (driver problem?) > > I'm not so sure. Why would you want it to delete SSIDs just because the > interface goes down? If it were brought up, having the SSID configured > would give it a better chance of reconnecting. > oh.. i ment to going down the access point (or moving too far away from it), not the interfac/driver like having online 1 AP and turn it off, ifconfig scan shows up the last info it got from the AP. And signal is not 0 neither. > I haven't yet given myself over to Mono, but the screen shots look > promising. You might want to expand to WPA support as well. The code may look dirty... but it does the job (for me at least..) wpa_supplicant you mean?.. I've update the thing a little http://sofsis.cl/GW/screen.jpg http://sofsis.cl/GW/ good luck. -- _________________________ Phillip Neumann phillip@sofsis.cl