Change HostName


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Change HostName
# 1  
Old 03-18-2008
Error 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
# 2  
Old 03-18-2008
check:
Code:
hostname --help

or
Code:
man hostname

# 3  
Old 03-19-2008
In this box no command call “hostname”
# 4  
Old 03-19-2008
check out the command "ndd"

check out the command "ndd"

Also AFAIK, NCR is a SVR4 version of Unix.

So look in:
/etc/hostname.*
/etc/inet/*
/etc/defaultrouter

I hope this helps, if not, please reply.

Good luck
# 5  
Old 03-19-2008
# ls /etc/hostname.*
UX:ls: ERROR: Cannot access /etc/hostname.*: No such file or directory

# ls /etc/defaultrouter
UX:ls: ERROR: Cannot access /etc/defaultrouter: No such file or directory

/etc/inet/ containing lot of files and directories not Sure which to edit

Last edited by nalina; 03-19-2008 at 06:37 AM..
# 6  
Old 03-19-2008
How old is this NCR?

I fired up an old NCR cash register in the basement.

If you are operating in paranoid mode, none of the host information will be shown (change it with the key switch, using the machine's key). Host name with NCR is established with the license agreement upon installation.

Please post
# uname -a
# ifconfig
try the command
# ndd
# host
# hostid
# more /etc/resolv.conf

NCR comes with a utility command called NETWORK-SETUP

Generally, if NCR does not get a host name, it defaults to local host.

This is the max I can help with.

Good luck
# 7  
Old 03-24-2008
# uname -a
prdaeatm prdaeatm 4.0 3.0 3518 Pentium IV(TM)-ISA/PCI

# ifconfig
usage: ifconfig interface | -a [addr_family]
[ address [ dest_addr ] ]
[ up ] [ down ]
[ netmask mask ]
[ broadcast bc_addr ]
[ metric n ]
[ mtu n ]
[ arp | -arp ]
[ no1323opt | -no1323opt ]
[ link0 | -link0 ] [ link1 | -link1 ] [ link2 | -link2 ]
[ debug n ]
[ alias addr | -alias addr ]
[ perf recv send full-size ]

# ndd
UX:sh: ERROR: ndd: not found

# host
Usage: host [-w] [-v] [-r] [-l] [-d]
[-t querytype] [-c class] [-a] host [server]
-w to wait forever until reply
-v for verbose output
-r to disable recursive processing
-d to turn on debugging output
-t querytype to look for a specific type of information
-c class to look for non-Internet data
-l to list the entire domain
-a is equivalent to '-v -t *'


# hostid
0

# more /etc/resolv.conf
domain
nameserver 127.0.0.1

There is no utility call NETWORK-SETUP
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

change hostname in SUNOS 5.10

What file I need to edit if I need to change hostname in SUN OS 5.10 Please advice ....... (1 Reply)
Discussion started by: chuikingman1
1 Replies

2. 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

3. 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

4. Solaris

Change hostname in Solaris 9

Please anyone guide me how to change the hostname in Solaris 9? The IP of the machie is fetched from a DHCP server. (6 Replies)
Discussion started by: shabu
6 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. 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

7. 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

8. 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

9. 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

10. IP Networking

How to change hostname and ip in solaris

Dear all, I am going to change the IP address and hostname in my solaris, but I don't know how to do it. If you have any idea or suggestion, please fell free to let me know. Thanks and Regards (2 Replies)
Discussion started by: PennyLi
2 Replies
Login or Register to Ask a Question