LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-12-2013, 04:20 AM   #1
Grtyop
Member
 
Registered: May 2013
Location: Over the Rainbow..
Distribution: LinuxMint , RedHat
Posts: 31

Rep: Reputation: Disabled
Linux on VMware cannot load any webpage, but ping works.


Code:
ping
www.google.com works.

Code:
service named status
shows that named is running.

Code:
service network status
shows that eth0 is active.

Configured in bridge mode in VMware.

Code:
/etc/resolv.conf
contains
Quote:
# Generated by NetworkManager
search example.com
nameserver 192.168.1.254
Any help is sincerely appreciated =)
 
Old 09-12-2013, 04:23 AM   #2
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,369

Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
nameserver 192.168.1.254
192.168.1.254 is your gateway? or is it your DNS Server IP Address?

Last edited by JJJCR; 09-12-2013 at 04:23 AM. Reason: edit
 
Old 09-12-2013, 04:42 AM   #3
Grtyop
Member
 
Registered: May 2013
Location: Over the Rainbow..
Distribution: LinuxMint , RedHat
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JJJCR View Post
192.168.1.254 is your gateway? or is it your DNS Server IP Address?
192.168.1.254 is my gateway address. How do I find out my DNS server IP address ?

Coincidentally, I have another linux VM with a similar configuration, but it can load webpages properly. Weird..
 
Old 09-12-2013, 05:26 AM   #4
Grtyop
Member
 
Registered: May 2013
Location: Over the Rainbow..
Distribution: LinuxMint , RedHat
Posts: 31

Original Poster
Rep: Reputation: Disabled
Okay I solved it. I set DHCP ( Address only ) and used the public OpenDNS server.

Thanks all ~
 
Old 09-12-2013, 05:28 AM   #5
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,369

Rep: Reputation: 239Reputation: 239Reputation: 239
that's the reason why you're not able to load web pages or not able to browse site. because DNS is not set.

the IP address in resolv.conf should be a DNS server IP address.
Quote:
In /etc/resolv.conf try to put these IP Addresses:

nameserver 8.8.8.8

or nameserver 4.2.2.2
those are public DNS server/s just try it out and check whether you can browse the internet.

how to know your DNS server IP Address, if you have a Win OS you can try ipconfig it should show your DNS IP Address but in Linux, I don't know man.
 
  


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
[SOLVED] ping www.google.co.in gives unknown host error ,ping to LAN address works fine aspiring_stellar Linux - Newbie 10 05-24-2011 04:26 PM
firefox unable to load any webpage in Openbox despite ping and links working in CLI admas Arch 2 05-28-2009 03:16 AM
ping works but no webpage in browser sohrab_tapar Debian 1 08-31-2008 02:03 PM
RHEL 4 client in VMware not binding to NIS server. Ping works fine and NIS server wo panini.kompella Linux - Server 1 03-17-2008 12:06 AM
Webpage load time Windows=0,6sec Linux=+30sec !!!! RedDwarf Linux - Networking 0 08-07-2004 10:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:37 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration