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 04:56 PM
Internet access on Solaris 10 through TATA Indicom Wireless Phone priteshugrankar IP Networking 0 07-31-2005 05:30 PM
Internet access on Solaris 10 through TATA Indicom Wireless Phone priteshugrankar SUN Solaris 0 07-31-2005 09:27 AM
Internet access Mauro UNIX for Dummies Questions & Answers 1 09-13-2002 12:01 PM
internet access nseal101 UNIX for Dummies Questions & Answers 2 10-02-2001 09:25 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-28-2007
Technomot1 Technomot1 is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 2
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?
  #2 (permalink)  
Old 09-28-2007
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,245
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
...

  #3 (permalink)  
Old 09-28-2007
Technomot1 Technomot1 is offline
Registered User
  
 

Join Date: Sep 2007
Posts: 2
Thanks reborg, that worked although I had to make my own resolv.conf file. is this usual?
Closed Thread

Bookmarks

Tags
learn unix

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:14 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0