-
Notifications
You must be signed in to change notification settings - Fork 73
Description
Hi
I am using the 0.9.9-dev Docsis tool to generate a working MTA. I've used this in a past with a variety of modems. There is one modem that will not work though.
I've tracked the problem down to the OID used for pktcMtaDevProvConfigHash.0
It looks like there is more than just EU/NA - IETF as well? Anyway, in docsis.c, the relevant parts for generating the OID are -
NA (Hash == 1) - This corresponds with OID .1.3.6.1.4.1.4491.2.2.1.1.2.7.0 (pktcMtaDevProvConfigHash.0 from PKTC-MTA-MIB)
{
memcpy (tlvbuf + tlvbuflen - 3, "\x0b\x28\x30\x26\x06\x0e\x2b\x06\x01\x04\x01\xa3\x0b\x02\x02\x01\x01\x02\x07\x00\x04\x14", 22);
tlvbuflen += 19;
}
EU (Hash == 2) - This corresponds with OID .1.3.6.1.4.1.7432.1.1.2.9.0 - I believe this is an Excentis MIB
{
memcpy (tlvbuf + tlvbuflen - 3, "\x0b\x26\x30\x24\x06\x0c\x2b\x06\x01\x04\x01\xba\x08\x01\x01\x02\x09\x00\x04\x14", 20);
tlvbuflen += 17;
}
There appears to be a 3rd method. The OID is
.1.3.6.1.2.1.140.1.2.11.0
It is pktcMtaDevProvConfigHash.0 from PKTC-IETF-MTA-MIB. I need to use this OID for the modem I'm working on at the moment.
I have used OID converter from
[]((http://www.rtner.de/software/oid.html)
This generated
06 0C 01 03 06 01 02 01 81 0C 01 02 0B 00
Which is getting there, but there is a prefix that changes - the suffix looks like it is always \x04\x14
How is the string generated?