Looking to edit some html setup pages for my router

canadianpsycho

Diamond Member
May 23, 2001
3,417
0
0
OK, so I want to edit the html code for one of my router's web based interface pages (trying to enable a disabled feature)

I can see the code if I "view source" in either IE or Firefox, but I can't figure out how to edit it. I usually use FlashFXP to edit html/xml for my Xbox, but not sure how I could connect and edit the router.

Any tips?
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
chances are you can't. What you need to do is edit the code and the upload the file to the flash or nvram of the router and replace the existing file. If the page is dynamic (created by perl, asp. java, etc) then you would have to modify the script. I would question doing this, as you chance of screwing up the router are pretty hefty, if you can do it at all.
 

canadianpsycho

Diamond Member
May 23, 2001
3,417
0
0
All I'm doing is trying to enable a function that is normally enabled by the router. The latest (and most stable) firmware has disabled it.

I've tried using a hex editor on the firmware, but it still doesn't let me pick the option after flashing... Viewing the source of the page post hexedit still shows the line is "removed"
 

Diaonic

Senior member
May 3, 2002
305
0
0
Can't you just connect to the router via terminal or telnet?

Ignore the gui and do your business with whatever command you want?
 

thirdlegstump

Banned
Feb 12, 2001
8,713
0
0
Dreamweaver should work. Just save the html file to your computer and edit it and then upload it to the router via ftp.
 

Steelerz37

Senior member
Feb 15, 2003
693
0
0
i think nweaver is right......i know with the linksys wrt54g routers with the 3rd party firmware the html is embedded into the firmware, you would need the source code to change this then recompile it I would imagine.
 

DarkStarSLI

Banned
Jun 16, 2005
54
0
0
I dont recommend it. I tried it once and screwed up my config page. I had to reset the whole thing again but after awhile it became annoying. Good luck man!