Ip change SCO UNIX 3.2.4.2

I had a router change and needed to change the ip in some machines.
I have two machines on SCO Unix 3.2.4.2
I changed the IP in my chain(relinked kernel, used as default) and in /etc/hosts on both.
One is fine. The other I am unable to get to with putty.
Is there anything else I would need to change?

Any help will be greatly appreciated.

Changed the title to get SCO help, not all of us know the system very well.

1 Like

Thank you

is the hardware as old as the operating system?
Check to see if there is a script in /etc/rc2.d that might set a default route.
Run 'netstat -nr' to confirm the network settings.
Check to see if the host name is recorded twice in /etc/hosts.
Can you ping the machine that does not respond to telnet.
With putty, are you attempting to access the host via name or ip address, and are you trying this locally or through the router?
If through the router, did you change the firewall/port forwarding settings?

1 Like

You might also look at /etc/default/tcp , to see if the gateway address is correct.

1 Like

DLink DE220

That was my next step to see if there is an offending file

Routing Tables
Destination    Gateway        Flags    Refs      Use     Interface
127.0.0.1            127.0.0.1          UH         1             0          lo0
192.168.1           192.168.1.46    U            1             0          d22e0
 /etc/hosts
127.0.0.1             localhost
192.168.1.46      sco1 sco1.nix

The '192.168.1.46' I cannot ping. The other machine I can access via telnet or rlogin as usual.

I access via the ip address. I haven't attempted to connect via hostname. Done all through the router.

Would that be an issue if I can access the one sco unix box but not the other?

--- Post updated at 02:59 PM ---

DOMAIN=nix
NETMASK=
BROADCAST=

You don't have a gateway address.
Add a script to /etc/rc2.d that executes after S85tcp that contains:

route add default 192.168.1.x

or edit the/etc/default/tcp so that GATEWAY has a value.

--- Post updated at 10:54 AM ---

The scripts in /etc/rc2.d execute in alphabetical order.

1 Like

Does 192.168.1.x need to be the last ip in the scheme or does it need to stay as 192.168.1.x?

I set it as the last ip in the scheme. I got this on boot:

.....
setting default route
usage: add destination gateway metric
(metric of 0 if gateway is this host)
....

It should be the ip address of the router

# vi /etc/rc2.d/S99route
echo setting default route
/etc/route add default 192.168.1.1 1
# chown root S99route
# chgrp sys S99route
# chmod 744 S99route
# reboot
...
setting default route
add net default: gateway 192.168.1.1 flags 0x3
...
# netstat -nr
Routing Tables
Destination    Gateway        Flags    Refs      Use     Interface
127.0.0.1            127.0.0.1          UH         1             0          lo0
default             192.168.1.1       UG          0              0          d22e0
default             192.168.1.46    UG         0              0         d22e0
192.168.1           192.168.1.46    U            1             0          d22e0
#

Still nothing

When I setup the chain for the card does I/O base address matter?
When I resetup the chain for the other machine that is working, it did not ask for
the IRQ and I/O base. But the one that isn't accessible does ask for it.

You may have to run the setup.exe program in order to determine the i-o address and interrupt. And yes it does matter for ISA cards.
D-LINK DE-220PCT USER MANUAL Pdf Download.

1 Like

Thank you for that tip. I was using the wrong IRQ. On SCO 3.2.4.2 with that DLink card, I have to tell it which IRQ to use. There are a few that weren't in use, but I wasn't selecting the correct one. I finally got it on the correct one and it is working now. The other SCO box has a Realtek 8139 and it didn't ask me to assign the IRQ when I added the chain back for the network card.

Thank you for all of you help, jgt. I really appreciate it.