You are on page 1of 7

<html xmlns:o="urn:schemas-microsoft-com:office:office"

xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=windows-1252">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List
href="./How%20to%20uncap%20Docsis%20compliant%20Cable%20Modems_files/filelist.xm
l">
<title>How to uncap Docsis compliant Cable Modems</title>
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<style>
<!-/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;
mso-font-charset:2;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:536871559 0 0 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
mso-bidi-font-size:12.0pt;
font-family:Verdana;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";}
h1
{mso-style-next:Normal;
margin-top:12.0pt;
margin-right:0in;
margin-bottom:3.0pt;
margin-left:0in;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:1;
font-size:16.0pt;
font-family:Arial;
mso-font-kerning:16.0pt;}
h2
{mso-style-next:Normal;

margin-top:12.0pt;
margin-right:0in;
margin-bottom:3.0pt;
margin-left:0in;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:2;
font-size:14.0pt;
font-family:Arial;
font-style:italic;}
h3
{mso-style-next:Normal;
margin-top:12.0pt;
margin-right:0in;
margin-bottom:3.0pt;
margin-left:0in;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:3;
font-size:13.0pt;
font-family:Arial;}
h4
{mso-style-next:Normal;
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
page-break-after:avoid;
mso-outline-level:4;
font-size:8.0pt;
mso-bidi-font-size:12.0pt;
font-family:Verdana;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:1055161411;
mso-list-type:hybrid;
mso-list-template-ids:-625158534 67698703 67698713 67698715 67698703 676
98713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l1
{mso-list-id:1172792656;
mso-list-type:hybrid;

mso-list-template-ids:-305369592 67698703 67698713 67698715 67698703 676


98713 67698715 67698703 67698713 67698715;}
@list l1:level1
{mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;}
@list l2
{mso-list-id:1394769569;
mso-list-type:hybrid;
mso-list-template-ids:-2081504998 67698703 67698713 67698715 67698703 67
698713 67698715 67698703 67698713 67698715;}
@list l2:level1
{mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>
<div class=Section1>
<h1>How to uncap Docsis compliant Cable Modems</h1>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>There are usually two network configurations. (1) The PC is
directly connected to the cable modem. (2) The PC is connected to a NAT router,
whose WAN port is then in turn connected to the cable modem. All of the followin
g
steps apply to both cases, except the final one that deals with TFTP. I ll
explain the issues with this later.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Every time the cable modem is powered on, it looks in its
configuration file for the address of an TFTP server and for a file name. This
file is the Docsis configuration file that, among other things, sets a cap for
the modem s download/upload bandwidth. The cable modem then retrieves that file
and connects to the backbone.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>How do we uncap it? Simple. We ll download the docsis config
file, edit it to change the cap parameters, then trick the cable modem in
thinking our PC is the TFTP server so it then retrieves our copy of the docsis
file.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>There s a bit of work involved for this. First, we have to
find out the TFTP server and file name used by the cable modem. For this we can
use the docsisDiag utility (<a
href="http://homepage.ntlworld.com/robin.d.h.walker/docsdiag/docsdiag.zip">http:
//homepage.ntlworld.com/robin.d.h.walker/docsdiag/docsdiag.zip</a>).

This application, along with all others, is included in the <a


href="http://www.netwide.net/users/CableGuy/CableUnCap.zip">CableUnCap.zip</a>
file. Run <b>docsdiag.bat</b>. It uses SNMP to return many of the modem s
parameters. Among these, the one we need are:</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
background:yellow;mso-highlight:yellow'>Configuration TFTP Server<span
style='mso-tab-count:1'> </span>= 24.56.78.90 (replace this with yours
throughout in the doc)<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt;
background:yellow;mso-highlight:yellow'>Configuration filename<span
style='mso-tab-count:1'> </span>= isrr.bin (replace this with yours
throughout in the doc)</span><span style='font-size:8.0pt;mso-bidi-font-size:
12.0pt'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt'><![if
!supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:8.0pt;mso-bidi-font-size:12.0pt'>And<o
:p></o:p></span></p>
<p class=MsoNormal style='tab-stops:1.75in'><span style='font-size:8.0pt;
mso-bidi-font-size:12.0pt'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p>
</span></p>
<p class=MsoNormal style='tab-stops:1.75in'><span style='font-size:8.0pt;
mso-bidi-font-size:12.0pt;background:yellow;mso-highlight:yellow'>IP fragments
created<span style='mso-tab-count:1'> </span>= 0<o:p></o:p></span></p>
<p class=MsoNormal style='tab-stops:1.75in'><span style='font-size:8.0pt;
mso-bidi-font-size:12.0pt;background:yellow;mso-highlight:yellow'>IP
address.10.xxx.xxx.xxx<span style='mso-tab-count:1'> </span>= 10.xxx.xxx.xxx<o:p></
o:p></span></p>
<h4 style='tab-stops:1.75in'><span style='background:yellow;mso-highlight:yellow
'>IP
address.192.168.100.1<span style='mso-tab-count:1'> </span>= 192.168.100.1 <span
style="mso-spacerun: yes"></span></span><span style='background:yellow;
mso-highlight:yellow;font-weight:normal'>(the IP address of the cable modem,
(replace this with yours throughout in the doc)</span><span style='background:
yellow;mso-highlight:yellow'><o:p></o:p></span></h4>
<p class=MsoNormal style='tab-stops:1.75in'><span style='font-size:8.0pt;
mso-bidi-font-size:12.0pt;background:yellow;mso-highlight:yellow'>IP-to-If-index
.10.xxx.xxx.xxx<span
style='mso-tab-count:1'> </span>= 2</span></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>This application works as is in many cases. If not, please
refer to the <b>DocsDiag - DOCSIS cable modem diagnostics.htm</b> file in the
same directory. It has a lot of help on how to make it work for different
modems.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Note that you might now go to <a href="http://192.168.100.1/"

>http://192.168.100.1</a>
and see some of you modem s parameters.</p>
<p class=MsoNormal><b><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></b><
/p>
<p class=MsoNormal>Now from a DOS prompt type:</p>
<p class=MsoNormal><b>tftp -i 24.56.78.90 GET isrr.bin<o:p></o:p></b></p>
<p class=MsoNormal><span style="mso-spacerun: yes"></span></p>
<p class=MsoNormal>You just downloaded the docsis configuration file from your
ISP. Now it s time to edit it to change the modem s cap. This is done by using
the Cisco Docsis configuration software in the docsisConfig directory (also
available from <a
href="http://www.cisco.com/warp/public/109/docsis_config2.shtml">http://www.cisc
o.com/warp/public/109/docsis_config2.shtml</a>).
Before running <b>ConfigEdit.bat</b> you ll need to edit it and follow the
instructions contained there. Then execute ConfigEdit.bat and open the .bin
file you TFTP'd. Go to the &quot;Class of Service&quot; tab. Voila'. Change the
Max DS Rate to 7MB (mine doesn't seem to go higher). Save. </p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>We will now need to have the cable modem think we are the
ISP and retrieve our version of the file by running our own TFTP server.</p>
<p class=MsoNormal><span style="mso-spacerun: yes"></span></p>
<p class=MsoNormal>How?</p>
<p class=MsoNormal><span style="mso-spacerun: yes"></span></p>
<p class=MsoNormal>This is the point where our network configuration is
important. Here are the two cases. Both assume we re running Windows 2000.</p>
<h3 style='margin-left:.5in;text-indent:-.25in;mso-list:l2 level1 lfo3;
tab-stops:list .5in'><![if !supportLists]>1.<span style='font:7.0pt "Times New R
oman"'>&nbsp;&nbsp;&nbsp;&nbsp;
</span><![endif]>PC Directly Connected to Cable Modem</h3>
<p class=MsoNormal style='margin-left:.5in'>Configure your PC s TCP settings
for:</p>
<p class=MsoNormal style='margin-left:.5in'><![if !supportEmptyParas]>&nbsp;<![e
ndif]><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'>IP: 24.56.78.90<span
style="mso-spacerun: yes"> </span>(replace with the ISP s tftp server)</p>
<p class=MsoNormal style='margin-left:.5in'>Netmask: 255.255.255.0</p>
<p class=MsoNormal style='margin-left:.5in'>Gateway: 192.168.100.1<span
style="mso-spacerun: yes"> </span>(replace with your cable modem s IP address)</p>
<p class=MsoNormal style='margin-left:.5in'><span style="mso-spacerun:
yes"></span></p>
<p class=MsoNormal style='margin-left:.5in'>don't worry about the DNS...</p>

<p class=MsoNormal style='margin-left:.5in'><![if !supportEmptyParas]>&nbsp;<![e


ndif]><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'>When it's done change your TCP
settings to use DHCP again, without. Check <a href="http://192.168.100.1/">http:
//192.168.100.1/</a>
or with the docsDiag utility. Your speed limit should now be updated. </p>
<h3 style='margin-left:.5in;text-indent:-.25in;mso-list:l2 level1 lfo3;
tab-stops:list .5in'><![if !supportLists]>2.<span style='font:7.0pt "Times New R
oman"'>&nbsp;&nbsp;&nbsp;&nbsp;
</span><![endif]><span style="mso-spacerun: yes"></span>PC <span
style='font-family:Wingdings;mso-ascii-font-family:Arial;mso-hansi-font-family:
Arial;mso-char-type:symbol;mso-symbol-font-family:Wingdings'><span
style='mso-char-type:symbol;mso-symbol-font-family:Wingdings'></span></span>
NAT Router<span style="mso-spacerun: yes"> </span><span style='font-family:
Wingdings;mso-ascii-font-family:Arial;mso-hansi-font-family:Arial;mso-char-type:
symbol;mso-symbol-font-family:Wingdings'><span style='mso-char-type:symbol;
mso-symbol-font-family:Wingdings'></span></span> Cable Modem</h3>
<p class=MsoNormal style='margin-left:.5in'>Set your Router not to use DHCP but
to use:</p>
<p class=MsoNormal style='margin-left:.5in'>IP: 24.56.78.90<span
style="mso-spacerun: yes"> </span>(replace with the ISP s tftp server)</p>
<p class=MsoNormal style='margin-left:.5in'>Netmask: 255.255.255.0</p>
<p class=MsoNormal style='margin-left:.5in'>Gateway: 192.168.100.1<span
style="mso-spacerun: yes"> </span>(replace with your cable modem s IP address)</p>
<p class=MsoNormal style='margin-left:.5in'><![if !supportEmptyParas]>&nbsp;<![e
ndif]><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'>You ll now have to configure the
Router to send all traffic to your PC. LinkSys does this by configuring your PC
for the DMZ setting. Other routers may be different. All that should be needed
is to either forward all external traffic to your PC or to make your PC visible
to the other side of the firewall.</p>
<p class=MsoNormal style='margin-left:.5in'><![if !supportEmptyParas]>&nbsp;<![e
ndif]><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'>Configure your PC with a static IP
address in a range used by your router. Ex. If your router is at 192.168.1.1
then configure your PC for:</p>
<p class=MsoNormal style='margin-left:.5in'>IP: 192.168.1.100</p>
<p class=MsoNormal style='margin-left:.5in'>Netmask: 255.255.255.0</p>
<p class=MsoNormal style='margin-left:.5in'>Gateway: 192.168.1.1</p>
<p class=MsoNormal style='margin-left:.5in'><![if !supportEmptyParas]>&nbsp;<![e
ndif]><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'>Now add an additional IP address to
the TCP settings in your PC:</p>

<p class=MsoNormal style='margin-left:.5in'>IP: 24.56.78.90<span


style="mso-spacerun: yes"> </span>(replace with the ISP s tftp server)</p>
<p class=MsoNormal style='margin-left:.5in'>Netmask: 255.255.255.0</p>
<p class=MsoNormal style='margin-left:.5in'><![if !supportEmptyParas]>&nbsp;<![e
ndif]><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'>don't worry about the DNS...</p>
<p class=MsoNormal style='margin-left:.5in'><![if !supportEmptyParas]>&nbsp;<![e
ndif]><o:p></o:p></p>
<p class=MsoNormal style='margin-left:.5in'>This is done because you ll have to
tell you TFTP server to listen on the latter address.</p>
<p class=MsoNormal style='margin-left:.5in'><![if !supportEmptyParas]>&nbsp;<![e
ndif]><o:p></o:p></p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>You shouldn't have to reboot. Place your modified copy of
the isrr.bin (replace this with your name) in the tftpd directory (also
available at <a href="ftp://ftp.ida.net/pub/wireless/tftpd32.exe">ftp://ftp.ida.
net/pub/wireless/tftpd32.exe</a>).
If in your case the docsdiag showed it inside a subdirectrory you'll have to
create one here. Start tftpd32 server. Go to Settings and set the Security to
None. Increase the timeout to 20secs and the Max Retransmit to 6. Choose to
translate Unix filenames. Make sure it's base directory point to where the
isrr.bin is. Ok it. If you fall in case (2) make sure you set 24.56.78.90 IP
address in the Server Interfaces.</p>
<p class=MsoNormal><span style="mso-spacerun: yes"></span></p>
<p class=MsoNormal>Now power off the cable modem (I usually wait a few seconds
just to be sure) and then power it back on. After the traffic lights blinks the
first time you should see that your tftp server is sending it your file...!</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>Now reconfigure your Router for DHCP (if case 2), and then
reconfigure your PC to DHCP.</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>You re done!</p>
<p class=MsoNormal><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
<p class=MsoNormal>You ll have to repeat this procedure every time the modem is
powered off.</p>
</div>
</body>
</html>

You might also like