Change a Unix IP address

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
Special Forums IP Networking Change a Unix IP address
# 1  
Change a Unix IP address

I have purchased a Dec unix Ver 3.2c machine that is about ten years old. I need to get this machine on our network (windows 2003 domain) so I can copy files to it. I know I need to change the IP address, but where and how do I change it? What else do I chang?

Thanks Randy
# 2  
Hosts file

I don't remember the old DEC unix too well. Under /etc/hosts is the table of IP addresses you should be able to edit that for this machine. It might look something like this...
$ cat /etc/hosts
# Internet host table
# localhost myunix loghost someotherbox loghost u

There might be other os file. You would have to get a Dec manual to check.
# 3  
You are correct. I have changed that file, but I still cannot ping it from other computers on the newtork. So I think I need to chage some more settings somewhere?
# 4  
That would be my guess, some other os files needs to be updated. Old sun boxes used files call ypxxx (yp for yellow pages). Can the box ping itself? Can you look at the boot log to determine what IP it's using? localhost? Does that change if you change the hosts file? Cable? hardware? Sound like you'll going to have to find out what it's not to find out what it is... pain I know...
# 5  
If your not familiar with commands run from a terminal, use sam

The old Sun systems running SunOS just had 2 files.
/etc/hostname.{interface} ie: /etc/hostname/hme0
# 6  
The old Sun systems running SunOS just had 2 files.
/etc/hostname.{interface} ie: /etc/hostname/hme0
On Solaris 10 it has /etc/inet/ipnodes in addition. Dunno DEC quite well.

# 7  
I was just correcting what jimmyc said about SunOS.

oops sam is HP UX. Is DEC like Tru64 ?

Try netsetup

Last edited by Tornado; 12-05-2006 at 11:49 PM..
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #284
Difficulty: Easy
AIX (Advanced Interactive eXecutive) is a series of proprietary Unix operating systems developed and sold by Digital Equipment Corporation (DEC) for several of its computer platforms.
True or False?

10 More Discussions You Might Find Interesting

1. IP Networking

Cannot change mac address

ubuntu / xubuntu 13.10 and 14.04 (this issue should exist in debian as well) I use wifi to connect to internet. I would like to change the wifi card mac address before connecting. Let's call the original mac address, macA, and the new mac address, macB. I do the following: ifconfig wlan0... (2 Replies)
Discussion started by: arpagon
2 Replies

2. UNIX for Dummies Questions & Answers

How can i change the ip address in RHEL 6?

I need to change the ip address in RHEL 6 . Please tell me the files to be edited....complete procedure.......... Don't tell the graphical method ........ Explain everything in CLI ........... Thanks in Advance:b: (3 Replies)
Discussion started by: vamshigvk475
3 Replies

3. Forum Support Area for Unregistered Users & Account Problems

Change email address

How can I change email address registered with my account (1 Reply)
Discussion started by: hiten.r.chauhan
1 Replies

4. Debian

How to change local IP address?

I have a new Ethernet device that has a default IP address on a different subnet and need to change it. I have a Debian 6.0 host connected to the device with a crossover cable and have changed the host /etc/hosts and /etc/networks files to the same subnet as the new device and rebooted. Ping... (2 Replies)
Discussion started by: snorkack59
2 Replies

5. UNIX for Dummies Questions & Answers

change ip address & NFS

Hello, I would like to change ip address & ethernet address, in the linux application. I work with NFS. I remember from past experience that changing ip address when working with NFS, can interfere the NFS, and OS will stop working, but I didn't find any documentation for that. Is anyone... (1 Reply)
Discussion started by: ranshalit
1 Replies

6. Programming

[C] Change IP and MAC address

Hello, I need to write a program using C language which allow me to change the IP and MAC addresses of a given interface... Now I fork the process and by exec I'm using the "ifconfig interf X.X.X.X" command... but i can't use this solution because i have to avoid the context switch... Can someone... (4 Replies)
Discussion started by: gilby985
4 Replies

7. HP-UX

How to change the email from address?

Hi Friends, I am facing one issue with my hpux server. I used to send mail from the hpux server directly to the customer id. By default the from address includes the complete hostname(eg:- My domain name is registered, but this individual hostname is not... (1 Reply)
Discussion started by: arumon
1 Replies

8. Shell Programming and Scripting

change from address in mailx

Hi, i am sending mails regulary for updation of data. The from addresses dispaly like i want display like can u help me on this. (1 Reply)
Discussion started by: koti_rama
1 Replies

9. IP Networking

How to change IP address

Can anyone tell me how to change the IP address on a unix server, as I have no idea whatsoever. Thanks (2 Replies)
Discussion started by: itservices
2 Replies

10. IP Networking

change my current IP address

Dear All , I have Sun Solaris 8 machine . during installation i gave the machine ip address and gatway . now i hvae to change the IP address and the gateway ! how ?? i know i have to use ifconfig , but how can i change it and the gateway ??? also where from i... (4 Replies)
Discussion started by: tamemi
4 Replies

Featured Tech Videos