From owner-freebsd-questions@FreeBSD.ORG Fri Dec 28 00:42:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B7CCED60 for ; Fri, 28 Dec 2012 00:42:45 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by mx1.freebsd.org (Postfix) with ESMTP id 415C98FC15 for ; Fri, 28 Dec 2012 00:42:45 +0000 (UTC) Received: from mailout-eu.gmx.com ([10.1.101.215]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0Mfl5W-1TRF0y1caC-00NEO2 for ; Fri, 28 Dec 2012 01:42:44 +0100 Received: (qmail invoked by alias); 28 Dec 2012 00:42:44 -0000 Received: from 188.4.241.172.dsl.dyn.forthnet.gr (EHLO [192.168.1.77]) [188.4.241.172] by mail.gmx.com (mp-eu015) with SMTP; 28 Dec 2012 01:42:44 +0100 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX1/BgDFss0HB0NFIWaCLNgMeq7cyHkU7nLG4gR24yA 17ax2wXV3hh2pE Message-ID: <50DCEAFE.3030806@gmx.com> Date: Fri, 28 Dec 2012 02:42:38 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Peter Vereshagin , "O. Hartmann" Subject: Re: PPPOED: reading data of line quality from the A/DSL modem References: <50DC29F1.1070500@zedat.fu-berlin.de> <20121227113425.GB5388@external.screwed.box> In-Reply-To: <20121227113425.GB5388@external.screwed.box> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Dec 2012 00:42:45 -0000 On 12/27/2012 1:34 PM, Peter Vereshagin wrote: > Hello. > > 2012/12/27 11:58:57 +0100 "O. Hartmann" => To freebsd-questions@freebsd.org : > OH> When using modern SoGo A/DSL routers, most devices do have fancy GUIs > > SoHo? Or 'SoGo' is a brand? > > OH> and information screens about the settings of the device and especially > OH> the line quality, like SNR, dampening et cetera. > OH> > OH> In my private office, I've setup a FreeBSD server acting like a > OH> gateway/router, replacing my oldish non-IPv6 capable ADSL modem/router. > OH> Using a secondary NIC connecting to the ADSL modem via PPPOED, I'd like > OH> to read some of the important statistsics from the device's chipset like > OH> line quality informations. Sometimes our line here go bad and with the > OH> setup at the moment, I can not check what's wrong. > OH> > OH> Also, I have no informations about the actual up- and downstream speed, > OH> which is also important to me. > OH> Since most professional/commercial ADSL routers/modems use opensource > OH> software, most prefereably Linux, I was wondering if there isn't a way > OH> to achieve those data from FreeBSD as well. I prefer the system's tools > > It is not clear if you want to install FreeBSD on your modem? That depends on > its model. > > OH> in favour over a port installation, but if there is a sophisticated > OH> software, I would appreciate a hint or tip. > > It's kind of unlikely that FreeBSD 'base system' does have a tool(s) to > measure the DSL quality characteristics. Depending on your modem's model you > can have a telnet(1) interface to it from your FreeBSD server to look up for > line quality information via modem's specific commands by hand. > > But telnet(1) doesn't seem to be the notifying tool you think you need. It > should be nothing complicated to make such a tool or install the ready-to-use > software from the FreeBSD Ports system. > > Same can go here about the web interface your modem can be controlled by > saying not about the telnet(1) but about web browser, correspondently. Some ADSL modems expose some of their data over SNMP. Maybe yours too? > snmpget -v 1 -c hohoe1234 192.168.1.254 IF-MIB::ifSpeed.501 > IF-MIB::ifSpeed.501 = Gauge32: 18337000 My modem syncs at around 18 mbps of raw downstream. Keep in mind that SNMP might be disabled by default and you'll have to enable it. HTH, Nikos