Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-16-2009, 07:33 AM
|
#1
|
Member
Registered: Feb 2009
Distribution: Debian
Posts: 243
Rep:
|
program needed
hi everybody
i need a program to get the computer ID of my machine??
any help?
|
|
|
03-16-2009, 07:51 AM
|
#2
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep: 
|
lshw or hardinfo. Both should be available for Fedora.
|
|
|
03-16-2009, 07:58 AM
|
#3
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
What is the "computer ID"?
eg, you might mean the MAC address:
This is actually assigned to your internet card and you can see it with "ifconfig".
or , do you mean the hostname?
Get this with "hostname" or look in /etc/hosts
|
|
|
03-16-2009, 08:55 AM
|
#4
|
Member
Registered: Feb 2009
Distribution: Debian
Posts: 243
Original Poster
Rep:
|
what i know that the computer ID is a unique number for a computer and it is 10 digits
|
|
|
03-16-2009, 09:13 AM
|
#5
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep: 
|
No, can't find anything that fits that description with lshw.
|
|
|
03-16-2009, 09:40 AM
|
#6
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
Example output # 'dmidecode'
Code:
Handle 0x0100, DMI type 1, 25 bytes
System Information
Manufacturer: Dell Computer Corporation
Product Name: Dimension 8300
Serial Number: CJ8641J
UUID: 44454C4C-4A00-1038-8036-C3C04F34314A
Handle 0x0200, DMI type 2, 8 bytes
Base Board Information
Manufacturer: Dell Computer Corp.
Product Name: 0M2035
Serial Number: ..CN4811134400KK.
Handle 0x0300, DMI type 3, 13 bytes
Chassis Information
Manufacturer: Dell Computer Corporation
Serial Number: CJ8641J
# 'lshw'
Code:
description: Mini Tower Computer
product: Dimension 8300
vendor: Dell Computer Corporation
serial: CJ8641J
width: 32 bits
capabilities: smbios-2.3 dmi-2.3 smp-1.4 smp
configuration: boot=normal chassis=mini-tower cpus=1
uuid=44454C4C-4A00-1038-8036-C3C04F34314A
*-core
description: Motherboard
product: 0M2035
vendor: Dell Computer Corp.
physical id: 0
serial: ..CN4811134400KK.
|
|
|
03-16-2009, 10:09 AM
|
#7
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep: 
|
MAC Address is 12 charachters, so that's not it..
He's got me stumped too with the 10 digit ID..
LSHW would have been my suggestion as well.
|
|
|
03-16-2009, 10:54 AM
|
#8
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Quote:
Originally Posted by khodeir
what i know that the computer ID is a unique number for a computer and it is 10 digits
|
I think you need to give us some context for your question. I'm not sure know of any number that would be unique to the computer...You can change the IP at will and it could have 2 Ethernet cards or 1 Ethernet + wireless.
I suppose it could be the serial number of the motherboard, but that can be changed too..... 
|
|
|
All times are GMT -5. The time now is 11:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|