LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Motherboard information (https://www.linuxquestions.org/questions/linux-server-73/motherboard-information-520406/)

soniquser 01-18-2007 03:14 AM

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

linuxles 01-18-2007 03:48 AM

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

soniquser 01-21-2007 08:42 PM

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?

linuxles 01-22-2007 03:09 AM

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.

soniquser 01-22-2007 04:28 AM

Hi Linuxles,

Thanks again for your kind feedback. Really appreciate it.

Regards,
Sham

Hangdog42 01-22-2007 08:53 AM

You might want to have a look at lshw (Hardware Lister). It is an excellent program for looking at what hardware your have.

soniquser 01-23-2007 02:54 AM

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

Hangdog42 01-23-2007 07:33 AM

Could you give some details on how you installed it and what (if any) errors happened? It sounds like it didn't install.

soniquser 01-23-2007 09:54 PM

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

soniquser 01-23-2007 10:00 PM

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

soniquser 01-24-2007 04:33 AM

Hi all,

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

Regards,
Sham

Hangdog42 01-24-2007 07:41 AM

No idea. I'd just give it a try and see.

linuxles 01-27-2007 01:30 PM

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


All times are GMT -5. The time now is 08:41 PM.