1. Config DNS server and domain name

/etc/resolv.conf:

nameserver 192.168.100.7

search pcms.utstar.com

Note:
(1) Test beds machines need to do all of the steps.
(2) R&D environment machines only need the steps marked with red words.
(3) You can also find this article in fronted /home/utstar/installation_doc/

2. If cannot get host’s name from hosts then get it from DNS

/etc/nsswitch.conf:

hosts: files dns

3. Config default router which will use to route out from subnet

/etc/defaultrouter:

192.168.99.8

4. This machine will not use as a router

R&D environment need

touch /etc/notrouter

5. Open root authority: ftp,telnet,ssh

R&D environment need

/etc/ftpd/ftpusers:

remove “root” line

/etc/default/login:

remove “CONSOLE” line

/etc/ssh/sshd_config:

PermitRootLogin yes

X11Forwarding yes

# IPv4 only
ListenAddress 0.0.0.0

6. Config NTP server

/etc/inet/ntp.conf:

server 192.168.100.7

7. Add route in startup file

/etc/rc3.d/S98route:
route add 192.168.0.0/16 192.168.100.254

101
102
103

8. Set hostname of this machine

R&D environment need

/etc/nodename:
The new hostname of the machine, e.g. telusmmu1

9. Config net interface and hosts

R&D environment need

/etc/hostname.eri0:
The interface name, e.g. telusmmu1
Note: eri0 is interface name, if the machine has second net interface, the second hostname file should be configed, e.g.
/etc/hostname.eri1:

telusmmu1_1

10. Set hosts

R&D environment need

/etc/hosts, e.g.

192.168.102.14 telusmmu2

192.168.99.24 telusmmu2_1

11. Set local-mac-address to fast net speed

R&D environment need

/usr/platform/sun4u/sbin/eeprom local-mac-address?=true

12. Check whether NTP service startup file exists

/etc/rc2.d/S74xntpd

13. copy /.profile

R&D environment need

.profile
Note: file name is .profile not profile

14. Set shell

R&D environment need

/etc/passwd:

root:x … :/usr/bin/ksh

Q1: We could not use the Xwindows when login solaris with ssh? The console logs this: Sep 17 11:08:48 devz30 sshd[4165]: [ID 800047 auth.error] error: Failed to allocate internet-domain X11 display socket.

Edit /etc/ssh/sshd_config, make sure the ListenAddress section look like this. Only the line in red should be uncommented.

# The default listen address is all interfaces, this may need to be changed
# if you wish to restrict the interfaces sshd listens on for a multi homed host.
# Multiple ListenAddress entries are allowed.
# IPv4 only
ListenAddress 0.0.0.0
# IPv4 & IPv6
#ListenAddress ::

Edit /etc/init.d/sshd, change the sshd startup line so that it has the “-4” option. This forces IPv4 only:
case $1 in
’start’)
create_key $SSHDIR/ssh_host_rsa_key rsa
create_key $SSHDIR/ssh_host_dsa_key dsa
/usr/lib/ssh/sshd -4 &
;;
Then restart sshd:
/etc/init.d/sshd stop
/etc/init.d/sshd start
This will get X11 forwarding working again, which should allow xattach to start working again.