LinuxQuestions.org
Help answer threads with 0 replies.
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 10-16-2009, 08:36 PM   #1
Hopelesslylost1
LQ Newbie
 
Registered: Oct 2009
Location: Orlando Fl
Distribution: open SUSE,Windows XP for gaming
Posts: 14

Rep: Reputation: 0
"lspci" and "lshw"


Ok whats this and how do I do it...lol. I need a good newbbie book.
3. Provide system information -- both the "lspci" and "lshw" commands are designed to make it easy to obtain system information about your hardware. Consider copying and pasting the output of those commands in your post, as more often than not, one of the first replies to your question will be simply "What is the output from 3. Provide system information -- both the "lspci" and "lshw" commands are designed to make it easy to obtain system information about your hardware. Consider copying and pasting the output of those commands in your post, as more often than not, one of the first replies to your question will be simply "What is the output from lspci?" Additionally, if it's not already included in your LQ profile, it's a really good idea to indicate the distro you are using." Additionally, if it's not already included in your LQ profile, it's a really good idea to indicate the distro you are using.
How do you get a lspci and lshw output? Is there a section here that explains commands?
 
Old 10-16-2009, 08:41 PM   #2
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by Hopelesslylost1 View Post
Ok whats this and how do I do it...lol. I need a good newbbie book.
3. Provide system information -- both the "lspci" and "lshw" commands are designed to make it easy to obtain system information about your hardware. Consider copying and pasting the output of those commands in your post, as more often than not, one of the first replies to your question will be simply "What is the output from 3. Provide system information -- both the "lspci" and "lshw" commands are designed to make it easy to obtain system information about your hardware. Consider copying and pasting the output of those commands in your post, as more often than not, one of the first replies to your question will be simply "What is the output from lspci?" Additionally, if it's not already included in your LQ profile, it's a really good idea to indicate the distro you are using." Additionally, if it's not already included in your LQ profile, it's a really good idea to indicate the distro you are using.
How do you get a lspci and lshw output? Is there a section here that explains commands?
1. Open a shell.

2. Type:

Code:
$ lspci > capture.txt
3. Now type:

Code:
$ kwrite capture.txt
Now you have the output of "lspci" in a convenient, familiar environment, and you can copy parts of it into your messages.

For other commands, substitute the name of the other command for "lspci" above. They all work the same way.
 
Old 10-17-2009, 08:29 AM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Or you can do (if you have lshw installed, that is), as root:
Code:
lshw -html > lshw_out.html
And view the result in a browser.
 
Old 10-17-2009, 10:19 AM   #4
Hopelesslylost1
LQ Newbie
 
Registered: Oct 2009
Location: Orlando Fl
Distribution: open SUSE,Windows XP for gaming
Posts: 14

Original Poster
Rep: Reputation: 0
ok I tried to do both and the thing said command not found.
 
Old 10-17-2009, 10:34 AM   #5
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 23, 24, RHL 5.2
Posts: 560

Rep: Reputation: 56
Sounds like you don't have it installed on your system. You'll need to install the pciutils package.
 
Old 10-17-2009, 12:03 PM   #6
Hopelesslylost1
LQ Newbie
 
Registered: Oct 2009
Location: Orlando Fl
Distribution: open SUSE,Windows XP for gaming
Posts: 14

Original Poster
Rep: Reputation: 0
ok I got the lspci to work I just typed lspci enter and it worked. but the other lshw don't.
 
Old 10-17-2009, 03:02 PM   #7
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by Hopelesslylost1 View Post
ok I got the lspci to work I just typed lspci enter and it worked. but the other lshw don't.
The documentation you are reading, that says "lshw" exists, either isn't for your distribution or it's making unwarranted assumptions about what you have installed.

Have you tried locating and installing "lshw"?

Code:
# yum install lshw
-- or --

Code:
# apt-get install lshw
 
Old 10-18-2009, 12:35 PM   #8
Hopelesslylost1
LQ Newbie
 
Registered: Oct 2009
Location: Orlando Fl
Distribution: open SUSE,Windows XP for gaming
Posts: 14

Original Poster
Rep: Reputation: 0
No but I'll do that see whats up.

