I just successfully installed Red Hat Enterprise Linux 5 (RHEL5), this is my first time using dual boot OS (Windows and Linux). Before this I just use RHEL 4 in Virtualbox. At the very first, after successfully installed RHEL 5 on my machine and login with KDE session, I clicked on Web Browser button. Then, OMG..how can I connect to the internet. Firefox returned “Cannot Find Server”. There is too many different between Virtualbox and real Linux environment. When I check ifconfig -a on terminal it return the following result – only appear lo and sit0, where my eth0?? :
[root@localhost r8101-1.001.00]# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1611 errors:0 dropped:0 overruns:0 frame:0
TX packets:1611 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4526976 (4.3 MiB) TX bytes:4526976 (4.3 MiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
I have no choice and open terminal then type “init 0″ (shutdown)
. Then switch back to Windows XP to find the type of driver I need to install on Linux RHEL 5 and find solution over the internet. Noticed that I am using Realtek RTL8139/810x for NIC on Windows. After that, quickly go to the internet to find “how to install Realtek RTL8139/810x on Linux RHEL 5“. Then, I found that many crappy thing and crap suggestion over the forum. I read almost all Linux forum and follow all the sugesstion included to use ndiswrapper to install that Realtek NIC driver. But it doesn’t work on my machine. Yes I confess that I am new in this matter and perhaps ndiswrapper is too advanced for me.
Then, I have decided to try and error. I go to Realtek official website to see if I can get the specific driver for Linux. Found that:
RTL8100B(L)/RTL8100C(L)/RTL8101L/RTL8139C(L)
RTL8139C(L)+/RTL8139D(L)/RTL8100(L)
RTL8130/RTL8139B(L)
all at the same download page. Then I made I my own conclusion that, Realtek8100 or Realtek8101 can be use as well since I can’t find any RTL8139 driver for linux over the internet. Too not wasting your time to read my crappy story, then download this driver over HERE. DOWNLOAD DRIVER HERE, before that make sure you login as root. After download complete, just write the following command on your terminal:
[root@localhost ~]# cd Desktop (i put the file on Desktop)
[root@localhost Desktop]# tar xvvf r8101-1.001.00.tar.bz2 <—if this appear, then you’ve installed the driver successfully:)
.
.
[root@localhost Desktop]# cd r8101-1.001.00
[root@localhost r8101-1.001.00]# make clean modules
.
.
.
[root@localhost r8101-1.001.00]# make install
.
.
[root@localhost r8101-1.001.00]# depmod -a
[root@localhost r8101-1.001.00]# insmod ./src/r8101.ko
[root@localhost r8101-1.001.00]# lsmod | grep r8101
r8101 28688 0
Then check if your ip have configured correctly or not
[root@localhost r8101-1.001.00]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1C:25:4D:9A:0A
XXXXX XXXX MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:177 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1611 errors:0 dropped:0 overruns:0 frame:0
TX packets:1611 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4526976 (4.3 MiB) TX bytes:4526976 (4.3 MiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Since you can see the ethX which X is 0,1,2,3 (mine is eth0)…. instead of just lo and sit0, then its working now. NIC driver has been installed successfully.
Finally, on your terminal type:
[root@localhost ~]# system-config-network
You can see on hardware tab there are Realtek Semiconductor with status ok. Then, move to Devices tab, and click New > Ethernet connection > Forward > Choose REaltek Semiconductor…. > Forward > then up to you whether want to set DHCP or set static IP.
Now you can open Firefox or Konqueror and start browsing internet happily:)
[p/s] If check again on your terminal with ifconfig -a it should return your local ip address under the eth0 which is 192.168.1.* ; * is 2-255
eth0, lo, ndiswrapper, Realtek RTL8139, Realtek8100, Realtek8101, Red Hat Enterprise Linux 5, RHEL5, sit0, Virtualbox Linux Tips, Online, Technology
lpas dpt connect ngn internet bley r gna command ‘yum’ tuk install..xyh nk download installer..
hehehe..tp ak xpnah try lg..cz dlu blja gna virtual jek..
Translated:
After be able to connect to internet, then you can apply command ‘yum’ to install..does not need to download the installer..hehehe..but I had never tried before..because I ever use virtual (I thought it is virtualbox) only..
Err..even you have internet connection, how come you can connect to internet without your NIC configured correctly?? So, this is the first pain you MUST faced.
Virtualbox is different, they got virtual NIC already builded in. You can use NAT instead of Virtual Host Interface. But NAT will not use your real IP, so it is useless if you want to install IP dependent application such as Oracle database.
tankyou
You are always welcome
“..You can see on hardware tab there are Realtek Semiconductor with status ok. ..
No..no it’s not there. I have an onboard NIC as well which keeps taking eth0 when I start up. ANy ideas?
Thanks
Pingback: Activating RTL 8139 NIC(integreted) on RHEL 5
Thaks you very much . I was facing same problem .fighting to access Internet from Redhat,for this searching forum finally i got it from you thanks again yaar you did a good job…..
I am Redhat certified person, i install RHEL5 on my office computer, installation was completed successfully, but a problem occur.Problem was in the configuration of NIC
my office computer using Realteck RTL8168C(p)/8111C(p) PCI-E Gigabit-Ethernet Nic, But version linux was RHEL5,and Kernel version is Kernel /vmlinuz-2.6.18-8.el5.In my /etc/sysconfig/network-scripts/,there is no eth0 file
pls somebody help me solve this issue.If this version of kernel support the above mentioned NIC .please tell me
Err..you are the certified one, I should ask u this question. By default, RHEL5 was not installed with RealTek driver. Then we should installed it manually.
Regarding compatibility of kernel version, for me, as long as I can see that working flawlessly, its ok. The thing is, dare to try and error.
this suggestion not applicable to my linux os my os version is redhat lionux ver 5.63 please provide the suggestion to what to do to install my drivers of the rtl8139\810x for linux os
Jayaram, err..I don’t think that RHEL 5 has released el kernel 5.63
What kind of Redhat you use? I am installed this driver on default linux kernel i.e. RHEL 5.2.6.18 and it work flawlessly.
RTL8139 has a free software driver which comes with the kernel – if the nic is not initially detected and autoconfigured, you probably just need to do this:
modprobe 8139too
system-config-network
If your config scripts do not mention the dev associated with your nic, and it does not have to be /dev/eth0, then you probably need to configure your network connection.
For decent linuk advice try:
http://www.linuxquestions.org
Thank you.
Hi Simon, can I know what Linux distro and kernel version that you refer to? For RHEL 5, there are no RTL8139 driver for default installation of RHEL 5. Plus there are no official released kernel for RHEL 5 yet.
hi!
i’m pravin.
Thanks a lot for this help by page.
i’ll try this.
ok…!!!!!!!
ok pravin, good luck..
how can i integrate the NIC modules into the installation source?
Hi Bayapathi, in this case, I don’t integrate any NIC module to the installer, I just use the installer as it is..
how can i find realtek 8111c driver for linux
Umit, try to download from Realtek official website. If the driver that you mention was not there, then try to use any other Realtek driver that available at the Realtek official website. Try one by one until you successfully connected to the network..good luck..
good link
thanks you
I try the above method,
while in the particular step
insmod ./src/r8101.ko
in the download package “r8101.ko” I can’t find these file in that download pacakge.
How to get these file
Please help me How to resolve it
Hi Jkumar..have you tried to recompile the driver?
Jkumar, it is something to do with your linux kernel. Perhaps your kernel not as same as RHEL 5.
Hi,
I am not able to find the driver software at the given location. Kindly share this with me.
Regards,
Subhram007
Hi subhram007, just checked..The link is working fine and no problem. Just a little bit patient is required.
The destination or referral domain for this link has been banned from linkbucks due repeated violations in our terms of use.
If you believe this is in error, please contact us.
It worked for me great help…I installed RTL8169.. keep it up.
Thanks a lot!!
Pingback: Install nic | Yourkenoinfo