01-15-2012
How to generate UUID for 2nd Ethernet card?
Dear all,
I have two NIC's on my machine.
UUID for the first interface (eth0) was generated by the machine automatically.
Now I want to generate UUID for the 2nd interface (eth1) please help me out.
Thanks in advance...
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi,
How can i check the speed of the Ethernet card that my Sun server has and also how can i change it to full Duplex if it is set to half duplex? What is the file that takes care of this? (3 Replies)
Discussion started by: i2admin
3 Replies
2. IP Networking
I keeping plumbing my ethernet card and assigning it an IP address and netmask, but after I reboot it keeps losing this information. Can anyone help me solve this problem?
I am using the command:
ifconfig hme0 plumb <IP Address> netmask <Subnet Mask> broadcast + up
I am running Solaris 9 OS. (2 Replies)
Discussion started by: saucierm
2 Replies
3. IP Networking
I have searched this forum for solution and have drawn a blank... so I come to you for help :)
I an a Win XP user that has no problem getting on internet when I am on that OS (currently on it right now ;)). I installed red hat 9 and when I use that OS, I cannot get a connection. I ran the... (10 Replies)
Discussion started by: Minnesota Red
10 Replies
4. UNIX for Dummies Questions & Answers
I am an extreme novice trying to learn Linux. I have redhat 9 installed in a computer I built specifically to install and learn linux. I have an asus a7v8x-x motherboard with the realtek 10/100 mbps ethernet card. I also installed a Jaht adapter jn-1110r32c ethernet card. I cannot get the... (2 Replies)
Discussion started by: Tony Empire
2 Replies
5. SCO
Installed a replacement 3com pci card on an ibm PC 300 GL, running OpenServer 6.0 , brought up system, and recieved this message:
Fsstat:/dev/boot mounted
Mounted /stand filesystem
System auditing is not enabled.
Dlpid:Unable to open network adapter driver (/dev/mdi/r8e0)
Dlpid:No such... (0 Replies)
Discussion started by: tazmss1
0 Replies
6. IP Networking
What command do I use to show mw the ethernet card, I have tried ipconfig -a (1 Reply)
Discussion started by: dhlopomo
1 Replies
7. AIX
Hi,
is it possible to find out network utilization of etherenet card in %?
Regards,
Manoj (2 Replies)
Discussion started by: manoj.solaris
2 Replies
8. UNIX for Advanced & Expert Users
Hello Experts,
Is there a way to generate Universally Unique identifiers on all Unix flavours such as Solaris, RHELinux,Suse Linux, MacOS,HP UX etc?
If i can get a system command or a system call or an algorithm/script/program to generate a unique identifier, it will be helpful.
Thanks in... (1 Reply)
Discussion started by: GajendraSharma
1 Replies
9. Solaris
Hi,
we have SUN Gigabit ethernet cards at the server, both have 2 lines connected but hiw can I found out which cable is on which port before I configure it: the cards has 4 ports , from right to left the cables are connected at the first right then 2 empty then the last at the left side.
... (1 Reply)
Discussion started by: manni2
1 Replies
10. Solaris
Hi Gurus of Solaris.
I have a problem yesterday when I was installing solaris in a x86 equipement
I attached some log that I capture when I try to resolve the problem
Any guru that can help please.
Any command or procedure that I can run, please advice me
Regards
Andres (10 Replies)
Discussion started by: andresguillen
10 Replies
LEARN ABOUT CENTOS
machine-id
MACHINE-ID(5) machine-id MACHINE-ID(5)
NAME
machine-id - Local machine ID configuration file
SYNOPSIS
/etc/machine-id
DESCRIPTION
The /etc/machine-id file contains the unique machine ID of the local system that is set during installation. The machine ID is a single
newline-terminated, hexadecimal, 32-character, lowercase machine ID string. When decoded from hexadecimal, this corresponds with a
16-byte/128-bit string.
The machine ID is usually generated from a random source during system installation and stays constant for all subsequent boots.
Optionally, for stateless systems, it is generated during runtime at boot if it is found to be empty.
The machine ID does not change based on user configuration or when hardware is replaced.
This machine ID adheres to the same format and logic as the D-Bus machine ID.
Programs may use this ID to identify the host with a globally unique ID in the network, which does not change even if the local network
configuration changes. Due to this and its greater length, it is a more useful replacement for the gethostid(3) call that POSIX specifies.
The systemd-machine-id-setup(1) tool may be used by installer tools to initialize the machine ID at install time.
RELATION TO OSF UUIDS
Note that the machine ID historically is not an OSF UUID as defined by RFC 4122[1], nor a Microsoft GUID; however, starting with systemd
v30, newly generated machine IDs do qualify as v4 UUIDs.
In order to maintain compatibility with existing installations, an application requiring a UUID should decode the machine ID, and then
apply the following operations to turn it into a valid OSF v4 UUID. With "id" being an unsigned character array:
/* Set UUID version to 4 --- truly random generation */
id[6] = (id[6] & 0x0F) | 0x40;
/* Set the UUID variant to DCE */
id[8] = (id[8] & 0x3F) | 0x80;
(This code is inspired by "generate_random_uuid()" of drivers/char/random.c from the Linux kernel sources.)
HISTORY
The simple configuration file format of /etc/machine-id originates in the /var/lib/dbus/machine-id file introduced by D-Bus. In fact, this
latter file might be a symlink to /etc/machine-id.
SEE ALSO
systemd(1), systemd-machine-id-setup(1), gethostid(3), hostname(5), machine-info(5), os-release(5), sd-id128(3), sd_id128_get_machine(3)
NOTES
1. RFC 4122
https://tools.ietf.org/html/rfc4122
systemd 208 MACHINE-ID(5)