Hardware
From DD-WRT Wiki
(Difference between revisions)
Revision as of 12:19, 14 October 2006 (edit) Atzekalle (Talk | contribs) m (linksysinfo.org links) ← Previous diff |
Revision as of 20:50, 22 March 2018 (edit) (undo) Jeremywh7 (Talk | contribs) m (→NVRAM) Next diff → |
||
(22 intermediate revisions not shown.) | |||
Line 1: | Line 1: | ||
+ | {{Languages|Hardware}} | ||
__toc__ | __toc__ | ||
- | == | + | ==NVRAM== |
+ | NVRAM (non-volatile RAM) also called flash space is the place where the permanent settings are stored. This includes | ||
+ | :* DD-WRT settings that you normally change using [[Web Interface]] | ||
+ | :* settings for user [[Startup Scripts]] | ||
- | + | You can run the following commands using [[Telnet/SSH and the Command Line|Command Line]]: | |
- | + | ||
- | + | *Show the whole NVRAM content: | |
- | + | nvram show | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | *Show NVRAM content containing the pattern <search_pattern> (useful for quickly finding things in NVRAM): | |
- | + | nvram show | grep <search_pattern> | |
+ | :Replace <replace_pattern> with what you are actually looking for. This can simply be a word or a [http://en.wikipedia.org/wiki/Regular_expression regular expression] | ||
- | + | *Show value of a certain variable: | |
- | + | nvram get <variable_name> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | *Change variable value ''in RAM only'': | |
+ | nvram set <variable_name>="<value>" | ||
+ | :(Quotes not needed for numeric/boolean values, needed for texts like <code>192.168.1.1</code> or <code>443 8080</code> or <code>sometext</code>). | ||
+ | :Now you can play with the new settings or test user scripts but this new value will be lost after reboot unless you do <code>nvram commit</code>. | ||
- | + | *Delete a variable (and its value). Useful when you made a typo in <code><variable_name></code> above: | |
+ | nvram unset <variable_name> | ||
- | + | *Save all changed variables to NVRAM: | |
+ | nvram commit | ||
+ | Reboot the router for new settings in NVRAM to go into effect. | ||
- | + | *To erase the nvram block when running DD-WRT: | |
+ | erase nvram | ||
+ | *To erase nvram in the Broadcom CFE (bootloader): | ||
+ | nvram erase | ||
+ | *These are often confused! | ||
- | + | ==Boardflags== | |
- | + | ||
- | + | ||
- | + | /* boardflags */ | |
- | + | #define BFL_BTCOEXIST 0x0001 /* This board implements Bluetooth coexistance */ | |
+ | #define BFL_PACTRL 0x0002 /* This board has gpio 9 controlling the PA */ | ||
+ | #define BFL_AIRLINEMODE 0x0004 /* This board implements gpio13 radio disable indication */ | ||
+ | #define BFL_ENETROBO 0x0010 /* This board has robo switch or core */ | ||
+ | #define BFL_CCKHIPWR 0x0040 /* Can do high-power CCK transmission */ | ||
+ | #define BFL_ENETADM 0x0080 /* This board has ADMtek switch */ | ||
+ | #define BFL_ENETVLAN 0x0100 /* This board has vlan capability */ | ||
+ | #define BFL_AFTERBURNER 0x0200 /* This board supports Afterburner mode */ | ||
+ | #define BFL_NOPCI 0x0400 /* This board leaves PCI floating */ | ||
+ | #define BFL_FEM 0x0800 /* This board supports the Front End Module */ | ||
+ | #define BFL_EXTLNA 0x1000 /* This board has an external LNA */ | ||
+ | #define BFL_HGPA 0x2000 /* This board has a high gain PA */ | ||
+ | #define BFL_BTCMOD 0x4000 /* This board' BTCOEXIST is in the alternate gpios */ | ||
- | ''NOTE2: '' | ||
- | The WRT54GL Ver 1.1 stock firmware will accept a firmware image of at least 4MB in size; Flashed the memory with DD-WRT standard version (V23sp2). Do not see any success or fail message, however when completed got a blank screen in the IE browser. Rebooted the PC to clear the old IP out of PC's DNS and upon completed reboot was able to login to the new DD-WRT screen. | ||
- | |||
- | ==NVRAM== | ||
- | NVRAM (non-volatile RAM) is the place where the permanent settings are stored. | ||
- | On the command line you can view the NVRAM's content with | ||
- | |||
- | nvram show | ||
- | |||
- | A variable is stored/changed by issuing | ||
- | |||
- | nvram set <variable_name>="<value>" | ||
- | nvram commit | ||
- | |||
- | You'll need to reboot to get the (changed) NVRAM executed. | ||
==Overclocking== | ==Overclocking== | ||
- | + | BCM3303 v0.7 clock frequencies: | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | BCM3303 v0.7 clock | + | |
(todo...) | (todo...) | ||
{| border=1 cellspacing=0 cellpadding=5 | {| border=1 cellspacing=0 cellpadding=5 | ||
Line 124: | Line 110: | ||
|- | |- | ||
|} | |} | ||
- | |||
- | |||
- | |||
- | For information on running a v4 series greater than the CFE imposed maximum of 250mhz, please see [[http://www.bitsum.com/openwiking/owbase/ow.asp?WRT54G Increased overclocking through CFE modifications]] (technical). | ||
==Hardware Modifications== | ==Hardware Modifications== | ||
''Hardware Modifications (mods) are not necessarily DD-WRT specific or compatible.'' | ''Hardware Modifications (mods) are not necessarily DD-WRT specific or compatible.'' | ||
- | [http://jdc.parodius.com/wrt54g/serial.html Serial Port] | + | *[http://jdc.parodius.com/wrt54g/serial.html Serial Port] |
- | [http://pobletewireless.blogspot.com/2006/05/monta-un-conector-sma-reverse-en-tu.html Additional external SMA-R connector] | + | *[http://pobletewireless.blogspot.com/2006/05/monta-un-conector-sma-reverse-en-tu.html Additional external SMA-R connector] |
- | [http://www.rwhitby.net/wrt54gs/serial.html Dual Serial Port] | + | *[http://www.rwhitby.net/wrt54gs/serial.html Dual Serial Port] |
- | [http://kiel.kool.dk/ SD-Card] | + | *[http://kiel.kool.dk/ SD-Card] |
- | [http://www.lecad.uni-lj.si/~leon/other/wlan/wrt54ow/index.html Temperature sensor for WRT54G 2.x and WRT54GS with DS1820] | + | *[http://www.lecad.uni-lj.si/~leon/other/wlan/wrt54ow/index.html Temperature sensor for WRT54G 2.x and WRT54GS with DS1820] |
- | + | *[http://www.dd-wrt.com/wiki/index.php/DIR-320_64_Mb_RAM_Upgrade DIR-320 64 Mb RAM Upgrade] | |
- | [[Category: | + | [[Category:Hardware| ]] |
Revision as of 20:50, 22 March 2018
English • Deutsch • Español • Français • Italiano • 日本語 • Polski • Português • Русский • Svenska • 中文(中国大陆) • 中文(台灣) • |
Contents |
NVRAM
NVRAM (non-volatile RAM) also called flash space is the place where the permanent settings are stored. This includes
- DD-WRT settings that you normally change using Web Interface
- settings for user Startup Scripts
You can run the following commands using Command Line:
- Show the whole NVRAM content:
nvram show
- Show NVRAM content containing the pattern <search_pattern> (useful for quickly finding things in NVRAM):
nvram show | grep <search_pattern>
- Replace <replace_pattern> with what you are actually looking for. This can simply be a word or a regular expression
- Show value of a certain variable:
nvram get <variable_name>
- Change variable value in RAM only:
nvram set <variable_name>="<value>"
- (Quotes not needed for numeric/boolean values, needed for texts like
192.168.1.1
or443 8080
orsometext
). - Now you can play with the new settings or test user scripts but this new value will be lost after reboot unless you do
nvram commit
.
- Delete a variable (and its value). Useful when you made a typo in
<variable_name>
above:
nvram unset <variable_name>
- Save all changed variables to NVRAM:
nvram commit
Reboot the router for new settings in NVRAM to go into effect.
- To erase the nvram block when running DD-WRT:
erase nvram
- To erase nvram in the Broadcom CFE (bootloader):
nvram erase
- These are often confused!
Boardflags
/* boardflags */
- define BFL_BTCOEXIST 0x0001 /* This board implements Bluetooth coexistance */
- define BFL_PACTRL 0x0002 /* This board has gpio 9 controlling the PA */
- define BFL_AIRLINEMODE 0x0004 /* This board implements gpio13 radio disable indication */
- define BFL_ENETROBO 0x0010 /* This board has robo switch or core */
- define BFL_CCKHIPWR 0x0040 /* Can do high-power CCK transmission */
- define BFL_ENETADM 0x0080 /* This board has ADMtek switch */
- define BFL_ENETVLAN 0x0100 /* This board has vlan capability */
- define BFL_AFTERBURNER 0x0200 /* This board supports Afterburner mode */
- define BFL_NOPCI 0x0400 /* This board leaves PCI floating */
- define BFL_FEM 0x0800 /* This board supports the Front End Module */
- define BFL_EXTLNA 0x1000 /* This board has an external LNA */
- define BFL_HGPA 0x2000 /* This board has a high gain PA */
- define BFL_BTCMOD 0x4000 /* This board' BTCOEXIST is in the alternate gpios */
Overclocking
BCM3303 v0.7 clock frequencies: (todo...)
MIPS/CPU | Backplane | Comment |
BCM3303 v0.8 clock frequencies:
MIPS/CPU | Backplane | Comment |
183 | 91 | |
188 | 94 | |
197 | 98 | |
200 | 100 | |
206 | 103 | |
212 | 106 | |
216 | 108 | |
217 | 109 | |
225 | 113 | |
238 | 119 | |
240 | 120 | |
250 | 125 |
Hardware Modifications
Hardware Modifications (mods) are not necessarily DD-WRT specific or compatible.