Search This Blog

Friday, December 31, 2010

INSTALLATION OF ETHERNET DRIVER ON SOLARIS 10 x86 MACHINE

Do these steps

1.#prtconf -v | more

search for the string /ther

search for device-id and vendor-id numbers(make sure its under Ethernet controller)
once you have got it (say some 001094c)

2.Download the driver from this site(say ur driver is ife0)
http://homepage2.nifty.com/mrym3/taiyodo/eng/
- extract it

3.vi <path_to_extracted_folder>/addrv.sh
you will be getting pci8086 1094c

well...if you have a match your work id done or else search for another driver and do the same procedure again
- download
- match it with addrv.sh file

4.#isainfo -n   //it should be
amd64

5.#mv Makefile.amd64_gcc Makefile

6.#ln -s amd64 obj

7.#export PATH=/usr/ccs/bin/:PATH  //append make command to the path

or else you can also use
#/usr/ccs/bin/make

8.#make install //if you have set the path or else /usr/ccs/bin/make

9.#./addrv.sh

10.#modload ife

11.#ifconfig ife0 plumb

12.#ifconfig -a   //if ife0 driver is installed then in the output you will find it

13.#echo "192.168.1.1" > /etc/defaultrouter

14.#echo "nameserver 8.8.8.8" > /etc/resolv.conf

15.#touch /etc/dhcp.ife0

16.#ifconfig ife0 dhcp start

or in case of static ip

#ifconfig ife0 192.168.1.7 netmask 255.255.255.0 up

17.#ifconfig -a  //check if the ip is set

18.#reboot

Wednesday, December 29, 2010

move /etc/fstab

if /etc/fstab is moved to some other location, even then the system boots, but we cannot use the terminal(hence no processes can be executed), the desktop and other icons can be used by the user.

mounting any file system like USB or any such device is not possible

/tmp directory myth

all files in /tmp does not get deleted on every reboot

Monday, December 27, 2010

TERMINOLOGIES

IP Masquerade 
IP masquerade is the name given to one type of network address translation that allows all of the hosts on a private network to use the Internet at the price of a single IP address.
IP Masquerading and network address translation Configuring  IP masquerade

While working on Solaris
x86 refers to larger family of 64-bit and 32-bit x86 compatible products.
x64 points out specific 64-bit information about AMD64 or EM64T systems.

Patches in Solaris
A patch is a piece of software designed to fix problems with, or update a or its supporting data.
Systems running on Solaris OS can be patched or upgraded online, with only a single reboot required to activate changes.

Flash archives 
mirrored images of a system that can be installed on another system of the same architecture. The flash archive can include third-party packages as well as optional Solaris components like Solstice DiskSuite.

GRUB Menu
GRand Unified BootLoader

Sunday, December 26, 2010

on #ls -l command Different types of files observed

  • d - The entry is a directory.
  • D - The entry is a door.
  • l - The entry is a symbolic link.
  • b - The entry is a block special file.
  • c - The entry is a character special file.
  • p - The entry is a FIFO (or “named pipe”) special file.
  • s - The entry is an AF_UNIX address family socket.
  • -   - The entry is an ordinary file.

SCSI, IDE/ATA HARD DISK DRIVES


Modern hard disk drives use one of two interfaces: IDE (ATA) and its variants, or SCSI. You can tell immediately by looking at the back of the hard disk which interface is being used by the drive:
A standard hard disk IDE/ATA data interface.
If you look closely you can see markings for pins #1, #2, #39 and #40.
A 50-pin SCSI interface connector looks identical except that it
has 25 columns of pins instead of 20
  • IDE/ATA: A 40-pin rectangular connector.
  • SCSI: A 50-pin, 68-pin, or 80-pin D-shaped connector (the same shape used for serial and parallel port connectors). A 50-pin connector means the device is narrow SCSI; 68 pins means wide SCSI; 80 pins means wide SCSI using.
Whether IDE/ATA or SCSI is better depends on what your needs are, and how much you are willing to spend.

Primary deciding factor in the SCSI vs. IDE/ATA question is the number of devices you plan to use (or use in the future) in your system. In many respects, IDE/ATA is superior if you are using only one, two or three devices such as hard disks or CD-ROMs. If you are using many devices, say over four, then SCSI is superior to IDE/ATA in several different respects. I should also mention that many times people make the decision about what interface to use based on what interface they began with; few are willing to buy all new devices in making an interface switch. And of course, it's quite possible to use both interfaces in the same system.



Sunday, December 5, 2010

Apache configuration in solaris 10

initially #svcs -a | grep apache2
status will be maintenance, so you will have to do this.

do this,

# svcadm disable svc:/network/http:apache2

1. cd /etc/apache2

2. cp httpd.conf-example httpd.conf

3. #svcadm enable apache2

4. #svcs -a | grep apache2

now, you will find the status online i hope.