Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2012 02:42:38 +0200
From:      Nikos Vassiliadis <nvass@gmx.com>
To:        Peter Vereshagin <peter@vereshagin.org>,  "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PPPOED: reading data of line quality from the A/DSL modem
Message-ID:  <50DCEAFE.3030806@gmx.com>
In-Reply-To: <20121227113425.GB5388@external.screwed.box>
References:  <50DC29F1.1070500@zedat.fu-berlin.de> <20121227113425.GB5388@external.screwed.box>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/27/2012 1:34 PM, Peter Vereshagin wrote:
> Hello.
>
> 2012/12/27 11:58:57 +0100 "O. Hartmann" <ohartman@zedat.fu-berlin.de> => 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50DCEAFE.3030806>