Can't connect to Internet

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
# 1  
Can't connect to Internet

Dear freinds...

I downloaded solaris for x86 and was able to configure the lan correctly.. I can ping and share with other destops through lan... but still I can't connect to internet ? can you please help..

I put my default gateway which is to /etc/defaultrouter but with no use..

My ip is

please advise
# 2  
if you use the search function, you should find tons of information for this topic...

the key should be the dns configuration. edit the files
with the correct settings!

# 3  
thank you for your response...

Yes, I read about these files, but I still dont know how should I configure the /etc/nsswitch.conf file... ?


cat /etc/resolv.conf

is this ok also ? my hostname is server1

thank you
# 4  
/etc/resolv.conf should contain line like that:

where is the IP address of your DNS server.
# 5  
edit the nsswitch.conf file. look for the line with:

hosts: files

add dns at the end of this line to enable dns lookup for hosts on your machine.

more information can be found here: Enabling a Machine to Use DNS (Solaris Naming Setup and Configuration Guide) - Sun Microsystems
# 6  
Simply, run the command:

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

# 7  
Many many thanks...

It works now :-) ....

But now every time I restart my solaris I have to run "ifconfig gani0 netmask ...

where can I insert this command so that it runs automatically each time I restart my pc ??

Many thanks again
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #684
Difficulty: Medium
According to both NetMarketShare and WikiMedia, Safari claimed a mobile market share of over 40% in 2019.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

How to connect internet to my Solaris 10 OS

Hiii, My soalris 10 OS is running on VM ware. I have internet to my windows7 OS, can someone please help me to get connected my internet connection to my Solaris OS which is running on VMware. thanks & regards, Bhagi. (2 Replies)
Discussion started by: bhargav90
2 Replies

2. Linux

How to connect to internet

Hi, Can someone guide me regarding how to connect to internet. what are steps? Thanks in advance (2 Replies)
Discussion started by: naren nandale
2 Replies

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

4. Linux

how to connect internet????

HI, Am using GPRS ( MOB # 3230 ) internet connection in windows Hw to use internet r connect in linux.. ( Red Hat Linux Ver.10 ) Please help me.. Thanks in adv.. (1 Reply)
Discussion started by: bharath raja
1 Replies

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

6. Solaris

How to connect to Internet

Hi I installed solaris developer edition 1/08 today.I want to connect to Broadband internet through my ADSL 2+ Modem/Router with a username and password. plz help in this case,I am new to sun solaris:confused: the modem itself is a router it worked well on ubuntu and red hat (3 Replies)
Discussion started by: santugvd
3 Replies

7. Linux

Couldn't connect to Internet

I have installed fedora core 7 in my system. When I try to activate the network card it says "Could not determine IP address for eth0...failed". Please give me suggestions? (2 Replies)
Discussion started by: mvictorvijayan
2 Replies

8. Solaris

trying to connect to internet

i have just installed solaris 10 on a 60 gb hard drive. now im trying to install my nic driver but when i put in the floppy disk for the nic card it cant read it, so then i found that i have to mount the floppy drive and i tried putting in the mount command but i dont know where to mount it and if... (38 Replies)
Discussion started by: vutty81
38 Replies

9. Solaris

Solaris 9 - Connect to internet

I have an ultra 10.. running solaris 9 - and have a dsl internet connection that I currently use for my windows pc's through a router. I have connected the ultra 10 to the router - and the router has assigned me an ip through dhcp.. and I can connect to the other pc's on my network and they can... (1 Reply)
Discussion started by: frustrated1
1 Replies

10. UNIX for Dummies Questions & Answers

Cannot connect to the Internet

I running HPUX 11.0, Netscape gives me an error "Unable to locate Server" when using a address. If I use an IP address I get past the router and onto the Internet. My workstation can get to the Router @ and also it's local APACHE server. I have DHCP enabled... (8 Replies)
Discussion started by: johnalt
8 Replies

Featured Tech Videos