The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

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 fruiz SCO 2 09-23-2005 05:15 PM
Can't access the internet from a Sol 7 machine youwantwhat UNIX for Dummies Questions & Answers 2 02-01-2005 10:41 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 12-25-2008
lid-j-one lid-j-one is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 36
cannot access to internet , help

hi experts
i have a sun Enterprise 220 R server with solaris 10 and patches , i configured network card with ip addresses that have access to Internet but i can't be connected

for same informations :

root@E220R # ifconfig -a

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 172.16.7.200 netmask ffff0000 broadcast 172.16.255.255
ether 8:0:20:c7:8a:d8


root@E220R # more /etc/defaultrouter
172.16.1.254

and the problem:

root@E220R # ping Google
ping: unknown host Google


what can i do ?
  #2 (permalink)  
Old 12-25-2008
vishwanathhcl vishwanathhcl is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 12
check the IP of the DNS server

put those ip /etc/resolv.conf

vi /etc/resolv.conf
nameserver 202.138.96.2 (example)
nameserver 202.138.96.3

cp /etc/nsswitch.dns /etc/nsswitch.conf

svcadm enable /network/dns/server

ur done almost.




  #3 (permalink)  
Old 12-25-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,993
Quote:
Originally Posted by vishwanathhcl View Post
c
svcadm enable /network/dns/server
this step isn't necessary unless you want to configure a dns server!
  #4 (permalink)  
Old 12-25-2008
pupp's Avatar
pupp pupp is offline Forum Staff  
cap_10hdx 1
  
 

Join Date: Feb 2008
Location: Jersey Shore
Posts: 562
if you have a dns server on your 172.16.1.0 network, use that address in /etc/resolv.conf

Code:
echo "nameserver <dns_ip>" > /etc/resolv.conf

otherwise use your default route address.
  #5 (permalink)  
Old 12-31-2008
lid-j-one lid-j-one is offline
Registered User
  
 

Join Date: Oct 2008
Posts: 36
thank you every body
  #6 (permalink)  
Old 01-05-2009
stevie_velvet stevie_velvet is offline
Registered User
  
 

Join Date: Jan 2008
Location: London e Milano
Posts: 85
summary: Linux or Solaris -You need to set-up your machine as a DNS client to be able to connect to the internet
Closed Thread

Bookmarks

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:06 PM.


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