LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-19-2007, 09:34 AM   #1
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Rep: Reputation: 30
install driver realtech


hi every body i hade found this link for driver of REALTEK
http://developer.novell.com/devres/lan/drivers/#Realtek
i want help on how to install this driver on slack 12
plz help me!!!!

Last edited by ahmed gamal; 09-19-2007 at 09:36 AM.
 
Old 09-19-2007, 11:29 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
What card are you using. Can you post the output of '/sbin/lspci' ?
 
Old 09-20-2007, 10:08 AM   #3
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Original Poster
Rep: Reputation: 30
when i write lspci
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 02)

Last edited by ahmed gamal; 09-20-2007 at 10:10 AM.
 
Old 09-20-2007, 10:51 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Then you don't need to install any drivers. The drivers are part of the kernel. The modules needed are '8139cp' and/or '8139too' one or both should be listed when you run 'lsmod'. Why ? the card doesn't work ? maybe you haven't configured it properly.
 
Old 09-20-2007, 11:53 AM   #5
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Original Poster
Rep: Reputation: 30
then how to reconfigure it properly??!!!
 
Old 09-20-2007, 11:59 AM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Make sure you see one or both of those modules in 'lsmod', then see the slackbook, the networking section:
http://www.slackbook.org/html/book.h...-CONFIGURATION

Running 'netconfig' usually helps configure most network-related things.
 
Old 09-20-2007, 12:30 PM   #7
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
8139cp is probably what you need. It may need the mii module also(the 8139too uses it, I know).
What is the ouput of 'lsmod'?
If the modules are not being loaded at all, you may need to load them at startup by uncommenting the line for 8139cp in /etc/rc.d/rc.modules. In rare cases where the default configuration (IRQ, etc) don't work, then you could pass those options to modprobe in the /etc/modprobe.conf file. If you load the 8139cp module with modprobe (not insmod), it will automatically take care of loading the mii or any other needed modules. All that said, hotplug or udev(depending on your system) should be taking care of this for you.
 
Old 09-20-2007, 02:40 PM   #8
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
I have had some problems with that driver in the past , so it maybe that it isn't working for you ... but that site probably won't have anything better , get your problems and post debug messages on the LKML, maybe someone will solve it.
 
Old 09-21-2007, 06:31 PM   #9
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Original Poster
Rep: Reputation: 30
i want to say when i write
#ifconfig -a
the output doesn't contain eth0
it only contins lo
any help i think it may be the problrm??!
 
Old 09-22-2007, 05:38 AM   #10
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I'll say it again, what is the output of lsmod?
 
Old 09-24-2007, 10:52 AM   #11
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Original Poster
Rep: Reputation: 30
root@MSHOME:~# lsmod
Module Size Used by
snd_seq_dummy 6788 0
snd_seq_oss 32896 0
snd_seq_midi_event 10112 1 snd_seq_oss
snd_seq 50640 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 42784 0
snd_mixer_oss 18048 1 snd_pcm_oss
ipv6 254496 12
pcmcia 34988 0
pcmcia_core 36500 1 pcmcia
capability 7304 0
commoncap 9344 1 capability
lp 13736 0
parport_pc 27812 1
parport 34760 2 lp,parport_pc
pcspkr 6528 0
psmouse 39048 0
serio_raw 9220 0
shpchp 33172 0
intel_agp 25116 1
i2c_piix4 11276 0
agpgart 31432 1 intel_agp
evdev 11904 1
ata_generic 9220 0
snd_ens1371 24352 0
gameport 15112 1 snd_ens1371
snd_rawmidi 22560 1 snd_ens1371
snd_seq_device 10508 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd_ac97_codec 98980 1 snd_ens1371
ac97_bus 6016 1 snd_ac97_codec
snd_pcm 72068 3 snd_pcm_oss,snd_ens1371,snd_ac97_codec
snd_timer 22532 2 snd_seq,snd_pcm
snd 47204 10 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_ens1371,snd_rawmidi,snd_seq_device,snd_ac97_codec, snd_pcm,snd_timer
soundcore 9824 1 snd
snd_page_alloc 11528 1 snd_pcm

