WRB - Tried *make distclean* and that failed.

2005-02-14 Thread wrb
Error 1 [EMAIL PROTECTED] net-snmp-5.2.1]# I will next try a fresh download of the toolkit. WRB --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which produ

WRB - Errors in Static Make

2005-02-03 Thread wrb
-i -n "sysoid" 77:0400 D version_sysoid I do not get this error under toolkit version 5.2; it compiles under the above configuration just fine. WRB --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool f

WRB - MFD compilation problems.

2005-01-30 Thread wrb
Robert (and the rest of the core developers): I took the code of the routine init_mib_modules() and copied it to the file snmpd.c, placing it just ahead of the function main(). I actually kept it with the modified name of init_mib_modules_wrb(). Then made the daemon anew, and executed it. The re

WRB - MFD compilation problems.

2005-01-30 Thread wrb
Robert (and all the other core developers): I have worked with the files ./agent/mib_modules.c ./agent/mibgroup/mib_module_inits.h ./agent/snmpd.c to include printf() and DEBUGMSGTL(()) statements, only to find, much to my chagrin, that those changes that are made to the routines should_init()

Re: Undeliverable: WRB - MFD compilation problems.

2005-01-29 Thread wrb
, and deposit it into the delete box, but do not forward it to others. All you do by forwarding rejected messages is to further clog the bandwidth of the internet. WRB Original message >Date: Sat, 29 Jan 2005 13:22:05 -0800 >From: "david" <[EMAIL PROTECTED]> >S

WRB - MFD compilation problems.

2005-01-29 Thread wrb
Robert: I have some more commentary on the MFD compilation. You will note that this email is a follow-up to the most previous message, sent within the previous two hours. When I compile the daemon, using the configuration (noted here and in the above mentioned previous posting) ./configure --

WRB - MFD compilation problems.

2005-01-29 Thread wrb
Robert: I have some more information regarding this problem. First, I am using RH 9.0, Net-SNMP 5.2.1 installed in the /root/net-snmp-5.2.1 directory, with the mib2c-derived code for the 802.11 MIB in the directory ./agent/mibgroup/dot11/mfd (this time I have not deleted the .m2d files), and am u

WRB - MFD compilation leave functions undefined, though they are called.

2005-01-27 Thread wrb
Robert: I also found the following. ./.libs/libnetsnmpmibs.so: undefined reference to `dot11StationConfigTable_undo_setup' ./.libs/libnetsnmpmibs.so: undefined reference to `dot11StationConfigTable_undo_cleanup' William R. Buckley President SoftNerd, A California Corporation Director Emeritus,

WRB - MFD compilation problems.

2005-01-27 Thread wrb
Robert: I have worked to get the dot11StationConfigTable linked into the Net-SNMP daemon, with some interesting errors observed. First, why is it that the headers files produced via MFD mediated MIB compilation are not found during the build process? Here is a relevant extract from build messagi

Re: API observations.

2005-01-24 Thread wrb
listserve archives. These are not so formal as even I might prefer, but they are better than nothing. Further, they can be referenced by search on my name (or my initials, WRB), and this should be the occasional advice given by an respondant to questions posted to the users group. That is actually

WRB - Errors in MFD helper script for mib2c compiler.

2005-01-18 Thread wrb
While working on the code generated by the MFD helper script, I noticed an interesting error. String constants that have some length are broken across multiple lines, with double quotes surrounding the substring of each line. Please, correct me if I am wrong but, as I recall, strings are broken a

WRB - Questions regarding the function init_snmp().

