Thursday, March 18, 2010

Return to Solaris

I have just installed Solaris on a virtual machine using Vmware Workstation.

Over the next few days I will be going into further detailed topics.


I will be attempting to cover the following topics:

  1. Setup Dynamic Dns using No IP or other Dynamic Dns updating software
  2. Setup DNS Server using bind / named DNS Daemon
  3. FreeNX setup for VNC Style connection
  4. Setting up SSH for remote access

Monday, June 25, 2007

Add gateway using route command

route add default 192.168.2.1

Gateway here is 192.168.2.1

Wednesday, June 20, 2007

Project Looking Glass

Beryl on Solaris

The following images are from Moinak Ghosh's Weblog.

They show the popular Beryl Desktop being used on Solaris.

Beryl Cube

Alt TAB

Expose'

This last one is from Erwann Chénedé's Weblog




Tuesday, April 10, 2007

Configure multiple IP addresses on the same interface

The command to use multiple ip addresses is :

 ifconfig INTERFACE:NUMBER IP-Address up

where "INTERFACE" is an interface (e.g.,pcn) and NUMBER is a number between 1 and 255.

Removing the pseudo interface and associated address is done with

"ifconfig INTERFACE:NUMBER IP-Address down".

DNS Settings for internet

These are a set of steps one must go through before using the internet on Solaris. Since I have done these steps several times, each time forgetting something or the other, I feel it would be useful to have them documented in one common location. I am sure they have been documented elsewhere, but here they are nonetheless.

The following steps assume that you have a static local ip address, and you know your dns server settings as well as what your default gateway should be. If you need to setup your ip address, it can be done using the ifconfig .

eg :

ifconfig pcn0 192.168.2.100

to set interface pcn0 to ip address 192.168.2.100

There are other options as well for which you can consult the man pages for ifconfig.

man ifconfig


  1. Create a file called /etc/resolv.conf its contents should be :
nameserver 192.168.2.1
nameserver 192.168.2.2

Where 192.168.2.1 and 192.168.2.2 are your primary and secondary dns servers.

2. Either copy /etc/nsswitch.dns to /etc/nsswitch.conf

or
edit /etc/nsswitch.conf to change the line that says

hosts: file to hosts: file dns

3. Add a default route or gateway using the following command:

route add 192.168.2.254 0.0.0.0

Where 192.168.2.254 is your default gateway.

At this point you should be able to access the internet using hostnames rather than ip addresses. ie: your DNS settings should be working now.

Tuesday, April 3, 2007

Welcome to my Solaris Beginner blog

Last December, I took a course for Solaris System Administration. It has been three months since I have looked at Solaris, so I decided to get back into and and reacquaint myself with the Solaris Operating system. During this process, I intend to post entries outlining my progress.

Over the past few days, I have been able to install Solaris 10 update 3 in Vmware Workstation to be used for my Solaris Review.

Several Network Administration topics were not covered during the Sys Admin course I took, which I intend to get into and post entries here about.