Unix Technical Forum

Help for a Solaris 10 Newbee

This is a discussion on Help for a Solaris 10 Newbee within the Sun Solaris Hardware forums, part of the Solaris Operating System category; --> Greetings, I have just loaded Solaris 10 on an Ultra 5 workstation (learning purposes). Everything appears to be fine ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Hardware

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 04:00 PM
* Me *
 
Posts: n/a
Default Help for a Solaris 10 Newbee

Greetings,

I have just loaded Solaris 10 on an Ultra 5 workstation (learning purposes).
Everything appears to be fine ... until I get to the ethernet and internet
portion.

I have assigned a static ipaddress ... and ifconfig appears correct. I can
ping my router just fine ... but I can not get onto the internet.

I have a feeling that this has to do with the DNS of my IP service provider.
My theory is that the Ultra 5 does not know what to do with www.sun.com ...
so I need to set up the NSS ???

Can someone please point me in the correct direction on how to get my Ultra
5 capable of browsing the internet? I am not looking for the answer (see
above - learning ... LOL) but some hints on what I need to be looking for.
I am guessing that this is fairly easy ... but I have to shake off many
years of peecee simplicity. I have browsed the docs at SUN ... but not sure
I am looking for the correct thing (or reading it correctly)

In advance, thank-you
Glenn


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 04:00 PM
Casper H.S. Dik
 
Posts: n/a
Default Re: Help for a Solaris 10 Newbee

"* Me *" <also_atREMOVETHIS@hotmail.com> writes:

>I have assigned a static ipaddress ... and ifconfig appears correct. I can
>ping my router just fine ... but I can not get onto the internet.


What is the route you installed?

Routes are printed using: netstat -nr

>I have a feeling that this has to do with the DNS of my IP service provider.
>My theory is that the Ultra 5 does not know what to do with www.sun.com ...
>so I need to set up the NSS ???


Ah, /etc/resolv.conf to setup nameserver, /etc/nsswitch.conf and include
"dns" on the hosts/ipnodes line.

Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 04:00 PM
* Me *
 
Posts: n/a
Default Re: Help for a Solaris 10 Newbee


"Casper H.S. Dik" <Casper.Dik@Sun.COM> wrote in message
news:43dcda43$0$11068$e4fe514c@news.xs4all.nl...
> "* Me *" <also_atREMOVETHIS@hotmail.com> writes:
>
> >I have assigned a static ipaddress ... and ifconfig appears correct. I

can
> >ping my router just fine ... but I can not get onto the internet.

>
> What is the route you installed?
>
> Routes are printed using: netstat -nr
>
>
> Ah, /etc/resolv.conf to setup nameserver, /etc/nsswitch.conf and include
> "dns" on the hosts/ipnodes line.
>
> Casper


Casper,

Thank-you for the quick response.

By router ... I mean mu small SMC router between the cable modem and my home
network. It supports DHCP however, for simplicity, I used a static IP for
the Ultra 5.

I will look at the other files you mention. (Guess i been spoiled all these
years with WinDoze where everything was mainly done)

Thanks
Glenn


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 04:01 PM
Casper H.S. Dik
 
Posts: n/a
Default Re: Help for a Solaris 10 Newbee

"* Me *" <also_atREMOVETHIS@hotmail.com> writes:

>By router ... I mean mu small SMC router between the cable modem and my home
>network. It supports DHCP however, for simplicity, I used a static IP for
>the Ultra 5.


I mean the configured routers on the Ultra-5. The Ultra-5 needs to
know which system to ask to route packets for it.

I'm not sure that using "static IP" is a simplification:
static IP requires you to configure:

- IP address
- default route (/etc/defaultrouter)
- /etc/resolv.conf
- /etc/nsswitch.conf

DHCP will do that all for you.

Casper
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-16-2008, 04:01 PM
Dave (from the UK)
 
Posts: n/a
Default Re: Help for a Solaris 10 Newbee

Casper H.S. Dik wrote:
> "* Me *" <also_atREMOVETHIS@hotmail.com> writes:
>
>
>>By router ... I mean mu small SMC router between the cable modem and my home
>>network. It supports DHCP however, for simplicity, I used a static IP for
>>the Ultra 5.

>
>
> I mean the configured routers on the Ultra-5. The Ultra-5 needs to
> know which system to ask to route packets for it.
>
> I'm not sure that using "static IP" is a simplification:
> static IP requires you to configure:
>
> - IP address
> - default route (/etc/defaultrouter)
> - /etc/resolv.conf
> - /etc/nsswitch.conf
>
> DHCP will do that all for you.
>
> Casper


But DHCP it is a pain, even on a home network I find. I ran an SS20 on
DHCP for all of about 3 days, and that was enough for me. Now it is like
all my other items - a static IP.

If you want to SSH to the box from a PC you never know where it is. The
cable modem probably has some sort of firewall, and that is more hassle
if the Sun is using a dynamic address.

It's good for things like laptops on a corporate environment, but I'm
personally less convinced it is a good idea for a Sun on a home network.

And a static is not that hard to set up. Agreed a bit more hassle than
DHCP, but hardly that difficult. And DHCP gets a hassle if you want to
fix the hostname.