2005-01-17 Thread wrb
I noticed the following segment in the function init_snmp(const char * type) as found in the file ./snmplib/snmp_api.c /* * make the type available everywhere else */ if (type && !netsnmp_ds_get_string(NETSNMP_DS_LIBRARY_ID, NETSNMP_DS_

API observations.

2005-01-16 Thread wrb
I have been studying the MIB implementation process, using the MFD, and find that some underlying detail is needed in order that I obtain a full understanding of the toolkit. For instance, the SNMP Enumeration tools (I expect that is what SE stands for) is not at all documented. My comments here

Re: Default row creation in v5 API tables.

2004-12-23 Thread wrb
>WC> I question the wisdom of requiring the function parameter to be >WC> as specified. It seems more reasonable to pass *table_set* as >WC> the parameter, instead of its element *default_row* being passed, >WC> especially when the "dereference" can be easily accomplished from >WC> within the func

Re: WRB - Process of get and set requests in v5 API.

2004-12-23 Thread wrb
Robert: >WRB> Since the table_dataset model operates through the >WRB> retention of data internal to the agent, I would suspect that get requests >WRB> will require that internal data store to be updated as appropriate prior >WRB> to execution of

Re: WRB - Process of get and set requests in v5 API.

2004-12-23 Thread wrb
Robert: >WRB> > Wow. great description of your problem. I wish all our users were so >WRB> > verbose! >WRB> >WRB> It is really nice to have someone say this, how appreciative they are >WRB> of the verbosity of my postings. Dave tends to complain about the &

WRB - Interfacing to network devices.

2004-12-23 Thread wrb
On looking closely at the file ./agent/mibgroup/if-mib/data_access/interface_linux.c we find the routine netsnmp_arch_interface_get_if_speed() and from what I can see of the implementation, it does not support the determination of network interface speeds in excess of 100MBit/Second. Is th

WRB - Interfacing to network devices.

2004-12-23 Thread wrb
I have been looking at the files in ./agent/mibgroup/if-mib/data_access and noted the content of the files interface_ioctl.c and interface_linux.c I take it that these are complementary files, that they provide equivalent mechanisms versus different operating systems in order to gain

WRB - Failure of MIBs for Dummies compilation.

2004-12-21 Thread wrb
I just downloaded the latest release (net-snmp-5.2.tag.gz), and am running on RedHat 9 (with current up2date support). The problem with the MFD helper remains unresolved. The appropriate excerpt from my command line is: === Excerpt Begin

New front end for the Net-SNMP website.

2004-12-20 Thread wrb
Actually, I should have included that the incorrect links are those for subscribing to the groups. The links for getting to the archives are correct. William R. Buckley President SoftNerd, A California Corporation Director Emeritus, International Core Wars Society [EMAIL PROTECTED] 415-240-6107

New front end for the Net-SNMP website.

2004-12-20 Thread wrb
Now, that is some facelift for the index page of the Net-SNMP website. Generally, I like it. There are two errors of which the webpage designer should be made aware. They begin with the mention at the bottom of the index page (alright, home page), where the users mailing list is described. When

Default row creation in v5 API tables.

2004-12-16 Thread wrb
With some effort, one finds that the method of actually creating a table row having field values corresponding to defaults specified with a call to the function netsnmp_table_set_multi_add_default_row is a sequence of function calls, listed as follows row = netsnmp_create_table_data_row();

Re: WRB - Data-set Table Implementation - browsing behavior.

2004-12-09 Thread wrb
Robert (and community): All right, I'll bite. You say that the function netsnmp_table_set_multi_add_default_row specifies the default values of fields of a row, and that it does not actually create a row. OK, OK. Yet, I still claim the naming of the function is inappropriate. I would sugge

RE: Why do I not see two rows in my table?

2004-12-07 Thread wrb
Jeff: I tried this construct: netsnmp_table_row_add_index(row, ASN_INTEGER, 1, 0); [...] netsnmp_table_row_add_index(row, ASN_INTEGER, 2, 0); and that failed to execute to completion (i.e., the agent did not start - it did not show up as a process subsequent to execution initiation, as measured

RE: Why do I not see two rows in my table?

2004-12-07 Thread wrb
Jeff: Thanks for the reply but, do you have a suggestion as to how to change the index? While a high-level analysis of the problem observed is welcome, it does come at the cost of no detail. How is the index specified? I can find no function to call that allows me to set the value of the index.

Why do I not see two rows in my table?

2004-12-06 Thread wrb
The relevant code is: row = netsnmp_create_table_data_row(); netsnmp_table_row_add_index(row, ASN_INTEGER, 0, 0); netsnmp_set_row_column

Tutorial Inconsistency.

2004-12-06 Thread wrb
Why is it that the tutorial page, at URL first shows how to define the default parameters for a column of a row in a data_set table, and then uses the function call sequence of netsnmp_set_row_column(row, 2, ASN_OCTET_

Re: WRB - Data-set Table Implementation - browsing behavior.

2004-11-30 Thread wrb
know it - my understanding is bound to be different than yours. As I have stated before, sometimes my comments directly address my own current concerns, and sometimes they are for the benefit of others. At the very least, they provide the option of alternative documentation, so as to improve both my

Re: WRB - Opening port 161 by SNMP daemon.

2004-11-23 Thread wrb
This problem was apparently caused by the interpostioning of a firewall between the host and target computers. This message should serve as a good source of information regarding communication with an agent across some telecommunication interface. WRB Original message >Date: Tue,

Re: WRB - Data-set Table Implementation - browsing behavior.

2004-11-23 Thread wrb
tion for this function exists. Also, tell me why the index cannot be *completed* as part of the operation of the function netsnmp_table_set_multi_add_default_row I argue that the default row should mean the row indexed by 1, in this case. WRB Original message >Date: Tue, 23 Nov 2004

Re: WRB - snmpd startup problems - vacm

2004-11-23 Thread wrb
Actually, I did look for spurious characters and the like, and finally opted for writing a new configuration file. The problem went away. The likely reason is some kind of file content error, though I was not able to find a specific cause. WRB Original message >Date: Tue, 23 Nov 2

Re: descriptions of mib modules in agent/mibgroup dir?

2004-11-23 Thread wrb
The is also the Net-SNMP MIB. The relevant enterprise numbers are UCDavis 2021 Net-SNMP 8072 Neither of these MIBs, UCD-SNMP and Net-SNMP, are specified via IETF RFCs. WRB Original message >Date: Tue, 23 Nov 2004 17:39:49 -0500 >From: Andy Smith <[EMAIL

WRB - Data-set Table Implementation - function call sequence.

2004-11-22 Thread wrb
As part of 802dot11 MIB implementation, there comes a point in the mib2c generated code that tables are defined and constructed. Owing to some perhaps unreasonable expectations, I am making changes to the *netsnmp_table_set_multi_add_default_row()* function call, by means of altering the parameter

(no subject)

2004-11-22 Thread wrb
Some additional data may assist to understand the *walk* problem. From the debug output comes: === Extract start === vacm:checkSubtree: , unknown trace: snmp_call_callbacks(): callback.c, 231: callback: END calling callbacks for maj=1 min=12 (1 ca

WRB - Data-set Table Implementation - browsing behavior.

2004-11-22 Thread wrb
realnetgroupv2c realnetuser viewfullviewincluded .1 access realnetgroup "" any noauth exact fullview fullview fullview syslocation "RealNet HQ" syscontact WRBuckley rwuser wrb noauth rouser brw noauth rocommunity others

Re: Snmpwalk of HOST-RESOURCES-MIB empty

2004-11-22 Thread wrb
You have not said which access control regime you are using. Have you verified that VACM/USM is properly configured for your environment? WRB Original message >Date: Mon, 22 Nov 2004 14:54:00 +0100 >From: "Mohr James" <[EMAIL PROTECTED]> >Subject: Snmpw

WRB - Big problems adding 802dot11 to snmpd.

2004-11-20 Thread wrb
/share/snmp/mibs and exported the environment variable MIBS=ALL. The first question asked by the script is which api I would like to use. The extract from my command-line output is: === Extract start === [EMAIL PROTECTE

WRB - Tutorial 5

2004-11-19 Thread wrb
Here is a documentation error that I found while, a) reviewing the code of the demo application at URL b) reviewing the documentation page at URL The err

Re: WRB - mib2c anomaly.

2004-11-19 Thread wrb
e has also recognised the benefit of my postings. I have not as of yet searched other modules for the occurance of similar *shutdown-* routines. WRB Original message >Date: Fri, 19 Nov 2004 14:05:15 -0500 >From: Robert Story (Users) <[EMAIL PROTECTED]> >Subject: Re: W

Re: WRB - Computing the next OID by an agent.

2004-11-19 Thread wrb
archives, for the benefit of those who seek to extend the agent. WRB Original message >Date: Fri, 19 Nov 2004 10:18:19 -0500 >From: Robert Story (Users) <[EMAIL PROTECTED]> >Subject: Re: WRB - Computing the next OID by an agent. >To: <[EMAIL PROTECTED]> &

Re: WRB - mib2c anomaly.

2004-11-19 Thread wrb
>Subject: Re: WRB - mib2c anomaly. >To: [EMAIL PROTECTED] >Cc: [EMAIL PROTECTED] > >> Well, Dave, I guess you caught me not being able to remember my >> own good work. > >Don't worry - you're in good company. >Wes is quite used to me throwing his own

Re: WRB - mib2c anomaly.

2004-11-19 Thread wrb
PROTECTED]> >Subject: Re: WRB - mib2c anomaly. >To: [EMAIL PROTECTED] >Cc: [EMAIL PROTECTED] > >> Well, Dave, I guess you caught me not being able to remember my >> own good work. > >Don't worry - you're in good company. >Wes is quite used to me throwin

Re: WRB - mib2c anomaly.

2004-11-19 Thread wrb
defines? Bill Original message >Date: Fri, 19 Nov 2004 10:10:03 + >From: Dave Shield <[EMAIL PROTECTED]> >Subject: Re: WRB - mib2c anomaly. >To: [EMAIL PROTECTED] >Cc: NetSNMPUsers <[EMAIL PROTECTED]> > >> Well, now I have found more p

WRB - mib2c anomaly.

2004-11-19 Thread wrb
For my last such posting of the evening (though it has turned to morning, at 2AM), I want to point out that the mib2c delivered with Net-SNMP 5.0.8 (this is the version included with the Kenati OS - and notice how the name Kenati has a pejorative sound, as in CANNOT - in this sense, I think the com

WRB - mib2c anomaly.

2004-11-19 Thread wrb
Well, I found another problem. As a good programmer should, I cleaned up the problems found with the mib2c generated code for the 802dot11 MIB, and compiled to the point of generating the daemon, snmpd. At that point, during linking, I obtained an error regarding an undefined reference to a routi

WRB - mib2c anomaly.

2004-11-19 Thread wrb
Of course, the problem with mib2c in Net-SNMP 5.1.2 occurs only in the *var-* routines, not in the *write-* routines. William R. Buckley President SoftNerd, A California Corporation Director Emeritus, International Core Wars Society [EMAIL PROTECTED] 415-240-6107

WRB - mib2c anomaly.

2004-11-19 Thread wrb
Well, now I have found more problems with mib2c in Net-SNMP 5.1.2, and this is a big one, at least from the point of view of code quality. The output from MIB compilation yields source code that does not include the *case* component of a switch statement. How could such an error go unnoticed? Or

WRB - mib2c anomaly.

2004-11-18 Thread wrb
I am working with RH9, Net-SNMP 5.1.2, and the 802.11 MIB. I notice that the output of mib2c is different, depending on use of the UCD versus NET formats. Specifically, UCD generates names and OID's that are not generated for NET. The particular case I find concerns the OID named in the MIB as R

WRB - Computing the next OID by an agent.

2004-11-18 Thread wrb
I am looking to understand the detailed process used by the Net-SNMP toolkit of computing the next OID, such as is done during a walk of a MIB. Some hints from the core developers would be much appreciated, especially if same comes with suggestions for code that I should review. William R. Buckley

Re: WRB: A seeming failure of mib2c in Net-SNMP-5.1.2

2004-11-17 Thread wrb
several blank lines where that directive ought to be shown. That is, the *figure* in the documentation is missing - it is blank. WRB Original message >Date: Wed, 17 Nov 2004 11:54:45 -0500 >From: Robert Story (Users) <[EMAIL PROTECTED]> >Subject: Re: WRB: A seeming failure

WRB - A final comment on seeming errors in mib2c.

2004-11-16 Thread wrb
OK, OK, I think I now see the problem correctly. It is not with mib2c but with AGENT.txt, as the text file is out of date. If I can get commentary on a rewrite, I offer to provide same. Are the core developers game? William R. Buckley President SoftNerd, A California Corporation Director Emerit

WRB: More on seeming mib2c failure.

2004-11-16 Thread wrb
It occurs to me that readers of my recent postings (one is pending moderator approval, since the MIB is about 113Kbytes in size) will desire to know the module format for my implementation of the 802.11 MIB. I am using the old UCD format at the present time, and so the output of mib2c is in the UC

WRB: A seeming failure of mib2c in Net-SNMP-5.1.2

2004-11-16 Thread wrb
In reading the file AGENT.txt, I notice under section 3 *The C code header file*, subsection *Module dependancies* (yes, in the file the word is misspelled), comes the first paragraph suggesting the existence of a directive, yet the place where the directive ought appear in the file is blank. I t

WRB - snmpd startup problems - vacm

2004-11-11 Thread wrb
I now am observing an error that seems comical. An extract of the log file produced by snmpd on startup will serve to demonstrate the error. The problem is reported as a bad subtree object id, upon processing of the access control portion of snmpd.conf, and I have been unable to find report of su

WRB - Opening port 161 by SNMP daemon.

2004-11-09 Thread wrb
Alright: It seems that my problem with the Kenati OS port of Net-SNMP is that the daemon produced for Kenati is not opening the UDP port (161). The Net-SNMP version supplied with Kenati is 5.0.8, the daemon is running on the target, I can walk the daemon on the target from the target but, I canno

Re: netsnmp doubt

2004-11-09 Thread wrb
Mauricio: I recommend that you read the book Windows NT SNMP, and use its examples as a means of first education regarding the use of SNMP in a Windows environment. The author of the book has done a superb job of making SNMP simple to understand, if it is a bit abridged. The book is published by

Re: some basic doubts

2004-11-09 Thread wrb
Sundeep: MIBs are not solely for the purpose of informing a master agent of the object manageable by a subagent. Indeed, MIBs to provide this information but, not in the way that your questions suggests. A MIB is an abstract description of data items and the structural relationship of each data i

WRB - Additional comments - NetSNMP512

2004-11-07 Thread wrb
I replaced the 5.0.9 distribution with 5.1.2, and observed the same problems in returning a UDP packet for a get on MIB-II:SysDescr, as passed over ethernet. On the other hand, I can fully walk the daemon from the same computer as the daemon executes upon. So, snmpwalk problem seems to be resolved

WRB - my other email address (on gmail.com)

2004-11-07 Thread wrb
Moderators and developers: Might it be possible for my gmail account to be approved for direct posting to the newsgroup, without my having to subscribe. After all, I do not need two copies of postings, one to the wrbuckley.com email, and one to the gmail account. Contact me offline, should you n

WRB - Weird problems with snmpwalk.

2004-11-05 Thread wrb
/root/wrb/WRB/net-snmp-5.0.9 [EMAIL PROTECTED] net-snmp-5.0.9]# ls acconfig.h config.cache configure-summary FAQ Makefile mkinstalldirs README README.thread temp aclocal.m4 config.guess COPYINGinclude Makefile.in net-snmp-config

Re: Problem on porting Net-SNMP to embedded device

2004-10-11 Thread wrb
Hongjun: To learn Net-SNMP, read all the documentation that comes with the tool. To learn best how to port Net-SNMP, review the postings to the newsgroup for comments on porting. You can find a few recent examples by looking for my email address in the postings of the archive. The archives also

Re: endfsent() not found in HPUX machines

2004-10-01 Thread wrb
I had a problem of similar nature with the function endfsent(), for it was not defined in the Kenati port. None of the other functions listed in the referenced email figured in complile or link time problems. The error I noticed appears in the link, in the form of a unresolved reference, to the fu

SCTE MIB Implementation.

2004-09-02 Thread wrb
This is an off-topic post. Still, the issues raised are sure to be of interest to implementors of agents, and I would very much like to receive comments. As an alternative to a table, would it be acceptable to set a selector via one OID, and based upon that selector value, get other OIDs, each wi

Net-SNMP Port to Kenati Embedded Linux

2004-09-01 Thread wrb
In making the port, I noticed a few things. 1) The file is constructed by the action of the ./configure script. This is an important fact for the Kenati port, as the definition of a defined constant results, which causes the compilation to fail. The defined constant include the string "FSTAT" (

Re: How Cross Compile Net SNMP Agent

2004-08-27 Thread wrb
Robert: Sure, I am happy to assist you with adding to the FAQ you offer. In the next few days, I will forward the collection to you. Perhaps you will be able to get he/she who maintains the Net-SNMP FAQ to include within it a link to your FAQ. This would be especially helpful if your link were

RE: How Cross Compile Net SNMP Agent

2004-08-26 Thread wrb
Steve: I think that your issue with the endianness of the target processor, such as it prompted a bit of distress with Robert Story, will perhaps come from not using a parameter with the ./configure tool. That parameter specifies the endianness of the target processor, and I suspect that use of t

Re: How Cross Compile Net SNMP Agent

2004-08-26 Thread wrb
Robert: It would have been helpful to me to have known of your FAQ when I was working to port Net-SNMP to the Kenati embedded Linux distribution. Perhaps you can extract from my postings in the last two months and add the relevant information to your FAQ. William R. Buckley Original messag

Porting Net-SNMP to the Kenati embedded Linux environment.

2004-08-18 Thread wrb
It seems that I am quite close to getting the ./configure parameters list correct. I can now get make to compile all the files, and the link stage starts. My current problem concerns undefined references, and the extract from the make follows: = Extract from make - start

Re: No response to mib browser

2004-08-18 Thread wrb
Valley: Do not post to the net-snmp-users list with html. Use only text. I suspect your answer is to be found in the FAQ. Failing that, use the net-snmp-users list archive, found on the website under the menu item lists. If you use the query function in the upper left hand corner of the lists

Porting Net-SNMP to embedded Linux environment.

2004-08-16 Thread wrb
I have explored much, and have much to offer to those other users who wish to port the Net-SNMP toolkit to some now not supported operating system. The key for my work has been being able to compile using the target tools, like a special gcc called i386-uclibc-gcc. Of course, all I care is that N

Problems with ./configure

2004-08-14 Thread wrb
I am trying to port Net-SNMP into the Kenati Linux environment. Kenati is an embedded environment, and so the toolset is being used within a host RH9 Linux distribution. As part of my effort, I am following the process outlined for ./configure, a process that is reported by Bob Ray (in his Aug 14

Re: MIB Access Permissions

2004-08-11 Thread wrb
If the OID is defined within a standard MIB that is already implemented via the Net-SNMP daemon (snmpd), then one expects the set request to be rejected by the daemon. In fact, the entire packet should be rejected, regardless of the number of varbinds contained within the packet. If the OID is no

Porting Net-SNMP to embedded Linux - Kenati

2004-08-10 Thread wrb
Additional observations are: ./agent Makefile is the correct make file for building snmpd Modification of the compiler alias CC to proper directory and executable yields a good attempt at building. Frankly, it seems to me that the gcc compiler should be sufficient. Yet, when the daemon is built

Porting Net-SNMP to embedded Linux - Kenati

2004-08-10 Thread wrb
I am trying to understand the make files for Net-SNMP, so as to port the tool to an embedded Linux environment. It is important that the build process not result in an installation of the tool to the host development environment, which is RH 9. It would be nice to avoid modifying the existing make