LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-15-2007, 11:58 AM   #1
aq_mishu
Member
 
Registered: Sep 2005
Location: Bangladesh
Distribution: RH 7.2, 8, 9, Fedora
Posts: 217

Rep: Reputation: 30
Question Intel Built-in NIC not found in CentOS 4.0


I was building a PBX machine using Asterisk and CentOS 4.0 (Trixbox 2.2). I have to use almost all the latest M/Bs those support Dual Core/Core2Duo. I just forgot the name of my current m/b but it is one of the new m/bs. My problem is i installed the OS successfully but after that, i found only lo is active. I can use netconfig but there is no eth0. I need to add the hardware. Since i tried to add eth0. but the computer is telling me that there is no /dev/eth0 found. Probably i have to install the ethernet card.(Means i want to use my onboard nic). Thus what should i do?? Best if i dont have to re compile the karnel since the Software is Asterisk embedded with CentOS, thus i need some kind of config file like rpms so i can install it. Is there any way?? Please help me...

Mishu~
 
Old 09-15-2007, 01:08 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Step one: provide useful information, which motherboard exactly??? which Ethernet device exactly???

Hint; the typed command 'lspci -v' will provide information about the on-board Ethernet device, example only the part about the Ethernet device;

06:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

Hint: after you figure out which Ethernet device you have on-board look at this sites Hardware Compatibility List;

http://www.linuxquestions.org/hcl/
 
Old 09-15-2007, 01:36 PM   #3
aq_mishu
Member
 
Registered: Sep 2005
Location: Bangladesh
Distribution: RH 7.2, 8, 9, Fedora
Posts: 217

Original Poster
Rep: Reputation: 30
well... i need to open the casing and then i can tell the exact model of the m/b. also i may get about it from the bios. Then i'll post again... will that help then?? i think so...
 
Old 09-15-2007, 01:49 PM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
You can also use the lspci command to find out more about the NIC. I wouldn't be surprised if you had a REALTEK 8168, it's on quite a few recent motherboards and I remember that is was not recognized by Fedora Core 5 & 6 and CentOS 4. It is by Fedora 7 and CentOS 5. If it is the REALTEK NIC indeed, you should fetch the driver from REALTEK and install it yourself.
 
Old 09-18-2007, 11:09 AM   #5
aq_mishu
Member
 
Registered: Sep 2005
Location: Bangladesh
Distribution: RH 7.2, 8, 9, Fedora
Posts: 217

Original Poster
Rep: Reputation: 30
Well, i just loaded the software and did the lspci... then i got this....

02:00.0 Ethernet controller: Realtek Semiconductor Co. Ltd. RTL8111/8168B
PCI Express Gigabit Ethernet cotroller (rev01)

My bother board is: Intel D945GCNL and it has a on board NIC. I want to use that one... but i dont get any hw in the machine... i think it was not installed. so what should i do in order to use that onboard NIC??

I am trying to work with Asterisk + CentOS 4.5 = Trixbox 2.2.4

Now i need help... plz....
 
Old 09-18-2007, 11:57 AM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
See: http://www.centos.org/modules/newbb/...10249&forum=40
 
Old 09-18-2007, 12:03 PM   #7
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Yep, two solutions:
- install the driver yourself
- install CentOS 5 instead, which does have support for that particular NIC
 
Old 09-18-2007, 12:05 PM   #8
aq_mishu
Member
 
Registered: Sep 2005
Location: Bangladesh
Distribution: RH 7.2, 8, 9, Fedora
Posts: 217

Original Poster
Rep: Reputation: 30
great... now i am trying to install the drivers... but well... i need to know how to install drivers and also i need to know very first that this installation (driver) will make life simple like if my machine restarts, things will not change and i will not need to install again after a restart/reboot... i'm checking...
 
Old 09-18-2007, 12:07 PM   #9
aq_mishu
Member
 
Registered: Sep 2005
Location: Bangladesh
Distribution: RH 7.2, 8, 9, Fedora
Posts: 217

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jay73 View Post
Yep, two solutions:
- install the driver yourself
- install CentOS 5 instead, which does have support for that particular NIC
Ya... trying to install... and opss...no way to install centos 5 right now.... i am using trixbox which is embedded with centos 4.5
 
