Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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>.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.