How to get rid of DCHP

Hi all:-

I am using Sun8 Intel PC in a network and have IP allocated by DHCP. Now I got a static IP and want to configure my PC for this new IP and disable DHCP. How can I do that ?

Thanks in advance

U can simply use the command "netconfig" at the terminal.
However, u must be the administrator in order to do so.

Simply follow the instructions on the screen and u will get wat u wan !

Thanks, but 'netconfig' command is not working on SunOs.
It saidk 'not found'
Any other idea

yea I got it in /etc/netconfig
But when I execute this command it gave me the following messages:
./netconfig: udp6: not found
./netconfig: tcp6: not found
./netconfig: udp: not found
./netconfig: tcp: not found
.....

What shoud I do ?

Ok ! Since netconfig didn't work on your machine. Try using the ifconfig command. It should work.

smartybob, ifconfig will work, but only one time. s_aamir need to adjust things so that the start up scripts run differently after a reboot.

I have never used dhcp, but I have been looking at Sun's startup scripts. I think that you currently have a file something like /etc/dhcp.* which should be removed. And you need a /etc/hostname.* which has the hostname. And then the ip address needs to be in the /etc/hosts file.

Perderabo, yes you are right. I need to configure some scripts or something else at startup.
Well, this is a new workstation on our network, I took a chance and re-install SunOS with static IP and DNS config....and it worked.
Thanks both of you for valuable info.