Old 09-18-2007, 12:16 PM   #10
aq_mishu
Member
 
Registered: Sep 2005
Location: Bangladesh
Distribution: RH 7.2, 8, 9, Fedora
Posts: 217

Original Poster
Rep: Reputation: 30
downloaded the file... but they are damaged from the source... huh...!!! sourcing again... what to say?? :-(

Last edited by aq_mishu; 09-18-2007 at 12:17 PM.
 
Old 09-18-2007, 12:18 PM   #11
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
If I remember correctly, the driver was first included with the 2.6.18 kernel. If you upgrade to 2.6.18-, the driver will need to be reinstalled manually. If you upgrade to 2.6.18+, it will come along with the rest of the update. So if you do updates, watch closely the number of any newer kernels about to be installed.
 
Old 09-18-2007, 12:52 PM   #12
aq_mishu
Member
 
Registered: Sep 2005
Location: Bangladesh
Distribution: RH 7.2, 8, 9, Fedora
Posts: 217

Original Poster
Rep: Reputation: 30
i want to use centos 4.5 and no way... now finally i have managed the driver. no i have to install... the readme of the driver tell that:...

<Requirements>

- kernel source tree (supported versions 2.4.x)
- compiler/binutils for kernel compilation



<Quick install with proper kernel settings>

Unpack the tarball :
tar vzxf r1000_vX.YZ.tgz

Change to the directory:
cd r1000_vX.YZ

If you are running the target kernel, then you should be
able to do :

make clean modules (as root or with sudo)
make install
depmod -a
==================

What it is mean?? so now how can i proceed?? i am a newbe and completely new on doing this....
 
Old 09-20-2007, 10:07 AM   #13
aq_mishu
Member
 
Registered: Sep 2005
Location: Bangladesh
Distribution: RH 7.2, 8, 9, Fedora
Posts: 217

Original Poster
Rep: Reputation: 30
Question

well, how can i check if my lan has been installed after the first OS installation?? I have installed trixbox2.3-beta2 and then i didnt got the onboard nic. like previous... then lspci is giving same output. now at the very first, i need to know that the device has been installed. then i can go netconfig...

after doing ifconfig, i only got about lo (loopback) and nothing else...

plz help...

Mishu~~

Also i now have have the drivers downloaded... now i need a step by step guide for installing it. Karnel is 2.6....

Last edited by aq_mishu; 09-20-2007 at 11:07 AM.
 
Old 09-20-2007, 01:43 PM   #14
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
You need to make sure that you have the latest driver available. There are a few versions around and the earlier ones all have a bug in my experience; they all involved editing the source files before they could be made to run.

Anyway, you need to make sure that you have kernel sources installed. On Redhat/Fedora/CentOS, this package is called kernel-devel. Once you have those installed, extract the driver source. Then cd into the driver folder and type in the commands as specified in the Readme. If all goes well, your NIC should now be detected. Go to System > Admin > Network for configuration of eth0; the dialog box should list the device in question. After that, you will need to restart networking (reboot).
 
Old 09-20-2007, 02:41 PM   #15
aq_mishu
Member
 
Registered: Sep 2005
Location: Bangladesh
Distribution: RH 7.2, 8, 9, Fedora
Posts: 217

Original Poster
Rep: Reputation: 30
Well, i will use centos...so where will i found the kernel devels??
 
  


Reply



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
Slackware 10.2 - Problem using Built-in NIC StevenCM Linux - Networking 1 06-03-2006 10:40 PM
asus built in NIC Rammstein666 Linux - Hardware 7 11-27-2005 08:31 PM
built-in wlan NIC problem peekho Linux - Wireless Networking 13 07-16-2004 07:27 AM
RH9 built-in NIC probelm...please help!! faruquehabib Red Hat 5 02-16-2004 09:36 AM
NIC w/ built-in hub -> cable modem + LAN ? TedMaul Linux - Networking 3 01-21-2004 10:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:07 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
Open Source Consulting | Domain Registration