How to rlt8139 D Lan in Fedora Core 6

How to Install rtl8139 D Lan in Fedora 6 or Any Version (try for any kernel).

See if the device is known;

Open->Terminal

and as a root

[Puneet@localhost ~]$su –

[Puneet@localhost ~]$ Password:

[root@localhost ~]# /sbin/lspci -v

The Above Command will show the Devices

See if the driver is loaded with the following command :
[root@localhost ~]#cat /proc/modules | grep 8139too

if the above command shows 8139too (most probably )exits in between the result ,it means you have to try using first the following

as a root

[root@localhost ~]#depmod -a

[root@localhost ~]#modprobe rtl8139too

or

for only rtl8139

[root@localhost ~]#depmod -a

[root@localhost ~]#modprobe rtl8139

modprobe rtl8139 or rtl8139too installs the driver file for the card, but also any other modules rtl8139 is dependent on (namely pci-scan). It’s basically a shell for the command insmod. insmod has an option, -f, just for such an occasion which forces an installation of a modules despite a kernel-module mismatch.
However, short of adding this option to the modprobe configuration file, I couldn’t find a way to get modprobe to pass this option to insmod. YOu could just go ahead and use insmod -f on both pci-scan and rtl8139, but since the modprobe config file needs to be edited evenually anyway (for a different
reason), I went the config file route

Modify /etc/modules.conf

add the following lines at the end of the /etc/modules.conf file:

Copy the Following and Paste it in the modules.conf at the begning or end of module.conf:For 8139too(Most Probably)

alias eth0 rtl8139too
insmod_opt=-f

Save and Exit.

or

For rtl8139

alias eth0 rtl8139
insmod_opt=-f

Save and Exit.

The alias command lets the os know that eth0 refers to your ethernet driver.he insmod_opt command is sort of a hack to get modprobe to pass the -f Option to insmod. After you’ve sucessfully got your ethernet working, you should Probably go back and remove or comment out the insmod_opt line (but leave
the alias line!)


Now Re-attempt to install the modules

For rtl8139too(most probably)

[root@localhost ~]#depmod -a
[root@localhost ~]#modprobe rtl8139too

or

For rtl8139

[root@localhost ~]#depmod -a
[root@localhost ~]#modprobe rtl8139

The ‘depmod -a’ line needed to repeated since you’ve modified the
modules.conf ile. This should install the pci-scan and rtl8139 modules

Now Verify module installation

Type lsmod in the terminal . The relvant lines should look something like this:

Module Size Used by

rtl8139 12400 1

Now start the eth0 service :

[root@localhost ~]#ifconfig eth0 up

This starts up eth0. Check it’s up by running ifconfig and now restart ur( computer or lappy )

or u can also try restarting the network services from the command below :

first configure ur card by filling the ip address and then follow the command below :

[root@localhost ~]#service network restart

🙂

Enjoy Networking.

————-COMMANDS THAT ARE FOUND USEFULL FOR THIS ISSUE ——————-

These are commands found useful in terminal as root

modprobe /lib/modules/2.***/net rtl8139 (*** means change the Kernel according to urs as Existing)

modprobe -c
dmesg
cat /proc/interrupts
cat /proc/pci
insmod rtl8139
lsmod
rmmod
ifconfig
ifconfig eth0 up
depmod -a
lspci -vv

————-FILES/LOCATIONS WHERE THE FILES ARE STORED—————-

Some of the file locations

/usr/src/packages/
/usr/src/packages/SOURCES – tgz files
/usr/src/pakcages/BUILD – source files
/etc/modules.conf – modprobe configuration files

Happy networking

🙂

One Response to “How to rlt8139 D Lan in Fedora Core 6”

  1. john Says:

    tolong pake bahasa indonesia


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: