(Apologies to Sandy Denny)<br>
<br>
Well, I&#39;m pretty stupid. But I have smart friends. I&#39;ve been
experimenting with radio networking on the Linksys WRT54GL. This is the
Linksys router which allows you to use openwrt ( <a href="http://openwrt.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://openwrt.org/</a> )
to do various advanced radio networking tasks. In particular, I want to
have a radio hotspot with an intro page which&#39;ll display the first time
you try to use a browser to connect to a site through it, as many coffee shops have.&nbsp; I managed to
get coova ( <a href="http://coova.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://coova.org/</a> ) loaded on the WRT54GL the first time
without difficulty, but I had some troubles and decided to go back the
the original Linksys firmware to aid in diagnosing them. That&#39;s when I
foolishly destroyed the resident kernel, probably by unplugging the
device before it had finished writing the new kernel to its
NVRAM.&nbsp; <br>
<br>
The device still responded to a ping(1) request, but I couldn&#39;t ssh(1)
to it or get any web pages off of it. Hence, it was pretty much out of
control, yet not fully bricked.&nbsp; These routers are designed to let
you use tftp to load a clean kernel in this situation. I installed the
Ubunutu Edgy Eft tftp client on my laptop, started the WRT54GL in tftp
server mode by holding down the reset key while cycling the power, and
tried to load a new kernel on it. My client said the transfer worked,
but the new kernel persistently failed to boot -- the power light kept
flashing, the &quot;dmz&quot; light never came on, and I couldn&#39;t bring any web
pages up on it.<br>
<br>
Sunday afternoon I went over to Jim&#39;s place to hang out and drink
homebrew, and I brought the recalcitrant router and my laptop with me.
We futzed around with it for a while, permanently destroying the
warranty by disassembling it, doing various arcane hardware things
(like, shorting various pins on the board to other pins) to see if we
could figure out my problemo. Much entertainment, and yet no joy.<br>
<br>
Finally, it was Jim Kinney who noticed that my tftp client had a
&quot;binary&quot; mode, but it was not the default. We switched the client to
binary, did the &quot;hold down reset key and power on&quot; thing, and then
transferred a VALID kernel onto it. The machine proceeded to write the
kernel to NVRAM, boot, display a steady power light and a steady &quot;DMZ&quot;
light, and display the linksys configuration page to my browser.&nbsp; Then I turned it off
and put it aside.<br>
<br>
Moral of the story: Make sure you&#39;re transferring binary files in binary mode (d&#39;OH!). <br>
<br>
-- CHS<br>
<br>