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 ...
- 06-02-2011 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 5
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
- 06-02-2011 #2Linux 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
# show network adapters (real, loopback, virtual, etc.) that have kernel drivers installedCode:lspci
# get the driver for a particular deviceCode:ls /sys/class/net
# check if a physical link is detected for a particular deviceCode:ethtool -i eth0
# get current tcp/ip configurationCode:ethtool eth0|grep Link
# get routing infoCode:ip a
# get DNS settingsCode:route -n
# get tcp/ip configurationCode:cat /etc/resolv.conf
Code:grep -H . /etc/sysconfig/network-scripts/ifcfg-eth*


Reply With Quote