MyPage

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 11:32, 23 December 2009 (edit)
Gi-minni (Talk | contribs)
(Requirements)
← Previous diff
Revision as of 11:32, 23 December 2009 (edit) (undo)
Gi-minni (Talk | contribs)
(Configuration)
Next diff →
Line 26: Line 26:
== Installation == == Installation ==
== Configuration == == Configuration ==
 +To set the nvram variable execute
 + nvram set mypage-scripts="MyPage1.asp MyPage2.asp MyPage3.asp MyPage4.asp MyPage5.asp MyPage6.asp MyPage7.asp"
 +
== Download == == Download ==
== Screenshots == == Screenshots ==
== Version history == == Version history ==

Revision as of 11:32, 23 December 2009

Contents

Introduction

The main advantage to expand the DD-WRT web interface with your own scripts is the ability to quickly see what happens with your router without opening an ssh or telnet shell and thinking around which command must be executed to see some useful results.

Many of us that use DD-WRT aren't linux aware, so it is great to have the most useful linux command executed inside a web page, just clicking a tab away.

This is possible by using the NVRAM variable mypage_scripts. Usually this variable is empty and normally you don't care about it. In this case you must set this variable to be able to see the scripts inside the web interface.

Please read carefully the next sections to understand what are the prerequisite needed and how to install and configure this pages.

Prerequisite

Look at the syntax of some useful linux commands. (See Useful Scripts)

Look how to use telnet or ssh client. (See Telnet/SSH)

Look how to setup the NVRAM variable. (See Hardware)

Requirements

The scheme of mypage_scripts is:

mypage_scripts="<page[1]> <page[2]> ... <page[n-1]> <page[n]>"

Currently there are seven scripts names MyPage1.asp, ..., MyPage7.asp.

MyPage1.asp is named Main. This script display different information about your device like device name, firmware, kernel version, memory, processes, loaded drivers.

MyPage2.asp is named WLAN

Installation

Configuration

To set the nvram variable execute

nvram set mypage-scripts="MyPage1.asp MyPage2.asp MyPage3.asp MyPage4.asp MyPage5.asp MyPage6.asp MyPage7.asp"

Download

Screenshots

Version history