Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-07-2004, 07:44 PM   #1
LQ Newbie
Registered: Oct 2004
Distribution: BackTrack
Posts: 10

Rep: Reputation: 0
Hiya all - i'm new - i'm stuck

I put a new nic in my linux's chipset is realtek 8139d

running redhat9

it seems like it needs a newer version than the 8139c+ driver that comes with RH9

i downloaded the driver and makefile.
Not too sure where to go from here.

I think i've got to edit "makefile" to alter path??? (what path? the path to where the compiled file is going to be??)

then i just shell and type "makefile 8139too.c 8139too.o" <-- output filename (or is that done automatically??)

The readme file is below.
Thanx in advance


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
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. what?? Where?? How??

Old 10-08-2004, 02:37 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,753

Rep: Reputation: 1839Reputation: 1839Reputation: 1839Reputation: 1839Reputation: 1839Reputation: 1839Reputation: 1839Reputation: 1839Reputation: 1839Reputation: 1839Reputation: 1839
Please remember to SPECIFY "NEW_INCLUDE_PATH" in Makefile according to your linux environment.
Open Makefile with an editor and modify that line with something like this: /usr/src/linux-<version>/include.
Also check to see if you have to uncomment the line RTL_MEM_ACCESS = USE_IO_OPS0
Then run as root:
and if everything goes well copy the 8139too.o where the readme says and follow the instructions.
Good luck


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
Hiya-new and nosey simoneroper Member Intro 3 11-05-2005 04:32 PM
Hiya!! darkdragoon Member Intro 3 10-17-2004 12:20 AM
hiya, newbie here devgirl Member Intro 5 10-16-2004 04:34 AM
Hiya! Mathiasdm Member Intro 2 08-24-2004 07:39 AM
Hiya lil213 Member Intro 0 10-14-2003 02:02 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration