Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-10-2007, 06:39 AM   #1
LQ Newbie
Registered: Sep 2007
Posts: 4

Rep: Reputation: 0
how to install new hardware?

OK, so I have Ubuntu 7.04 working quite nicely on a P3 500 with 364MB Ram, a 6gb hdd and a Nvidia Geforce MX-440. now I need to add network cards (2 - 1 for the Internet connnection and one for the home network). Thing is,m theres no obvious place to see what hardware is installed and where I need to install drivers.

I did do a search, both on my Ubuntu installation and on the web, but these sort of, what I consider to be, simple things seem to be missing on most sites. This seems to be a constant problem with Linux, in as much as once its installed, what do you do next?

Old 09-10-2007, 07:00 AM   #2
LQ Newbie
Registered: Sep 2007
Location: Spain
Distribution: Gentoo
Posts: 7

Rep: Reputation: 0
About what hardware is installed you could use those commands (as root), lspci and lsusb. Dmesg is also a good starting point.

As you are using Ubuntu surely your hardware will be recognized without any problem, but if not, you need to know how system recognizes both cards.

For example, from my lspci -v I get:
0000:00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Surecom Technology EP-320X-R
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at e400 [size=256]
Memory at ef012000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Now, dmesg:
[17179590.808000] eth0: RealTek RTL8139 at 0xd088c000, 00:02:44:52:6a:db, IRQ 11
[17179590.808000] eth0: Identified 8139 chip type 'RTL-8100B/8139D'
So, for my Realtek card I know that my system will use eth0.

From here, ifconfig to configure the cards.
Old 09-10-2007, 07:06 AM   #3
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301

Rep: Reputation: 30
Well, a default Linux install comes with all the most common drivers, so just try inserting the network cards, and when Linux starts, it should automatically detect them.

To see what hardware you have installed, there are some command line commands: lshw and lspci. Open a terminal and type in "man lshw" and "man lspci".

You will also need to configure the network. You can use ifconfig for this. See "man ifconfig" for details.

If something doesn't work, post back here and we'll see what we can suggest you try.
Old 09-10-2007, 04:13 PM   #4
LQ Newbie
Registered: Sep 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the replys guys. I did a bit of exploring and tinkering and got both cards setup fine. I also located some sites with guides to command line instructions, which seem to be invaluable.

In case anyone needs pointing in the same direction


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 do I install hardware? CrownAmbassador Linux - Hardware 81 06-29-2007 06:56 PM
New install - then new hardware matelot Linux - Newbie 5 05-05-2006 06:59 PM
How to install new hardware azazello Linux - Hardware 2 01-21-2006 04:04 PM
how do i install my hardware mandrakelinux Slackware 1 11-22-2005 06:46 PM
configure hardware before install OR install elo touchscreen drivers ahnree General 2 06-28-2004 09:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration