Solved

Stations talking to each other?

Posted on 1997-03-27
6
234 Views
Last Modified: 2010-03-18
I have two Pentiums 120, each with one NE2000 netcard connected and I am using Linux Red Hat 4.1. The cards are properly installed and working fine, i.e. the systems are recognizing both. A coax cable has been connected between the two stations. I used Windows 95 to talk to each other and it worked.

My question is: How can I do the same with Linux? What do I have to type and configure and how, so that, for example, I can access on one station a program that is in the other? Or, another example, I can access the directories of the other computer?

0
Comment
Question by:ekrisch
6 Comments
 

Author Comment

by:ekrisch
ID: 1584248
Edited text of question
0
 
LVL 1

Expert Comment

by:t2pp
ID: 1584249
You would be best reading the NET-2/3-HOWTO document before going any further. Basically, you need to gen support in the kernel and then make changes to files in /etc. The HOWTO explains all this very clearly. Good luck.
0
 
LVL 2

Expert Comment

by:df020797
ID: 1584250
Justmake sure you have configured the TCP/IP options on both Linxues and they should talk to eachother.

0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

Author Comment

by:ekrisch
ID: 1584252

0
 

Author Comment

by:ekrisch
ID: 1584253
I think you need
- to set hostnames for your stations For instance myhost1 and myhost2
- to assign IP addresses for both stations. For instance 192.168.1.1 for myhost1
   and 192.168.1.2 for myhost2
- to write /etc/hosts file:

#-----------------------------------------------
127.0.0.1      localhost
192.168.1.1      myhost1
192.168.1.2      myhost2
#-----------------------------------------------
- to write /etc/networks file:
-------------------------------------------------
mynetwork      192.168.1.0
--------------------------------------------------
- I am using Debian, so I am not very sure where It is for RedHat
  but I think in /etc/init.d/network for my host1 should be written:
#---------------------------------------------------
ifconfig lo 127.0.0.1
route add 127.0.0.1

ifconfig eth0 192.168.1.1
ifconfig eth0 netmask 255.255.255.0
ifconfig eth0 broadcast 192.168.1.255
route add -net 192.168.1.0
#----------------------------------------------------

this file for myhost2:

#---------------------------------------------------
ifconfig lo 127.0.0.1
route add 127.0.0.1

ifconfig eth0 192.168.1.2
ifconfig eth0 netmask 255.255.255.0
ifconfig eth0 broadcast 192.168.1.255
route add -net 192.168.1.0
#-----------------------------------------------------

- Now your network is configured and you can ping from  myhost1 to myhost2
ping myhost1
or
ping myhost2

- To access another station filesystem you need to configure NFS (Network File System)

- to start applications on another host you can for instance using
  telnet myhost2
Write please if it is what yuo need
Bye

0
 

Accepted Solution

by:
olga031697 earned 50 total points
ID: 1584254

Thanks for the answer, but I have solved the problem long time
ago and I have already allocated 50 points for this question.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question