Hello, its a little bit overkill u did.
com2sec local 127.0.0.1 MQT <- missing netmask com2sec mynetwork 192.168.0.0/24 MQT <- includes 0.123 com2sec local 127.0.0.1 MQT <- missing netmask com2sec mynetwork 192.168.0.123/32 MQT that are your lines. Like Robert told u each host need a netmask. Allow format are (example for 127.0.0.1): 127.0.0.1/32 or 127.0.0.1/255.255.255.255 which all the same. /32 mean all netmask bit = "1" like 255... are all bit = "1" 192.168.0.0/24 is like 192.168.0.0/255.255.255.0 (the first 24 bits = "1") means alle ip from 192.168.0.0 -> 192.168.0.255 where .0 and .255 are shouldn't use. so simple add com2sec local 127.0.0.1/32 MQT com2sec mynetwork 192.168.0.0/24 MQT should do the job aswell. Best way to see if u didnt define wrong access privilages is to setup a simple "rwcommunity test" and see if it works then (also disconnect the system from inet or use a safe community name, so noone can harm u). Be warned sysLocation.0 isnt a good place to test snmpset , because if it was set in snmpd.conf it isn't writeable ,( but this should result in a different error msg.) Im not so familar to ucd-snmp, i started with net-snmp, but it seems to support com2sec/view/access/group directives. Baumgart -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of hui gu Sent: Montag, 10. Januar 2005 03:42 To: net-snmp-users@lists.sourceforge.net Subject: Re: help : why my snmpset can't work well? hi,Robert. I now try it on net-snmp 5.1.2, com2sec local 127.0.0.1 MQT com2sec mynetwork 192.168.0.0/24 MQT and com2sec local 127.0.0.1 MQT com2sec mynetwork 192.168.0.123/32 MQT In both case,snmpset can work well on linux platform. But my uClinux bands with ucd-snmp 4.1.2 ,so I guess It maybe the problem of this vision. Is it?? For Timeout: No Response from 192.168.0.123 It may not setup the basic communication when snmpset excuted. could you give me some sugesstion? dehatty best regards --- Robert Story <[EMAIL PROTECTED]> 的正文: > On Fri, 7 Jan 2005 10:30:22 +0800 (CST) hui wrote: > HG> com2sec local 127.0.0.1 MQT > HG> com2sec mynetwork 192.168.0.123/24 MQT > > This line is not valid, and should have logged an > error. You have a host IP w/a > network mask. Change it to .0.0/24 or .0.123/32. > > -- > Robert Story; NET-SNMP Junkie > Support: <http://www.net-snmp.org/> > <irc://irc.freenode.net/#net-snmp> > Archive: > <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> > > You are lost in a twisty maze of little standards, > all different. > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the > post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt > from ThinkGeek. > It's fun and FREE -- well, > almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Net-snmp-users mailing list > Net-snmp-users@lists.sourceforge.net > Please see the following page to unsubscribe or > change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > _________________________________________________________ Do You Yahoo!? 150万曲MP3疯狂搜,带您闯入音乐殿堂 http://music.yisou.com/ 美女明星应有尽有,搜遍美图、艳图和酷图 http://image.yisou.com 1G就是1000兆,雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1 g/ ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users