You need snmp on linux or download net-snmp for windows
Open command prompt and run the following for backing up your current modem
Open command prompt and run the following for backing up your current modem
Code:
# Enables Factory Mode
snmpset -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.1.2.1.2.1 s password
# Checks if Factory Mode is enabled
snmpget -v2c -c public 192.168.100.1 1.3.6.1.2.1.1.1.0
# Gets the BPI oid
snmpwalk -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.4.1.1.1.3
# Get full bpi.bin, change X on the end of this command with the oid line number with "bpi" from the previous command (example: 5)
snmpget -Ov -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.4.1.1.1.8.X > bpikey.txt
# These are the different certs (Private may be a problem but you can get this from bpikey.txt)
snmpget -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.2.2.1.0 > cmBpiPublicKey.txt
snmpget -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.2.2.2.0 > CmBpiPrivateKey.txt
snmpget -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.2.2.3.0 > cmBpiPlusRootPublicKey.txt
snmpget -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.2.2.4.0 > cmBpiPlusCmCertificate.txt
snmpget -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.2.2.5.0 > cmBpiPlusCaCertificate.txt
# Does a full snmp walk of modem to yield serial, macs, etc.
snmpwalk -v2c -c public -P d -O n 192.168.100.1 1.3.6.1.4.1.4413.2.99.1 1 > cableDataPrivateMIBGroup.txt
# Disables Factory Mode
snmpset -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.1.1.0 i 1
snmpset -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.1.1.0 i 0
# Verifies Factory Mode is disabled
snmpget -v2c -c public 192.168.100.1 1.3.6.1.2.1.1.1.0
# Reboot (optional, not needed)
snmpset -v2c -c public 192.168.100.1 1.3.6.1.2.1.69.1.1.3.0 i 1
Code:
# Whatever values you get from the previous command, replace the values in the ones bellow (without spaces with factory mode enabled)
snmpset -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.1.4.1.2.1 x 001122334455
snmpset -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.1.4.1.2.2 x 001122334455
snmpset -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.1.4.1.2.3 x 001122334455
snmpset -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.1.4.1.2.4 x 001122334455
snmpset -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.1.4.1.2.5 x 001122334455
snmpset -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.1.3.1.2.5 s SERIAL
snmpset -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.2.2.1.0 x 308100000000000000
snmpset -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.2.2.2.0 x 00000000000000000000
snmpset -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.2.2.3.0 x 308200000000000000000
snmpset -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.2.2.4.0 x 308200000000000000000
snmpset -v2c -c public 192.168.100.1 1.3.6.1.4.1.4413.2.99.1.1.2.2.2.5.0 x 308200000000000000000