OUR NETWORK:TiVo Community TechLore Explore3DTV DVRplayground Dijit Community See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 76389.6
February 18, 2012 03:55 PM

Categories: MyOpenRouter Lounge

Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

Daniel Yount

Member
Joined: 02/18/2012

I downloaded the router firmware source and compiled it. But

I can only change the images I cant change the names of the

files add a directory or change much of anything. To make sure

I could modify it, I did change the image while keeping the same

name of the file and that worked. What do I need to do with the

original firmware to get it to register new directories and or files.

Here is the URL where I downloaded the original source code.

http://support.netgear.com/app/answers/detail/a_id/2649/~/gpl-open-source-code-for-programmers

Any pointers on modifying the original web pages will be helpful as well as understanding how the CGI stuff works.

Discussion:    Add a Comment | Comments 1-4 of 4 | Latest Comment

February 19, 2012 3:25 AM

UPDATE:
I now have gotten it to take my html files. I have to put them in the target directory www. But still cant override index.htm file.

- I can -
* add directory in that part of the tree.
* add html files of my own.

- I cant -
* change the default html file.
* execute bash CGI files.

Once I can do that, then I am good on making my own GUI space controls.
Was not for sure which httpd is being compiled and used in the tree.
As a few exit in the source and well as one prebuilt one.

February 20, 2012 6:35 PM

SECOND UPDATE:
Bricked my router. While editing the Makefile's to stop the copy to target
It kept my web server page changes, It compiled , it installed , it even
booted up and looked ok from the LED lights. But I could no longer get to
the web server nor could I reboot the router and hold reset to get the TFTP server going. Although the telnet and DNS port are up. Logging into telnet gets me a dead socket connection.

So then I had to take it apart , which I found the 6 pin serial port connections on pinout J41 also had a spot for a 12 pin JTAG on pinout 14. Looked into the JTAG software none really existed for my router and many different types existed although did not have a lot of parts resistors and printer port connector but just no software for it. So looked into the serial connector, I have a USB to serial port connector but it is the 5v DB9 , reading on it says I need to connect a MAXIM3232 to convert the voltages down to 3.3v RS323 from a 5v. Ordered the parts and waiting for them to come in. The serial version has more parts but the software is just a simple 8n1 tty connection.

February 24, 2012 8:26 AM

Got my parts for the serial port. Put it together on breadboard for now, had some garbled text from loose connections. Would not be a problem if I made a custom PCB board. Will do that once I get this process down.

I can see the boot up log and then hit enter to login to prompt and do "ls" command and move around the directories. I can plug in my USB stick to the back and mount and read it. One of the files is the original firmware. Where do I place this file for it to replace it with the current firmware?

February 24, 2012 11:58 PM

After reading some of the de-brick routines on here I found one that worked. When it boots up it gives you an option to stop in the middle of the server startup and then the final one to get console prompt. But the one that got me to boot and start tftpd was to hold down CTRL-C then turn on the router,keep holding it for a few seconds. This dropped me to the CFE> prompt.I then typed tftpd and it said started... then on the PC I sent the tftp original firmware and it then said programmed. rebooted on its own and was back to original firmware.

Discussion:    Add a Comment | Comments 1-4 of 4 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window