LinuxQuestions.org
Review your favorite Linux distribution.
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 05-13-2014, 07:13 AM   #1
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Rep: Reputation: Disabled
network card


Hi,

I have centos 6.5 x86. I just attached NIC in PCI slot. How to know if it was detected. i mean how to grep it in dmesg? and what is the device name or how should i install driver for it. model number of new lan card is Dlink DGE-528T.
 
Old 05-13-2014, 07:25 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Try
Code:
grep -i network dmesg

grep -i dlink dmesg

lspci
 
Old 05-13-2014, 07:43 AM   #3
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
Try
Code:
grep -i network dmesg

grep -i dlink dmesg

lspci
below is the output
Code:
[root@SYS-1586 Desktop]# dmesg |grep -i network
Initalizing network drop monitor service
e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
e1000e 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection
udev: renamed network interface eth1 to p4p1
udev: renamed network interface eth0 to em1
[root@SYS-1586 Desktop]#
it doesn't show if i type dlink instead of network.

yes dlink entry comes when i run lspci
Code:
04:02.0 Ethernet controller: D-Link System Inc DGE-528T Gigabit Ethernet Adapter (rev 10)
Kindly tell me how to install it now? or should i create the file manually?
 
Old 05-13-2014, 08:06 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Look into /etc/sysconfig/network-scripts for files like ifcfg-eth0, ifcfg-eth1 etc.
They are text files; check the contents.

Also
Code:
ifconfig -a
 
Old 05-13-2014, 08:16 AM   #5
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
Look into /etc/sysconfig/network-scripts for files like ifcfg-eth0, ifcfg-eth1 etc.
They are text files; check the contents.

Also
Code:
ifconfig -a
Nope, that directory does not contain any file like that. it has one NIC script named em1. But not em2 or eth0 or eth1.
 
Old 05-13-2014, 08:27 AM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
... so post the content of that file and run that cmd ...
 
Old 05-13-2014, 08:32 AM   #7
sachin.davra
Member
 
Registered: Jul 2013
Posts: 213

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
... so post the content of that file and run that cmd ...
You have immance knowledge. it is resolved. it was renamed when system was booted i got to know it when i ran dmesg and ifconfig -a.

thanks for sharing your knowledge.
 
1 members found this post helpful.
  


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
replaced eth0 network card new network card comes up as eth1 glorsplitz Linux - Networking 7 03-26-2009 09:03 PM
Linux and Network card compatbility, will any network card work ? MrMark Linux - Networking 6 02-12-2007 09:17 PM
Usb Boot Business Card Iso - Network Card - Kernel Module yogi4yu Debian 0 10-07-2006 07:10 AM
linux shuts down built in network card then windows tells me network card is unplugge lesmoxhaybaker SUSE / openSUSE 8 08-29-2006 06:10 PM
network card issue (the card itself no network problem) Youri Linux - Hardware 2 01-23-2006 09:58 AM


All times are GMT -5. The time now is 08:11 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