Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to detect hardware & add new one?


    Hai,...

    I'm a newbie with linux.
    Right now i'm using Fedora 9, and i'm having problems.

    If i add new hardware, such as ethernet card, video card, or dvd drive, how can i see it in the linux file system?
    In windows, we can right click on My computer >>Manage >> Device Manager, and we can see all the hardware there and also the conflict one or missing driver.
    Can i detect my hardware like that in Fedora? (no need GUI, just a list of hardware and their status)

    And /dev directory is where all the hardware list are, but i can't understand what's in it. There sda, hda, tty, etc.... what's all that? is there any tutorial about this?
    Which one is my ethernet, which one is my HD? Something like that. Cause, if i don't know how Fedora detect my hardware or with what names did it gives to my hardware, how can i mount it?

    Recently i add 2nd ethernet card to my PC, and Fedora detect it automaticaly. But it detect the eth as eth3 not as eth1. And after i check in /etc/sysconfig/network_scripts/... there is no ifcfg-eth3. How can this be, and when i manually add ifcfg-eth3, my network didn't run and there some warning about my kernel.

    Thx,
    Rabbi

  2. #2
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Posts
    858
    hi,


    there are some very good tools for hardware information such as dmidecode, lsusb, lshw , lspci etc but as a beginner the output will sound Chinese to you.

    instead you can use some easier to understand tools as follows:

    1) for the NIC you can run
    Code:
    /sbin/ifconfig -a
    /sbin/mii-tool
    for mii-tool you need to be root

    2) for the HD you can check(as root) with
    Code:
    /sbin/fdisk -l
    note -- its a lower case L after the minus

    3) for the NIC being named eth3 you can change the name by editing the file
    Code:
    /etc/udev/rules.d/70-persistent-net.rules
    Linux and me it's a love story

  3. #3

    Thank you, it works =)

    Hai,....

    Thank you khafa, it works.

    But i wonder, if i want to add a new hardware.
    What's the step by step procedure that i must do?
    And what file system will be involved?

    Thx,
    Rabbi_rabbi

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Posts
    858
    -->
    hi,

    it depends on what hardware you want to add.
    for example if you wanna add a new NIC all you need is to buy one that is supported(most of them are) and just plug it in your PCI slot and you are done.
    if you are more specific about the hardware you want to add maybe somebody will be able to help you
    Linux and me it's a love story

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •