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
ethers(4) Kernel Interfaces Manual ethers(4)
NAME
ethers - Database that maps Ethernet addresses to hostnames
DESCRIPTION
The /etc/ethers file is used in conjunction with the reverse address resolution protocol daemon (rarpd) to map Ethernet addresses to host-
names. It contains information about the known (48-bit) Ethernet addresses of hosts on the Internet.
For each host on an Ethernet, a single line should be present in the file with the following information:
Ethernet-address official-host-name
Items are separated by one or more spaces or tabs. A number sign (#) indicates the beginning of a comment that extends to the end of line.
The standard form for Ethernet addresses is:
x:x:x:x:x:x
The x is a hexadecimal number between 0 and ff, representing 1 byte. The address bytes are always in network order.
Hostnames can contain any printable character other than a space, tab, newline, or number sign (#).
Hostnames in the /etc/ethers file should correspond to the hostnames in the /etc/hosts file or to those provided by the name service.
EXAMPLES
The following is a sample ethers file:
08:00:20:01:e5:1c host1 # Comments go here 08:00:20:01:d0:4c host2 # Comments go here 08:00:20:01:e0:1d
host3 # Comments go here 08:00:20:00:c2:4e host4 # Comments go here
RELATED INFORMATION
Commands: rarpd(8)
Files: hosts(4), packetfilter(7)
Routines: ethers(3) delim off
ethers(4)