Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Connecting two machines

Posted on 1997-07-30
2
Medium Priority
?
207 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
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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

782 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