From owner-freebsd-current@FreeBSD.ORG Tue Aug 30 13:46:29 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A00A16A41F for ; Tue, 30 Aug 2005 13:46:29 +0000 (GMT) (envelope-from dandee@hellteam.net) Received: from pipa.profix.cz (server1.pcsvet.net [82.208.25.157]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAB2143D46 for ; Tue, 30 Aug 2005 13:46:28 +0000 (GMT) (envelope-from dandee@hellteam.net) Received: from localhost (localhost [127.0.0.1]) by pipa.profix.cz (Postfix) with ESMTP id 620AE4E707; Tue, 30 Aug 2005 15:46:30 +0200 (CEST) Received: from pipa.profix.cz ([127.0.0.1]) by localhost (pipa [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05170-07; Tue, 30 Aug 2005 15:46:30 +0200 (CEST) Received: from gandalf (unknown [80.95.121.105]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by pipa.profix.cz (Postfix) with ESMTP id 1CFB54E706; Tue, 30 Aug 2005 15:46:30 +0200 (CEST) From: =?US-ASCII?Q?Daniel_Dvorak?= To: "'Sam Leffler'" Date: Tue, 30 Aug 2005 15:46:24 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <431340F9.4060407@errno.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Thread-Index: AcWsu2tcYsUJ61FWQzegF3t9Of7L1gAFLaBA Message-Id: <20050830134630.1CFB54E706@pipa.profix.cz> X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at profix.cz Cc: freebsd-current@freebsd.org Subject: RE: ATHCTRL for ATH X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dandee@volny.cz List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Aug 2005 13:46:29 -0000 Okay, I tried and it worked fine. And is it possible to rewrite your code of athctrl from madwifi to fbsd to /tools/tools/ath to use sysctl dev.ath.0.X commands instead /proc/net/dev/ath in linux ? Thanks Dan -----Original Message----- From: owner-freebsd-current@freebsd.org [mailto:owner-freebsd-current@freebsd.org] On Behalf Of Sam Leffler Sent: Monday, August 29, 2005 7:08 PM To: dandee@volny.cz Cc: freebsd-current@freebsd.org; 'Milan Obuch' Subject: Re: ATHCTRL for ATH [coming in late here...] athctrl is a trivial program that should be a shell script at best. It currently makes no sense to add this sort of support to ifconfig because each device does things very differently (if at all) and trying to unify the operation is likely to lead to more confusion than anything else. Attached is an untested shell script I wrote for someone else. If you can tell me it does the right thing for you then I'll commit it to tools/tools/ath where I've stuck other similar things. Sam