Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 5th March 2005, 06:23 PM
omnikorn Offline
Registered User
 
Join Date: Mar 2005
Posts: 14
Exclamation Realtek RTL8139 'network unreachable'

Hi,
I have recently installed Redhat Fedora Core 3, on my PC recently, It's a P3 with a 'Realtek RTL8139 Family PCI Fast Ethernet NIC' ethernet card. I am still a rookie at linux, though i have used a couple of linux for the past few years during short intervals. Anyways, i am unable to connect to the internet through my Realtek Card, the details are:

IP Address : 172.18.6.91
Subnet Mask : 255.255.255.0
Default Gateway : 172.18.0.1

My internet connection works fine on Windows 98 and XP. I have a searched a lot reagarding this problem and tried many things posted online but couldn't get it working.

The same lan card used to work when i used 'Redhat Linux 8' and 'Mandrake Linux 9' but then i had a different ISP. Now with 'Fedora Core 3' and another ISP, when i try to 'ping 172.18.0.1' i get the error network unreacable.

Any help will be appreciated, and thanks in advance.

The contents of '/etc/resolv.conf' , '/etc/hosts' and the outputs of the commands:

ping 172.18.0.1
ping www.google.com
ping 172.18.6.91
ifconfig
route
lspci | grep Eth

are as follows...

---------------------------------------------------------------

Contents of : /etc/resolv.conf

nameserver 172.18.0.1

---------------------------------------------------------------

Contents of : /etc/hosts

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 OMNIKORN localhost.localdomain localhost

---------------------------------------------------------------

[root@OMNIKORN ~]# ping 172.18.0.1
connect: Network is unreachable

---------------------------------------------------------------

[root@OMNIKORN ~]# ping www.google.com
ping: unknown host www.google.com

---------------------------------------------------------------

[root@OMNIKORN ~]# ping 172.18.6.91
PING 172.18.6.91 (172.18.6.91) 56(84) bytes of data.
64 bytes from 172.18.6.91: icmp_seq=0 ttl=64 time=0.083 ms
64 bytes from 172.18.6.91: icmp_seq=1 ttl=64 time=0.088 ms
64 bytes from 172.18.6.91: icmp_seq=2 ttl=64 time=0.089 ms

--- 172.18.6.91 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.083/0.086/0.089/0.011 ms, pipe 2

---------------------------------------------------------------

