02-20-2007
Hey,
install al file under /etc with hostname.<your-device-name>, ex.
/etc/hostname.hme0. Write the hostname in this file, write the
ip-number and the hostname in /etc/inet/hosts.
When Solaris starts the script /etc/init.d/network will read this
files and set your devices and ip-numbers.
For routing edit a file /etc/defaultrouter and write here the
ip-number of your router.
CU
lowbyte
10 More Discussions You Might Find Interesting
1. Solaris
Hi,
I have upgraded my Solaris 10 2005 to Solaris 10 2007. I am facing one bug, id: 6550904. To override this issue I have done following changes in /etc/systems:
set max_uheap_lpsize = 0x2000
set max_ustack_lpsize = 0x2000
set max_privmap_lpsize = 0x2000
set max_shm_lpsize =... (6 Replies)
Discussion started by: neel.gurjar
6 Replies
2. Solaris
Hi All,
Does anyone tell me , is there any difference between solaris "reboot " and init 6 ...bcos in case of reboot for a system ..can i use init 6 for that instead.
Thanks in advance,
J (6 Replies)
Discussion started by: jegaraman
6 Replies
3. UNIX for Dummies Questions & Answers
hey all,
i have a computer with unix.... and i have an hme0 net card on it
i configured it to have an ip address in a local network with ifconfig
and i also went into inet folder to config it there....
my problem is every time i reboot my machine the config is lost and i have to config it... (4 Replies)
Discussion started by: shwinky
4 Replies
4. Solaris
Hi,
Can someone explain in detail what 'uptime' ,'last reboot' and 'who -b' commands do in solaris.
this commands are not executing in every solaris box. why this is happening. Has solaris got some inbuilt commands into it. If yes then where i have found them?
Thanks,Soubhik (6 Replies)
Discussion started by: soubmukh
6 Replies
5. Solaris
So here's the scoop. I am working on a project to automate the building of spark based solaris servers. I've got a cursory amount of knowledge of how to use the os after some pretty heavy experience with Linux, and doing a similar project there.
I have a few questions though...
1) how is... (5 Replies)
Discussion started by: msarro
5 Replies
6. Solaris
Dears
Kindly am requested to collect the date histroy that the system was rebooted, so is there any log file or command that i can find the time that the system was rebooted?
thanks a lot for you kind support. (2 Replies)
Discussion started by: thehero
2 Replies
7. Solaris
Hi
What are all the command outputs we have to note and keep it for safe before rebooting or shutting down a solaris box (5 Replies)
Discussion started by: newtoaixos
5 Replies
8. Solaris
I have installed Solaris 11 Express on my machine. I have problems trying to reboot the computer remotely.
When I log to the local console as the root-user and run
reboot
everything is fine.
But when I log in remotely from a Windows machine using putty and do the same, the computer... (3 Replies)
Discussion started by: RychnD
3 Replies
9. Solaris
Hi,
we have a sun sparc solaris 10 machine and recently there was a power failure and one of the server domain was down. So today morning i have powered up the domain and it returned me to ok prompt then i have booted the machine with disk from devalias, the system was up as normal and no error... (0 Replies)
Discussion started by: phanidhar6039
0 Replies
10. Solaris
Hi Team
I am facing an issue on solaris machine as mounting a remote path is only done after reboot the machine. without rebooting its going to hanging state and no process either.
i am using the following parameters for mounting NFS share..
mount -F nfs remote_path:/abc/ mount_point... (1 Reply)
Discussion started by: boby.kumar
1 Replies
reboot(3C) reboot(3C)
NAME
reboot - reboot system or halt processor
SYNOPSIS
#include <sys/reboot.h>
int reboot(int howto, char *bootargs);
The reboot() function reboots the system. The howto argument specifies the behavior of the system while rebooting and is a mask con-
structed by a bitwise-inclusive-OR of flags from the following list:
RB_AUTOBOOT The machine is rebooted from the root filesystem on the default boot device. This is the default behavior. See boot(1M) and
kernel(1M).
RB_HALT The processor is simply halted; no reboot takes place. This option should be used with caution.
RB_ASKNAME Interpreted by the bootstrap program and kernel, causing the user to be asked for pathnames during the bootstrap.
RB_DUMP The system is forced to panic immediately without any further processing and a crash dump is written to the dump device
(see dumpadm(1M)) before rebooting.
Any other howto argument causes the kernel file to boot.
The interpretation of the bootargs argument is platform-dependent.
Upon successful completion, reboot() never returns. Otherwise, -1 is returned and errno is set to indicate the error.
The reboot() function will fail if:
EPERM The {PRIV_SYS_CONFIG} privilege is not asserted in the effective set of the calling process.
intro(1M), boot(1M), dumpadm(1M), halt(1M), init(1M), kernel(1M), reboot(1M), uadmin(2)
22 Mar 2004 reboot(3C)