LinuxQuestions.org
Help answer threads with 0 replies.
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 11-16-2009, 01:32 PM   #1
WebTraffic
LQ Newbie
 
Registered: Nov 2009
Distribution: CentOS 5
Posts: 5

Rep: Reputation: 0
Help installing network driver, PLEASE!


Hey guys,

I am new to linux and have just installed my first installation on a partition, dual booting with Windows. I have installed CentOS v5 (from what I read it is the best for server use). I also read that it is about the same as Red Hat.

I'm not real sure how any of the commands work. After doing a bit of research, I have tried a few things but nothing has actually worked.

After the installation, I opened up Firefox and I am not connected to the internet. I have tried configuring my internet settings for both DHCP as well as assigning an IP address to myself. The only possible conclusion I could come to is that I need to install the network card driver.

I have download a few.. I am not really sure which one I am suppose to use though. When I try to install them, this is the error that I am getting.

Code:
[root@localhost ~]# cd Desktop
[root@localhost Desktop]# tar xvvf r8101-100100tar.bz2
drwxr-xr-x root/root         0 2007-04-26 10:29:24 r8101-1.001.00/
-rwxr-xr-x root/root      3317 2007-04-26 08:51:47 r8101-1.001.00/readme
drwxr-xr-x root/root         0 2007-04-26 08:52:14 r8101-1.001.00/src/
-rwxr-xr-x root/root      1597 2007-04-26 08:50:25 r8101-1.001.00/src/Makefile
-rwxr-xr-x root/root     73056 2007-04-25 20:56:34 r8101-1.001.00/src/r8101_n.c
-rwxr-xr-x root/root      1321 2007-04-25 15:48:20 r8101-1.001.00/Makefile
-rwxr-xr-x root/root       222 2007-04-26 10:29:24 r8101-1.001.00/release_note.txt
[root@localhost Desktop]# cd r8101-1.001.00
[root@localhost r8101-1.001.00]# make clean modules
make -C src/ clean
make[1]: Entering directory `/root/Desktop/r8101-1.001.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions
make[1]: Leaving directory `/root/Desktop/r8101-1.001.00/src'
make -C src/ modules
make[1]: Entering directory `/root/Desktop/r8101-1.001.00/src'
make -C /lib/modules/2.6.18-164.el5PAE/build SUBDIRS=/root/Desktop/r8101-1.001.00/src modules
make: Entering an unknown directory
make: *** /lib/modules/2.6.18-164.el5PAE/build: No such file or directory.  Stop.
make: Leaving an unknown directory
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/root/Desktop/r8101-1.001.00/src'
make: *** [modules] Error 2
My network card works on my windows partition (where I am posting from now).

Whenever I do the "make clean modules" and "make install" commands, I get errors.

I am a complete linux noob and have no idea what I am doing when it comes to the terminal. Could someone please shed some light on this for me? It has been driving me crazy for about 3 days now.

Thanks in advance,

Brandon

EDIT: here is the link for my network card driver. I am unsure which one I am suppose to install. http://www.realtek.com.tw/DOWNLOADS/...etDown=false#2

Last edited by WebTraffic; 11-16-2009 at 01:34 PM.
 
Old 11-16-2009, 01:51 PM   #2
davidnor
LQ Newbie
 
Registered: Nov 2009
Distribution: Debian Lenny and Mandriva
Posts: 3

Rep: Reputation: 0
What is the ouput of lsmod ?
 
Old 11-16-2009, 02:01 PM   #3
WebTraffic
LQ Newbie
 
Registered: Nov 2009
Distribution: CentOS 5
Posts: 5

Original Poster
Rep: Reputation: 0
I'm not sure if this is what you need, but here is what comes up.

Code:
[root@localhost ~]# cd Desktop
[root@localhost Desktop]# cd r8101-1.001.00
[root@localhost r8101-1.001.00]# lsmod
Module                  Size  Used by
vfat                   15937  1 
fat                    51165  1 vfat
i915                   24001  2 
drm                    65493  3 i915
autofs4                29253  3 
hidp                   23105  2 
rfcomm                 42457  0 
l2cap                  29505  10 hidp,rfcomm
bluetooth              53925  5 hidp,rfcomm,l2cap
lockd                  63081  0 
sunrpc                145405  2 lockd
ip_conntrack_netbios_ns     6977  0 
ipt_REJECT              9665  1 
xt_state                6209  2 
ip_conntrack           53281  2 ip_conntrack_netbios_ns,xt_state
nfnetlink              10713  1 ip_conntrack
iptable_filter          7105  1 
ip_tables              17029  1 iptable_filter
ip6t_REJECT             9409  1 
xt_tcpudp               7105  10 
ip6table_filter         6849  1 
ip6_tables             18053  1 ip6table_filter
x_tables               17349  6 ipt_REJECT,xt_state,ip_tables,ip6t_REJECT,xt_tcpudp,ip6_tables
cpufreq_ondemand       12493  1 
acpi_cpufreq           13897  3 
dm_multipath           24909  0 
scsi_dh                11713  1 dm_multipath
video                  21193  0 
hwmon                   7365  0 
backlight              10049  1 video
sbs                    18533  0 
i2c_ec                  9025  1 sbs
button                 10705  0 
battery                13637  0 
asus_acpi              19289  0 
ac                      9157  0 
ipv6                  267361  21 ip6t_REJECT
xfrm_nalgo             13381  1 ipv6
crypto_api             12609  1 xfrm_nalgo
parport_pc             29157  0 
lp                     15849  0 
parport                37513  2 parport_pc,lp
sr_mod                 19941  0 
cdrom                  36577  1 sr_mod
snd_hda_intel         427281  1 
snd_seq_dummy           7877  0 
snd_seq_oss            32577  0 
snd_seq_midi_event     11073  1 snd_seq_oss
snd_seq                49585  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         11725  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            42817  0 
snd_mixer_oss          19009  1 snd_pcm_oss
snd_pcm                72261  2 snd_hda_intel,snd_pcm_oss
snd_timer              24517  2 snd_seq,snd_pcm
snd_page_alloc         14281  2 snd_hda_intel,snd_pcm
snd_hwdep              12869  1 snd_hda_intel
snd                    55749  11 snd_hda_intel,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep
soundcore              11553  1 snd
serio_raw              10693  0 
i2c_i801               11725  0 
sg                     36573  0 
i2c_core               23745  2 i2c_ec,i2c_i801
pcspkr                  7105  0 
dm_raid45              67145  0 
dm_message              6977  1 dm_raid45
dm_region_hash         15681  1 dm_raid45
dm_mem_cache            9537  1 dm_raid45
dm_snapshot            22885  0 
dm_zero                 6209  0 
dm_mirror              24265  0 
dm_log                 14657  3 dm_raid45,dm_region_hash,dm_mirror
dm_mod                 63225  11 dm_multipath,dm_raid45,dm_snapshot,dm_zero,dm_mirror,dm_log
usb_storage            77601  1 
ahci                   35017  2 
libata                157445  1 ahci
sd_mod                 25281  5 
scsi_mod              141717  6 scsi_dh,sr_mod,sg,usb_storage,libata,sd_mod
ext3                  125001  2 
jbd                    57065  1 ext3
uhci_hcd               25549  0 
ohci_hcd               24809  0 
ehci_hcd               34125  0
Also, whenever it is in the boot up process, when it is going through the OK and Failed process.. it says Failed for eth0 and under it says.. eth0 has different MAC address than expected, ignoring.

Last edited by WebTraffic; 11-16-2009 at 02:03 PM.
 
Old 11-16-2009, 02:09 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
First install the kernel source
Code:
yum install kernel-devel
then try again
 
Old 11-16-2009, 02:27 PM   #5
davidnor
LQ Newbie
 
Registered: Nov 2009
Distribution: Debian Lenny and Mandriva
Posts: 3

Rep: Reputation: 0
I am no expert but there is a few thing you can check before somebody else answer your post, post the output of lspci to list your pci cards. Also i see that you did (make clean) should be something like (make then make install), have you check the provided readme files in (r8101-1.001.00/readme) for proper installation.
 
Old 11-16-2009, 03:08 PM   #6
WebTraffic
LQ Newbie
 
Registered: Nov 2009
Distribution: CentOS 5
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by repo View Post
First install the kernel source
Code:
yum install kernel-devel
then try again
I tried this. It tries to connect to the internet to download it, but I cannot connect to the internet because I am disconnected and trying to install my NIC driver so that I can get online lol

Code:
[root@localhost ~]# yum install kernel-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=addons error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot find a valid baseurl for repo: addons
Any alternatives?
 
Old 11-16-2009, 03:43 PM   #7
WebTraffic
LQ Newbie
 
Registered: Nov 2009
Distribution: CentOS 5
Posts: 5

Original Poster
Rep: Reputation: 0
is there some way I can download the files onto a flash drive then install them onto centos that way?
 
Old 11-16-2009, 04:21 PM   #8
davidnor
LQ Newbie
 
Registered: Nov 2009
Distribution: Debian Lenny and Mandriva
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by WebTraffic View Post
is there some way I can download the files onto a flash drive then install them onto centos that way?
The kernel devel should be available onto your installation dvd, most of what you'll need will probably be onto that dvd.
Also since you said your dual booting you should be able download whatever you need to your windoz and access it from within your Linux install through /mnt/YourWindozPartition
 
Old 11-18-2009, 11:40 AM   #9
WebTraffic
LQ Newbie
 
Registered: Nov 2009
Distribution: CentOS 5
Posts: 5

Original Poster
Rep: Reputation: 0
I wouldn't know about how going about downloading the kernel devel. I have followed the link given in the mirror list links... do I just download these files? How would I go about installing kernel devel without internet access?
 
Old 11-18-2009, 11:52 AM   #10
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Rep: Reputation: 36
how about installing the ethernet drivers through insmod or modprobe,that should work i guess.

Is the nic card being detected in windows,that is are u able to browse the net from windows? If not might be an issue with ur nic card and try doing a mii-tool eth0 and see what it says.

Also mention what nic card you have :-)

Last edited by kdelover; 11-18-2009 at 11:59 AM.
 
  


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
Problem on installing network driver zulfahmi Linux - Newbie 2 03-13-2007 04:58 PM
[SOLVED] Need Help Installing Driver for network card bsurfin Linux - Software 13 11-01-2006 10:10 PM
Installing a Network Driver azncrazycooler Linux - Networking 10 09-29-2005 11:07 AM
PLEASE HELP me with installing my network card driver! john8775 Linux - Newbie 7 03-10-2005 01:46 PM
Installing a network driver thesoccerking Linux - Networking 3 05-14-2002 11:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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