Versions used on cable modem network: Difference between revisions
From D3xt3r01.tk
Jump to navigationJump to search
New page: ==WHY== I need to upgrade the software version used on most of the modems so I first need to know what's out there. Here's what I did to find out ==HOW== Category: Linux [[Category:... |
No edit summary |
||
Line 5: | Line 5: | ||
==HOW== | ==HOW== | ||
I'll get the version via snmp from the modems using this OID which should be available on most modems: | |||
.1.3.6.1.2.1.1.1.0 ( sysDescr.0 ) | |||
I'll use [[http://s-tech.elsat.net.pl/braa/ BRAA]] to get the info fast from all the network using this script. | |||
Note: I have modems on 10.0.0.0/21, 10.10.0.0/21, 10.200.0.0/21, 10.210.0.0/21 so feel free to modify to suit your needs ! | |||
<source lang="bash"> | |||
#!/bin/bash | |||
for i in {0,10,200,210} ; do | |||
for j in `seq 0 9`; do | |||
echo "Doing 10.$i.$j.0-255 now" | |||
braa -d 50 public@10.$i.$j.0-10.$i.$j.255:161:.1.3.6.1.2.1.1.1.0 | |||
done | |||
done | |||
</source> | |||
After running the script redirecting the output to a file .. I run this script to identify the versions and model name | |||
[[Category: Linux]] | [[Category: Linux]] | ||
[[Category: Cable Modem]] | [[Category: Cable Modem]] |
Revision as of 16:10, 30 June 2009
WHY
I need to upgrade the software version used on most of the modems so I first need to know what's out there. Here's what I did to find out
HOW
I'll get the version via snmp from the modems using this OID which should be available on most modems:
.1.3.6.1.2.1.1.1.0 ( sysDescr.0 )
I'll use [BRAA] to get the info fast from all the network using this script.
Note: I have modems on 10.0.0.0/21, 10.10.0.0/21, 10.200.0.0/21, 10.210.0.0/21 so feel free to modify to suit your needs !
#!/bin/bash
for i in {0,10,200,210} ; do
for j in `seq 0 9`; do
echo "Doing 10.$i.$j.0-255 now"
braa -d 50 public@10.$i.$j.0-10.$i.$j.255:161:.1.3.6.1.2.1.1.1.0
done
done
After running the script redirecting the output to a file .. I run this script to identify the versions and model name