[root@OMNIKORN ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 000:26:7F5:1C
inet addr:172.18.6.91 Bcast:172.18.6.255 Mask:255.255.255.0
inet6 addr: fe80::2c0:26ff:fe7f:d51c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3741 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:370189 (361.5 KiB) TX bytes:2164 (2.1 KiB)
Interrupt:11 Base address:0xd800

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:2436 errors:0 dropped:0 overruns:0 frame:0
TX packets:2436 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2565946 (2.4 MiB) TX bytes:2565946 (2.4 MiB)

---------------------------------------------------------------

[root@OMNIKORN ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use

Iface
172.18.6.0 * 255.255.255.0 U 0 0 0

eth0
169.254.0.0 * 255.255.0.0 U 0 0 0

eth0

---------------------------------------------------------------

[root@OMNIKORN ~]# lspci | grep Eth
01:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd.

RTL-8139/8139C/8139C+ (rev 10)

---------------------------------------------------------------

Thanks again
Reply With Quote
  #2  
Old 5th March 2005, 06:35 PM
pcssbb Offline
Registered User
 
Join Date: Mar 2005
Posts: 11
I am pretty sure that card will work with FC3. My NIC is a NVidia but uses that same Realtek chip I think. I did notice that your default gateway and nameserver had the same address. This is not likely since the default gateway is probably a router. So obviously one of these is wrong. There is no doubt that if the default gateway is not set correctly you will not be able to get to the internet at all and if the nameserver is wrong you won't be able to resolve any URL's.

Edit: It is possible that they both(gateway and nameserver) could be the same but in that case you have a cheap ISP as it must be using a server for a router. Just a guess but I think the default gateway address is likely wrong.

Last edited by pcssbb; 5th March 2005 at 06:40 PM.
Reply With Quote
  #3  
Old 5th March 2005, 06:45 PM
Woad_Warrior's Avatar
Woad_Warrior Offline
Registered User
 
Join Date: Dec 2004
Location: Harmony, PA
Posts: 457
i have the same realtek chip on my network card and it has always functioned properly in every distro i've tried. (mandrake 7.0-2 through 10.1, fedora core 1, 2, 3, xandros, suse, libranet and a couple others) so i'd have to agree with pcssbb that it's your network configuration that's at fault.
__________________
registered Linux user number 372931
(okay, so i waited a few years before registering)

I am the answer to life, the universe and everything. (at least until august)

Did someone's answer help you? add to their reputation

various useful links ---> http://www.fedoraforum.org/forum/sho...011#post207011
Reply With Quote
  #4  
Old 5th March 2005, 06:46 PM
omnikorn Offline
Registered User
 
Join Date: Mar 2005
Posts: 14
Thanks for such quick reply.

My ISP provides internet service through a LAN, and probably my PC must be connected to a router. But, my internet connection works using the same settings on XP & 98.

Could you suggest me some steps to spot the problem or cure it.
Reply With Quote
  #5  
Old 5th March 2005, 06:51 PM
omnikorn Offline
Registered User
 
Join Date: Mar 2005
Posts: 14
I am still a rookie, so please don't mind my stupidity.

One more thing, i had to perform the installation in text mode as my graphics card being intel 815e did not function properly in graphical mode installation. So could there be a chance or the information getting stored in an incorrect manner in the config files.
Reply With Quote
  #6  
Old 5th March 2005, 06:57 PM
pcssbb Offline
Registered User
 
Join Date: Mar 2005
Posts: 11
Did those systems(98 & XP) get that IP info via DHCP or were they statically assigned? Are they the same system you are currently using?
Reply With Quote
  #7  
Old 5th March 2005, 07:21 PM
pcssbb Offline
Registered User
 
Join Date: Mar 2005
Posts: 11
I just saw this on another thread. This person has the saem NIC, same IRQ and his NIC uppeared to be up as does your. He fixed his as follows: (he changed to half-duplex)

#ifconfig eth0 down
#rmmod 8139too
#insmod 8139too media=0x01

Edit: Here is his post and the link:

...Now it's working! I found that I simply had to set the card to "10 half mode", so I used this commands (found this info in the Realtek website):

#ifconfig eth0 down
#rmmod 8139too
#insmod 8139too media=0x01


Greetings,

Marco

http://www.fedoraforum.org/forum/showthread.php?t=1679

Last edited by pcssbb; 5th March 2005 at 07:26 PM.
Reply With Quote
  #8  
Old 5th March 2005, 07:29 PM
omnikorn Offline
Registered User
 
Join Date: Mar 2005
Posts: 14
Quote:
Originally Posted by pcssbb
Did those systems(98 & XP) get that IP info via DHCP or were they statically assigned? Are they the same system you are currently using?
I specified IP info in 98 and XP statically the information specified is as follows:

IP Address : 172.18.691
Subnet Mask : 255.255.255.0
Default Gateway : 172.18.0.1

I am currently working on XP and the it's the same sytem on which i have installed 'fedora core 3'
Reply With Quote
  #9  
Old 5th March 2005, 07:35 PM
pcssbb Offline
Registered User
 
Join Date: Mar 2005
Posts: 11
See my post just before your last one.
Reply With Quote
  #10  
Old 5th March 2005, 07:55 PM
omnikorn Offline
Registered User
 
Join Date: Mar 2005
Posts: 14
Quote:
Originally Posted by pcssbb
I just saw this on another thread. This person has the saem NIC, same IRQ and his NIC uppeared to be up as does your. He fixed his as follows: (he changed to half-duplex)

#ifconfig eth0 down
#rmmod 8139too
#insmod 8139too media=0x01
The output for the following commands on my PC are:

[root@OMNIKORN ~]# ifconfig eth0 down
[root@OMNIKORN ~]# rmmod 8139too
[root@OMNIKORN ~]# insmod 8139too media=0x01
insmod: can't read '8139too': No such file or directory
Reply With Quote
  #11  
Old 5th March 2005, 08:11 PM
omnikorn Offline
Registered User
 
Join Date: Mar 2005
Posts: 14
If anyone else has a similar problem with 'Realtek 8139' please post here
Reply With Quote
  #12  
Old 5th March 2005, 08:15 PM
pcssbb Offline
Registered User
 
Join Date: Mar 2005
Posts: 11
It looks as if the kernel has remove the modele for your adapter. I don't know why it was not able to insert a new module. Might have something to do with your having to use a text interfact when you installed. BTW, do you now have xwindows(KDE on gnome)? I probably should have guided you to tools I am familiar with to change the speed, negotiation and duplex settings on a NIC(/sbin/ethtool or /sbin/mii-tool). I am new to FC3 also having used RH9 for several years. I am guessing your NIC is gone now but I am not sure. You might try /usr/bin/setup to try to reinstall it and configure your IP settings.
Reply With Quote
  #13  
Old 5th March 2005, 08:31 PM
omnikorn Offline
Registered User
 
Join Date: Mar 2005
Posts: 14
Yes, i have x-windows system now (with KDE & GNOME) i got the X-Window working after adding 'noaccel' to /etc/X11/xorg.cof

My NIC is not removed i just saw it in (System Tools > Hardware Browser) with these details:

Driver : 8139too
Device : /dev/eth0

And, i tried those commands again but the result was same.
Reply With Quote
  #14  
Old 5th March 2005, 08:36 PM
pcssbb Offline
Registered User
 
Join Date: Mar 2005
Posts: 11
Did you try ethtool &/or mii-tool?

Edit: see the man pages for switches, etc.

Last edited by pcssbb; 5th March 2005 at 08:40 PM.
Reply With Quote
  #15  
Old 5th March 2005, 08:57 PM
omnikorn Offline
Registered User
 
Join Date: Mar 2005
Posts: 14
[root@OMNIKORN ~]# ethtool -t eth0 online
Cannot test: Operation not supported
[root@OMNIKORN ~]# ethtool -s eth0 \speed 10 \duplex half
[root@OMNIKORN ~]# ping 172.18.0.1
connect: Network is unreachable
[root@OMNIKORN ~]# /sbin/mii-tool
eth0: autonegotiation failed, link ok
[root@OMNIKORN ~]# ping 172.18.0.1
connect: Network is unreachable
Reply With Quote
Reply

Tags
network, realtek, rtl8139, unreachable

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
networking problems with RealTek RTL8139 mcastel Servers & Networking 5 13th March 2011 09:21 AM
problem with realtek RTL8139 bhuvanesh Hardware & Laptops 7 14th October 2006 07:28 PM
Fedora Core 5 and RealTek rtl8139/810x SKaterNerd7 Hardware & Laptops 0 21st June 2006 10:55 PM
Realtek RTL8139 Family PCI Fast Ethernet NIC & FC1 junkhunk Servers & Networking 2 18th July 2005 06:12 AM


Current GMT-time: 13:51 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat