<?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>Wuerzelchens blog &#187; asus</title>
	<atom:link href="http://www.wuerzelchen.de/tag/asus/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wuerzelchen.de</link>
	<description></description>
	<lastBuildDate>Sat, 04 Feb 2012 23:41:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Asus WL 500 gP debricking mit serieller Schnittstelle</title>
		<link>http://www.wuerzelchen.de/linux/asus-wl-500-gp-debricking-mit-serieller-schnittstelle/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.wuerzelchen.de/linux/asus-wl-500-gp-debricking-mit-serieller-schnittstelle/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 11:35:39 +0000</pubDate>
		<dc:creator>wuerzelchen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[asus]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[wl500gp]]></category>

		<guid isPermaLink="false">http://www.wuerzelchen.de/?p=90</guid>
		<description><![CDATA[Was wird ben&#246;tigt um einen seriellen Anschluss am Router zu haben? Als erstes braucht man einen TTL umwandler, der die niedrige Spannung von 3.3V in 15V umwandelt. Es gibt unterschiede bei den einzelnen Routern, der ASUS WL 500g Premium hat 3.3V. Das ist auch eines meiner Probleme gewesen. Ich habe mir nach dieser Anleitung einen [...]]]></description>
			<content:encoded><![CDATA[<p>Was wird ben&ouml;tigt um einen seriellen Anschluss am Router zu haben?<br />
Als erstes braucht man einen TTL umwandler, der die niedrige Spannung von 3.3V in 15V umwandelt.<br />
Es gibt unterschiede bei den einzelnen Routern, der ASUS WL 500g Premium hat 3.3V.<br />
Das ist auch eines meiner Probleme gewesen. Ich habe mir nach <a href="http://sodoityourself.com/max232-serial-level-converter/">dieser Anleitung</a><br />
einen TTL converter gebastelt aber nicht wirklich eine Anst&auml;ndige ausgabe auf meiner Konsole gehabt.<br />
Im #openwrt Channel auf freenode hat man mir dann mal geraten einen MAX3232 zu nehmen anstatt den MAX232. Und es hat geholfen.<br />
<span id="more-90"></span></p>
<p>Wie geht ihr vor? Ganz einfach&#8230;<br />
In meinem fall Usb->Seriell Kabel an den TTL converter anschlie&szlig;en.<br />
Den TTL converter an die serielle Schnittstelle des Routers stecken.<br />
Nun Putty anmachen und auf serial stellen mit COM3 und ner baudrate von 115200.<br />
Wenn Putty an ist, Strom an den Router und STRG + C druekcen bis in etwa soetwas kommt:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:600px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">CFE version 1.0.37 <span style="color: #000000; font-weight: bold;">for</span> BCM947XX <span style="color: #7a0874; font-weight: bold;">&#40;</span>32bit,SP,LE<span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
Build Date: ¤<span style="color: #000000; font-weight: bold;">@</span> &nbsp;<span style="color: #000000;">6</span>¤ë <span style="color: #000000;">12</span> <span style="color: #000000;">16</span>:<span style="color: #000000;">31</span>:07 CST <span style="color: #000000;">2006</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>root<span style="color: #000000; font-weight: bold;">@</span>localhost.localdomain<span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
Copyright <span style="color: #7a0874; font-weight: bold;">&#40;</span>C<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000;">2000</span>,<span style="color: #000000;">2001</span>,<span style="color: #000000;">2002</span>,<span style="color: #000000;">2003</span> Broadcom Corporation.<br />
<br />
Initializing Arena<br />
Initializing Devices.<br />
et0: Broadcom BCM47xx <span style="color: #000000;">10</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">100</span> Mbps Ethernet Controller 3.90.23.0<br />
rndis0: Broadcom USB RNDIS Network Adapter <span style="color: #7a0874; font-weight: bold;">&#40;</span>P-t-P<span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
CPU <span style="color: #7a0874; font-weight: bold;">type</span> 0x29006: 264MHz<br />
Total memory: <span style="color: #000000;">33554432</span> KBytes<br />
<br />
Total memory used by CFE: &nbsp;0x80800000 - 0x8089B670 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">636528</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
Initialized Data: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0x808317E0 - 0x80833EC0 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">9952</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
BSS Area: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0x80833EC0 - 0x80835670 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">6064</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
Local Heap: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0x80835670 - 0x80899670 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">409600</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
Stack Area: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0x80899670 - 0x8089B670 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">8192</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
Text <span style="color: #7a0874; font-weight: bold;">&#40;</span>code<span style="color: #7a0874; font-weight: bold;">&#41;</span> segment: &nbsp; &nbsp; &nbsp; 0x80800000 - 0x808317E0 <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">202720</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
Boot area <span style="color: #7a0874; font-weight: bold;">&#40;</span>physical<span style="color: #7a0874; font-weight: bold;">&#41;</span>: &nbsp; &nbsp; &nbsp;0x0089C000 - 0x008DC000<br />
Relocation Factor: &nbsp; &nbsp; &nbsp; &nbsp; I:00000000 - D:00000000<br />
<br />
Device eth0: &nbsp;hwaddr 00-<span style="color: #000000;">11</span>-<span style="color: #000000;">22</span>-<span style="color: #000000;">33</span>-<span style="color: #000000;">44</span>-<span style="color: #000000;">55</span>, ipaddr 192.168.1.1,<br />
&nbsp; &nbsp; &nbsp; &nbsp; mask 255.255.255.0 gateway not <span style="color: #000000; font-weight: bold;">set</span>, nameserver not <span style="color: #000000; font-weight: bold;">set</span><br />
Null Rescue Flag.<br />
Boot program checksum is invalid<br />
Hello<span style="color: #000000; font-weight: bold;">!!</span> Enter Rescue Mode: <span style="color: #7a0874; font-weight: bold;">&#40;</span>Check error<span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
<br />
Reading :: TFTP Server.<br />
Failed.: Interrupted<br />
CFE<span style="color: #000000; font-weight: bold;">&gt;</span> ^C</div></div>
<p>Sobal das erscheint seid ihr im CFE modus. Ihr habt jetzt eine kleine auswahl an m&ouml;glichkeiten  euren Router zu flashen. Ich habe mir, die f&uuml;r mich einfachste Variante gew&auml;hlt. Ihr k&ouml;nnt schauen ob f&uuml;r euch lieber etwas anderes in Frage kommt. <a href="http://wiki.openwrt.org/oldwiki/openwrtdocs/troubleshooting#serial.console">Wiki Openwrt</a></p>
<p>Um gleich mit eurem Router kommunizieren zu k&ouml;nnen ben&ouml;tigt ihr erst einmal die ip des Routers, entweder steht bei euch in der Konsole noch die ip da er die ganz am Anfang anzeigt oder ihr macht Folgendes. Falls ihr sie schon habt, k&ouml;nnt ihr den Schritt &uuml;berspringen.<br />
Ihr gebt einfach folgendes ein um die ip Adresse zu erhalten:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">CFE<span style="color: #000000; font-weight: bold;">&gt;</span> uci show network.lan.ipaddr<br />
network.lan.ipaddr=192.168.1.1</div></div>
<p>Nun startet ihr auf eurem Rechner einfach TFTP und versucht an die ip des Routers die Firmware zu senden.<br />
Zuerst am besten TFTP losfeuern und dann auf dem Router in den &#8220;Listenmodus&#8221; gehen, da ihr sonst eventuell mit so einem Fehler konfrontiert werdet.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">CFE<span style="color: #000000; font-weight: bold;">&gt;</span> flash <span style="color: #660033;">-noheader</span> : flash1.trx<br />
Reading :: TFTP Server.<br />
Failed.: Timeout occured<br />
<span style="color: #000000; font-weight: bold;">***</span> <span style="color: #7a0874; font-weight: bold;">command</span> status = <span style="color: #660033;">-21</span></div></div>
<p>Lieber zuerst auf dem Rechner tftp abfeuern mit:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">C:\Windows\System32<span style="color: #000000; font-weight: bold;">&gt;</span> TFTP.EXE <span style="color: #660033;">-i</span> 192.168.1.1 PUT D:\router\openwrt-brcm-<span style="color: #000000;">2.4</span>-squashfs.trx<br />
Übertragung erfolgreich: <span style="color: #000000;">2166784</span> Bytes <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000;">3</span> Sekunde<span style="color: #7a0874; font-weight: bold;">&#40;</span>n<span style="color: #7a0874; font-weight: bold;">&#41;</span>, <span style="color: #000000;">722261</span> Bytes<span style="color: #000000; font-weight: bold;">/</span>s</div></div>
<p>und dann auf dem Router empfangen mit:</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">CFE<span style="color: #000000; font-weight: bold;">&gt;</span> flash <span style="color: #660033;">-noheader</span> : flash1.trx<br />
Reading :: TFTP Server.<br />
TFTP_BLKLEN<span style="color: #000000; font-weight: bold;">!!</span><br />
Done. <span style="color: #000000;">2166784</span> bytes <span style="color: #c20cb9; font-weight: bold;">read</span><br />
Download of 0x211000 bytes completed<br />
Write kernel and filesystem binary to FLASH <span style="color: #7a0874; font-weight: bold;">&#40;</span>0xbfc40000<span style="color: #7a0874; font-weight: bold;">&#41;</span><br />
flash device <span style="color: #ff0000;">'flash1.trx'</span><br />
parseflag = <span style="color: #000000;">0</span>, the copysize is <span style="color: #000000;">2166784</span><br />
Programming...<br />
after cfe_writeblk, the copysize is <span style="color: #000000;">2166784</span>, <span style="color: #007800;">amtcopy</span>=<span style="color: #000000;">2166784</span><br />
done. <span style="color: #000000;">2166784</span> bytes written<br />
<span style="color: #000000; font-weight: bold;">***</span> <span style="color: #7a0874; font-weight: bold;">command</span> status = <span style="color: #000000;">0</span></div></div>
<p>Bei einem command status = 0 seid ihr eigentilch auf der sicheren seite und wisst dass alles glatt gelaufen ist.<br />
Jetzt k&ouml;nnt ihr wieder alles zusammen schrauben und wie gewohnt anschlie&szlig;en. Jetzt d&uuml;rfte wieder alles funktionieren.<br />

<a href='http://www.wuerzelchen.de/linux/asus-wl-500-gp-debricking-mit-serieller-schnittstelle/attachment/2009-12-16-21-36-20_edit/' title='Board von oben'><img width="150" height="150" src="http://www.wuerzelchen.de/wp-content/uploads/2010/01/2009-12-16-21.36.20_edit-150x150.jpg" class="attachment-thumbnail" alt="Board von oben" title="Board von oben" /></a>
<a href='http://www.wuerzelchen.de/linux/asus-wl-500-gp-debricking-mit-serieller-schnittstelle/attachment/2009-12-16-21-44-08/' title='2x4 Stiftleiste'><img width="150" height="150" src="http://www.wuerzelchen.de/wp-content/uploads/2010/01/2009-12-16-21.44.08-150x150.jpg" class="attachment-thumbnail" alt="2x4 Stiftleiste" title="2x4 Stiftleiste" /></a>
<a href='http://www.wuerzelchen.de/linux/asus-wl-500-gp-debricking-mit-serieller-schnittstelle/attachment/2009-12-16-21-36-37_edit/' title='Freigeloetete anschluesse'><img width="150" height="150" src="http://www.wuerzelchen.de/wp-content/uploads/2010/01/2009-12-16-21.36.37_edit-150x150.jpg" class="attachment-thumbnail" alt="Freigeloetete anschluesse" title="Freigeloetete anschluesse" /></a>
<a href='http://www.wuerzelchen.de/linux/asus-wl-500-gp-debricking-mit-serieller-schnittstelle/attachment/2009-12-16-21-51-35_edit/' title='2x4 stiftleiste eingeloetet'><img width="150" height="150" src="http://www.wuerzelchen.de/wp-content/uploads/2010/01/2009-12-16-21.51.35_edit-150x150.jpg" class="attachment-thumbnail" alt="2x4 stiftleiste eingeloetet" title="2x4 stiftleiste eingeloetet" /></a>
<a href='http://www.wuerzelchen.de/linux/asus-wl-500-gp-debricking-mit-serieller-schnittstelle/attachment/2009-12-16-22-49-19_edit/' title='Stecker an 2x4 Stiftleiste'><img width="150" height="150" src="http://www.wuerzelchen.de/wp-content/uploads/2010/01/2009-12-16-22.49.19_edit-150x150.jpg" class="attachment-thumbnail" alt="Stecker an 2x4 Stiftleiste" title="Stecker an 2x4 Stiftleiste" /></a>
<a href='http://www.wuerzelchen.de/linux/asus-wl-500-gp-debricking-mit-serieller-schnittstelle/attachment/2010-01-13-18-16-26_edit/' title='Angeschlossen von oben'><img width="150" height="150" src="http://www.wuerzelchen.de/wp-content/uploads/2010/01/2010-01-13-18.16.26_edit-150x150.jpg" class="attachment-thumbnail" alt="Angeschlossen von oben" title="Angeschlossen von oben" /></a>
<a href='http://www.wuerzelchen.de/linux/asus-wl-500-gp-debricking-mit-serieller-schnittstelle/attachment/2010-01-13-18-16-43/' title='Steckbrettaufbau'><img width="150" height="150" src="http://www.wuerzelchen.de/wp-content/uploads/2010/01/2010-01-13-18.16.43-150x150.jpg" class="attachment-thumbnail" alt="Steckbrettaufbau" title="Steckbrettaufbau" /></a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wuerzelchen.de/linux/asus-wl-500-gp-debricking-mit-serieller-schnittstelle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

