What's new

Need help finding command

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Swistheater

Very Senior Member
what is command for checking a NVRAM variable value?
 
ipv6_gateway
 
I tried nvram get ipv6_gateway but it responds back with a blank statement
 
actually there are two similar varibles as seen by the output of this command

Code:
nvram dump | grep ipv6.*gateway

but the actual command you requested is

Code:
nvram get ipv6_gateway
or
nvram set ipv6_gateway=value
 
actually there are two similar varibles as seen by the output of this command

Code:
nvram dump | grep ipv6.*gateway

but the actual command you requested is

Code:
nvram get ipv6_gateway
or
nvram set ipv6_gateway=value

so when I type the command I receive
size: 77075 bytes (53997 left)
ipv6_gateway=

is this not what I want to see or does it matter?
 
Dump and show are the same thing.

But show prints an extra line of stats to stderr

Code:
nvram dump | grep ipv6.*gateway
-->
Code:
ipv6_gateway=
ipv61_gateway=

or just go to town with

Code:
nvram dump | grep gateway
 
dhcp1_gateway_x=
dhcp_gateway_x=
ipv61_gateway=
ipv6_gateway=
lan1_gateway=192.168.2.1
lan_gateway=0.0.0.0
wan0_gateway=24.X.X.X.X
wan0_gateway_x=0.0.0.0
wan0_xgateway=24.X.X.X.X
wan1_gateway=0.0.0.0
wan1_gateway_x=0.0.0.0
wan_gateway=24.X.X.X.X
wan_gateway_x=0.0.0.0

so the X.X.X.X are obviously covering numbers, but the other ones values are blank. the reason why I ask because I am not achieving ipv6 gateway link with wan ipv6 gateway so I am having to use a script to inject what I determined to be its value. I am trying to see if the values here could be effecting that.
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top