public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Grant Edwards <grante@visi.com>
To: Gary Thomas <gthomas@redhat.com>
Cc: Andrew Lunn <andrew.lunn@ascom.ch>, ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] SNMP shows zero tx packets?
Date: Thu, 04 Jan 2001 08:22:00 -0000	[thread overview]
Message-ID: <20010104102606.A1016@visi.com> (raw)
In-Reply-To: <XFMail.20010104062828.gthomas@redhat.com>

On Thu, Jan 04, 2001 at 06:28:28AM -0700, Gary Thomas wrote:

> > Thats seems to be missing is code to increment if_opackets. I
> > cannot find that anyway. Realy you need to go back to the
> > OpenBSD sources and find out where it increments the counter. I
> > suspect its either in the device driver itself, or the generic
> > ethernet layer between the driver and the stack.
> 
> Correct you are.  This is something I missed when abstracting
> the device drivers [eCos drivers know nothing of the OpenBSD
> stack environment].
> 
> This patch oughta do the trick:

That it did!

Oh, the system uptime is (and was) working:

     system.sysUpTime.0 = Timeticks: (20700) 0:03:27

I was looking at the wrong value before:

     system.sysORTable.sysOREntry.sysORUpTime.1 = Timeticks: (0) 0:00:00

Not sure what that second one is. The sysORTable object doesn't
seem to be in my copy of RFC1213, but snmpwalk knows about it
so it must be something semi-official.  ;)

-- 
Grant Edwards
grante@visi.com

      reply	other threads:[~2001-01-04  8:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-03 13:15 Grant Edwards
2001-01-04  0:15 ` Andrew Lunn
2001-01-04  0:33   ` Andrew Lunn
2001-01-04  5:28     ` Gary Thomas
2001-01-04  8:22       ` Grant Edwards [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010104102606.A1016@visi.com \
    --to=grante@visi.com \
    --cc=andrew.lunn@ascom.ch \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=gthomas@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).