Unix administration - Need assistance getting internet access with Solaris 9

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > February 2006 > Need assistance getting internet access with Solaris 9





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Need assistance getting internet access with Solaris 9
deniskaran@gmail.com

2006-02-04, 5:52 pm

I modified resolv.conf, defaultrouter, netmasks and hosts file without
luck...
Am I doing something wrong..??

Below are my settings from my WinTel box.

Ethernet adapter XP NIC:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 3Com EtherLink 10/100 PCI
For Complete PC M
gement NIC (3C905C-TX)
Physical Address. . . . . . . . . : 00-50-DA-08-01-B5
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 10.1.1.20
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.1.1.1
DNS Servers . . . . . . . . . . . : 24.29.103.10


Thanks,
Denis

Dave (from the UK)

2006-02-04, 5:52 pm

deniskaran@gmail.com wrote:
> I modified resolv.conf, defaultrouter, netmasks and hosts file without
> luck...
> Am I doing something wrong..??


Possibly yes, possibly no. But how can anyone tell you, when they don't
know what modifications you have made?

Once you have told us, try:

% ping 212.58.224.126

and see if it returns:

212.58.224.126 is alive

or

no answer from 212.58.224.126

That is the BBC web site. If that works, but your can't get to
www.bbc.co.uk, it is probably a DNS problem.

But until you say what you have done, we have no way to help.

--
Dave K

http://www.southminster-branch-line.org.uk/

Please note my email address changes periodically to avoid spam.
It is always of the form: month-year@domain. Hitting reply will work
for a couple of months only. Later set it manually. The month is
always written in 3 letters (e.g. Jan, not January etc)
deniskaran@gmail.com

2006-02-04, 8:47 pm

Well I can browse websites via IP Address..
I opend up the Sun webpage (72.5.124.61) via IP addy.
I can also ping...


bash-2.05# showrev
Hostname: orion
Hostid: 80b597d0
Release: 5.9
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain:
Kernel version: SunOS 5.9 Generic 118558-11 Jul 2005

bash-2.05# ping 212.58.224.126
212.58.224.126 is alive

Thanks,
Denis K

Logan Shaw

2006-02-05, 2:47 am

deniskaran@gmail.com wrote:
> Well I can browse websites via IP Address..
> I opend up the Sun webpage (72.5.124.61) via IP addy.
> I can also ping...


Then you probably need to make sure that /etc/resolv.conf is
set up correctly and that "dns" is on the "hosts" line in
/etc/nsswitch.conf.

- Logan
Dave (from the UK)

2006-02-05, 3:23 pm

Dave (from the UK) wrote:

> You should have a line like:
>
> hosts: files dns
>
> in /etc/nsswitch.conf
>
> If it just says
>
> hosts: files
>
> then that is your problem. I suspect that is what it is.
>


I had a brain bypass there. As someone else pointed out, you need
/etc/resolv.conf right too. The IPs are the addresses of your name
servers, which your ISP should give you.

sparrow /export/home/drkirkby % cat /etc/resolv.conf
domain althorne.org
nameserver 212.67.120.148
nameserver 212.67.96.128


--
Dave K

http://www.southminster-branch-line.org.uk/

Please note my email address changes periodically to avoid spam.
It is always of the form: month-year@domain. Hitting reply will work
for a couple of months only. Later set it manually. The month is
always written in 3 letters (e.g. Jan, not January etc)
Dave (from the UK)

2006-02-05, 3:23 pm

deniskaran@gmail.com wrote:
> Well I can browse websites via IP Address..
> I opend up the Sun webpage (72.5.124.61) via IP addy.
> I can also ping...
>
>
> bash-2.05# showrev
> Hostname: orion
> Hostid: 80b597d0
> Release: 5.9
> Kernel architecture: sun4u
> Application architecture: sparc
> hardware provider: Sun_Microsystems
> Domain:
> Kernel version: SunOS 5.9 Generic 118558-11 Jul 2005
>
> bash-2.05# ping 212.58.224.126
> 212.58.224.126 is alive
>
> Thanks,
> Denis K
>


You should have a line like:

hosts: files dns

in /etc/nsswitch.conf

If it just says

hosts: files

then that is your problem. I suspect that is what it is.

--
Dave K

http://www.southminster-branch-line.org.uk/

Please note my email address changes periodically to avoid spam.
It is always of the form: month-year@domain. Hitting reply will work
for a couple of months only. Later set it manually. The month is
always written in 3 letters (e.g. Jan, not January etc)
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com