01-18-2012
NIC will not work, but it did work.
I have a client machine that was built and loaded with SCO UNIX 2.1.3, (yes it is old). The machine worked fine on the closed network that I tested on in my shop. I then had to change it to the network that it would be connected to. Below is the host file, router and subnet mask file that I usually change to make it work.
----------------------------------------------------------------------------------
clt1
IP addresses for all four machines, found in the /etc/hosts
127.0.0.1 localhost
10.78.4.71 srv1
10.75.13.75 srv2
10.75.13.76 clt1
10.96.14.100 clt2
Router location is found at /etc/inet/config line 4c.
4c:/usr/sbin/route::y::add default 10.75.13.65 1
Subnet mask is found in /etc/confnet.d/inet/interface, 2nd to last line of the file.
lo:0:localhost:/dev/loop::add_loop:
TCM5X9:0::/dev/TCM5X9_0:netmask 255.255.255.192 -trailers::
ee16:0::/dev/ee16_0:-trailers::
-------------------------------------------------------------------------------------------------
When I run netstat -rn I should see something like this:
Routing tables Destination Gateway Flags Refcnt Use Interface 10.120.10.78 10.120.10.78 UH 0 0 lo0 default 10.120.10.1 UG 3 4549 TCM5X90 10.120.10 10.120.10.78 U 1 822 TCM5X90 # ifconfig -a TCM5X90: flags=23<UP,BROADCAST,NOTRAILERS> mtu 1500 inet 10.120.10.78 netmask ffffff00 broadcast 10.120.10.255 lo0: flags=49<UP,LOOPBACK,RUNNING> mtu 2048 inet 10.120.10.78 netmask ff000000
But when I run it it only come back with the local host, 127.0.0.1. When you run ping it says "Network Unreachable". The NIC does or did work here before shipping, but I had to test on a closed network.
I must be missing something that needs to be changed.
Thanks for the help,
NC user
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
can someone tell me the meaning of this commnad,
If you want to see a grand total of CPU time for a program when it finishes running, you can use the time command. At the Unix prompt, enter:
time java myprog
Replace myprog with the name of the program you are running. The following is an... (1 Reply)
Discussion started by: ldpathak
1 Replies
2. UNIX for Dummies Questions & Answers
Howdie everyone...
I have a shell script RemoveFiles.sh
Inside this file, it only has two commands as below:
rm -f ../../reportToday/temp/*
rm -f ../../report/*
My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies
3. UNIX for Dummies Questions & Answers
whoami | grep < $1 | echo $1
trying to write a script that finds out who the user is and then takes occurences of that username from a file that is passed as an argument and then displays it (6 Replies)
Discussion started by: iago
6 Replies
4. Linux
Can anyone explain how Graphic LCD (CSTN / STN) work in Unix...
From Graphic file thro driver code to display....?
Thanks (1 Reply)
Discussion started by: nat123
1 Replies
5. Linux
********nothing too see here!!!****** (2 Replies)
Discussion started by: TonyChapman
2 Replies
6. Shell Programming and Scripting
Hi falks,
I need to dispaly a list of only directories .
As it written in the manual ,the command to do it is 'ls -d'.
When i issue 'ls -d' i'm getting:
tornado.orca.ent:DB10g :/home/oracle/Create_Database > ls -d
.
Is anyone have any idea why id does not display directories ,or maybe... (11 Replies)
Discussion started by: nir_s
11 Replies
7. Shell Programming and Scripting
My script work on Linux but not work in sun os.
my script.
logFiles="sentLog1.log sentLog2.log"
intial_time="0 0"
logLocation="/usr/local/tomcat/logs/"
sleepTime=600
failMessage=":: $(tput bold)Log not update$(tput rmso) = "
successMessage="OK"
arr=($logFiles)... (7 Replies)
Discussion started by: ooilinlove
7 Replies
8. SCO
I'm trying to virtualize an instance of SCO Open Server 5.0.2c in VirtualBox (called VM- A) , I can not configure the network (NIC).
The NIC I'm using is PCnet -FAST III (Am79C973 ) (this NIC works with VirtualBox + SCO 5.0.5M)
When I add from ' Add new LAN adapter' I detects the NIC... (2 Replies)
Discussion started by: flako
2 Replies
9. IP Networking
hi all. and sorry for the random question, but this sparkled a raging flame-war at work and i want more points of view
situation
a router, with linux of some sort,
dhcp client requesting for ip in wan1 (as usual with wan ports)
dhcp server listening in lan1, and assigning ip (as usual... (9 Replies)
Discussion started by: broli
9 Replies
LEARN ABOUT DEBIAN
machine-id
MACHINE-ID(5) /etc/machine-id MACHINE-ID(5)
NAME
machine-id - local machine ID configuration file
SYNOPSIS
/etc/machine-id
DESCRIPTION
The /etc/machine-id file contains the unique machine id of the local system that is set during installation. The machine ID is a single
newline-terminated, hexadecimal, lowercase 32 character machine ID string. (When decoded from hexadecimal this corresponds with a 16
byte/128 bit string.)
The machine ID is usually generated from a random source during system installation and stays constant for all subsequent boots.
Optionally, for stateless systems it is generated during runtime at boot if it is found to be empty.
The machine ID does not change based on user configuration, or when hardware is replaced.
This machine ID adheres to the same format and logic as the D-Bus machine ID.
Programs may use this ID to identify the host with a globally unique ID in the network, that does not change even if the local network
configuration changes. Due to this and its greater length it is a more useful replacement for the gethostid(3) call POSIX specifies.
The systemd-machine-id-setup(1) tool may be used by installer tools to initialize the machine ID at install time.
RELATION TO OSF UUIDS
Note that the machine ID historically is not an OSF UUID as defined by RFC 4122[1], nor a Microsoft GUID. Starting with systemd v30 newly
generated machine IDs however do qualify as v4 UUIDs.
In order to maintain compatibility with existing installations, an application requiring a UUID should decode the machine ID, and then
apply the following operations to turn it into a valid OSF v4 UUID. With id being an unsigned character array:
/* Set UUID version to 4 --- truly random generation */
id[6] = (id[6] & 0x0F) | 0x40;
/* Set the UUID variant to DCE */
id[8] = (id[8] & 0x3F) | 0x80;
(This code is inspired by generate_random_uuid() of drivers/char/random.c from the kernel sources.)
HISTORY
The simple configuration file format of /etc/machine-id originates in the /var/lib/dbus/machine-id file introduced by D-Bus. In fact this
latter file might be a symlink to /etc/machine-id.
SEE ALSO
systemd(1), systemd-machine-id-setup(1), gethostid(3), hostname(5), machine-info(5), os-release(5)
AUTHOR
Lennart Poettering <lennart@poettering.net>
Developer
NOTES
1. RFC 4122
http://tools.ietf.org/html/rfc4122
systemd 10/07/2013 MACHINE-ID(5)