View Full Version : retrieve serial number of box to set as hostname
isalinas
02-12-2004, 08:37 PM
Does anyone know how i can retrieve the serialn number of my cpu and set it as my hostname for my knoppix cd?
EL Henry
02-14-2004, 06:42 AM
Hello ---
I believe you can only do that on Coppermine Intel.
Or perhaps tie the box's identity to the NIC's MAC address. If there is more than one NIC, use any, all, or lowest/highest.
If use all:
If the group of MAC's is an already know group, then box ID matches the group.
If there is a new MAC(s) not otherwise known, just add it to the group.
If a MAC is missing, seek group on what is known.
If MACs from multiple groups are present as user to select group/ID
probono
09-19-2004, 01:17 AM
You can get the MAC address with:
ifconfig eth0 | grep Ethernet
You can set the hostname with:
hostname whatevernameyouwant
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.