here u r !!!
then what shall i do now?
 
Old 09-24-2007, 12:00 PM   #12
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
try 'modprobe 8139cp' and/or 'modprobe 8139too'
 
Old 09-24-2007, 12:47 PM   #13
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Do as H_TExMex_H's suggests and check the ouput for errors. If you get no erros, then double-check by running lsmod again. The module should now show up in the output.
It would appear that for some reason the module is not being loaded during bootup.
You can make this happen by adding the command to /etc/rc.d/rc.local or by uncommenting the line for the module in /etc/rc.d/rc.modules. As mentioned, if the driver needed is the 8139too, then using modprobe should automatically load the mii module as well(I'm not sure if 8139cp needs it).
It's possible that loading of the module is being blocked by udev's blacklist. If so, commenting the line out in the blacklist should resolve the problem.
 
Old 09-24-2007, 02:35 PM   #14
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Original Poster
Rep: Reputation: 30
this is what i did

Quote:
root@host:~# modprobe 8139too
root@host:~# lsmod
Module Size Used by
8139too 25472 0
mii 8576 1 8139too
snd_seq_dummy 6788 0
snd_seq_oss 32896 0
snd_seq_midi_event 10112 1 snd_seq_oss
snd_seq 50640 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss 42784 0
snd_mixer_oss 18048 1 snd_pcm_oss
ipv6 254496 10
pcmcia 34988 0
pcmcia_core 36500 1 pcmcia
capability 7304 0
commoncap 9344 1 capability
lp 13736 0
parport_pc 27812 1
parport 34760 2 lp,parport_pc
pcspkr 6528 0
psmouse 39048 0
serio_raw 9220 0
snd_ens1371 24352 2
gameport 15112 1 snd_ens1371
snd_rawmidi 22560 1 snd_ens1371
snd_seq_device 10508 4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd_ac97_codec 98980 1 snd_ens1371
shpchp 33172 0
ac97_bus 6016 1 snd_ac97_codec
snd_pcm 72068 4 snd_pcm_oss,snd_ens1371,snd_ac97_codec
snd_timer 22532 3 snd_seq,snd_pcm
snd 47204 12 snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_ens1371,snd_rawmidi,snd_seq_device,snd_ac97_codec, snd_pcm,snd_timer
i2c_piix4 11276 0
soundcore 9824 1 snd
ata_generic 9220 0
snd_page_alloc 11528 1 snd_pcm
intel_agp 25116 1
agpgart 31432 1 intel_agp
evdev 11904 1
root@host:~# ifconfig
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: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)

root@host:~#
i didn't understand all u had said could u explain more?
and what about the output o ifconfig it doesn't contain eth0
is this good?
 
Old 09-24-2007, 02:51 PM   #15
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Please post the output of
Code:
ifconfig -a
not just ifconfig. We need to see the unconfigured interfaces as well.
If your "ifconfig -a" shows the eth0 interface, then it is time to run
Code:
netconfig
and supply configuration details for your card.
If eth0 showed up, you need to make the module load permanent if you want to enjoy networking after a reboot. Add a module load command to /etc/rc.d/rc.netdevice which is a script that Slackware will run if it exists :
Code:
echo "/sbin/modprobe 8139too" >> /etc/rc.d/rc.netdevice
chmod +x /etc/rc.d/rc.netdevice
Eric
 
  


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
wireless driver install issues: modprobe not injecting driver Gargle Slackware 12 07-28-2007 11:28 AM
how to install agere systems AC'97 modem driver, and where to download the driver chuxeei Linux - Newbie 3 06-25-2006 10:37 AM
ATI Driver prob: Black screen after driver install linuxboynz Linux - Laptop and Netbook 2 10-19-2004 02:52 AM
2 realtech 8139C crashes my computer PeO Linux - Hardware 0 09-16-2003 12:47 PM
Realtech 8029 network card not recognized! Help plz ! EmpHatic Linux - General 1 03-29-2001 08:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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