Just my 2c.

--
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-16-2008, 04:01 PM
Sunny
 
Posts: n/a
Default Re: Help for a Solaris 10 Newbee



Dave (from the UK) wrote:
> Casper H.S. Dik wrote:
>
>> "* Me *" <also_atREMOVETHIS@hotmail.com> writes:
>>
>>
>>> By router ... I mean mu small SMC router between the cable modem and
>>> my home
>>> network. It supports DHCP however, for simplicity, I used a static
>>> IP for
>>> the Ultra 5.

>>
>>
>>
>> I mean the configured routers on the Ultra-5. The Ultra-5 needs to
>> know which system to ask to route packets for it.
>>
>> I'm not sure that using "static IP" is a simplification:
>> static IP requires you to configure:
>>
>> - IP address
>> - default route (/etc/defaultrouter)
>> - /etc/resolv.conf
>> - /etc/nsswitch.conf
>>
>> DHCP will do that all for you.
>>
>> Casper

>
>
> But DHCP it is a pain, even on a home network I find. I ran an SS20 on
> DHCP for all of about 3 days, and that was enough for me. Now it is like
> all my other items - a static IP.
>
> If you want to SSH to the box from a PC you never know where it is. The
> cable modem probably has some sort of firewall, and that is more hassle
> if the Sun is using a dynamic address.
>
> It's good for things like laptops on a corporate environment, but I'm
> personally less convinced it is a good idea for a Sun on a home network.
>
> And a static is not that hard to set up. Agreed a bit more hassle than
> DHCP, but hardly that difficult. And DHCP gets a hassle if you want to
> fix the hostname.
>
> Just my 2c.


I find static is a pain on my home network because the ISP has a habit
of moving their DNS servers around.

The best of both worlds can be had if your DHCP server supports
reservations, whereby you associate ethernet addresses with IP addresses
so each machine is always given the same IP address.

Sunny
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-16-2008, 04:01 PM
Casper H.S. Dik
 
Posts: n/a
Default Re: Help for a Solaris 10 Newbee

"Dave (from the UK)" <see-my-signature@southminster-branch-line.org.uk> writes:

>But DHCP it is a pain, even on a home network I find. I ran an SS20 on
>DHCP for all of about 3 days, and that was enough for me. Now it is like
>all my other items - a static IP.


Really? I've used nothing else albeit with fixed IP addresses;
I have around 4 systems in regular use and 3-4 more used on and off.

>If you want to SSH to the box from a PC you never know where it is. The
>cable modem probably has some sort of firewall, and that is more hassle
>if the Sun is using a dynamic address.


Ah, but I use DHCP with fixed addresses; it allows you to get the
configuration in a single location, the DHCP server, but keep all the
systems on unique, fixed, addresses.

Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-16-2008, 04:01 PM
Dave (from the UK)
 
Posts: n/a
Default Re: Help for a Solaris 10 Newbee

Casper H.S. Dik wrote:
> "Dave (from the UK)" <see-my-signature@southminster-branch-line.org.uk> writes:
>
>
>>But DHCP it is a pain, even on a home network I find. I ran an SS20 on
>>DHCP for all of about 3 days, and that was enough for me. Now it is like
>>all my other items - a static IP.

>
>
> Really? I've used nothing else albeit with fixed IP addresses;
> I have around 4 systems in regular use and 3-4 more used on and off.
>
>
>>If you want to SSH to the box from a PC you never know where it is. The
>>cable modem probably has some sort of firewall, and that is more hassle
>>if the Sun is using a dynamic address.

>
>
> Ah, but I use DHCP with fixed addresses; it allows you to get the
> configuration in a single location, the DHCP server, but keep all the
> systems on unique, fixed, addresses.
>
> Casper


What do you mean - keep an infinite lifetime on the DHCP server? Not
sure if you can configure that on many of them, although I know you can
if you have a Sun as a DHCP server.

And how about host names. Do you force that fixed on the Sun, or accept
whatever the DHCP sever gives you? I know you can fix it on the Sun, but
it is more hassle than running static IPs in that case.


--
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-16-2008, 04:04 PM
Steve
 
Posts: n/a
Default Re: Help for a Solaris 10 Newbee

>>
>> Ah, but I use DHCP with fixed addresses; it allows you to get the
>> configuration in a single location, the DHCP server, but keep all the
>> systems on unique, fixed, addresses.
>>
>> Casper

>
> What do you mean - keep an infinite lifetime on the DHCP server? Not
> sure if you can configure that on many of them, although I know you can
> if you have a Sun as a DHCP server.


You can have a list of reserved IP's on a DHCP server but unfortunely I
speak here of M$ DHCP server as it's the only one I've admined on a
large network.

>
> And how about host names. Do you force that fixed on the Sun, or accept
> whatever the DHCP sever gives you? I know you can fix it on the Sun,
> but it is more hassle than running static IPs in that case.


Solaris 10 keeps it's own hostname with a DHCP assigned IP, ITSR
previous versions didn't. I notice this Mac (OSX - BSD based) gives me
a stupid NTL hostname.

Steve


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:56 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com