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

 
Learn about scoring Forum's Raw Score: 263165.0
September 16, 2010 12:53 PM

Categories: WN Series Open Source Firmware

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

Member Avatar

Raghu

Member
Joined: 02/02/2010

Hi,

I am using openwrt backfire version on the Atheros based linksys WRT160NL.
For accessing NVRAM on the board, i am using the "nvram" utility configured during "make menuconfig".
The "nvram" utility does allow to view all the variables on NVRAM.
But it doesn't seem to set  new values/variables to NVRAM
since "nvram commit" command fails with the below error:

mtdblock: erase of region [0x0, 0x10000] on "nvram" failed.


I would be grateful if anyone could suggest a means to set new name/values in the NVRAM.


root@OpenWrt:/tmp# nvram set UNITID=7
root@OpenWrt:/tmp# nvram get UNITID
7
root@OpenWrt:/tmp# nvram commit
root@OpenWrt:/tmp# nvram get UNITID
No output

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