Sponsored Content
Top Forums UNIX for Advanced & Expert Users how do change hostname of a unix server Post 302238190 by DukeNuke2 on Friday 19th of September 2008 07:54:19 AM
Old 09-19-2008
it depends on the unix derivat... in solaris (latest version) are 3 files involved:

- /etc/inet/hosts
- /etc/hostname.nameofprimarynetworkinterface
- /etc/nodename
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

change hostname

Hi, ( running solaris 8 ) I know how to change the hostname temparily, by login in as root typing hostname = xxxxx but, this obviously goes when the system is rebooted. I'm not sure what files need changing to make this a permant change. Could anyone help me please? (9 Replies)
Discussion started by: fishman2001
9 Replies

2. UNIX for Advanced & Expert Users

Change of Hostname

Dear All. I will like to know beside the following command "hostname hostname" what other command that can change the hostname of the Unix. Thanks. (4 Replies)
Discussion started by: gelbvonn
4 Replies

3. HP-UX

Change IP and Hostname

Hello.. I wanted to know how to change IP and Hostname on HPUX system, and I don't want to make it as NIS master either. Could someone tell me the files I need to modify and make sure it's on network? Thanks! :o (3 Replies)
Discussion started by: catwomen
3 Replies

4. UNIX for Dummies Questions & Answers

change hostname

Hi, I asked this question whenI was running solaris 8 and got some very good answers. I've just uograded to Solaris 10 and there seems to quite a few changes so I need to know again. https://www.unix.com/showthread.php?t=8547 ------------ Hi (now solaris 10) I know how to change the... (2 Replies)
Discussion started by: fishman2001
2 Replies

5. UNIX for Dummies Questions & Answers

Solaris - unknown hostname - how can I change hostname?

Hello, I am new to Solaris. I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies

6. Linux

how to change hostname permanentaly

i want to change my hostname permanentaly in my Fedora core 6. could any one tell me how it is possible .... (1 Reply)
Discussion started by: useless79
1 Replies

7. Red Hat

Change hostname

Hello, I would like to change the hostname on a Linux server (RHEL4). I try different methods in vain : - by using hostname command - by changing /etc/hosts and /etc/hostname But after restarting server, the old hostname re-appears... :confused: And the file ./proc/sys/kernel/hostname... (3 Replies)
Discussion started by: madmat
3 Replies

8. UNIX for Dummies Questions & Answers

Change HostName

How to change host name in NCR Unix version 3.0 release 4.0 I got the OS version and OS release from executing uname -v and uname -r (9 Replies)
Discussion started by: nalina
9 Replies

9. UNIX for Dummies Questions & Answers

How to change default R in Unix server?

Hi, I try to use R through the Unix server in my university. When I want to install an R package, I don't have the permission to change the R library. So I installed another version of R under my user's folder on the server, which seems successful. However, when I try to run it, the default R on... (3 Replies)
Discussion started by: xuemin
3 Replies
AuOpenServer(3) 					     Library Functions Manual						   AuOpenServer(3)

Name
       AuOpenServer - connect to audio server

Synopsis
       #include <audio/audiolib.h>

       AuServer *AuOpenServer(servername, num_authproto, authproto, num_authdata, authdata, ret_status)
	   char *servername;
	   int num_authproto;
	   char *authproto;
	   int num_authdata;
	   char *authdata;
	   char **return_status; /* RETURN */

Arguments
       servername
		 Specifies the audio server name.  This determines the server and communications domain to be used.

       num_authproto
		 Specifies the length of the connection authorization protocol name.

       authproto Specifies the name of the connection authorization protocol.

       num_authdata
		 Specifies the length of the connection authorization data.

       authdata  Specifies the connection authorization data.

       return_status
		 If non-NULL, and the connection is refused, returns an error message.

Description
       AuOpenServer  creates a connection to the specified audio server and returns a pointer to an AuServer structure or NULL, with return_status
       (if non-NULL) pointing to an error message describing the reason, if it was unsuccessfull.

       If servername is NULL or a pointer to NUL, AuOpenServer get the value from the enviroment.  servername  has  the  format  hostname:port	or
       hostname::port.	 If  a	double colon (::) separates the hostname and port number, AuOpenServer connects using DECnet streams.  If a single
       colon (:) separates the hostname and port number, and the hostname is a host machine name, AuOpenServer connects using TCP streams.   If  a
       single  colon  (:)  separates the hostname and port number, and the hostname is "unix", AuOpenServer connects using UNIX domain sockets (or
       Streams).  If the hostname is not specified, AuOpenServer uses whatever it believes is the fastest transport.

See Also
       AuCloseServer, AuServerName.

       audiolib - Network Audio System C Language Interface

audiolib - housekeeping 					       1.9.3							   AuOpenServer(3)
All times are GMT -4. The time now is 03:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy