Solved

Stations talking to each other?

Posted on 1997-03-27
6
214 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now