<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dan.forys.co.uk &#187; dlink</title>
	<atom:link href="http://dan.forys.co.uk/tag/dlink/feed/" rel="self" type="application/rss+xml" />
	<link>http://dan.forys.co.uk</link>
	<description>Dan is a web developer in London. He is interested in all things Internet, Linux and Mac.</description>
	<lastBuildDate>Fri, 22 Jan 2010 14:25:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Fixing a bricked D-Link DSL-G624T</title>
		<link>http://dan.forys.co.uk/fixing-a-bricked-d-link-dsl-g624t/</link>
		<comments>http://dan.forys.co.uk/fixing-a-bricked-d-link-dsl-g624t/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 14:25:31 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[dlink]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[modem]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[switch]]></category>

		<guid isPermaLink="false">http://danforys.com/?p=164</guid>
		<description><![CDATA[My Parents have a D-Link DSL-G624T ADSL modem/switch. Unfortunately, my brother decided to update its firmware, crashing it in the process. After a bit of remote debugging over the phone, we thought the best option was to send it to me. The symptoms were as follows: The power LED came on as normal, the status [...]]]></description>
			<content:encoded><![CDATA[<p>My Parents have a D-Link DSL-G624T ADSL modem/switch. Unfortunately, my brother decided to update its firmware, crashing it in the process. After a bit of remote debugging over the phone, we thought the best option was to send it to me.</p>
<p>The symptoms were as follows: The power LED came on as normal, the status LED was flashing as normal &#8211; indicating that it was at least booting up. The LAN link LEDs would light up when an ethernet cable was plugged in. However, its web administration panel couldn&#8217;t be reached on http://192.168.1.1 and it couldn&#8217;t be pinged either.</p>
<p>After a lot of searching, reading and failed attempts at repairing it, I have found a method to reset the firmware without the web interface. Quite why D-Link make it so awkward for their UK customers, I don&#8217;t know.<br />
<span id="more-164"></span></p>
<blockquote><p><strong>DISCLAIMER</strong> Follow these instructions at your own risk; these instructions worked for me, I make no guarantees it will work for you. </p>
<p>I did this on a revision &#8216;A&#8217; device &#8211; you&#8217;ll need to download different firmware if you have a revision &#8216;B&#8217; or &#8216;C&#8217; device. </p></blockquote>
<p>I reproduce all the steps to manually recreate the firmware update package below. For convenience, I have packaged everything up. If you use my <a href='http://danforys.com/wp-content/uploads/2010/01/D-Link-G624T-rescue.zip'>D-Link G624T rescue package</a>, you can skip straight to steps 4 and 5.</p>
<p><strong>Step 1: Download the Australian firmware package for the G604T.</strong></p>
<p>At the time of writing you can find it on <a href="ftp://files.dlink.com.au/products/DSL-G604T/REV_A/Firmware//Firmware_V2.00B12.AU_20070509_EXE/DSL-G604T_V2.00B12.AU_20070509.zip">their FTP server</a>. It&#8217;s important to get the EXE version which contains the program to reset the device.</p>
<p>Extract the .zip archive and run the program. A window will appear asking you for the device&#8217;s IP address. At this point, open an explorer window and navigate to your user&#8217;s &#8216;temp&#8217; folder (in my case C:\Documents and Settings\Dan\Local Settings\Temp &#8211; you will need to turn on &#8216;show hidden files&#8217; to see it). In here will be a randomly named folder (something like &#8216;ckz_DE0G&#8217;) with a program called TIupdate.exe in it:</p>
<p><a href="http://danforys.com/wp-content/uploads/2010/01/d-link-firmware-update.png"><img src="http://danforys.com/wp-content/uploads/2010/01/d-link-firmware-update.png" alt="" title="d-link-firmware-update" width="364" height="110" class="alignnone size-full wp-image-176" /></a></p>
<p>Take a copy of the files in the folder and put them in a folder on your desktop called &#8216;update&#8217;.  Once you&#8217;ve taken a copy, you can close the program.</p>
<p>We won&#8217;t need the Australian firmware files, so delete &#8216;config.DLinkAU_DSL-G604T.img&#8217; and &#8216;DLinkAU_DSL-G604T_singleimage_kernel_fs_V2.00B12.AU_20070509&#8242;. You should be left with the following:</p>
<blockquote><p>external_boot.bin<br />
tiupgrade.exe<br />
tiupgrade.ini<br />
tiupgrade.scp</p></blockquote>
<p><strong>Step 2: Download the UK firmware</strong></p>
<p>Grab the <a href="ftp://ftp.dlink.co.uk//dsl_routers_modems/dsl-g624t/DLinkUK-A_DSL-G624T_V3.10B01T02.UK-A.20070628.zip">latest DSL-G624T firmware</a> from the D-Link support site and extract it on your desktop.</p>
<p>From the resulting files, copy the two files inside the &#8216;image&#8217; folder into the &#8216;upgrade&#8217; folder you created previously. Also, open the mtd-4m.txt file in Notepad, you&#8217;ll need this in a moment.</p>
<p><strong>Step 3: Set the firmware uploader to use the UK firmware</strong></p>
<p>In the &#8216;upgrade&#8217; folder, open the &#8216;tiupgrade.scp&#8217; file in notepad. You should see something like the following:</p>
<blockquote><p>etenv mtd0 0&#215;90091000,0x903f0000<br />
setenv mtd1 0&#215;90010090,0&#215;90090000<br />
setenv mtd2 0&#215;90000000,0&#215;90010000<br />
setenv mtd3 0x903f0000,0&#215;90400000<br />
setenv mtd4 0&#215;90010000,0x903f0000<br />
setenv autoload 1<br />
setenv StaticBuffer 120<br />
setenv modulation MMODE<br />
setenv autoload_timeout 15<br />
setenv StaticBuffer 384<br />
setenv SW_FEATURES 0X8000<br />
reboot<br />
reconnect 3<br />
put config.DLinkAU_DSL-G604T.img mtd3<br />
put DLinkAU_DSL-G604T_singleimage_kernel_fs_V2.00B12.AU_20070509 mtd4<br />
setenv autoload_timeout 5<br />
reboot</p></blockquote>
<p>This is a script telling the firmware uploader how to apply the firmware to the router. You need to amend this with the contents of the &#8216;mtd-4m.txt&#8217; you have open. You also need to amed the two &#8216;put&#8217; lines to reflect the filenames of the UK firmware. </p>
<p>After editing it, my tiupgrade.scp looked like this: (edited lines in bold)</p>
<blockquote><p><strong>env mtd0 0x900a1000,0x903f0000<br />
setenv mtd1 0&#215;90010090,0x900a1000<br />
setenv mtd2 0&#215;90000000,0&#215;90010000<br />
setenv mtd3 0x903f0000,0&#215;90400000<br />
setenv mtd4 0&#215;90010000,0x903f0000</strong><br />
setenv autoload 1<br />
setenv StaticBuffer 120<br />
setenv modulation MMODE<br />
<strong>setenv autoload_timeout 120</strong><br />
<strong>setenv StaticBuffer 120</strong><br />
setenv SW_FEATURES 0X8000<br />
reboot<br />
reconnect 3<br />
<strong>put config.DLinkUK-A_DSL-G624T.img mtd3<br />
put DLinkUK-A_DSL-G624T_singleimage_kernel_fs_V3.10B01T02.UK-A.20070523 mtd4</strong><br />
setenv autoload_timeout 5<br />
reboot</p></blockquote>
<p>Save the file and you&#8217;re almost ready to go.</p>
<p><strong>Step 4: Set up your network</strong></p>
<p>To ensure your PC can talk to the router correctly, you need to make sure you have a static IP address on the same subnet. By default, the UK version of the router is on 192.168.1.1.</p>
<p>Go into your LAN properties: Start -> Control Panel -> Local Area Connection (or similar). Right click and choose &#8216;properties&#8217;. Double click on the &#8216;Internet Protocol (TCP/IP) in the list to bring up the IP properties. Set a static IP address on the same subnet as the router, for example:</p>
<p><a href="http://danforys.com/wp-content/uploads/2010/01/windows-networking.png"><img src="http://danforys.com/wp-content/uploads/2010/01/windows-networking-300x296.png" alt="" title="windows-networking" width="300" height="296" class="alignnone size-medium wp-image-174" /></a></p>
<p><strong>Step 5: Upload and activate the firmware</strong></p>
<p>Now for the easy bit. Plug the router into your computer with an ethernet cable and ensure the router is switched on. Run the &#8216;tiupgrade.exe&#8217; program. You should see a window like this:</p>
<p><a href="http://danforys.com/wp-content/uploads/2010/01/d-link-firmware-program.png"><img src="http://danforys.com/wp-content/uploads/2010/01/d-link-firmware-program-300x132.png" alt="" title="d-link-firmware-program" width="300" height="132" class="alignnone size-medium wp-image-175" /></a></p>
<p>Ensure the &#8216;Corrupted-image mode&#8217; checkbox is checked, then click &#8216;Next&#8217;. The program will prompt you to power-down the router, wait 10 seconds, then click &#8216;Next&#8217;. Carefully follow these instructions and the firmware update should start automatically (It takes a few minutes).</p>
<p>Once you&#8217;ve done that, the router should reboot, and hopefully work again. It will have been reset back to factory settings, so you should be able to log in at http://192.168.1.1 with username &#8216;admin&#8217; and password &#8216;admin&#8217;.</p>
<p>Good luck, I hope this helps someone!</p>
]]></content:encoded>
			<wfw:commentRss>http://dan.forys.co.uk/fixing-a-bricked-d-link-dsl-g624t/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.257 seconds -->
