PDA

View Full Version : nvram, nvram_x


pipos
05-04-2004, 23:03
Hi,

Here is my problem:

I configure WL-500g for with my setting (start dropbear after boot, some iptables mods...etc)

then i save my config via web interface.

When I try to restore config after reseting wl-500g, bootCmd, and dss entry wasn't in my nvram (nvram show|more)
When i config file, dss and bootCmd entries was there.

i try to config manualy again, and save with nvram_x fget,
and restore with nvram_x fset....The same result

But when i create entry something like 9_x_bootCmd, and save config with web, or nvram_x, resotration work fine.(but bootCmd doesn't work of course)

Am I doing something wrong, or this is bug???
Could someone take a look at this.

I use FW 1.6.5.3-5

Thanks a lot

Oleg
06-04-2004, 10:28
Why you're trying to use nvram_x instead of nvram? Yes, there is a real difference between them in way how they treat variable names, so 9_x_bootCmd will never work, because rc.nvram does not expect this.

pipos
06-04-2004, 13:58
I need to make complete backup of my settings from nvram.
And when I restore it, all settings are restored except bootCmd and dss entries.

I don't know why at this time.