Friday, May 23, 2008

Set up DNS in Solaris 8

/etc/resolv.conf (not resolve.conf)- add the "nameserver xxx.xxx.xxx.xxx"

here/etc/nsswitch.conf- change the line that starts with "hosts" to include "dns" immediately
after "files""hosts files" to "hosts files dns"

/etc/defaultrouter- add the gateway IP here "xxx.xxx.xxx.xxx"

Restart inetd

Supposedly the following should work but it doesn't.
$ pkill -HUP inetd

I just kill inetd process and start it with
$ inetd -s

To check if it works. It will show how it routes to the yahoo's ip.
$ nslookup
> www.yahoo.com
.
.
.
> exit

$

Tuesday, May 20, 2008

Screen Saver and Power Management in Solaris CDE desktop

Tools->Desktop Controls->Screen Style Manager->Style Manager - Screen

Monday, May 5, 2008

Solaris Telnet Problem

Start Telnet
# svcadm enable telnet

See all the services
# svcs -a

Friday, May 2, 2008

Solaris 10 & 11 ftp setup

# chmod u+w /etc/inetd.conf
# vi /etc/inetd.conf
Uncomment tftp line.

# svcadm disable network/ftp
# svcadm enable network/ftp

For ftp timeouts
# vi /etc/ftpd/ftpaccess
Uncomment the following two lines and change the timeouts to something big.
timeout data 60000
timeout idle 30000
# svcadm restart network/ftp => this should work for the above ftp enabling as well.

This should do it!