<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Installing OpenWRT On The GT-704WG</title>
	<atom:link href="http://hackingwithgum.com/2009/09/17/installing-openwrt-on-the-actiontec-gt-704wg/feed/" rel="self" type="application/rss+xml" />
	<link>http://hackingwithgum.com/2009/09/17/installing-openwrt-on-the-actiontec-gt-704wg/</link>
	<description>A Hardware Hacking Blog</description>
	<lastBuildDate>Thu, 22 Jul 2010 22:27:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Bobby</title>
		<link>http://hackingwithgum.com/2009/09/17/installing-openwrt-on-the-actiontec-gt-704wg/comment-page-1/#comment-156550</link>
		<dc:creator>Bobby</dc:creator>
		<pubDate>Tue, 20 Apr 2010 03:32:38 +0000</pubDate>
		<guid isPermaLink="false">http://hackingwithgum.com/?p=206#comment-156550</guid>
		<description>This command did the trick...

quote SETENV mtd5,0x90010000,0x903e0000

and this...

put “openwrt-ar7-squashfs.bin” “openwrt-ar7-squashfs.bin mtd5”</description>
		<content:encoded><![CDATA[<p>This command did the trick&#8230;</p>
<p>quote SETENV mtd5,0&#215;90010000,0x903e0000</p>
<p>and this&#8230;</p>
<p>put “openwrt-ar7-squashfs.bin” “openwrt-ar7-squashfs.bin mtd5”</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://hackingwithgum.com/2009/09/17/installing-openwrt-on-the-actiontec-gt-704wg/comment-page-1/#comment-113681</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Wed, 27 Jan 2010 19:45:49 +0000</pubDate>
		<guid isPermaLink="false">http://hackingwithgum.com/?p=206#comment-113681</guid>
		<description>I was finally able to get OpenWRT flashed to my GT-704WG. From monitoring the serial console I was able to determine that the FTP transfer would start at a good speed, but then slow to a crawl. Sometimes it would transfer quite a bit before it slowed down (evidenced by many dots on the console showing progress of the flash process).  By using &quot;dm&quot; to see how far the flash had made it before slowing down I was able to break up my transfer, starting the next stage after the last chunk that was already in flash. I created a new mtd6 variable using &quot;setenv&quot; and gave it a range beginning where the transfer had ended (rounded down to the prior block boundary, i.e. 0x90XX0000), then rebooted the router into adam2 and restarted the FTP connection.  I would then put the remaining chuck of the openwrt image using &#039;put openwrt-partx.bin &quot;fs mtd6&quot;&#039;, and see how far that made it.  If I didn&#039;t get at least 4 dots before it slowed down, I would reboot the router and try again. After many restarts and a total of 5 seperate uploads the last chunk made it to the router. I then cleaned up the mtd6 variable and rebooted the router, and OpenWRT came up.

Whew!</description>
		<content:encoded><![CDATA[<p>I was finally able to get OpenWRT flashed to my GT-704WG. From monitoring the serial console I was able to determine that the FTP transfer would start at a good speed, but then slow to a crawl. Sometimes it would transfer quite a bit before it slowed down (evidenced by many dots on the console showing progress of the flash process).  By using &#8220;dm&#8221; to see how far the flash had made it before slowing down I was able to break up my transfer, starting the next stage after the last chunk that was already in flash. I created a new mtd6 variable using &#8220;setenv&#8221; and gave it a range beginning where the transfer had ended (rounded down to the prior block boundary, i.e. 0x90XX0000), then rebooted the router into adam2 and restarted the FTP connection.  I would then put the remaining chuck of the openwrt image using &#8216;put openwrt-partx.bin &#8220;fs mtd6&#8243;&#8216;, and see how far that made it.  If I didn&#8217;t get at least 4 dots before it slowed down, I would reboot the router and try again. After many restarts and a total of 5 seperate uploads the last chunk made it to the router. I then cleaned up the mtd6 variable and rebooted the router, and OpenWRT came up.</p>
<p>Whew!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://hackingwithgum.com/2009/09/17/installing-openwrt-on-the-actiontec-gt-704wg/comment-page-1/#comment-113045</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Tue, 26 Jan 2010 22:47:39 +0000</pubDate>
		<guid isPermaLink="false">http://hackingwithgum.com/?p=206#comment-113045</guid>
		<description>I&#039;m seeing the same issues as John. Over FTP the STOR command returns the &quot;550 Data Socket not ready&quot; response. Using PUT results in a REALLY slow transfer, even if I ensure that PASSIVE is turned off before the PUT command.

On a serial console I can see that a section of the flash is erased immediately after the PUT command is issued. When the erase completes, the FTP client shows that the binary transfer started. I can also use &quot;dm&quot; from the serial console to see how much of the mtd5 memory area has been written so far, and it goes very, very slowly. 

Based on some settings I found in one of the update tools available on the web I used the serial console to &quot;setenv StaticBuffer 128&quot;, which seemed to speed things up quite a bit, but it still looks like it would take several days to finish. 

What FTP clients have been used successfully to use the STOR command?</description>
		<content:encoded><![CDATA[<p>I&#8217;m seeing the same issues as John. Over FTP the STOR command returns the &#8220;550 Data Socket not ready&#8221; response. Using PUT results in a REALLY slow transfer, even if I ensure that PASSIVE is turned off before the PUT command.</p>
<p>On a serial console I can see that a section of the flash is erased immediately after the PUT command is issued. When the erase completes, the FTP client shows that the binary transfer started. I can also use &#8220;dm&#8221; from the serial console to see how much of the mtd5 memory area has been written so far, and it goes very, very slowly. </p>
<p>Based on some settings I found in one of the update tools available on the web I used the serial console to &#8220;setenv StaticBuffer 128&#8243;, which seemed to speed things up quite a bit, but it still looks like it would take several days to finish. </p>
<p>What FTP clients have been used successfully to use the STOR command?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://hackingwithgum.com/2009/09/17/installing-openwrt-on-the-actiontec-gt-704wg/comment-page-1/#comment-102041</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Thu, 14 Jan 2010 02:49:05 +0000</pubDate>
		<guid isPermaLink="false">http://hackingwithgum.com/?p=206#comment-102041</guid>
		<description>Your FTP client is likely going into passive mode by default; adam2, for whatever reason, doesn&#039;t like this. Make sure your FTP client is not in passive mode before you upload the file to adam2.

Also, I noticed that the local file names you used for the STOR and PUT commands were different; try using the STOR command, but instead of &quot;openwrt-ar7-squashfs.bin&quot;, use &quot;openwrt-ar7-2.4-squashfs.bin&quot; (or whatever the file is named on your hard drive). The STOR command *should* work.</description>
		<content:encoded><![CDATA[<p>Your FTP client is likely going into passive mode by default; adam2, for whatever reason, doesn&#8217;t like this. Make sure your FTP client is not in passive mode before you upload the file to adam2.</p>
<p>Also, I noticed that the local file names you used for the STOR and PUT commands were different; try using the STOR command, but instead of &#8220;openwrt-ar7-squashfs.bin&#8221;, use &#8220;openwrt-ar7-2.4-squashfs.bin&#8221; (or whatever the file is named on your hard drive). The STOR command *should* work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://hackingwithgum.com/2009/09/17/installing-openwrt-on-the-actiontec-gt-704wg/comment-page-1/#comment-98871</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sun, 10 Jan 2010 16:42:27 +0000</pubDate>
		<guid isPermaLink="false">http://hackingwithgum.com/?p=206#comment-98871</guid>
		<description>In case I confused anyone, I did use mtd5 in the put command and not mtdX</description>
		<content:encoded><![CDATA[<p>In case I confused anyone, I did use mtd5 in the put command and not mtdX</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://hackingwithgum.com/2009/09/17/installing-openwrt-on-the-actiontec-gt-704wg/comment-page-1/#comment-98867</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sun, 10 Jan 2010 16:41:15 +0000</pubDate>
		<guid isPermaLink="false">http://hackingwithgum.com/?p=206#comment-98867</guid>
		<description>Hopefully someone can help me out on this...

I was trying to put OpenWRT on my GT704WG router.  I&#039;ve never tried hacking a router before, so I&#039;m new to all this, but this was an extra one lying around, so I don&#039;t really care if I brick it.

I was following the steps in the blog post, but I left out: 

quote SETENV MAC_PORT,0

So I started over, running that command this time, and when I got to: 

quote STOR openwrt-ar7-squashfs.bin mtd5

it gave me an error:

550 Data Socket not ready.

So I tried the command listed in the 701WG&#039;s instructions on openwrt.org:

put &quot;openwrt-ar7-2.4-squashfs.bin&quot; &quot;openwrt-ar7-2.4-squashfs.bin mtdX&quot;

Now the response I got was:
200 Port command successful
150 Opening BINARY mode data connection for file transfer

And it just hung there.  I quit the transfer several hours later, and it said about 100K had been transfered, which I&#039;m guessing means it was in passive mode according to the blog - although I&#039;m not sure what that means.

I&#039;ve tried many times now to see if I could get this to work, and now, I&#039;m convinced it&#039;s beyond hope.  But I can still access the adam2 bootloader, so if anyone has any ideas for me to try, I&#039;m all ears.  Thanks.</description>
		<content:encoded><![CDATA[<p>Hopefully someone can help me out on this&#8230;</p>
<p>I was trying to put OpenWRT on my GT704WG router.  I&#8217;ve never tried hacking a router before, so I&#8217;m new to all this, but this was an extra one lying around, so I don&#8217;t really care if I brick it.</p>
<p>I was following the steps in the blog post, but I left out: </p>
<p>quote SETENV MAC_PORT,0</p>
<p>So I started over, running that command this time, and when I got to: </p>
<p>quote STOR openwrt-ar7-squashfs.bin mtd5</p>
<p>it gave me an error:</p>
<p>550 Data Socket not ready.</p>
<p>So I tried the command listed in the 701WG&#8217;s instructions on openwrt.org:</p>
<p>put &#8220;openwrt-ar7-2.4-squashfs.bin&#8221; &#8220;openwrt-ar7-2.4-squashfs.bin mtdX&#8221;</p>
<p>Now the response I got was:<br />
200 Port command successful<br />
150 Opening BINARY mode data connection for file transfer</p>
<p>And it just hung there.  I quit the transfer several hours later, and it said about 100K had been transfered, which I&#8217;m guessing means it was in passive mode according to the blog &#8211; although I&#8217;m not sure what that means.</p>
<p>I&#8217;ve tried many times now to see if I could get this to work, and now, I&#8217;m convinced it&#8217;s beyond hope.  But I can still access the adam2 bootloader, so if anyone has any ideas for me to try, I&#8217;m all ears.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://hackingwithgum.com/2009/09/17/installing-openwrt-on-the-actiontec-gt-704wg/comment-page-1/#comment-27635</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Wed, 07 Oct 2009 01:40:28 +0000</pubDate>
		<guid isPermaLink="false">http://hackingwithgum.com/?p=206#comment-27635</guid>
		<description>Thanks Bobby! It actually wasn&#039;t very difficult, so I&#039;m looking at working on a couple other ActionTec routers in the near future.</description>
		<content:encoded><![CDATA[<p>Thanks Bobby! It actually wasn&#8217;t very difficult, so I&#8217;m looking at working on a couple other ActionTec routers in the near future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bobby</title>
		<link>http://hackingwithgum.com/2009/09/17/installing-openwrt-on-the-actiontec-gt-704wg/comment-page-1/#comment-26890</link>
		<dc:creator>Bobby</dc:creator>
		<pubDate>Tue, 06 Oct 2009 00:27:02 +0000</pubDate>
		<guid isPermaLink="false">http://hackingwithgum.com/?p=206#comment-26890</guid>
		<description>Final, Somebody did it!!!!

Great work!</description>
		<content:encoded><![CDATA[<p>Final, Somebody did it!!!!</p>
<p>Great work!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
