On Sat, 2005-06-04 at 06:39, nauhiyux xu wrote:
> rocommunity private
> rwcommunity public
> com2sec local 10.214.17.80 private
> com2sec mynetwork 10.214.17.80 public
I strongly suggest that you don't try and mix the
two styles of access control. *Either* use "r[ow]community"
*or* the com2sec/group/view/access combination.
But don't combine the two.
> when I start snmpd
> #./snmpd -c ./snmpd.conf
> #./snmpwalk -c public -v1 10.214.17.80 1
> (10.214.17.80 is the localhost ip)
> I still can't get anything,it just say timeout.
Is the agent actually receiving anything?
Try
./snmpd -f -Le -d -Dvacm -c ./snmpd.conf
(then in another terminal)
./snmpgetnext -c public -v1 10.214.17.80 .1
Does the snmpd process show any incoming requests?
What else does it display?
Dave
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders