Transfering files from Netgear DG834xx

After one month of absence, I have something interesting that will save you some time if you decide to play with alternative firmware, modifications and Netgear routers.

It’s really quick. If you need to transfer files from the router to your pc or elsewhere:

1) Login to the router via telnet or ssh connection
2) Start a new mini_httpd server on port 81 and on /tmp directory (the only writable directory, it’s the ramdisk)

./usr/sbin/mini_httpd -p 81 -d /tmp -t 1

3) Copy files from other directories to the /tmp folder
4) Give http://192.168.0.1:81/filename to your browser and save the file to your local disk.

I tested it only on a DG834pn but it should work with any router with a telnet/ssh interface and mini_httpd.

Some references:
1. http://www2.research.att.com/sw/download/man/man8U/mini_httpd.html
2. http://ss64.com/bash/

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


SmileBig SmileGrinLaughFrownBig FrownCryNeutralWinkKissRazzChicCoolAngryReally AngryConfusedQuestionThinkingPainShockYesNo