LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2007, 09:31 AM   #1
k0lvert
Member
 
Registered: Oct 2007
Location: SW Missouri
Distribution: VectorLinux 5.8 Std, Mandriva 2008
Posts: 33

Rep: Reputation: 15
I can't find my /sbin/lspci file for uploading info for HCL


I am trying to upload my system's info into the HCL, but I cannot find a file or folder called "/sbin/lspci". The closest thing I can find is "/sbin/lspcmcia -> pccardctl*" (which I know is a link due to the color coding, and the "->") When I opened the pccardctl file with an editor, I received this error message: "Too much binary data in file. You may view it, but not modify or re-save its contents."

I can't paste the output correctly either... this is what I get when I try:
Code:
ELF
Is this the wrong file? Where is the correct file?
 
Old 11-10-2007, 09:37 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Hi,

Did you check /usr/sbin ? I do believe the lspci program should reside there, not in /sbin.

BTW: Normal users do/should not have access to this program, it should be run by a privileged user (root being one of those).

Hope this helps.
 
Old 11-10-2007, 09:38 AM   #3
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Which version of Linux are using???

Try;
which lspci
locate lspci
 
Old 11-10-2007, 09:59 AM   #4
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by k0lvert View Post
I am trying to upload my system's info into the HCL, but I cannot find a file or folder called "/sbin/lspci". The closest thing I can find is "/sbin/lspcmcia -> pccardctl*" (which I know is a link due to the color coding, and the "->") When I opened the pccardctl file with an editor, I received this error message: "Too much binary data in file. You may view it, but not modify or re-save its contents."

I can't paste the output correctly either... this is what I get when I try:
Code:
ELF
Is this the wrong file? Where is the correct file?
The file /sbin/lspci is not the file you need to read to get the information you're looking for, but the file you need to run to get the information. Opening /sbin/lspci in a text editor, as you have discovered, is pointless.

You need to open a terminal, become root (or assume root privileges using sudo), and then type lspci. Then copy the output that it produces in the terminal to the HCL.

Last edited by pwc101; 11-10-2007 at 11:06 AM. Reason: spelling
 
Old 11-10-2007, 10:41 AM   #5
k0lvert
Member
 
Registered: Oct 2007
Location: SW Missouri
Distribution: VectorLinux 5.8 Std, Mandriva 2008
Posts: 33

Original Poster
Rep: Reputation: 15
Sweet! Running the program instead of opening it did the trick. Thanks guys.

BTW, does Chipset = Model #?

Last edited by k0lvert; 11-10-2007 at 10:56 AM.
 
  


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
trying to copy the output of /sbin/lspci to another window interndan Slackware 9 11-18-2005 05:24 AM
/sbin/lspci paste cas1123 Linux - Hardware 2 08-06-2005 05:54 PM
/sbin/rc: line 271: /sbin/devfsd: No such file or directory Alexander.s Linux - General 3 04-22-2005 05:44 PM
3com network card not listed by /sbin/lspci lixy Linux - Hardware 7 02-12-2005 02:11 PM
Suggestion: Uploading product images and manuals to the HCL. h3rb1 LQ Suggestions & Feedback 4 02-10-2004 09:17 PM


All times are GMT -5. The time now is 10:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration