C:\docsis>docsis.bat -e rogers02.cfg keyfile rogers00.cfg
Unrecognized char "=" at line 12
I've managed to get that far but I was stopped in my tracks, does anybody know how I could get around this, or if theres something I could do to get this working....this is what the config file looks like:
SnmpMibObject .18.104.22.168.22.214.171.124.126.96.36.199 = IpAddress: 255.255.255.255
SnmpMibObject .188.8.131.52.184.108.40.206.220.127.116.11 = IpAddress: 0.0.0.0
SnmpMibObject .18.104.22.168.22.214.171.124.126.96.36.199 = "phsrctac"
I've tried the same thing on a linux box and had the same results.
Entering state 6
Reading a token: Next token is 262 (T_IDENT_SNMPSET)
Shifting token 262 (T_IDENT_SNMPSET), Entering state 5
Reading a token: Next token is 263 (T_OID)
Shifting token 263 (T_OID), Entering state 18
Reading a token: Unrecognized char "=" at line 13
The current output can't be fedback into the input. The SNMP statements you have look like the output from the docsis tool.
I have source modifications to the snmp parsing that make it generate almost cyclable output that can be fedback to the input.
Please read the README. docsis cannot encode the files it has decoded itself if they contain SNMP settings. This is because we wanted a very "clean" file format for encoding but we couldn't get ucd-snmp to print out the required format.
Anyway, if you remove the "=" and change some other small things you will end up with an "encodable" file.
Log in to post a comment.