Thanks Dave ....
        net-snmp-config use the same --prefix that i used to configure the 
net-snmp package ...
when i made the root-filesystem i kept under some temp. 
/temp/rootfilesystem/ directory and copy only the files 
under  /temp/rootfilesystem/  like /temp/rootfilesystem/usr/ and 
/temp/rootfilesystem/etc to target . 
now when i am creating the user he is writing the user information to 
/var/net-snmp/snmpd.conf but the ro/rw user information not in /etc/snmpd.conf 
because of prefix he is using the same as we gave for configuring net-snmp 
package  (net-snmp-config --prefix  /temp/rootfilesystem/etc/snmpd.conf )
any solution for this !!!!!!
Thanks 
Amit

----- Original Message ----
From: Dave Shield <[EMAIL PROTECTED]>
To: Amit Kumar <[EMAIL PROTECTED]>
Cc: [email protected]
Sent: Tuesday, 29 April, 2008 1:46:11 PM
Subject: Re: net-snmp-config on target....

2008/4/29 Amit Kumar <[EMAIL PROTECTED]>:
>  we have net-snmp-config script to create the snmpv3 users and user 
>information (Authentication/Encryption)
> get stored in our persistent configuration file (/var/net-snmp/snmpd.conf).
>  is this script is required in our target ....or our mib browser will take 
>care of that based on the toolkit (net-snmp).

The SNMPv3 users need to be created in the /var/net-snmp/snmpd.conf
file that the
remote agent will be reading (i.e. on the target system, not on the
client side).

But this is simply a text file, which you can edit in any way you wish.
You don't have to use the net-snmp-config script to do this.

Once you've got initial SNMPv3 users configured, you can use command-line tools
(such as snmpusm) to create new users remotely.  But the first batch of SNMPv3
users will need to be created on the target system itself.

Dave



      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to