LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 03-16-2009, 07:33 AM   #1
khodeir
Member
 
Registered: Feb 2009
Distribution: Debian
Posts: 243

Rep: Reputation: 33
program needed


hi everybody
i need a program to get the computer ID of my machine??
any help?
 
Old 03-16-2009, 07:51 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
lshw or hardinfo. Both should be available for Fedora.
 
Old 03-16-2009, 07:58 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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
 
Old 03-16-2009, 08:55 AM   #4
khodeir
Member
 
Registered: Feb 2009
Distribution: Debian
Posts: 243

Original Poster
Rep: Reputation: 33
what i know that the computer ID is a unique number for a computer and it is 10 digits
 
Old 03-16-2009, 09:13 AM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
No, can't find anything that fits that description with lshw.
 
Old 03-16-2009, 09:40 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.
 
Old 03-16-2009, 10:09 AM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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.
 
Old 03-16-2009, 10:54 AM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by khodeir View Post
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.....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SDL 1.2 needed to install program tsunamikitsune Linux - Newbie 5 06-23-2006 09:54 AM
program needed? alsharifhoussam Linux - Software 4 01-13-2006 11:09 AM
program needed nettey Programming 4 12-23-2004 07:15 PM
screenshot program needed servnov Linux - General 7 09-28-2004 10:24 PM
help needed with a program aizkorri Programming 8 06-03-2002 03:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration