Visit Our UNIX and Linux User Community


Solaris can go out to internet


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris can go out to internet
# 1  
Old 10-23-2009
Solaris can go out to internet

I am using Solaris 10 for a Desktop OS , also router has been configured to connect to the net , but error 404 is coming always. Smilie

I add new gateway bout that did not worked , so guessing I need to add DNS but where .Smilie
# 2  
Old 10-23-2009
DNS - /etc/resolv.conf
cp -p nsswitch.conf nsswitch.dns
# 3  
Old 10-24-2009
Uh.. that should be

Code:
cp /etc/nsswitch.dns /etc/nsswitch.conf

Or you might consider DHCP if your network is capable..
# 4  
Old 10-24-2009
resolved

I do not wont to use DHCP because my hostname is unknown
# 5  
Old 10-24-2009
Hostname is only a minor bit of info a DHCP server can provide. More importantly, it can provide your IP, nameservers, domain name, and default router info... My node's all know their names. And I've had hosts with no name because I was too lazy to give them one Smilie
# 6  
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
# 7  
Old 10-27-2009
Add Default route

touch /etc/defaultrouter
<gateway IP> /etc/defaultrouter

vi /etc/resolve.conf
nameserver <Primary DNS IP>
nameserver <Secondry DNS IP>.

after this restart network service it will work.

Previous Thread | Next Thread
Test Your Knowledge in Computers #823
Difficulty: Medium
The HTML 5 syntax is based on SGML.
True or False?

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. UNIX for Dummies Questions & Answers

Internet Solaris

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

Featured Tech Videos