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(2) System Calls Manual reboot(2)
NAME
reboot - boot the system
SYNOPSIS
DESCRIPTION
causes the system to reboot. howto is a mask of reboot options (see specified as follows:
A file system sync is performed (unless
is set) and the processor is rebooted from the default device and file.
The processor is simply halted.
A sync of the file system is performed unless the flag is set. should be used with caution.
On systems with cellular architecture, all cells in the partition are
rebooted in order to reconfigure the stable complex configuration data. On systems with non-cellular architec-
ture, the default is A sync of the file system is performed unless the flag is set.
Shut down the system firmware to a "ready to reconfigure" state and do not
reboot. This option can be used only in combination with
A sync of the file system is not performed.
Unless the flag has been specified, reboot(2) unmounts all mounted file systems and marks them clean so that it will not be necessary to
run fsck(1M) on these file systems when the system reboots.
Only users with appropriate privileges can reboot a machine.
RETURN VALUE
If successful, this call never returns. Otherwise, a -1 is returned and is set to indicate the error.
ERRORS
fails if this condition is encountered:
[EPERM] The effective user ID of the caller is not a user with appropriate privileges.
DEPENDENCIES
The default file and device for is on the current root device.
AUTHOR
was developed by HP and the University of California, Berkeley.
SEE ALSO
reboot(1M), privileges(5).
reboot(2)