Change HostName | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Change HostName

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-18-2008
nalina nalina is offline
Registered User
 
Join Date: Mar 2008
Last Activity: 21 May 2008, 4:08 AM EDT
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
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
Sponsored Links
    #2  
Old 03-18-2008
Yogesh Sawant's Avatar
Yogesh Sawant Yogesh Sawant is offline Forum Advisor  
Full Time Dad
 
Join Date: Sep 2006
Last Activity: 4 April 2014, 3:58 AM EDT
Location: Rossem, Tazenda
Posts: 1,211
Thanks: 6
Thanked 17 Times in 16 Posts
check:
Code:
hostname --help

or

Code:
man hostname

Sponsored Links
    #3  
Old 03-18-2008
nalina nalina is offline
Registered User
 
Join Date: Mar 2008
Last Activity: 21 May 2008, 4:08 AM EDT
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
In this box no command call “hostname”
    #4  
Old 03-19-2008
sad_angle's Avatar
sad_angle sad_angle is offline
Registered User
 
Join Date: Jun 2001
Last Activity: 14 December 2011, 5:38 PM EST
Location: Wisconsin Dells, WI
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
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
Sponsored Links
    #5  
Old 03-19-2008
nalina nalina is offline
Registered User
 
Join Date: Mar 2008
Last Activity: 21 May 2008, 4:08 AM EDT
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
# 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 05:37 AM..
Sponsored Links
    #6  
Old 03-19-2008
sad_angle's Avatar
sad_angle sad_angle is offline
Registered User
 
Join Date: Jun 2001
Last Activity: 14 December 2011, 5:38 PM EST
Location: Wisconsin Dells, WI
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
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
Sponsored Links
    #7  
Old 03-24-2008
nalina nalina is offline
Registered User
 
Join Date: Mar 2008
Last Activity: 21 May 2008, 4:08 AM EDT
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
# 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
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
change IP and hostname in red hat ES 5 chuikingman Red Hat 2 07-20-2011 09:28 AM
Reg hostname change. rogerben Solaris 3 06-03-2009 04:10 AM
Solaris - unknown hostname - how can I change hostname? XNOR UNIX for Dummies Questions & Answers 1 03-29-2007 10:52 PM
change hostname fishman2001 UNIX for Dummies Questions & Answers 2 01-12-2006 08:39 AM
change hostname fishman2001 UNIX for Dummies Questions & Answers 9 10-21-2002 09:07 AM



All times are GMT -4. The time now is 02:11 PM.