LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-19-2010, 11:01 AM   #1
pratyush
LQ Newbie
 
Registered: Jul 2007
Posts: 24

Rep: Reputation: 15
Angry 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
 
Old 05-19-2010, 02:25 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
What do you get when you type:

Code:
iptables -L -n
 
Old 05-19-2010, 02:37 PM   #3
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Also SELinux may be an issue too..

Code:
root@host# getenforce
^ output of that please
 
Old 05-19-2010, 04:41 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
Old 05-19-2010, 08:01 PM   #5
pratyush
LQ Newbie
 
Registered: Jul 2007
Posts: 24

Original Poster
Rep: Reputation: 15
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
 
Old 05-19-2010, 08:11 PM   #6
kurwongbah
Member
 
Registered: Apr 2010
Posts: 82

Rep: Reputation: 24
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!
 
Old 05-19-2010, 08:20 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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 .
 
Old 05-19-2010, 08:37 PM   #8
pratyush
LQ Newbie
 
Registered: Jul 2007
Posts: 24

Original Poster
Rep: Reputation: 15
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
 
Old 05-19-2010, 08:49 PM   #9
pratyush
LQ Newbie
 
Registered: Jul 2007
Posts: 24

Original Poster
Rep: Reputation: 15
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
 
Old 05-20-2010, 01:09 AM   #10
kurwongbah
Member
 
Registered: Apr 2010
Posts: 82

Rep: Reputation: 24
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!
 
Old 05-20-2010, 10:12 AM   #11
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by pratyush View Post
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
 
Old 05-20-2010, 11:05 AM   #12
pratyush
LQ Newbie
 
Registered: Jul 2007
Posts: 24

Original Poster
Rep: Reputation: 15
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
 
Old 05-20-2010, 03:29 PM   #13
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
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.
 
  


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
Fedora Core 6 : Unable to connect to telnet server jayakrushna Linux - Software 3 02-21-2007 07:08 PM
can't connect to internet in FEDORA CORE 2, please help me!!! tony_bob Linux - Networking 2 08-25-2006 02:41 AM
How do i connect to Internet in Fedora Core 4? mus1402 Linux - Newbie 1 01-30-2006 07:14 AM
Fedora Core 4 Smba unable to connect to the PDC fieldyweb Linux - Networking 3 09-09-2005 04:36 AM
Unable to connect to Dial-up internet using Fedora 3 balnair Linux - Software 5 04-30-2005 09:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:06 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