help

胡斌 <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
hi
   I used :
              ./configure --with-mib-modules=nscrtvRoot
              make
              make install
 Running at linux Red hat ,can Get、Set OK;
 same code,use:
            ./configure --host=x86-linux --target=powerpc-linux-gnu --with-cc=powerpc-e300c3-linux-gnu-gcc --with-endianness=big --disable-debugging --enable-mini-agent --without-kmem-usage --disable-manuals --with-cflags=-Os  --without-openssl --with-out-transports=TCP  --disable-embedded-perl --disable-perl-cc-checks --without-perl-modules --with-default-snmp-version="2" --with-sys-contact="hubin309@..." --with-sys-location="China" --with-logfile="/var/log/snmpd.log" --with-persistent-directory="/var/net-snmp" --with-mib-modules="nscrtvRoot" --with-libs=-lpthread
            make
            make install
   Running at freescale 8308,"Get" can work right,but "Set" return "OnSuchName",
 It seem when received the packet,not into the "Set" deal function,It return.
Get:
Received 46 bytes from UDP: [10.0.0.226]:1567
0000: 30 2C 02 01  00 04 06 70  75 62 6C 69  63 A0 1F 02    0,.....public...
0016: 01 5D 02 01  00 02 01 00  30 14 30 12  06 0E 2B 06    .]......0.0...+.
0032: 01 04 01 81  88 01 02 04  01 01 01 00  05 00          ..............
Received SNMP packet(s) from UDP: [10.0.0.226]:1567
  GET message
    -- KINGVON-EOC-MIB::eocCBATAdminLogicalID.0
into handle
Get
Sending 53 bytes to UDP: [10.0.0.226]:1567
0000: 30 33 02 01  00 04 06 70  75 62 6C 69  63 A2 26 02    03.....public.&.
0016: 01 5D 02 01  00 02 01 00  30 1B 30 19  06 0E 2B 06    .]......0.0...+.
0032: 01 04 01 81  88 01 02 04  01 01 01 00  04 07 4B 56    ..............KV
0048: 48 30 30 33  35   
 
Set:
Received 50 bytes from UDP: [10.0.0.226]:1567
0000: 30 30 02 01  00 04 06 70  75 62 6C 69  63 A3 23 02    00.....public.#.
0016: 01 5E 02 01  00 02 01 00  30 18 30 16  06 0E 2B 06    .^......0.0...+.
0032: 01 04 01 81  88 01 02 04  01 01 01 00  04 04 35 35    ..............55
0048: 35 35                                                 55
Received SNMP packet(s) from UDP: [10.0.0.226]:1567
  SET message
    -- KINGVON-EOC-MIB::eocCBATAdminLogicalID.0
Sending 50 bytes to UDP: [10.0.0.226]:1567
0000: 30 30 02 01  00 04 06 70  75 62 6C 69  63 A2 23 02    00.....public.#.
0016: 01 5E 02 01  02 02 01 00  30 18 30 16  06 0E 2B 06    .^......0.0...+.
0032: 01 04 01 81  88 01 02 04  01 01 01 00  04 04 35 35    ..............55
0048: 35 35 
 
  why?

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox

_______________________________________________
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.