LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-18-2007, 02:14 AM   #1
soniquser
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Rep: Reputation: 0
Motherboard information


Hi all,

I would like to find out how exactly to print motherboard information in Red Hat?

I have done some searching and SuSE is able to do so with:
#hwinfo
 
Old 01-18-2007, 02:48 AM   #2
linuxles
Member
 
Registered: Mar 2004
Location: Austin, TX
Distribution: CentOS Fedora RHEL SLES Knoppix
Posts: 78

Rep: Reputation: 15
What you are probably looking for is System Information, and
not specifically Motherboard Info.

If you are running KDE, then KInfoCenter, under Kmenu > System
will give you what you are looking for.

If you are running gnome, but installed the KDE packages, then
you can start it from a shell; with "kinfocenter".

/Les
 
Old 01-21-2007, 07:42 PM   #3
soniquser
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Hi Linuxles,

Thanks for the feedback, guess you're right... I was looking for hardware info/ system info. Typing the few commands below does not seem to work..

#dmidecode
Command not found

#hwinfo
Command not found

Do it need to be in a different kernel do run the commands?
 
Old 01-22-2007, 02:09 AM   #4
linuxles
Member
 
Registered: Mar 2004
Location: Austin, TX
Distribution: CentOS Fedora RHEL SLES Knoppix
Posts: 78

Rep: Reputation: 15
If you are specifically looking for a command line utility then I don't believe hwinfo exists for Redhat based distros. It's a SuSE hardware detection tool. I believe it's also available for debian based distros. The closest to that in Redhat is kinfocenter (which is part of KDE).

"kinfocenter" is available as part of kdebase. To install it: # yum install kdebase

To run it; # kinfocenter
Which will spawn a gui tool that will contain the info you are looking for.

"dmidecode" is available in the kernel-utils package. To install it : # yum install kernel-utils

"procinfo" is also an excellent tool to have at your disposal. # yum install procinfo
It gives you three commands: lsdev, procinfo & socklist

Note: I'm not sure if procinfo is available in rpm form for all Redhat based distros.

/Les

PS: It helps if you list what distro/release you are running under distros. I could then be more specific.

Last edited by linuxles; 01-22-2007 at 02:11 AM.
 
Old 01-22-2007, 03:28 AM   #5
soniquser
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Hi Linuxles,

Thanks again for your kind feedback. Really appreciate it.

Regards,
Sham
 
Old 01-22-2007, 07:53 AM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,780
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
You might want to have a look at lshw (Hardware Lister). It is an excellent program for looking at what hardware your have.
 
Old 01-23-2007, 01:54 AM   #7
soniquser
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Hi Hangdog42,

Thats a cool info. In fact, I have downloaded it and tried to run it on my machine but to no avail. There was an error running these commands:

#lshw
Command not found
 
Old 01-23-2007, 06:33 AM   #8
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,780
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Could you give some details on how you installed it and what (if any) errors happened? It sounds like it didn't install.
 
Old 01-23-2007, 08:54 PM   #9
soniquser
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Hi Hangdog42,

Thanks again for the positive feedback, really appreciate it.
I have run the following command for the installation:
#rpmbuild -ta lshw-B.02.08.01.tar.gz
.......
+ cp -pr README COPYING docs/TODO docs/Changelog docs/lshw.xsd /var/tmp/lshw-B.02.08.01-1-root/usr/share/doc/lshw-B.02.08.01
+ exit 0
Finding Provides: /usr/lib/rpm/find-provides
Finding Requires: /usr/lib/rpm/find-requires
PreReq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GLIBC_2.0) libm.so.6 libstdc++.so.5 libstdc++.so.5(GLIBCPP_3.2)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/lshw-B.02.08.01-1-root
Wrote: /usr/src/redhat/SRPMS/lshw-B.02.08.01-1.src.rpm
Wrote: /usr/src/redhat/RPMS/i386/lshw-B.02.08.01-1.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4645
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd lshw-B.02.08.01
+ /bin/rm -rf /var/tmp/lshw-B.02.08.01-1-root
+ exit 0
# lshw
-bash: lshw: command not found
# lshw -short
-bash: lshw: command not found

But I still could not see any output. Please assist.

Regards,
Sham
 
Old 01-23-2007, 09:00 PM   #10
soniquser
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Hi Hangdog42,

Finally got it.
I went to into /lshw-B.02.08.01/src directory and
#./lshw -short

Thanks again. Appreciate it.

Regards,
Sham
 
Old 01-24-2007, 03:33 AM   #11
soniquser
LQ Newbie
 
Registered: Jan 2007
Posts: 16

Original Poster
Rep: Reputation: 0
Hi all,

I was wondering does it work on HP-UX as well?

Regards,
Sham
 
Old 01-24-2007, 06:41 AM   #12
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,780
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
No idea. I'd just give it a try and see.
 
Old 01-27-2007, 12:30 PM   #13
linuxles
Member
 
Registered: Mar 2004
Location: Austin, TX
Distribution: CentOS Fedora RHEL SLES Knoppix
Posts: 78

Rep: Reputation: 15
Quote:
Originally Posted by soniquser
Hi Hangdog42,

Thats a cool info. In fact, I have downloaded it and tried to run it on my machine but to no avail. There was an error running these commands:

#lshw
Command not found
Since you are using a Redhat based distro, I have to wonder why you are not using YUM to install "lshw".

Since this was posted, I have installed it on several machines, from FC2 to FC5 & CentOS without any issues. It is available via DAG: http://dag.wieers.com/rpm/packages/

/Les
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Hiding machine information and root information geletine Linux - Security 6 07-14-2006 07:57 AM
motherboard frannack Linux - Hardware 5 08-28-2005 06:41 PM
which motherboard moonloader Linux - Hardware 0 12-09-2004 01:11 AM
motherboard RaulConQ General 1 07-20-2003 08:54 AM
New motherboard spindley Linux - Hardware 3 03-04-2003 01:42 PM


All times are GMT -5. The time now is 01:46 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration