Re: Re: How to make v3 effective after porting net-snmp to embedded system
"BOMB" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Anderson, here is my configuration ./configure --host=x86-linux --target=mips-linux --with-cc=mips-linux-uclibc-gcc --with-ar=mips-linux-uclibc-ar --with-endianness=big --disable-debugging --enable-mini-agent --without-kmem-usage --disable-manuals --disable-scripts --with-cflags=-Os --with-out-transports=TCP --disable-embedded-perl --disable-perl-cc-checks --without-perl-modules --with-default-snmp-version="3" --with-sys-contact="[EMAIL PROTECTED]" --prefix="/" --sysconfdir="/etc" --with-sys-location="chandler" --with-logfile="/var/log/snmpd.log" --with-persistent-directory="/var/net-snmp" after configured, where will these defines appeare, which .h files? the extra lines added upon this command issue: net-snmp-config --create-snmpv3-user -ro -a "12345678" test adding the following line to /var/net-snmp/snmpd.conf: createUser test MD5 "12345678" DES adding the following line to /usr/local/share/snmp/snmpd.conf: rouser test Thank you BOMB 2008-12-09 发件人: dan anderson 发送时间: 2008-12-09 11:26:58 收件人: BOMB 抄送: net-snmp-users 主题: Re: How to make v3 effective after porting net-snmp to embedded system What are the exact strings you added to the config files? And did you change the default config file path (eg. with --prefix) when you ran configure before compiling? -Dan 2008/12/8 BOMB <[email protected] >: > I've ported the net-snmp v3 to a mips embedded system, after copied the libs > to target lib and modified Example.conf to /etc/snmp/snmpd.conf , issued the > snmpd, then it seems run well, I can use the tool like snmp-manager to get > the oid value, etc the simplest .1.3.6.1.2.1.1.1.0 , but I can't get the > oid via v3 protocol, though I issued the command net-snmp-config on the > target system, two extra snmpd.conf seems touched and the username inserted > in /var/net-snmp and /usr/share/snmp, but I can't get v3 oids still, the > target system response "can't find specified username" , I think maybe the > locations of two files are not right, right? then how do I configure the > right path ? > I very appreciate if some templets pasted here. > Thanks all > BOMB > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Net-snmp-users mailing list > [email protected] > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users