The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Cannot access internet 1409.venkatesh SUN Solaris 4 02-05-2008 12:56 PM
Internet access on Solaris 10 through TATA Indicom Wireless Phone priteshugrankar IP Networking 0 07-31-2005 01:30 PM
Internet access on Solaris 10 through TATA Indicom Wireless Phone priteshugrankar SUN Solaris 0 07-31-2005 05:27 AM
Internet access Mauro UNIX for Dummies Questions & Answers 1 09-13-2002 08:01 AM
internet access nseal101 UNIX for Dummies Questions & Answers 2 10-02-2001 05:25 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-28-2007
Registered User
 

Join Date: Sep 2007
Posts: 2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Solaris 10 internet access on VMware

Hi, I have Solaris 10 running in VMware on a winxp box so I can learn unix. I can 'ping' all the boxes on our network and yahoo.com (but only if I use the IP address I get back from pinging from an xp box). The error message from the terminal window is unknown host and from a browser www.sun.com could not be found. This is obviously a resolution issue but I don't think it's an xp thing as I installed win2k on VMware and I can get internet access with that.

Oddly enough, I can ping from an xp box to any of our windows boxes by both name and IP and get a reply, but I can only succesfully ping my virtual Solaris box by IP plus I can't ping any ms boxes by name - any ideas?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 09-28-2007
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,407
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Most likely you didn't set up DNS on the Virtual machine.

You will need to add dns to the hosts line in /etc/nsswitch.conf
and add /etc/resolv.conf with "nameserver <ip address of your dns server>" as contents.

/etc/nsswitch.conf
Code:
...
hosts:      files dns
...
/etc/resolv.conf
Code:
...
nameserver 192.168.1.3
...
Reply With Quote
  #3 (permalink)  
Old 09-28-2007
Registered User
 

Join Date: Sep 2007
Posts: 2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Thanks reborg, that worked although I had to make my own resolv.conf file. is this usual?
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:53 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101