Sponsored Content
Operating Systems Solaris Solaris can go out to internet Post 302365022 by solaris_user on Sunday 25th of October 2009 09:39:34 AM
Old 10-25-2009
here is the solution

first create resolv.conf into /etc/inet and then

Code:
vi resolv.conf

Code:
domain sun.com
nameserver DNS IP
nameserver DNS IP

after that

Code:
cd /etc
chown root:sys ./inet/resolv.conf
ln s ./inet/resolv.conf

after that I added in nsswitch.con on hosts DNS

and final check
Code:
cat /etc/default/router

My mozilla opened google.com

Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Internet Solaris

configure internet connection on Solaris (3 Replies)
Discussion started by: CreamHarry
3 Replies

2. IP Networking

Internet Explorer Solaris

Downloaded and installed, when I try to execute iexplorer it responds with "iexplorer: not found", but it is right there in the directory I am in and I im logged in as root. any ideas? (3 Replies)
Discussion started by: cluettr
3 Replies

3. UNIX for Dummies Questions & Answers

Getting on the Internet with Solaris 8

I have cable and Solaris 8 (Intel Ver.) and a Compaq NC3121 Fast Ethernet NIC How do I connect to the internet? (3 Replies)
Discussion started by: eloquent99
3 Replies

4. Cybersecurity

internet on solaris

i am on solaris 8 and i wish to configure internet on solaris 8 using our proxy server. How to i do that. Hitesh Shah (1 Reply)
Discussion started by: Hitesh Shah
1 Replies

5. Solaris

No internet - Solaris 10 new install

Hi all I am new to unix having played with linux for a few years (still newbie). My problem is I am having trouble connecting to the internet. I do not seem to have an eth0 connection just a locahost. I read on a blog post somewhere that unix uses pcn0 instead of eth0 but it seems my card... (3 Replies)
Discussion started by: skewbie
3 Replies

6. Solaris

Trying to get Solaris 10 on the Internet

Hello! I'm having trouble getting this to work so I ask kindly if I can get some help to get it to work, please :). I installed Solaris 10 (nov 06) on a laptop and I been trying to get it to connect to the router (wired connection) and it doesn't work. I have a 2wire 2700HG router that has... (5 Replies)
Discussion started by: RemoL
5 Replies

7. Solaris

Solaris 10 Wireless Internet - Please help!

Hello, I have Solaris 10 Express, and am going to try OpenSolaris on a different computer. I need to configure and setup my wireless card, a NetGear WG311T, on my Solaris 10 machine, because I have no internet yet. Please help me get my wireless working, Thanks. -SunPowered Some links... (2 Replies)
Discussion started by: sunpowered
2 Replies

8. Solaris

Internet on solaris

Hi friends,i use BSNL broadband for my internet through a modem(a router) from ethernet port.i use a username and password to connect.Its dhcp .plz help me (1 Reply)
Discussion started by: santugvd
1 Replies

9. Solaris

how to connect internet in solaris???

Hi !!!! i am very new in solaris. at present i am using windows XP for internet connection. ISP has given me user name and password for connecting to the internet. it is a brodband DSL connection. but i am unable to connect to the internet in solaris. i am using one static ip given by the... (4 Replies)
Discussion started by: alamin
4 Replies

10. UNIX for Dummies Questions & Answers

Solaris 10 - How to connect to internet

I recently installed solaris 10 on a seperate hard disk in my desktop pc. My first hard disk is running windows xp. I am totally new to solaris. Please help me to connect to the internet through solaris 10. I read a few threads, and re-installed solaris 10 by giving 'Yes' to the question that... (1 Reply)
Discussion started by: hari86av
1 Replies
RESOLV.CONF(5)							File Formats Manual						    RESOLV.CONF(5)

NAME
resolv.conf - Domain Name System resolver configuration SYNOPSIS
/etc/resolv.conf DESCRIPTION
The /etc/resolv.conf is used to configure how the host will use the Domain Name System to resolve hostnames to IP addresses. It may con- tain these two lines: nameserver IP-address domain domain-name The nameserver entry tells the IP address of the host to use for DNS queries. If it is set to 127.0.0.1 (which is the default) then the local name daemon is used that may use the /etc/hosts database to translate host names. You normally only need a nameserver entry if the name server is at the other side of a router. The default nonamed name server can't look beyond the local network. The domain entry tells the default domain to use for unqualified hostnames. This entry is usually not given in which case the domain of the local host is used. The long version of this story can be found in resolver(5). FILES
/etc/resolv.conf DNS resolver configuration file. SEE ALSO
resolver(5), hosts(5), nonamed(8), boot(8). AUTHOR
Kees J. Bot (kjb@cs.vu.nl) RESOLV.CONF(5)
All times are GMT -4. The time now is 02:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy