-
Is it possible to report the hardware detected?
Hi all
New to linux.
Is there a way to produce a report of the hardware that knoppix has detected? I have used the Kinfo Center program but there doesnt seem to be a way of exporting this info to a text file.
Many thanks
AlanC
-
Senior Member
registered user
here you have a a script to give you a extremly verbose description on what is on your computer, some things will be shown several times, as to what is detected and what works... that requires some knowledge, but this should give most info you likely need.
Code:
#hardwarescript.sh
#/bin/sh
true ; ( set -x
sudo su
lspci -vv
lsusb -vv
lsmod
ifconfig
iwconfig
cat /etc/fstab
fdisk -l
mount
dmesg
) >& result.txt
copy the text to a textfile called hardwarescript.sh save it in /home/knoppix and make it executable.
to make it executable you open a console, terminal... (it is the icon like a computerscreen) and issue the comand
chmod +x /home/knoppix/hardwarescript.sh
-
Hi OErjan
Thats great, I'll give it a try.
Many thanks
AlanC
-
see if you have l shw or apt-get it
lshw > hardware.txt the lspci -vv is nice
-
Hi rrk
I've tried to apt-get install lshw from knoppix but it can't find it to install. I have found the source on the programmers website. Is this likely to compile and run when I boot knoppix from CD?
Thanks
AlanC
-
lshw should be in testing
apt-get -t testing install lshw
-
Hi
I had to do an apt-get update before the command you gave me would work. It took quite a while to update. Any ideas? I thought I was using the latest knoppix. v4.0.2.
Thanks again
AlanC
Similar Threads
-
By Alexey931 in forum Hardware & Booting
Replies: 1
Last Post: 03-05-2008, 01:18 PM
-
By gstyle in forum Hardware & Booting
Replies: 4
Last Post: 03-21-2006, 10:44 PM
-
By jsim1982 in forum Hardware & Booting
Replies: 2
Last Post: 08-01-2005, 01:53 PM
-
By iconfly in forum Hardware & Booting
Replies: 3
Last Post: 04-27-2003, 01:45 PM
-
By LinuxAmateur in forum General Support
Replies: 0
Last Post: 04-01-2003, 05:30 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99

MSI B560M Pro-E LGA 1200 Intel B560 M-ATX Intel Motherboard Intel 10th 11th gen
$69.99

Gigabyte B365M AORUS ELITE Motherboard Intel B365 Micro ATX LGA 1151 DDR4 DIMM
$84.99

GIGABYTE Z390 UD Intel 8th/9th Gen DDR4 LGA 1151 SATA 6Gb/s ATX Motherboard
$79.99

ASUS H110I-PLUS Motherboard LGA1151 w/ I5-7400 CPU, 8GB, Heatsink & I/O Shield
$60.00

ASRock B550M Phantom Gaming 4 AM4 AMD B550 SATA 6Gb/s Micro ATX AMD Motherboard
$81.99

Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.99

ASRock AMD BC-250 16GB 128GB SSD Used
$220.00

GIGABYTE Z590 Gaming X Motherboard Intel 11th Gen Z590 DDR4 LGA 1200
$139.99

GIGABYTE H610M S2H V2 Motherboard, Supports 14th/13th/12th Gen Intel Core i5 i7
$69.59