05-04-2009
Maybe the nvram is corrupted..? what had happened to the system? any history behind this? Why do you want to change it all of a sudden ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I find my ethernet address (HostID) under OS X in the terminal? (2 Replies)
Discussion started by: Dimyas
2 Replies
2. IP Networking
Hi sir,
i want to make such programe which takes MAC(Ethernet) address of any host & give me its IP address.......
but i'm nt getting that how i can pass the MAC address to Frame........
Please give me an idea for making such program...
Thanks & regards
Krishna (3 Replies)
Discussion started by: krishnacins
3 Replies
3. Shell Programming and Scripting
I know to display hostname, username .... etc in command prompt using .bashrc. But what i want is to display IP of the system in prompt.
Any way to do it ?:confused: (2 Replies)
Discussion started by: nitin09
2 Replies
4. Programming
There's a piece in a C program I'm writing (Linux) that simply needs to take a host name and return an IP address (e.g., take 'mail.gnu.org' and return 199.232.76.166). I've gotten a successful status from getaddrinfo, but don't see any of the fields in the result structure that has what I'm... (7 Replies)
Discussion started by: cleopard
7 Replies
5. UNIX for Dummies Questions & Answers
I'm trying to install FreeBSD 7.0 from CDs I made a few months ago on a brand new system with parts I just got in from NewEgg. I select the default option from the Boot Loader and it goes into the device probe. Several devices are recognized, but then it freezes at:
mskc0: <Marvell Yukon... (2 Replies)
Discussion started by: ideogon
2 Replies
6. Programming
I'm trying to write a function to get the host name of any given IP address.
I'm trying to follow this manual but I'm stuck. I'm using gcc and Linux. Any ideas?
getnameinfo()
#include <stdio.h>
#include <netdb.h>
#include <sys/socket.h>
#include <arpa/inet.h>
char... (6 Replies)
Discussion started by: limmer
6 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
I have literally spent all day trying dozens of different combinations, re-installs and tweaks to try and resolve this problem. I would be EXTREMELY grateful if anyone can help/point me in the right direction.
I am using OpenBSD 4.6 and am trying to connect to my wireless network with... (1 Reply)
Discussion started by: wcontm
1 Replies
8. Solaris
Hi,
How do I get ethernet (mac) address of all the interfaces (including the unplumbed interfaces) ? I do not want to use ifconfig -a plumb and unplumb. Looking for some other ways. Even c program will help.
I am looking for S9 as well as S10. So dladm also wont work as it is only for S10
... (2 Replies)
Discussion started by: patjones
2 Replies
9. IP Networking
hi,
i want to get the hostname for the specified IP address.
# host www.google.com
www.google.com has address 173.194.69.104
www.google.com has address 173.194.69.105
www.google.com has address 173.194.69.106
www.google.com has address 173.194.69.147
www.google.com has address... (3 Replies)
Discussion started by: kavitha rao
3 Replies
10. UNIX for Advanced & Expert Users
Hi ,
Could someone let me know how to detect duplicate ip address after assigning ip address to ethernet interface using c program (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies
LEARN ABOUT OPENDARWIN
nvram
nvram(8) System Manager's Manual nvram(8)
NAME
nvram - manipulate Open Firmware NVRAM variables
SYNOPSIS
nvram [ -p ] [ -f filename ] [ name ] [= value ] ...
DESCRIPTION
The nvram command allows manipulation of Open Firmware NVRAM variables. It can be used to get or set a variable. It can also be used to
print all of the variables or set a list of variables from a file. Changes to NVRAM variables are only saved by clean restart or shutdown.
In principle, name can be any string. In practice, not all strings will be accepted. New World machines can create new variables as
desired. Some variables require administrator privilege to get or set.
The given value must match the data type required for name. Binary data can be set using the %xx notation, where xx is the hex value of
the byte. The type for new variables is always binary data.
OPTIONS
-p Print all of the Open Firmware variables.
-f filename
Set Open Firmware variables from a text file. The file must be a list name=value statements. If the last character of a line is ,
the value will be continued to the next line.
EXAMPLES
example% nvram boot-args="-s rd=*hd:10"
Set the boot-args variable to "-s rd=*hd:10". This would specify single user mode with the root device in hard drive partition 10.
example% nvram my-variable="String One%00String Two%00%00"
Create a new variable, my-variable, containing a list of two C-strings that is terminated by a NUL.
December 12, 2000 nvram(8)