No but I'll do that soon as I get linux back on my computer.For some reason I messed something up and now it won't boot. I think I tried installing too many different OS.I put FreeSpire on with OpenSuse,Windows XP Pro, And I couldn't boot anything except freespire.
Heck Windows was on a different HDD...lol.So last nite I removed the small HDD And I'm Reinstalled Windows 1st.After I get it up and running with the 6 million security patchs,I'll partion and reintall Suse only.It's Time I pick a linux system.I really liked that U booty but no dial up connections for it...lol.
Maybe I'm just too old to learn new stuff
 
Old 10-18-2009, 01:24 PM   #9
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-17.3 with Cinnamon & KDE
Posts: 1,502
Blog Entries: 3

Rep: Reputation: 96
Quote:
Originally Posted by Hopelesslylost1 View Post
Maybe I'm just too old to learn new stuff

You are NEVER too old to learn!! It might not be a trivial process, but you are always able to learn.


Remember that learning requires you brain to build connections from something that you already know to something new. If computers in general and linux in specific is a completely foreign land, you need not only the new facts and details but also bridges to past experience.
In part, this is why teaching children is different from teaching adults.

My first career was in the computer industry.
My second career is in education.

Good luck,
~~~ 0;-Dan
 
Old 10-19-2009, 05:47 PM   #10
Hopelesslylost1
LQ Newbie
 
Registered: Oct 2009
Location: Orlando Fl
Distribution: open SUSE,Windows XP for gaming
Posts: 14

Original Poster
Rep: Reputation: 0
ok your right, I can Learn this.So I figure I may as well learn to use the Ubuntu OS.Out of the 6 I've been messing with I like it best because it's a AMD64.Now I read in a old post about installing a tar.gz file (gnome-ppp) And the dude said "CD into that directory", whats that mean...lol. I copied down what to do after that.
 
Old 10-19-2009, 07:17 PM   #11
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,788

Rep: Reputation: 211Reputation: 211Reputation: 211
man...

See man cd (change directory), for information on the command.

http://linux.die.net/man/

http://www.linux.org/lessons/
 
Old 10-19-2009, 07:53 PM   #12
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: Austin, TX
Distribution: Mint-17.3 with Cinnamon & KDE
Posts: 1,502
Blog Entries: 3

Rep: Reputation: 96
... and you can always ask questions here

I, for one, do not object to your questions here ... regardless of the topic. I think that I know this stuff after [too] many years, but questions like yours challenge my assumptions and help [make] me relearn things that I thought I knew. Often times, olde friend utilities have evolved and I discover new features and behavior. This olde dog likes to learn new tricks -- no matter how olde they are.

Cheers,
~~~ 0;-Dan
 
Old 10-19-2009, 09:13 PM   #13
Hopelesslylost1
LQ Newbie
 
Registered: Oct 2009
Location: Orlando Fl
Distribution: open SUSE,Windows XP for gaming
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by SaintDanBert View Post
I, for one, do not object to your questions here ... regardless of the topic.
I really glad to hear that I figured out by trialand error ....error mostly how to do that.
cde /home/james/ppp-2.4.4
then ./configure
make
# make install
then it did all kinds of stuff at each step, things looked good.I ended up with this message
install: can not change permissions of /usr/local/share/man/man8 no such file or directory.
I gave my self every permission I saw.How do you log on as the root?
When I try it will not let me.
typed root then the password. Does root need to be done as a console secssion?
 
Old 10-21-2009, 11:59 AM   #14
wmakowski
Member
 
Registered: Oct 2003
Location: Ohio
Distribution: Fedora 23, 24, RHL 5.2
Posts: 560

Rep: Reputation: 56
I'm guessing you are on Ubuntu now. While performing an install from source is good to learn and know it would be much easier to install the package. I haven't used Ubuntu in quite a while, but did find a page that should be useful to you - How to install Dialup PPP Client (GNOME PPP)

To answer your previous question you can use the sudo command to perform any root user task in Ubuntu.
 
  


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
how can I "cat" or "grep" a file to ignore lines starting with "#" ??? callagga Linux - Newbie 7 08-16-2013 07:58 AM
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 12:26 PM
net working eth0 eth1 wlan0 "no connection" "no LAN" "no wi-fi" Cayitano Linux - Newbie 5 12-09-2007 08:11 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 11:18 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 09:31 AM


All times are GMT -5. The time now is 12:20 PM.

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