This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions,
flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.
SNMP - Steve Trigero - Mar 7 20:07:58 2008
I going through the SNMP1.C sample program trying to understand
how SNMP works, and I see that the sample program configures SNMP
to use an IP address different than the network IP address.
Is it normal that SNMP has its own IP address different from what
you'd get from DHCP?
Steve

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )
Re: SNMP - Dan Allen - Mar 7 22:40:10 2008
Not sure what demo you're looking at Steve...
No, I would consider SNMP
to use an IP different than the "main"
IP.
I have code supporting nearly 500 OIDs currenlty, 'fire away' with your
questions :)
Dan...
On Fri, Mar 7, 2008 at 8:04 PM, Steve Trigero wrote:
> I going through the SNMP1.C sample program trying to understand
> how SNMP works, and I see that the sample program configures SNMP
> to use an IP address different than the network IP address.
>
> Is it normal that SNMP has its own IP address different from what
> you'd get from DHCP?
>
> Steve
>
>

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )Re: SNMP - Dan Allen - Mar 10 17:34:08 2008
Do yourself a favor, go get "net-snmp" it's free and command line only,
but doesn't require any MIBs.
You'll at least have snmpwalk at that point, which you can point at your RCM
for a "peek" at all the OIDs you have installed.
Dan...
On Mon, Mar 10, 2008 at 5:27 PM, Steve Trigero
wrote:
> The demo program is a single file named SNMP1.c that comes with the
> Rabbit SNMP module.
>
> I've compiled the demo program and it's running on an RCM3000.
> Now I'm trying to communicate with it via an SNMP Browser. I'm
> using MG-Soft MIB Browser. The manual says to use the MIB Compiler
> to compile the MIB files. So I start the MIB Compiler and browse to the
> sample directory where the MIB files are located. The Compiler wants
> to see files with an "mib", or "smi", or "sm2", etc, extension. But the 3
> mib files provided with the demo program are all "txt" extensions.
>
> RABBITSEMI-DEMO-SNMP1.txt
> RABBITSEMI-PRODUCTS-MIB.txt
> RABBITSEMI-SMI.txt
>
> It occurred to me that maybe I'm supposed to drop the "txt" extension and
> replace the last minus sign with a decimal point. But a mib file with an
> extension of "SNMP1" doesn't match the type of file the MIB Compiler is
> looking for.
>
> Any ideas?
>
> Steve
>
> ----- Original Message ----
> From: Dan Allen
> To: r...@yahoogroups.com
> Sent: Friday, March 7, 2008 7:32:57 PM
> Subject: Re: [rabbit-semi] SNMP
>
> Not sure what demo you're looking at Steve...
>
> No, I would consider SNMP to use an IP different than the
> "main" IP.
>
> I have code supporting nearly 500 OIDs currenlty, 'fire away' with your
> questions :)
> Dan...
> On Fri, Mar 7, 2008 at 8:04 PM, Steve Trigero >
> wrote:
>
> > I going through the SNMP1.C sample program trying to understand
> > how SNMP works, and I see that the sample program configures SNMP
> > to use an IP address different than the network IP address.
> >
> > Is it normal that SNMP has its own IP address different from what
> > you'd get from DHCP?
> >
> > Steve
> >
>
>

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )Re: SNMP - Steve Trigero - Mar 10 17:39:48 2008
The demo program is a single file named SNMP1.c that comes with the
Rabbit SNMP module.
I've compiled the demo program and it's running on an RCM3000.
Now I'm trying to communicate with it via an SNMP Browser. I'm
using MG-Soft MIB Browser. The manual says to use the MIB Compiler
to compile the MIB files. So I start the MIB Compiler and browse to the
sample directory where the MIB files are located. The Compiler wants
to see files with an "mib", or "smi", or "sm2", etc, extension. But the 3
mib files provided with the demo program are all "txt" extensions.
RABBITSEMI-DEMO-SNMP1.txt
RABBITSEMI-PRODUCTS-MIB.txt
RABBITSEMI-SMI.txt
It occurred to me that maybe I'm supposed to drop the "txt" extension and
replace the last minus sign with a decimal point. But a mib file with an
extension of "SNMP1" doesn't match the type of file the MIB Compiler is
looking for.
Any ideas?
Steve
----- Original Message ----
From: Dan Allen
To: r...@yahoogroups.com
Sent: Friday, March 7, 2008 7:32:57 PM
Subject: Re: [rabbit-semi] SNMP
Not sure what demo you're looking at Steve...
No, I would consider SNMP to use an IP different than the "main" IP.
I have code supporting nearly 500 OIDs currenlty, 'fire away' with your questions :)
Dan...
On Fri, Mar 7, 2008 at 8:04 PM, Steve Trigero wrote:
I going through the SNMP1.C sample program trying to understand
how SNMP works, and I see that the sample program configures SNMP
to use an IP address different than the network IP address.
Is it normal that SNMP has its own IP address different from what
you'd get from DHCP?
Steve

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )Re: SNMP - Steve Trigero - Mar 10 18:02:31 2008
And net-snmp is supposed to be easier and or more intuitive? So far I'm
just as lost.
----- Original Message ----
From: Dan Allen
To: r...@yahoogroups.com
Sent: Monday, March 10, 2008 2:31:00 PM
Subject: Re: [rabbit-semi] SNMP
Do yourself a favor, go get "net-snmp" it's free and command line
only,
but doesn't require any MIBs.
You'll at least have snmpwalk at that point, which you can point at your RCM
for a "peek" at all the OIDs you have installed.
Dan...
On Mon, Mar 10, 2008 at 5:27 PM, Steve Trigero wrote:
The demo program is a single file named SNMP1.c that comes with the
Rabbit SNMP module.
I've compiled the demo program and it's running on an RCM3000.
Now I'm trying to communicate with it via an SNMP Browser. I'm
using MG-Soft MIB Browser. The manual says to use the MIB Compiler
to compile the MIB files. So I start the MIB Compiler and browse to the
sample directory where the MIB files are located. The Compiler wants
to see files with an "mib", or "smi", or "sm2", etc, extension. But the 3
mib files provided with the demo program are all "txt" extensions.
RABBITSEMI-DEMO- SNMP1.txt
RABBITSEMI-PRODUCTS -MIB.txt
RABBITSEMI-SMI. txt
It occurred to me that maybe I'm supposed to drop the "txt" extension and
replace the last minus sign with a decimal point. But a mib file with an
extension of "SNMP1" doesn't match the type of file the MIB Compiler is
looking for.
Any ideas?
Steve
----- Original Message ----
From: Dan Allen
To: rabbit-semi@ yahoogroups. com
Sent: Friday, March 7, 2008 7:32:57 PM
Subject: Re: [rabbit-semi] SNMP
Not sure what demo you're looking at Steve...
No, I would consider SNMP to use an IP different than the "main" IP.
I have code supporting nearly 500 OIDs currenlty, 'fire away' with your questions :)
Dan...
On Fri, Mar 7, 2008 at 8:04 PM, Steve Trigero wrote:
I going through the SNMP1.C sample program trying to understand
how SNMP works, and I see that the sample program configures SNMP
to use an IP address different than the network IP address.
Is it normal that SNMP has its own IP address different from what
you'd get from DHCP?
Steve

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )Re: SNMP - Steve Trigero - Mar 10 19:16:42 2008
Using MG-Soft MIB Compiler, I went ahead and compiled the MIB text files as is.
Two of the files compiled without errors or warnings. But the third file had
2-errors. In file RABBITSEMI-DEMO-SNMP1.txt I received the following
errors:
C:\DCRABB~1.25\Samples\tcpip\snmp\mibs\RABBIT~1.TXT(175) : Error 20 : Expected
"ENTERPRISE" but found "VARIABLES"
C:\DCRABB~1.25\Samples\tcpip\snmp\mibs\RABBIT~1.TXT(180) : Error 6 : Invalid number
Here is the relevant block from the file that the errors pertain to:
monitor-rw-int-v1 TRAP-TYPE
VARIABLES { <----- Line 175
rw-int,
ro-int,
ro-oct
}
STATUS current <----- Line 180
ENTERPRISE rabbitsemi
DESCRIPTION
"A monitor-rw-int trap is sent whenever the value of
rw-int is outside the range (0..3000). When the value
goes outside this range, up to 6 traps are sent at
intervals increasing from 1 to 16 seconds (exponential
backoff). When the value goes back inside range, the
agent stops sending traps and the send counter and time
interval are reset. The trap destination IP address may
be changed by setting rw_ipaddr."
::= 30
I have no idea on what it means, or what the compiler wants to see, or how to correct
the problem. Does anyone else?
Steve
----- Original Message ----
From: Steve Trigero
To: r...@yahoogroups.com
Sent: Monday, March 10, 2008 2:59:18 PM
Subject: Re: [rabbit-semi] SNMP
And net-snmp is supposed to be easier and or more intuitive? So far I'm
just as lost.
----- Original Message ----
From: Dan Allen
To: rabbit-semi@ yahoogroups. com
Sent: Monday, March 10, 2008 2:31:00 PM
Subject: Re: [rabbit-semi] SNMP
Do yourself a favor, go get "net-snmp" it's free and command line
only,
but doesn't require any MIBs.
You'll at least have snmpwalk at that point, which you can point at your RCM
for a "peek" at all the OIDs you have installed.
Dan...
On Mon, Mar 10, 2008 at 5:27 PM, Steve Trigero wrote:
The demo program is a single file named SNMP1.c that comes with the
Rabbit SNMP module.
I've compiled the demo program and it's running on an RCM3000.
Now I'm trying to communicate with it via an SNMP Browser. I'm
using MG-Soft MIB Browser. The manual says to use the MIB Compiler
to compile the MIB files. So I start the MIB Compiler and browse to the
sample directory where the MIB files are located. The Compiler wants
to see files with an "mib", or "smi", or "sm2", etc, extension. But the 3
mib files provided with the demo program are all "txt" extensions.
RABBITSEMI-DEMO- SNMP1.txt
RABBITSEMI-PRODUCTS -MIB.txt
RABBITSEMI-SMI. txt
It occurred to me that maybe I'm supposed to drop the "txt" extension and
replace the last minus sign with a decimal point. But a mib file with an
extension of "SNMP1" doesn't match the type of file the MIB Compiler is
looking for.
Any ideas?
Steve
----- Original Message ----
From: Dan Allen
To: rabbit-semi@ yahoogroups. com
Sent: Friday, March 7, 2008 7:32:57 PM
Subject: Re: [rabbit-semi] SNMP
Not sure what demo you're looking at Steve...
No, I would consider SNMP to use an IP different than the "main" IP.
I have code supporting nearly 500 OIDs currenlty, 'fire away' with your questions :)
Dan...
On Fri, Mar 7, 2008 at 8:04 PM, Steve Trigero wrote:
I going through the SNMP1.C sample program trying to understand
how SNMP works, and I see that the sample program configures SNMP
to use an IP address different than the network IP address.
Is it normal that SNMP has its own IP address different from what
you'd get from DHCP?
Steve

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )Re: SNMP - Dan Allen - Mar 10 21:14:57 2008
Well, less 'noise' more-so than more intuitive...
Tell me if these images look like what you're seeing as well:
http://ssminnow.maesoft.net/SNMPHELP/
Dan...
On Mon, Mar 10, 2008 at 5:59 PM, Steve Trigero
wrote:
> And net-snmp is supposed to be easier and or more intuitive? So far I'm
> just as lost.
>
> ----- Original Message ----
> From: Dan Allen
> To: r...@yahoogroups.com
> Sent: Monday, March 10, 2008 2:31:00 PM
> Subject: Re: [rabbit-semi] SNMP
>
> Do yourself a favor, go get "net-snmp" it's free and command line only,
> but doesn't require any MIBs.
>
> You'll at least have snmpwalk at that point, which you can point at your
> RCM
> for a "peek" at all the OIDs you have installed.
> Dan...
>
> On Mon, Mar 10, 2008 at 5:27 PM, Steve Trigero >
> wrote:
>
> > The demo program is a single file named SNMP1.c that comes with the
> > Rabbit SNMP module.
> >
> > I've compiled the demo program and it's running on an RCM3000.
> > Now I'm trying to communicate with it via an SNMP Browser. I'm
> > using MG-Soft MIB Browser. The manual says to use the MIB Compiler
> > to compile the MIB files. So I start the MIB Compiler and browse to the
> > sample directory where the MIB files are located. The Compiler wants
> > to see files with an "mib", or "smi", or "sm2", etc, extension. But the
> > 3
> > mib files provided with the demo program are all "txt" extensions.
> >
> > RABBITSEMI-DEMO- SNMP1.txt
> > RABBITSEMI-PRODUCTS -MIB.txt
> > RABBITSEMI-SMI. txt
> >
> > It occurred to me that maybe I'm supposed to drop the "txt" extension
> > and
> > replace the last minus sign with a decimal point. But a mib file with an
> > extension of "SNMP1" doesn't match the type of file the MIB Compiler is
> > looking for.
> >
> > Any ideas?
> >
> > Steve
> >
> > ----- Original Message ----
> > From: Dan Allen >
> > To: rabbit-semi@ yahoogroups. com
> > Sent: Friday, March 7, 2008 7:32:57 PM
> > Subject: Re: [rabbit-semi] SNMP
> >
> > Not sure what demo you're looking at Steve...
> >
> > No, I would consider SNMP to use an IP different than the
> > "main" IP.
> >
> > I have code supporting nearly 500 OIDs currenlty, 'fire away' with your
> > questions :)
> >
> >
> > Dan...
> >
> >
> > On Fri, Mar 7, 2008 at 8:04 PM, Steve Trigero >
> > wrote:
> >
> > > I going through the SNMP1.C sample program trying to understand
> > > how SNMP works, and I see that the sample program configures SNMP
> > > to use an IP address different than the network IP address.
> > >
> > > Is it normal that SNMP has its own IP address different from what
> > > you'd get from DHCP?
> > >
> > > Steve
> > >
> >
> >
> >
>

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )Re: SNMP - Steve Trigero - Mar 11 12:29:40 2008
That's exactly what I'm seeing.
----- Original Message ----
From: Dan Allen
To: r...@yahoogroups.com
Sent: Monday, March 10, 2008 6:07:12 PM
Subject: Re: [rabbit-semi] SNMP
Well, less 'noise' more-so than more intuitive...
Tell me if these images look like what you're seeing as well:
http://ssminnow. maesoft.net/ SNMPHELP/
Dan...
On Mon, Mar 10, 2008 at 5:59 PM, Steve Trigero wrote:
And net-snmp is supposed to be easier and or more intuitive? So far I'm
just as lost.
----- Original Message ----
From: Dan Allen
To: rabbit-semi@ yahoogroups. com
Sent: Monday, March 10, 2008 2:31:00 PM
Subject: Re: [rabbit-semi] SNMP
Do yourself a favor, go get "net-snmp" it's free and command line
only,
but doesn't require any MIBs.
You'll at least have snmpwalk at that point, which you can point at your RCM
for a "peek" at all the OIDs you have installed.
Dan...
On Mon, Mar 10, 2008 at 5:27 PM, Steve Trigero wrote:
The demo program is a single file named SNMP1.c that comes with the
Rabbit SNMP module.
I've compiled the demo program and it's running on an RCM3000.
Now I'm trying to communicate with it via an SNMP Browser. I'm
using MG-Soft MIB Browser. The manual says to use the MIB Compiler
to compile the MIB files. So I start the MIB Compiler and browse to the
sample directory where the MIB files are located. The Compiler wants
to see files with an "mib", or "smi", or "sm2", etc, extension. But the 3
mib files provided with the demo program are all "txt" extensions.
RABBITSEMI-DEMO- SNMP1.txt
RABBITSEMI-PRODUCTS -MIB.txt
RABBITSEMI-SMI. txt
It occurred to me that maybe I'm supposed to drop the "txt" extension and
replace the last minus sign with a decimal point. But a mib file with an
extension of "SNMP1" doesn't match the type of file the MIB Compiler is
looking for.
Any ideas?
Steve
----- Original Message ----
From: Dan Allen
To: rabbit-semi@ yahoogroups. com
Sent: Friday, March 7, 2008 7:32:57 PM
Subject: Re: [rabbit-semi] SNMP
Not sure what demo you're looking at Steve...
No, I would consider SNMP to use an IP different than the "main" IP.
I have code supporting nearly 500 OIDs currenlty, 'fire away' with your questions :)
Dan...
On Fri, Mar 7, 2008 at 8:04 PM, Steve Trigero wrote:
I going through the SNMP1.C sample program trying to understand
how SNMP works, and I see that the sample program configures SNMP
to use an IP address different than the network IP address.
Is it normal that SNMP has its own IP address different from what
you'd get from DHCP?
Steve

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )