01-30-2015
10 More Discussions You Might Find Interesting
1. Solaris
I recently brought up a second network interface adapter in my Solaris 8 box. I configured the /etc/hostname.interface (hostname.ce1 in this case) with the hostname of the new adapter. I then added that hostname to the /etc/hosts file. Problem is when I reboot the ce1 interface is plumbed, but... (1 Reply)
Discussion started by: ghuber
1 Replies
2. 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
3. Shell Programming and Scripting
I am running a script remotely to another client. after it runs it places the file in /tmp. I need the file in /tmp to be renamed to the local hostname. but when i set the variable it names the file to my local hostname. how do i fix that (4 Replies)
Discussion started by: deaconf19
4 Replies
4. Solaris
Hi.. Every one,
I have servers installed with solaris 10.We have configured our servers for IPMP and we have respective entries in /etc/hostname.<interface> for every physical interface.
for example one of the file contains :
# more /etc/hostname.ce6
super-ce6 netmask + broadcast + group... (3 Replies)
Discussion started by: Reboot
3 Replies
5. 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
6. UNIX for Advanced & Expert Users
Hello, I'm configuring sendmail on an AIX 7.1 server (bos.net.tcp.client 7.1.1.15).
I've gotten sendmail to send mail through our Novell GroupWise server, so that mail from a user on the server appears to come from their GroupWise account, and replies to the email would go to their GroupWise... (0 Replies)
Discussion started by: eyebeam
0 Replies
7. Shell Programming and Scripting
Hi
iam having file with below lines of text
pun-ras-bng-mhs-01#cont bsnl.in
enk-ras-bng-cse-01#cont bsnl.in
how to extract the host name and store in a variable and to print output using awk command
output will be
HOSTNAME
pun-ras-bng-mhs-01
enk-ras-bng-cse-01
Tnx in advance. (13 Replies)
Discussion started by: surender reddy
13 Replies
8. Shell Programming and Scripting
hello guys,
I have a query ,I am looking for a unix command using awk and grep that help me fetching a particular ip address and hostname from the host file.........?????? (3 Replies)
Discussion started by: Pawan Ramnani
3 Replies
9. Shell Programming and Scripting
I have a list of hostnames in a txt file . I need to do nslookup or other command on linux and get the ip address and if you dont find an ip address then put 0.0.0.0 instead in the output text file along with the hostname.
So input
host1
host2
host2.dd.ddd.net
Output
host1,... (2 Replies)
Discussion started by: gubbu
2 Replies
10. UNIX for Advanced & Expert Users
deleted (0 Replies)
Discussion started by: hce
0 Replies
LEARN ABOUT OPENSOLARIS
check-hostname
check-hostname(1M) System Administration Commands check-hostname(1M)
NAME
check-hostname - check if sendmail can determine the system's fully-qualified host name
SYNOPSIS
/usr/sbin/check-hostname
DESCRIPTION
The check-hostname script is a migration aid for sendmail(1M). This script tries to determine the local host's fully-qualified host name
(FQHN) in a manner similar to sendmail(1M). If check-hostname is able to determine the FQHN of the local host, it reports success. Other-
wise, check-hostname reports how to reconfigure the system so that the FQHN can be properly determined.
FILES
/etc/hosts Host name database
/etc/nsswitch.conf Name service switch configuration file
/etc/resolv.conf Configuration file for name server routines
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsndmu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
domainname(1M), sendmail(1M), hosts(4), attributes(5)
SunOS 5.11 8 Mar 2006 check-hostname(1M)