LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 08-18-2005, 11:31 AM   #1
realcr
LQ Newbie
 
Registered: Aug 2005
Location: Israel
Distribution: fedora core 4
Posts: 15

Rep: Reputation: 0
Realtek network card 8139 under FC4


I installed FC4 as a server (no x system). It contains a Realtek semiconductor 8139. The computer is connected to a LAN network with a router (including dhcp) and a hub.
I tried configuring it to work with dhcp , and when it didn't work I tried using a static IP , but it didn't work too. I was also told that I might need to install the driver for the network card as a module. I found the driver , however I am not able to compile it as gcc gives lots of errors and warning.
I know I'm doing something wrong , because it worked ok when there was a windows 95 os on this machine. Do you have any idea what could be the problem?

realcr.
 
Old 08-18-2005, 01:14 PM   #2
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 110Reputation: 110
does everything work after running "modprobe 8139too"?
 
Old 08-18-2005, 02:18 PM   #3
realcr
LQ Newbie
 
Registered: Aug 2005
Location: Israel
Distribution: fedora core 4
Posts: 15

Original Poster
Rep: Reputation: 0
I have done it , but it seems that I had that module running before... So probably the module wasn't the problem. However I still can't make it work. Sometimes I can see my computer's IP on the router for one moments , but then it is gone again...
I really don't know what is the problem. Hope someone has another idea.

tnx for your time,
realcr.
 
Old 08-18-2005, 02:27 PM   #4
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 110Reputation: 110
what is the filename for the source .c for the module? maybe if you try to make sure that the 8139too module does not get loaded and load the filename minus the extension, that might work. What does ifconfig say after dhcpcd?
 
Old 08-18-2005, 03:01 PM   #5
realcr
LQ Newbie
 
Registered: Aug 2005
Location: Israel
Distribution: fedora core 4
Posts: 15

Original Poster
Rep: Reputation: 0
<edit>
what is dhcpcd? that command isn't working for me in any linux computer I have...
</edit>

I just noticed that in another computer I have (also running fedora core 4 , but in graphical mode) I have exactly the same network card , and it works ok. (in fact I am sending this message from this computer...) So all I have to do is to check how this one configured.
This computer also have the 8139too module running , but it had another two called mii and via_rhine someway related to it.

Code:
[root@realcr ~]# lsmod
Module                  Size  Used by
parport_pc             28933  1
lp                     13001  0
parport                40585  2 parport_pc,lp
autofs4                29253  2
rfcomm                 42333  0
l2cap                  30661  5 rfcomm
bluetooth              56133  4 rfcomm,l2cap
sunrpc                167813  1
nls_utf8                2112  2
ntfs                  183440  2
dm_mod                 58101  0
video                  15941  0
button                  6609  0
battery                 9413  0
ac                      4805  0
nvidia               3716356  12
sn9c102                74213  0
videodev                9537  1 sn9c102
usblp                  13121  0
md5                     4033  1
ipv6                  267841  8
uhci_hcd               35153  0
shpchp                 94405  0
i2c_viapro              8017  0
i2c_core               21569  1 i2c_viapro
snd_via82xx            30081  2
gameport               18633  1 snd_via82xx
snd_ac97_codec         75961  1 snd_via82xx
snd_seq_dummy           3653  0
snd_seq_oss            37057  0
snd_seq_midi_event      9153  1 snd_seq_oss
snd_seq                62289  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            51185  0
snd_mixer_oss          17857  2 snd_pcm_oss
snd_pcm               100169  3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_timer              33605  2 snd_seq,snd_pcm
snd_page_alloc          9669  2 snd_via82xx,snd_pcm
snd_mpu401_uart        10049  1 snd_via82xx
snd_rawmidi            30305  1 snd_mpu401_uart
snd_seq_device          8781  4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
snd                    57157  13 snd_via82xx,snd_ac97_codec,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore              10913  2 snd
via_rhine              28361  0
8139too                30017  0
mii                     5441  2 via_rhine,8139too
floppy                 65141  0
ext3                  132681  1
jbd                    86233  1 ext3
I tried installing these two modules on the text mode computer and also copying all the configuration files , including ifcfg-eth0 and /etc/sysconfig/network , however , still it doesn't work.
I wonder if there is anything else I need to copy or to check , since now I know this card can work very well with FC4...

realcr.

Last edited by realcr; 08-18-2005 at 03:04 PM.
 
Old 08-18-2005, 03:08 PM   #6
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 110Reputation: 110
a bootup script similar to /etc/rc.d/rc.modules may need to be copied as well. dhcpcd is the command to activate DHCP for Slackware. FC may use something different, dhclient.
 
Old 08-18-2005, 03:16 PM   #7
realcr
LQ Newbie
 
Registered: Aug 2005
Location: Israel
Distribution: fedora core 4
Posts: 15

Original Poster
Rep: Reputation: 0
Do you know what is the equivalent for /etc/rc.d/rc.modules in FC4 , because I can't find it in here... probably because of being new in fedora core.
If I run dhclient in the graphical mode computer it configures everything just fine , however it seems to do nothing in the computer with the textual mode. Also when the text mode fedora reboots , it is stuck trying to get ip information from the router until it fails...

realcr.
 
Old 08-18-2005, 04:22 PM   #8
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 110Reputation: 110
I think that they store bootscripts in /etc/init.d, might be in there somewhere.
 
Old 08-18-2005, 06:12 PM   #9
realcr
LQ Newbie
 
Registered: Aug 2005
Location: Israel
Distribution: fedora core 4
Posts: 15

Original Poster
Rep: Reputation: 0
Still not working... I tried using dhclient but It just think for a long time and shows no output.
trying to restart the network results in:
"Determining ip information for eth0..." which eventually fail after about one minute.
However , after restarting the network I can see in the router panel the computer's hostname , which means there is some connectivity between the router and the computer.

I have no more ideas , tell me if you have any.

realcr.
 
Old 08-18-2005, 06:38 PM   #10
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 110Reputation: 110
I don't know what else to say but play around with dhclient, modprobe, and the init scripts. Then monitor your progress by running ifconfig and dmesg everytime after you have done something. Making sure the computer is not trying to set up the network itself when you do this might help.
 
  


Reply


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
realtek 8139 slow network splotch Slackware 2 09-29-2004 11:28 AM
Failed detection of "Realtek Semiconductor Co., Ltd. RTL-8139" network card scuffell Linux - Networking 5 06-15-2004 05:34 AM
Network problems - Realtek 8139 The SIN Raven Slackware 14 08-14-2003 05:41 AM
Realtek / Asound 8139 Network Card with Redhat 8.0 jamesonq Linux - Networking 6 04-06-2003 10:44 PM
Realtek 8139 pci network card and RH 7.3 d4u Linux - Networking 6 09-06-2002 09:25 PM


All times are GMT -5. The time now is 04:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration