2291Views8Replies

Author Options:

How can I convert .bin to .img for router (OpenWRT) reflash? Answered


I am trying to get my head around installing OpenWRT on my Netgear dg834gt. I have found the hardware page, identified the correct image and downloaded it. As per instructions I attempted to pass the .bin file to the web interface, however the web interface only accepts .img files. Is there any method of converting between these presumably different formats? I could get a jtag/serial connection to the target but I'm waiting on a cable, so the Web interface would be preferable. Any help is appreciated,
Thanks in advance,
Drew

p.s. I'm a Linux user. Also, I have no idea if this is a daft question or not.

8 Replies

user
steveastrouk (author)2010-09-09

I have JUST bought some old 834s to do what you are doing. What method are you using to flash it ? Windows or Tftp ?

Steve

Select as Best AnswerUndo Best Answer

user
andy (author)steveastrouk2010-11-08

I tried windows and the program just sits there and fails. I'm going to try the TFTP method but it requires a serial port converter/level converter (I have one but it's tied up with another project at the moment).

Have you made any progress with this?
regards,
Drew

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)andy2010-11-08

You did use a wired connection didn't you ?
Steve

Select as Best AnswerUndo Best Answer

user
andy (author)steveastrouk2010-11-08

Yes, I think you have to use the wired connection (I can't find it but I could have sworn I read it somewhere - perhaps not...). I don't have any wireless connections anyway (no wifi router/usb stick). I suspect the issue is compatibility (XP sp3) or firewall related.

Do you have the "dg834gt"? You may already know, but that model has a latent USB capability. Unfortunately it requires some fine solder work to get working, the modifications needed to get the USB working are documented here.

I plan to give it a go with serial/TFTP later this week when I liberate another serial / USB chip from an old Nokia cable. I'll report back here when completed.

Drew

P.S. Sorry for the month delay to your response, it seems I am no longer getting "New Comment" email notifications and I hadn't realised.

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)andy2010-11-09

I got it with the intentions of doing the wired mods - we have the gear at work to do it easily, but I don't have the time at the moment :-(

Steve

Select as Best AnswerUndo Best Answer

user
andy (author)steveastrouk2010-11-17

Hi sorry for the delay, I'm graduating tomorrow so everything has been a bit hectic this week, I have a serial cable primed and ready I just ned to solder some connecters, probably be done before the week is out,

Drew

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)andy2010-11-09

Hey Drew,
Since you're only about 15 miles from me, if I get the stuff to do the USB hack do you fancy coming over to do it ?

Steve

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)andy2010-11-08

I haven't had a chance to try it.

Steve

Select as Best AnswerUndo Best Answer