Koozali.org: home of the SME Server

lshw (list hardware) install instructions for sme version 8

Offline purvis

  • *****
  • 567
  • +0/-0
instructions to install lshw to view hardware on smeserver 8.??
press q to quit the fileviewer program "less"

less commands
----------------------------------------------------
e, j, Down, or Enter     move forward one line
y, k, or Up    move backward one line
f, Space, or Page Down    move forward one page
b, or Page Up    move backward one page
/characters    search forward in the file for lines containing the specified characters
n    repeat the previous search
e file_name    examine a new file
:n    examine the next file
:p    examine the previous file
h, or ?    display help
q    quit
---------------------------------------------


cd /
mkdir /temp
cd /temp
wget http://packages.sw.be/lshw/lshw-2.15-1.el5.rf.i386.rpm
yum localinstall  lshw-2.15-1.el5.rf.i386.rpm
yum info lshw
lshw > lshw.prn
less lshw.prn
rm -f lshw.prn

you can also delete the rpm file when done
rm -f lshw-2.15-1.el5.rf.i386.rpm

« Last Edit: June 10, 2011, 05:13:02 AM by purvis »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: lshw (list hardware) install instructions for sme version 8
« Reply #1 on: June 10, 2011, 05:40:07 AM »
cd /
mkdir /temp
cd /temp
wget http://packages.sw.be/lshw/lshw-2.15-1.el5.rf.i386.rpm
yum localinstall  lshw-2.15-1.el5.rf.i386.rpm

Or:

yum --enablerepo=dag install lshw

Above will only work if you have the 'dag' repository configured in your yum configuration. You can use this instead:

rpm -Uhv http://pkgs.repoforge.org/lshw/lshw-2.13-1.el5.rf.i386.rpm

Quote
lshw > lshw.prn
less lshw.prn
rm -f lshw.prn

Or:

lswh | less

Quote
you can also delete the rpm file when done
rm -f lshw-2.15-1.el5.rf.i386.rpm

Not necessary if you use "yum install" as mentioned above.

Offline purvis

  • *****
  • 567
  • +0/-0
Re: lshw (list hardware) install instructions for sme version 8
« Reply #2 on: June 11, 2011, 12:38:28 PM »
thanks Charlie
pp