Install Sybase Perl module in Solaris 10

October 15, 2009 · Filed Under Package Management, Solaris 10 · Comment 

Installing Perl modules in Sun Solaris is not as straight forward but is not very difficult as well.  Perl module installations in Sun Solaris needs GNU Make rather than the default make tool installed. And, requires using perlgcc to build the Makefile.PL than the default perl binary.

Read more

dladm – Display Link status,speed,duplex,statistics,MTU

June 19, 2009 · Filed Under Networking, Solaris 10 · 2 Comments 

In the past we have to mess around with the NDD commands and stats tools like kstat to find the network link status, speed, duplex information in Sun Solaris. With Solaris 10, this has become much easier with the dladm utility.

dladm is the admin utility for Data-Link Interface which helps to display informarthe like Link Status (UP/DOWN), Speed, Duplex, MTU, VLAN Tagged and crucially statistics of network traffic on each of the interfaces historically as well as in real time. dladm can also configure and admin Link Aggregation on multiple NICs which we will not focus here.
Read more

PCP script to find open TCP ports and PIDs related in Solaris

May 12, 2009 · Filed Under Networking, Solaris 10, Solaris 8, Solaris 9, security · 3 Comments 

PCP is a very useful security and adminitration script that can help you quickly find Processes (PIDs) having particular TCP Port(s) open, TCP ports open by specific PIDs or even list all the TCP Ports open by all PIDs running on your system.

Read more

Enable/Disable IP Forwarding in Solaris 10 without reboot

April 24, 2008 · Filed Under Networking, Solaris 10 · 3 Comments 


IP packet forwarding is the process of routing packets between network interfaces on one system. A packet arriving on one network interface and addressed to a host on a different network is forwarded to the appropriate interface.

In Solaris 10, IP Forwarding can be enabled or disabled using the routeadm & ifconfig commands as against the ndd commands in Solaris 9 and earlier. The advantage is the change dynamic and real-time and the change persist across reboot unlike the ndd command.

Read more

Control/Modify dhcpagent configuration in Sun Solaris

March 22, 2008 · Filed Under Networking, Solaris 10, Solaris 8, Solaris 9 · Comment 


Do you you DHCP to get the IP Address for your Solaris Server or workstation then its worth understanding what your DHCP Agent by default requests for from the DHCP server and help avoid certain network issues like “unknown” hostname issue as I’ve descrbed here.

The DHCP Agent by default requests for the

Subnet Mask

Default Router

Hostname

DNS Domain

Broadcast Address

Encapsulated Vendor Option (vendor specific information as described in RFC 2132)

Read more

Fix: No hostname when using DHCP in Sun Solaris 8/9/10

March 22, 2008 · Filed Under Networking, Solaris 10, Solaris 8, Solaris 9 · 3 Comments 


If you are using DHCP to receive IP Address for your Sun Solaris system, you may end up with no hostname assigned to the system. This can be confirmed when there is no hostname at the prompt or if the output for the command “hostname” is as follows:

# hostname
unknown

or the /etc/hosts file has an entry as follows:

# cat /etc/hosts
#
# Internet host table
#
127.0.0.1 localhost
192.168.0.3 unknown # Added by DHCP

Read more

Solaris 10 – Change IP Address without reboot

March 19, 2008 · Filed Under Networking, Solaris 10 · 4 Comments 

Adding or editing the IP address on a Solaris 10 server is different from the previous versions of the OS (Solaris 9, Solaris 8 etc).

In the previous versions of the Solaris Operating System, you need to edit the /etc/hosts file and add/edit the entry for the IP address and the hostname.

Read more

How to add a Static Route (persistent) in Sun Solaris

March 19, 2008 · Filed Under Networking, Solaris 10, Solaris 7, Solaris 8, Solaris 9 · 5 Comments 

To add a Static Route in Sun Solaris operating system, you can use the route command. This will dynamically update the Kernel IP Routing table. However, when a server is restarted, these routes will be lost. To prevent this from happening, add a startup script S76static-routes with all the route commands for the static route that needs to persist. This will ensure that the route gets added at boot time.

Read more

How to disable IP Forwarding in Sun Solaris

March 19, 2008 · Filed Under Solaris 10, Solaris 7, Solaris 8, Solaris 9, security · Comment 

IP packet forwarding is the process of routing packets between network interfaces on one system. A packet arriving on one network interface and addressed to a host on a different network is forwarded to the appropriate interface. While this is a job for the network router, Servers with multiple interfaces connected to different network can perform this action as well. This behaviour as a router is a default in Sun Solaris Operating Systems.

Read more

Install & Run Sun VTS in Solaris 10 for hardware & Stress test

January 29, 2008 · Filed Under General, Package Management, Solaris 10, Sun X86 platform · Comment 

In my previous write up here, I wrote a brief description of the Sun VTS (Validation and Test Suite) which can help one to run tests on any Sun Supported hardware and hardware components and report the health status and identify faulty devices. Now, lets get installing and run Sun VTS in Solaris 10.

Read more

Next Page »