12-17-2008
how to set hostname
all of a sudden i am not able to get hostname of sparc server. all the settings are proper in hostname file.can anyone help me on this
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. Red Hat
Friends ,
Can I set two hostname in a Linux server at a time ?
I want to give two hostname of my Linux server , is it possible to do ?
Plz inform .. .. (2 Replies)
Discussion started by: shipon_97
2 Replies
3. UNIX for Dummies Questions & Answers
Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b:
I stopped at .. :(
#!/bin/sh
A=`hostname -i`
echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies
4. Emergency UNIX and Linux Support
Hi All,
So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says:
It should say:
What gives? And how do... (4 Replies)
Discussion started by: zixzix01
4 Replies
5. Solaris
Installing Solaris x86 using jumpstart does not set the hostname for the target. Any idea where do we need to specify hostname to be set for jumpstart installation. (1 Reply)
Discussion started by: hemalsid
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I'm having issues with sendmail when I try to send host to host mail. I've had to change the "my official domain name" line to mycompany.com to get the mails through the external spam filter, when a mail was sent with hostname.mycompany.com it was blocked. I had to change the Dj macro... (0 Replies)
Discussion started by: elcounto
0 Replies
7. Shell Programming and Scripting
Hi,
I am looking for a shell script which serves the below purpose.
Please find below the algorithm for the same and any help on this would be highly appreciated.
1)set of strings need to be replaced among set of files(directory may contain different types of files)
2)It should search for... (10 Replies)
Discussion started by: Amulya
10 Replies
8. UNIX for Advanced & Expert Users
deleted (0 Replies)
Discussion started by: hce
0 Replies
9. Shell Programming and Scripting
I have a command to check the status of hostname and port number,
echo > /dev/tcp/hostname/80
echo $?
0
success case
echo > /dev/tcp/hostname/809999
I got the output
-------------------
connection timed out
It took almost 4 minutes to time out,,, how can I set it to 10 seconds?
my... (2 Replies)
Discussion started by: sam@sam
2 Replies
LEARN ABOUT OSF1
wnnhosts
wnnhosts(4) File Formats wnnhosts(4)
NAME
wnnhosts - Wnn6 Kana-Kanji conversion server/dictionary lookup server access control file
SYNOPSIS
/etc/lib/locale/ja/wnn/wnnhosts
DESCRIPTION
wnnhosts specifies users who can use the Wnn6 Kana-Kanji conversion server (jserver) and the Kana-Kanji conversion server that can be con-
nected to the Wnn6 dictionary lookup server (wnnds).
The following is the format of the access control file. Place a space character before "{".
jserver ja <Kana-Kanji conversion server> {
<access control data>
:
}
wnnds ja <dictionary lookup server> {
<access data>
:
}
<Kana-Kanji conversion server> is specified in the following format.
hostname The Kana-Kanji conversion server that uses the well-known port number(22273) on host hostname.
hostname/port_no The Kana-Kanji conversion server that uses port_no as port number on host hostname.
<dictionary lookup server> is specified in the following format.
hostname The dictionary lookup server that uses the well-known port number(26208) on host hostname.
hostname/port_no The dictionary lookup server that uses port_no as port number on host hostname.
<access control data> for jserver is specified in the following format.
hostname All the users on the host can use data.
hostname:username_list username_list contains a list of username separated with ",". Users listed in the list on this host can use data.
@username This user can use data from any host.
<access control data> for wnnds is specified in the following format.
hostname jserver on this host can be connected.
jserver and wnnds use the access control information with the host name and port number matched.
Lines beginning with ";" are comments.
EXAMPLES
Example 1:
jserver ja_JP hostA {
;hostC:usr1,usr2,usr3
hostA:usr1,usr4
hostB
hostC:usr5
@usrA
;usrB
}
wnnds ja_JP hostA {
hostA
hostD
}
jserver ja_JP hostA/22273 {
hostB
hostE
@usrA
}
wnnds ja_JP hostA/22385 {
hostA
hostD
}
SEE ALSO
jserver(1M), wnnaccess(1M), wnnds(1M)
SunOS 5.10 10 Jan 2003 wnnhosts(4)