LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-07-2008, 11:26 AM   #1
stuartornum
Member
 
Registered: Feb 2006
Posts: 44

Rep: Reputation: 15
Realtek 8169SC NIC install on CentOS 5


Hi,

I have a Foxconn 945G7MD, which has an onboard Gbit LAN, according to Foxconn website its a Realtek 8110SC chipset.

I have installed CentOS 5 x64 bit, bare minimum, and the NIC was not installed, some searching around, I found out that this driver isn't included...?

I followed CentOS's guide to installing it (here) I downloaded r1000-kmod-1.05-3.2.6.18_8.1.1.el5.src.rpm and
Code:
rpm -ivh r1000-kmod-1.05-3.2.6.18_8.1.1.el5.src.rpm
Which seemed to go fine, now im not quite sure what to do now.

I have managed to put another supported NIC into the system, so I can get internet on the it!

Please note, I have been using Linux for a couple of years, but never had to do things like "compile the kernel" actually, I may have done, just without realising, lol!

Some more info which you may find handy

Code:
# lspci
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller IDE (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
02:00.0 IDE interface: JMicron Technologies, Inc. JMB361 AHCI/IDE (rev 02)
02:00.1 IDE interface: JMicron Technologies, Inc. JMB361 AHCI/IDE (rev 02)
03:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev c0)
03:02.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
03:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169SC Gigabit Ethernet (rev 10)
Code:
]# lsmod
Module                  Size  Used by
autofs4                56393  2
hidp                   83649  2
l2cap                  89281  5 hidp
bluetooth             118725  2 hidp,l2cap
sunrpc                195977  1
ipv6                  410913  20
acpi_cpufreq           46141  1
dm_mirror              60993  0
dm_mod                 93841  1 dm_mirror
video                  51273  0
sbs                    49921  0
i2c_ec                 38593  1 sbs
button                 40545  0
battery                43849  0
asus_acpi              50917  0
acpi_memhotplug        40133  0
ac                     38729  0
lp                     47121  0
floppy                 95465  0
snd_hda_intel          52189  0
snd_hda_codec         215233  1 snd_hda_intel
snd_seq_dummy          37061  0
snd_seq_oss            65601  0
snd_seq_midi_event     41025  1 snd_seq_oss
snd_seq                87905  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         41813  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            77409  0
snd_mixer_oss          50113  1 snd_pcm_oss
sg                     69737  0
snd_pcm               116553  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
ide_cd                 73697  0
snd_timer              57417  2 snd_seq,snd_pcm
snd                    95080  9 snd_hda_intel,snd_hda_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_os                     s,snd_mixer_oss,snd_pcm,snd_timer
pcspkr                 36289  0
shpchp                 70765  0
i2c_i801               41429  0
parport_pc             62313  1
natsemi                61345  0
cdrom                  68713  1 ide_cd
soundcore              43873  1 snd
i2c_core               56129  2 i2c_ec,i2c_i801
parport                73165  2 lp,parport_pc
serio_raw              40517  0
snd_page_alloc         43345  2 snd_hda_intel,snd_pcm
ahci                   53061  0
ata_piix               48329  4
libata                139369  2 ahci,ata_piix
sd_mod                 54081  5
scsi_mod              184057  4 sg,ahci,libata,sd_mod
ext3                  166609  3
jbd                    93873  1 ext3
ehci_hcd               65229  0
ohci_hcd               54493  0
uhci_hcd               57433  0
Thanks
 
Old 01-07-2008, 01:57 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: 57
You have the source rpm file, now make sure you also have the kernel-devel and kernel-headers rpm packages installed on your system;

yum check-update
yum install kernel-devel kernel-headers

Next install the source rpm file; rpm -ivh r1000-kmod-1.05-3.2.6.18_8.1.1.el5.src.rpm

Change to the directory where the installed spec file resides; cd /usr/src/redhat/SPECS
Build: rpmbuild -bb something.spec
Install the binary driver from where the output sys the binary rpm fie you just built resides, someplace like /usr/src/redhat/RPMS/i386 for example.

