Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All, Previously Red Hat System 5 was installed in my system recently got downloaded Red hat 6 ISO and installed. The occurrence is really good. But even My Lan ...
  1. #1
    Just Joined!
    Join Date
    Feb 2010
    Posts
    5

    Post Networking in Redhat linux 6

    Hi All,

    Previously Red Hat System 5 was installed in my system recently got downloaded Red hat 6 ISO and installed. The occurrence is really good. But even My Lan is inserted in the jack panel but the icon of Cross on network is showing. Found that the lan card detected was some different company. How to detect the Lan Card in Linux

    Regards
    Vikas Kanojia

  2. #2
    Linux Guru
    Join Date
    May 2011
    Posts
    1,843
    I'm not exactly sure what you mean by "Cross", but to answer your question, there are several things you can do to interrogate your system to get network adapter info.

    # show devices attached to PCI bus
    Code:
    lspci
    # show network adapters (real, loopback, virtual, etc.) that have kernel drivers installed
    Code:
    ls /sys/class/net
    # get the driver for a particular device
    Code:
    ethtool -i eth0
    # check if a physical link is detected for a particular device
    Code:
    ethtool eth0|grep Link
    # get current tcp/ip configuration
    Code:
    ip a
    # get routing info
    Code:
    route -n
    # get DNS settings
    Code:
    cat /etc/resolv.conf
    # get tcp/ip configuration
    Code:
    grep -H . /etc/sysconfig/network-scripts/ifcfg-eth*

Posting Permissions

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