LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Fedora Core 10 - Unable to connect to Internet (https://www.linuxquestions.org/questions/linux-networking-3/fedora-core-10-unable-to-connect-to-internet-808869/)

pratyush 05-19-2010 11:01 AM

Fedora Core 10 - Unable to connect to Internet
 
Hi All

I use Windows7 on my laptop. I have got the following version of VMware Server installed on it.

**VMware Infrastructure Web Access Version 2.0.0 Build 122589**
**VMware Server Version 2.0.0 Build 122956**

I am running Fedora Core 10 on VMware, but Fedora is not able to connect to the Internet. However, when I try to ping www.google.com, it works fine. However, if I try to open www.google.com in mozilla-firefox, it gets stuck at "Connecting to www.google.com" and then finally times out. Similarly, yum also gets stuck.

Please help me in resolving this issue. Thanks a lot in advance.

Logs
[root@prats ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0C:29:03:BA:72
inet addr:192.168.43.128 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe03:ba72/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:573 errors:0 dropped:0 overruns:0 frame:0
TX packets:293 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:57742 (56.3 KiB) TX bytes:30029 (29.3 KiB)
Interrupt:18 Base address:0x2000

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:22 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1868 (1.8 KiB) TX bytes:1868 (1.8 KiB)

[root@prats ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.43.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
0.0.0.0 192.168.43.2 0.0.0.0 UG 0 0 0 eth0
[root@prats ~]# ping www.google.com
PING www.l.google.com (66.102.11.104) 56(84) bytes of data.
64 bytes from syd01s01-in-f104.1e100.net (66.102.11.104): icmp_seq=1 ttl=128 time=307 ms
64 bytes from syd01s01-in-f104.1e100.net (66.102.11.104): icmp_seq=2 ttl=128 time=280 ms
64 bytes from syd01s01-in-f104.1e100.net (66.102.11.104): icmp_seq=3 ttl=128 time=294 ms
64 bytes from syd01s01-in-f104.1e100.net (66.102.11.104): icmp_seq=4 ttl=128 time=301 ms
^C
--- www.l.google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3831ms
rtt min/avg/max/mdev = 280.415/295.805/307.085/9.960 ms
[root@prats ~]# yum install csh
Loaded plugins: refresh-packagekit
Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...a-10&arch=i386 error was
[Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
You have mail in /var/spool/mail/root
[root@prats ~]#

// Prats

rweaver 05-19-2010 02:25 PM

What do you get when you type:

Code:

iptables -L -n

custangro 05-19-2010 02:37 PM

Also SELinux may be an issue too..

Code:

root@host# getenforce
^ output of that please

John VV 05-19-2010 04:41 PM

PLEASE do not use fedora 10
it is PAST it's END OF LIFE
there is NO support for it any more
Install fedora 13


also keep in mind that fedora is a "testing" and a "research and development "

not every thing WILL work all the time
and will need fixing from time to time

pratyush 05-19-2010 08:01 PM

Hi Rweaver, Custangro and John

Thanks for looking into the issue.

The following is the O/P of the commands that you asked for.

[root@prats ~]# iptables -L -n
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:53
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW udp dpt:53
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@prats ~]# getenforce
Enforcing
[root@prats ~]#


Thanks,
// Prats

kurwongbah 05-19-2010 08:11 PM

Could be that because FC10 is EOL, the mirror list contains entries that cannot be reached anymore.
Have you tried putting it in a browser or elinks? http://mirrors.fedoraproject.org/mir...a-10&arch=i386
Give "yum clean all" a try.
Tell us how you go!

John VV 05-19-2010 08:20 PM

also be warned that in fedora 10 there was a change from "network-manager" to "network" and wireless almost NEVER worked " out of the box" on the now dead fedora 10


install fedora 12 or 13 .

pratyush 05-19-2010 08:37 PM

Hi Kurwongbah

I did "yum clean all". But, still it is of no help. Moreover, I am not able to open any web-page in mozilla-firefox as well.

@John - I will try downloading Fedora Core 13, and will try it on that as well.

Thanks for looking!

// Prats

pratyush 05-19-2010 08:49 PM

Another thing that I would like to bring to the notice of you all is that I am running Fedora in VMware Server. I believe that you guys would not have missed that part out.

Thanks,
// Prats

kurwongbah 05-20-2010 01:09 AM

So...
You can ping from the virtual machine, but all other traffic is blocked. Correct?
The iptables (firewall) inside your virtual machine seems to allow all outbound traffic...
I think this is turning into a post for the Windows forum ;)
You might want to check the firewall on W7!

custangro 05-20-2010 10:12 AM

Quote:

Originally Posted by pratyush (Post 3974859)
Another thing that I would like to bring to the notice of you all is that I am running Fedora in VMware Server. I believe that you guys would not have missed that part out.

Thanks,
// Prats

ALSO to add (as others have said)...remember that Fedora 10 is OLD and DEPRECATED...

install Fedora 12 or wait for 13

...that being said...you might want to modify iptables or disable it...

Also...just disable SELinux entirely...some might disagree with me...but just disable it (unless you are planing on learning how to work with it)

-C

pratyush 05-20-2010 11:05 AM

Hi All

Thanks a lot!!

I managed to fix the problem by following the instructions at http://florianlr.wordpress.com/2009/07/09/5/ . It is the problem with Windows7 and VMware. Had got nothing to do with Linux as such. :)

Best Regards,
// Prats

rweaver 05-20-2010 03:29 PM

One other thing I'd mention is- as a new comer to linux you might be better directed towards more stable distributions, fedora is not a good platform for a beginner really because of the rapidity it changes at. Try centos or debian or if you want better base hw compatibility ubuntu. There are some sneaky pitfalls that aren't apparent with many of the bleeding edge distributions that make them often a flustering experience for a newcomer although they often are the prettiest and flashiest.


All times are GMT -5. The time now is 05:48 PM.