Or just follow the instructions here: http://dag.wieers.com/rpm/FAQ.php#B
Then do: yum install dkms-r1000
 
Old 01-07-2008, 03:50 PM   #3
stuartornum
Member
 
Registered: Feb 2006
Posts: 44

Original Poster
Rep: Reputation: 15
Hi Lenard,

Thanks for the reply.

I have done all of what you said above, all went fine. The only thing now is how do I get it enabled?

I have done:
Code:
[root@core ~]# modprobe r8169
and here is lsmod
Code:
[root@core ~]# lsmod
Module                  Size  Used by
r8169                  64329  0
autofs4                57289  2
hidp                   83649  2
l2cap                  89409  5 hidp
bluetooth             118725  2 hidp,l2cap
sunrpc                197513  1
ipv6                  411425  20
cpufreq_ondemand       40401  2
acpi_cpufreq           46141  1
dm_mirror              60105  0
dm_multipath           52433  0
dm_mod                 96017  2 dm_mirror,dm_multipath
video                  51273  0
sbs                    49921  0
backlight              39873  0
i2c_ec                 38593  1 sbs
button                 40545  0
battery                43849  0
asus_acpi              50917  0
acpi_memhotplug        40133  0
ac                     38729  0
lp                     47121  0
floppy                 95465  0
sg                     69865  0
snd_hda_intel          55137  0
snd_hda_codec         296513  1 snd_hda_intel
snd_seq_dummy          37061  0
snd_seq_oss            65473  0
snd_seq_midi_event     41025  1 snd_seq_oss
snd_seq                87905  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         41557  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            77505  0
snd_mixer_oss          49985  1 snd_pcm_oss
shpchp                 70765  0
snd_pcm               116681  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
i2c_i801               41429  0
ide_cd                 73697  0
snd_timer              57161  2 snd_seq,snd_pcm
snd                    95977  9 snd_hda_intel,snd_hda_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              41825  1 snd
snd_page_alloc         44113  2 snd_hda_intel,snd_pcm
i2c_core               56129  2 i2c_ec,i2c_i801
cdrom                  68713  1 ide_cd
serio_raw              40517  0
parport_pc             62313  1
parport                73164  2 lp,parport_pc
natsemi                61345  0
pcspkr                 36289  0
ahci                   55621  0
ata_piix               49861  4
libata                160849  2 ahci,ata_piix
sd_mod                 56257  5
scsi_mod              186361  3 sg,libata,sd_mod
ext3                  166993  3
jbd                    93873  1 ext3
ehci_hcd               65229  0
ohci_hcd               54493  0
uhci_hcd               57433  0
I have ifcfg-eth1 (this is my working 100Mb NIC) I have created ifcfg-eth0 and put in the usual stuff, pretty much same as ifcfg-eth1.

Then issued:
Code:
[root@core ~]# service network restart
Shutting down interface eth1:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:  Device eth0 does not seem to be present, delaying initialization.
                                                           [FAILED]
Bringing up interface eth1:
Determining IP information for eth1... done.
                                                           [  OK  ]
Thanks again
 
Old 01-07-2008, 04:16 PM   #4
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: 57
Did you forget to edit the /etc/modprobe.conf file??

alias eth0 r8189

By the way both Ethernet devices should not be active at the same time on the same subnet.

Last edited by Lenard; 01-07-2008 at 04:19 PM.
 
  


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
Installing the realtek r8168 on centOS 4.4 galrub Linux - Newbie 2 04-16-2007 02:46 AM
Realtek r8168 on Centos latest release galrub Red Hat 1 03-13-2007 05:50 PM
Realtek NIC install BillCorno Linux - Networking 1 05-16-2006 08:33 PM
How to install and configure Realtek 8139 Nic card zerokool Linux - Newbie 5 08-14-2003 02:23 AM

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

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