2010-06-09

Sun Netra T1 diary - Post install configuration (2010-06-05)

After the installation of the Solaris 10 on my Netra T1 box had been taken place, I've started to configure the system. As I've chosen Reduced Networking Core System Support there will be a lot of works to do.

First of all the dud, noisy, old fans needed to be replaced. Unfortunately I haven't found any supplier in Hungary who whould have traveled in selling fans of the same type (1606KL-04W-B59) that my Netra T1 had. I have had to select a different model (KDE1204PFV1) with similar airflow characteristics ...



... in spite of the fact that it won't fit into the oldest one's place since it's smaller in one dimension.



By applying plastic spacers I was able to put in the new fans.



Fix networking

After logging in as root I immediately realized that the network didn't work at all, apparently it had been a bad idea to choose QFE0 as the primary network interface. I suppose there must be a different SRV4 package supporting these kind of network interfaces which needed to be installed as well. Nevertheless Netra T1 also has two HME (Happy Meal Ethernet) ports thus I've abandoned to make any of the QFE port to work.

# rm /etc/hostname.qfe0
# echo "sunrise" > /etc/hostname.hme0


Mount CDROM

I really hate this on Solaris to figure out what is the exact device node of the CDROM and mount it manually. I feel that it's a real pain in contrast to do it under Linux.

# mkdir -p /mnt/cdrom
# mount -F hsfs -o ro /dev/dsk/c1t2d0s2 /mnt/cdrom


Install & configure SSH

We don't have SSH installed at this time and I'm using a VT100 terminal attached using a serial cable to the box. Of course this is not very convenient.

# pkgadd -d /mnt/cdrom/Solaris_10/Product SUNWgssc SUNWgss SUNWsshcu SUNWsshdr SUNWsshdu
# vi /etc/ssh/sshd_config

...
PermitRootLogin yes
...


After this step I tried to log into the box as root, but it didn't work. Googling a little pointed out and SSH keys are missing and they can be created using the statement below.

# /lib/svc/method/sshd -c
# svcadm restart ssh


Create a non-priv user

# mkdir -p /home
# useradd -m -d /home/sysadm sysdadm


Install NFS

I've decided to share the whole set of SRV4 packages on a different box running Debian Lenny, this way installing packages from CDROM can be eliminated.

# pkgadd -d /mnt/cdrom/Solaris_10/Product SUNWgssk SUNWrsgk SUNWnfscr SUNWnfsckr SUNWnfscu
# mount dezso:/mnt/data/SOFTWARE/SUN/OS/SOLARIS/10/SPARC/PKG /var/spool/pkg
# vi /etc/vfstab

...
dezso:/mnt/data/SOFTWARE/SUN/OS/SOLARIS/10/SPARC/PKG - /var/spool/pkg nfs - no ro
...


Fix locale

After the first boot there were a few error messages complaining that the locale hasn't been set correctly.



I'd rather remove North American locale and will use the default POSIX until it turns out that I really need a locale other that POSIX.

# pkgadd SUNWxcu4 SUNWladm
# localeadm -r nam
# vi /etc/default/init

...
LANG=C
# init q


Install bash

# pkgadd SUNWbash
# usermod -s /usr/bin/bash sysadm
# usermod -s /usr/bin/bash root


Install MAN pages

# pkgadd SUNWman
# pkgadd SUNWdoc
# catman &


1 comment:

Anonymous said...

I just want to say Hi to Everyone!