problem with the embedded snmpd

Goodshirly <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
hi,all :
 
I tried to embed the snmpd to a arm-linux system.But something puzzled me .I'm looking forward to your help! 
 
I've done the cross-compile work alreay,and it worked well. 
After that,i copy the snmpd.o and snmpd.conf into the arm-linux platform. 
 
but the file system in my embedded platform is "cramfs",as you know, the file system can be read only,except one directory:/tmp/yaffs on this platform. 
so i copy the snmpd.o and snmpd.conf into this directory. 
the question is : 
when i run the snmpd,it can not find the snmpd.conf. It looks like snmpd is only fond of the directory:/usr/local/share/ snmp. 
And when i use mib-browser software to get some OID's value, a error "cannot connect to remote SNMP agent" arise. 
 
And for some other reason,i can not creat a new file system for the embedded platform. 
 
How to fix this problem? Can I change the default directory where snmpd often search for its snmpd.conf? If i can,how to do is? 
 
Thanks a million! 
_________________________________________________________________
通过 Live.com 查看资讯、娱乐信息和您关心的其他信息!
http://www.live.com/getstarted.aspx

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.