LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-05-2005, 01:06 PM   #1
agi
LQ Newbie
 
Registered: Apr 2005
Posts: 11

Rep: Reputation: 0
How to install Realtek RTL8139/810x


I'm new with the linux stuff
I have Slackware 10.1
I don't know how to install my Network adapter Realtek RTL8139/810x

I downloaded zip from the realtek site
There are three files in it
8139too.c, Makefile, readme.txt
and also i have to use 10-half mode but how to do it manually
thank you in advance
if you need more info tell me

This is the readme
8139too.c release note
2001/10/31 by ShuChen Shao

1.This driver was originally based on 8139too.c version "0.9.15".

2.It has been enhanced to support RTL8139C+ PCI ethernet controller.

3.RTL8139C+ PCI ethernet chips is set to support C+ mode by default.
If FORCE_C_Mode below is enabled, the RTL8139C+ chip will be forced to support C mode
after reboot.


4.This program can be compiled using the attached Makefile.
Please remember to SPECIFY "NEW_INCLUDE_PATH" in Makefile according to your linux environment.
The object file named 8139too.o should be moved to the directory
/lib/modules/<linux-version>/kernel/drivers/net/
The driver could be brought up by the following steps:
'insmod 8139too'
'ifconfig eth0 up'

5.It can support Auto-Negotiation ability,that is
10-half 0x01
10-full 0x02
100-half 0x04
100-full 0x08
If 10-half mode is expected, it can be achieved by the following steps:
#ifconfig eth0 down
#rmmod 8139too
#insmod 8139too media=0x01

6.If the "Install Type", selected during the Linux install procedure, is "laptop",
this driver can work normally for CardBus application without any modification.
Otherwise, reinstall Linux and select "Install Type" as "laptop".
Then this driver can also work.

---------------------------------------------------------------------------------------
8139too.c version 1.5.0 release note
2003/3/4 by ShuChen Shao

1.Add flag in Makefile to specify access type to operation register on PCI
ethernet chips.
 
Old 04-05-2005, 01:52 PM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
You can probably just modprobe 8139too and then assign eth(whatever) an address.
 
Old 04-05-2005, 02:52 PM   #3
agi
LQ Newbie
 
Registered: Apr 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by sigsegv
You can probably just modprobe 8139too and then assign eth(whatever) an address.
thank you
now how i can configure my network can you tell me the command
thank you again you helped me
 
Old 04-05-2005, 05:22 PM   #4
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Code:
ifconfig inet 172.17.22.80 netmask 255.255.255.0
route add default gw 172.17.22.1
Of course, you'll need to use your own IP information. man route and ifconfig for more info and options.

As an alternative, you can use dhcp, though the details of how to do this will be (fairly) distro specific as they don't use a standard dhcp client. It's usually something like dhclient <interface name>.
 
Old 03-15-2006, 12:39 AM   #5
milindmk
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
Hello,

Someone please tell me how to install Realtek RTL8139/810x on RHEL 4.0 WS?

-Milind
 
Old 03-15-2006, 03:28 PM   #6
p0f
Member
 
Registered: Feb 2006
Distribution: slackware-current
Posts: 36

Rep: Reputation: 15
Quote:
Originally Posted by milindmk
Hello,

Someone please tell me how to install Realtek RTL8139/810x on RHEL 4.0 WS?

-Milind
As far as I know, the driver is already included in most recent kernels, its just a case of doing a "modprobe 8139too"
 
Old 03-15-2006, 06:19 PM   #7
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
If you plug in the network card with the power off, plug internet into it, and reboot, the os should do everything.
 
Old 03-16-2006, 04:19 PM   #8
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 15
Posts: 546

Rep: Reputation: 43
First check your driver (8139too) is loaded at boot by
dmesg | grep eth0
if it outputs something like
eth0: RealTek RTL8139 at 0xf8806800, 00:11:22:33:44:55, IRQ 17
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
you should be after.
If you're are using the standard kernel coming with Slack there shouldn't be problems
Slackware provides a very handy network configuration tool.
Run as root
netconfig
and you'll be taken into a ncurses config program
Just follow instructions and make your choices according to your needs.
You can choose either a static IP address or DHCP.
Once finished run (as root)
/etc/rc.d/rc.inet1
and your network card should be configured and running
check by (as root)
ifconfig -a
and possibly
route -n
everything is up.
ping a host on your network, just to see everything is OK.
If necessary edit your /etc/resolv.conf in order you can use hosts name resolution.
Hope this helps
Ciao

Last edited by urka58; 03-16-2006 at 04:20 PM.
 
  


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
Realtek RTL8139/810x and SuSE jrattner1 SUSE / openSUSE 4 07-25-2005 12:30 PM
Realtek rtl8139 up but not rinnung DropSig Linux - Networking 2 01-14-2005 09:18 PM
realtek rtl8139 rokstar Linux - Wireless Networking 1 09-22-2004 04:06 PM
Need help to install network adapter Realtek RTL8139 KEP Linux - Networking 11 07-22-2003 07:53 PM
RE:> realtek rtl8139 XtermX62 Linux - Hardware 2 02-16-2003 08:00 AM

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

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