Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Connecting two machines

Posted on 1997-07-30
2
Medium Priority
?
205 Views
Last Modified: 2010-03-17
I have two machines, (Machine #1) has Linux 2.0.28 and has modems for dial in connection. (Machine #2) does not yet have modems.

I want to put 4 modems on machine two, this I can configure, I want to have it so that when you dial (Machine #2) that you login on (Machine #1)

Thanks
Bob Ross
0
Comment
Question by:bross073097
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
sauron earned 400 total points
ID: 1585791
You don't really give that many details, but here is what I would suggest:-

You really want machine 2 to behave as a kind of terminal server, and simply answer and forward calls. As I see it, your machine must answer incoming calls, so you have to run a process on the serial lines to which your modems are attached. Normally, you would use a getty, which would then spawn a login session. Why don't you set up users on machine 2 such that when a user logs into that machine, the shell in /etc/passwd for that user does an rlogin to machine 1? This seems to me to be one possible answer though a somewhat quick and dirty one.

You could also use a slightly different route. Set up machine 2 as a PPP server, runnign pppd directly from /etc/inittab. Put the modems into auto answer mode, and set things up so that any incoming call is picked up, and machine 2 automatically starts pppd on the serial line. Your remote user would have a PAP or CHAP login for your PPP server, and they could then telnet to Machine 1. You could set Machine 2 up to refuse all logins, so that all it would do for outsiders is route to machine 1.

If you want a better solution than either of these can offer you, I would think you'd need a piece of software that can turn your linux box into a dedicated terminal server, and forward information from a serial line (the modem) across to a second machine connected via a piece of ethernet (I assume). ISP's do this sort of thin with arrays of modems, and I'm sure there would be terminal server software available if you looked hard enough, though I can't think of any packages off the top of my head.

Hope this helps....
0
 

Author Comment

by:bross073097
ID: 1585792
A Little more detail, the answer is all but what I was looking for. The connection is across ethernet connection. Had to take extra phone lines, but in the same building. If I enter login on Machine #2 I would need to keep an updated passwd file from machine one that can be added to 24hrs a day. The phone number is the same.

Now with as green as I am beyond getting the modems to answer and put people to the net.

How do I set up Machine #2 to route over to Machine #1 like you sugjested. At his time I use a standard login: on Machine #1, I have never played with PAP or CHAP, I would rather refuse all logins on #2 and send it to #1

I like how quick you answered.

Thanks
Bob ross

0

Featured Post

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

670 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