04-15-2002
Get Mac Address
Hi
I am trying to get Mac address of of my Sun server from my C program running on the host machine.
Any suggestions .
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
Can some one help me How do find out Mac address in Tru64 Unix
Thank you (1 Reply)
Discussion started by: Syed_45
1 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. IP Networking
hi,
i wanted to know how to change the MAC id of the machine i`m using.. I know the MAC is permanent n on the ROM, but i wanted to know if there was any way to change it during tht particular session..
also.. if it was possible.. could it be kept changed for sometime...? (8 Replies)
Discussion started by: caltiger
8 Replies
4. Solaris
Hi,
I've got a Sun Solaris machine with host ID (840f8e57) and MAC address (0:14:4f:f:8e:57), how do I:
1. Write the MAC address in standard (IEEE 802) format, i.e. xx-xx-xx-xx-xx-xx? Do I need to add 0's before or after the 'f', i.e. 00-14-4f-0f-8e-57 or 00-14-4f-f0-8e-57?
2. What is... (4 Replies)
Discussion started by: TheBlueSky
4 Replies
5. Programming
Does anyone know how to get the mac address of a SCO box using c. (11 Replies)
Discussion started by: jcarter2333
11 Replies
6. Solaris
I have following message in my messages file on solaris 10
WARNING: e1000g3712000:3 has duplicate address 010.022.196.011 (in use by 00:50:56:85:25:ef); disabled
Now is there any way i can find which server has 00:50:56:85:25:ef mac address either IP or Hostname ? (6 Replies)
Discussion started by: fugitive
6 Replies
7. SCO
hi every one please help
i want to change mac address in sco unix 5.0.6
how can i do this (3 Replies)
Discussion started by: kaydream
3 Replies
8. IP Networking
Hi there
I lost connectivity to one of our remote systems and when I checked the messages log I found the following:
Aug 10 23:42:34 host xntpd: time reset (step) 1.681729 s
Aug 16 13:20:51 host ip: WARNING: node "mac address" is using our IP address x.x.x.x on aggr1
Aug 16 13:20:51 host... (9 Replies)
Discussion started by: notreallyhere
9 Replies
9. Red Hat
I have installed RHEL 6 in my new system. My sytem is physically also connected with network, but after successfully installing it is not detecting the network.
I checked, there is no /etc/sysconfig/network file present in my system.
I manually created /etc/sysconfig/network file. The problem I... (5 Replies)
Discussion started by: Ankur Goyal
5 Replies
10. IP Networking
four interfaces with ifconfig
all interfaces have the same mac. If is not set for unique.
but it still works.
what difference does it make to have all macs the same or different? (4 Replies)
Discussion started by: rrodgers
4 Replies
ypset(1M) ypset(1M)
NAME
ypset - bind to particular Network Information Service server
SYNOPSIS
host] domain] server
Remarks
The Network Information Service (NIS) was formerly known as Yellow Pages (YP). Although the name has changed, the functionality of the
service remains the same.
DESCRIPTION
tells to get Network Information Service (NIS) services for the specified domain from the process running on server (see ypserv(1M) and
ypbind(1M)). server is the NIS server that the NIS client binds to, and is specified as either a host name or an IP address. If server is
down or is not running this is not discovered until a local NIS client process tries to obtain a binding for the domain. The daemon then
tests the binding set by If the binding cannot be made to the requested server, attempts to rebind to another server in the same domain
present in the ypservers file.
NOTE: In order to run must be initiated with the or options. For more information on how to initiate see ypbind(1M).
The command is useful for binding a client node that is not on a broadcast network. If a client node exists on a broadcast network which
has no NIS server running, and if there is a network with one running that is available via a gateway, can establish a binding through that
gateway. It is also useful for debugging NIS client applications such as when a NIS map exists only at a single NIS server.
In cases where several hosts on the local net are supplying NIS services, it is possible for to rebind to another host, even while you
attempt to find out if the operation succeeded. For example, typing followed by and receiving the reply may be confusing. It could occur
when host1 does not respond to because its process is not running or is overloaded, and host2, running gets the binding.
The server is the NIS server to bind to, specified as either a host name or an IP address.
Refer to ypfiles(4) and ypserv(1M) for an overview of the Network Information Service.
Options
recognizes the following options and command-line arguments:
Bind server for the Version 2 NIS protocol.
Set the binding on
host instead of locally. host can be specified as a host name or an IP address.
Use domain instead of the default domain returned by (see domainname(1)).
DIAGNOSTICS
The user is not root, or ypbind was run without the
flags. See ypserv(1M) for explanations of the flags.
The user is not root, or ypbind was run without one of the
flags. See ypserv(1M) for explanations of the flags.
WARNINGS
Starting with ONCplus version B.11.31.02, the NIS Version 1 protocol is no longer available.
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO
domainname(1), ypwhich(1), ypserv(1M), ypfiles(4).
ypset(1M)