From owner-freebsd-net@FreeBSD.ORG Tue Jan 31 12:43:21 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67F95106566C for ; Tue, 31 Jan 2012 12:43:21 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id EAC7C8FC08 for ; Tue, 31 Jan 2012 12:43:20 +0000 (UTC) Received: from [82.113.119.148] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RsD3M-0007pn-PB; Tue, 31 Jan 2012 13:43:17 +0100 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q0VChqEf001530; Tue, 31 Jan 2012 13:43:53 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q0VChm7b001529; Tue, 31 Jan 2012 13:43:48 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Tue, 31 Jan 2012 13:43:48 +0100 From: Matthias Apitz To: Milan Obuch Message-ID: <20120131124347.GA1493@tiny> References: <20120130110919.GA1249@tiny> <20120131094413.GA1306@tiny> <20120131110100.0da8b89e@atom.dino.sk> <20120131101930.GA1371@tiny> <20120131115348.0748df3a@atom.dino.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120131115348.0748df3a@atom.dino.sk> X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.119.148 Cc: freebsd-net@freebsd.org, edwin@mavetju.org Subject: Re: ports/net/e169-stats (was: UMTS Huawei monitor) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2012 12:43:21 -0000 El día Tuesday, January 31, 2012 a las 11:53:48AM +0100, Milan Obuch escribió: > Hi, > > I will test it later to see, but AFAIR this should be > running/moving/live graph presentation of signal strength and data > transfer (load/speed) done in ASCII, so a bit rough. Not as nice as > done in 'properly graphical' way, but usable. If you have steady signal > strength, it is not obvious, but when you move a bit, you could see the > change. Just guessing now - # is for signal, v is download momentary > speed and ^ is for upload. Hi, At the end I decided to understand the source code. Btw: the device port /dev/cuaU0.n is hardcoded set to .2, while mine is .3 for the E1750; the -51 dBm value is just nothing more than the best possible RSSI value 31; the #-line (which is in real a fine line of some ncurses(3) symbol, don't know why cut&paste changed this) is a scaled representation of the RSSI values of the last 80x two seconds; the byte value in line 13 of 400kB is always calculated as the max or RX or TX values of the last 80x two seconds history; and finally 'v' and '^' are used to represent the current RX or TX value in scale with this maximum; I will now watch this movie for a while and see if I can draw some clue from that graphic :-) matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5