Solaris 9 questions: CDE & networking

Solaris 9 questions: CDE & networking

Post by Paul Fste » Tue, 07 Mar 2006 14:07:39


Hi,

... first of all, I'm quite a Solaris newbie. I'm an Oracle DBA and
know basically how to set up a Solaris 8 box so that I can naturally
run Oracle on it. So, here are my questions:

I decided to finally increase speed from Sol-8 to Sol-9 on my Blade
150. This machine is attached (via a switch) to my DSL modem/router, a
ZyXEL Prestige 650-R.

When I installed Solaris 9, I was offered networking options. I chose
to use DHCP and DNS. I supplied the IP addresses of my ISP's DNS
servers as requested by the installer and the computer is assigned the
name DHCPPC3 from the ZyXEL. I created my user and can
telnet/rlogin/ssh to that user from my other computers using the IP
address assigned to DHCPPC3. So far, so good. But how can I give it a
name it keeps? My Linux and Mac machines will keep their name, no
matter what. The Blade always gets the name from the ZyXEL which may
change of course and is not the name I want.

Also, I supplied the networking information, but why isn't it able to
resolve names? I don't need 100% internet features there, but it would
be great if I could for example download the latest jumbo patch
directly from Sun onto the Sun.

Last but not least, each an every window has this extremely ugly
language bar attachted at the bottom edge. Is there any way to get rid
of this thing? This thing alone can be a reason to go back to Solaris
8...

Also, is there a Solaris 9 FAQ around?

Thanks very much in advance.
--
cul8er

Paul
XXXX@XXXXX.COM
 
 
 

Solaris 9 questions: CDE & networking

Post by Stefaan A » Tue, 07 Mar 2006 18:34:28

On Mon, 6 Mar 2006 06:07:39 +0100



Check the /etc/default/dhcpagent for the information that the machine
requests from the DHCP server. REQUEST_HOSTNAME in "man dhcpagent" is
what you're looking for.


First check if your /etc/nsswitch.conf mentions dns resolution for
host names (if it only has files, the DNS will never be queried).

The contents of /etc/resolv.conf are rewritten with the DNS information
provided by the DHCP server. Make sure it contains the correct entries.

Alternatively, it could be that your router acts as DNS relay and
doesn't let you system's DNS queries to the ISP's DNS servers through.


That's because you've selected a multi-lingual setting (UTF-8) upon
login.

Take care,

--
Stefaan
--
As complexity rises, precise statements lose meaning,
and meaningful statements lose precision. -- Lotfi Zadeh

 
 
 

Solaris 9 questions: CDE & networking

Post by Richard B. » Tue, 07 Mar 2006 23:43:55


I "solved" a similar problem by not using DHCP. My router, a Linksys
BEFSR81, reserves addresses 192.168.1.1 to 192.168.1.99 for static
assignment. If the router had a full implementation of DHCP, this dodge
should not be necessary but Linksys elected to do a bare bones
implentation that will not assign a nodename. It's not RFC3131 compliant.

This has not proven to be an ideal solution because my ISP periodically
reconfigures its network and changes some or all of the IP addresses. I
then have to edit /etc/resolv.conf to have the new DNS Servers.

To solve your name resolution problem, check /etc/resolv.conf. It
should look something like this (substitute the proper IP addresses for
your ISP).

domain trnrsv01.nj.comcast.net
nameserver 68.87.64.196
nameserver 68.87.75.194
nameserver 68.87.66.196

The "domain" entry is the default string used when you request
"hostname" instead of "hostname.mugwump.org".

Check /etc/nsswitch.conf. It should have a line reading:
hosts files, dns
which says to check your /etc/hosts file first and then try DNS. It
could have more, or less, but dns should be there if you want to use
DNS. It may work with "nis" instead of DNS if you have NIS running.
 
 
 

Solaris 9 questions: CDE & networking

Post by Paul Fste » Wed, 08 Mar 2006 08:00:00

Hi Stefaan, hi Richard,

[..]

... seems like this is the default that the login window always returns
back to. I found that if I select C-Posix then these window language
extensions go away. Is there a way to make the login window not always
go back to UTF-8 after a reboot?

As for network access, I did which a workmate told me today:

I created /etc/defaultrouter:
192.168.1.1

Inserted the subnet into /etc/netmasks:
192.168.1.0 255.255.255.0

Put the name servers into resolv.conf:
nameserver ip.ns1.of.isp
nameserver ip.ns2.of.isp
nameserver ip.ns3.of.isp
nameserver ip.ns4.of.isp

Yes, my ISP has 4 name servers. ;-)

I studies the man page of dhcpagent but I just can't manage to get the
assigned hostname away. Anyway, I can live with that as long as I have
network access. I guess I'm doing something terribly wrong here. ;-)

Thanks for helping. :-)
--
cul8er

Paul
XXXX@XXXXX.COM