Ajitabh Pandey's Soul & Syntax

Exploring systems, souls, and stories – one post at a time

Category: Solaris/AIX/HP-UX

  • Installing Mutt on Mac OS X

    Apple’s Mac OS X has a beautiful graphical user interface, but under that there is a solid unix foundation. OS X is based on FreeBSD. This unix foundation has allowed OS X to have a native unix command line interface support.

    I was using mutt as my primary email client for many years. But from the past three years or so I chose to move to Mail, the native OS X MUA, primarily due to my requirement of managing my calendar. However, very recently I decided to make another attempt to move to mutt and today is the day when I am installing mutt in my MacBook.

    (more…)

  • UW IMAP on OpenSolaris 2009.06

    It is quite surprising that the opensolaris distribution does not come with an imap server in the standard repositories. I needed one and the simplest one to use is the one from UW IMAP.

    I downloaded the source package from:

    ftp://ftp.cac.washington.edu/imap/imap.tar.gz

    The UW IMAP documentation is at http://www.washington.edu/imap/documentation/

    I have GCC installed in my opensolaris 2009.6
    (more…)

  • OpenSolaris – Desktop Experience – Part 1

    Installation

    Few days back I installed OpenSolaris 2008.11 on my aging IBM R50e Thinkpad. My previous experience with OpenSolaris Solaris Express builds were not that great from desktop point of view. Primary problem being no support for the Intel Pro Wireless adapter IPW2200B/G and the multimedia support. This time LFY distributed a live CD of OpenSolaris 2008.11, so I thought of trying my hands on it. Immediately after booting I was impressed with the desktop which came up and reminded me of my first Ubuntu experience. A quick glance at the top-right panel and I saw two network interfaces iwi0 and iprb0. Hmmm, so it picked up both my network interfaces. Its a pity that unlike last time, I do not have a wireless network to connect to, but I was able to see the list of all networks which could be found. The overall interface looked good and quite similar to Ubuntu, so it was familiar to me.
    (more…)

  • Adding/Removing the Resources from a Running Solaris Zone

    The zonecfg command is used to configure the zone. We can add and remove a resource from the solaris zone using zonecfg. Any change to zonecfg needs a reboot, but sometimes it is a requirement to dynamically add new resources to the zone without rebooting the zone. Also, we need to make sure that the addition of new resources to the zone are persistent across reboots.
    (more…)

  • Changing the Hostname of a Solaris System

    On Solaris 10 the value in the /etc/nodename file is sufficient for setting the hostname of the system.
    The hostname of a solaris system needs a change in the following files. So replace the old hostname with the new one in these file. Do not try to comment out as this may lead to some boot time errors.

    • /etc/nodename
    • /etc/hosts
    • /etc/hostname.*
    • /etc/net/*/hosts
    • /etc/inet/ipnodes (Solaris 10 or later)

    In order to change the hostname and nodename for the current session run:

    uname -S new_hostname

    Next change the savecore-dir (Solaris 7 or later)

    dumpadm -s /var/crash/`uname -n`

    Finally restart the syslog service to log messages using the new hostname.

    Courtsey – http://www.princeton.edu/~unix/Solaris/troubleshoot/hostname-change.html