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 &


2010-06-07

Sun Netra T1 diary - Solaris 10 installation (2010-06-03)

Well, I had a little time on Saturday and I started to seize and install Solaris 10 on this machine. The installation process was not smooth at all I've manage to do it successfully only for 3rd or 4th time. Last week I installed FreeBSD 8 which was pretty easy to do, but I didn't know that FreeBSD created EFI type disk label on c0t0d0. It took me some time until I've found this forum thread and managed to change the disk label back to SMI.



I'd like to use the installation program in English.



VT100 is the perfect selection, because I've used minicom to connect to this Netra T1 box.





Of course I want this box to connect to my network.



I've selected QFE0, becuase this interface was recognized for the first time.



QFE0 is going to have a static IP address.



Pick a host name.



This is going to be the static local IP address of this host.



Subnet configuration and the rest of network configuration. It is quite obvious I think.

















Time zone configuration.








Disable all services which would make this system available though the network. Although will be a real pain to set up everything manually after the installation has been completed, I like to do it this way for security reasons.













I was in two minds at this point and I really did not know whether I should choose ZFS or not. Though ZFS has been out there for at least five years at it must be an excellent choice, I've chosen UFS after all, since our client I'am currently working for does not use ZFS at all. I also would like to learn about the legacy SVM.



I only want to have those pieces of software which are absolutely neccessary.




The tricky part is coming: partitioning of disks. The second one will be set up after installation.






It is usually hard to decide how to lay out partitions on the disk. Yes, I know, by using ZFS it might have been easier.







The installation is finally running in a couple of minutes I can use my system.






This is the first boot. Basically there is no point in choosing the keyboard layout, since Sun Netra T1 has neither a VGA output nor a keyboard interface. It only has a serial console...



Apparently something must have been gone wrong around the locale.